Browse Source

优化

master
陈裕财 3 years ago
parent
commit
ea97085879
  1. 4
      src/views/xm/rpt/branch/branchWorkItemDayList copy.vue
  2. 4
      src/views/xm/rpt/branch/branchWorkItemDayList.vue
  3. 2
      src/views/xm/rpt/branch/menuDayAccumulate.vue
  4. 4
      src/views/xm/rpt/branch/menuDayTrend.vue
  5. 4
      src/views/xm/rpt/branch/questionDayAccumulate.vue
  6. 4
      src/views/xm/rpt/branch/questionDayTrend.vue
  7. 4
      src/views/xm/rpt/iteration/IterationWorkItemDayList.vue
  8. 4
      src/views/xm/rpt/iteration/burnout.vue
  9. 4
      src/views/xm/rpt/iteration/menuDayAccumulate.vue
  10. 4
      src/views/xm/rpt/iteration/menuDayTrend.vue
  11. 4
      src/views/xm/rpt/iteration/questionDayAccumulate.vue
  12. 4
      src/views/xm/rpt/iteration/questionDayTrend.vue
  13. 4
      src/views/xm/rpt/product/menuAgeDist.vue
  14. 4
      src/views/xm/rpt/product/menuAttDist.vue
  15. 2
      src/views/xm/rpt/product/menuDayAccumulate.vue
  16. 2
      src/views/xm/rpt/product/menuSort.vue
  17. 4
      src/views/xm/rpt/product/productWorkItemDayList.vue
  18. 4
      src/views/xm/rpt/product/questionAgeDist.vue
  19. 48
      src/views/xm/rpt/product/questionAskUserSort.vue
  20. 5
      src/views/xm/rpt/product/questionAttDist.vue
  21. 47
      src/views/xm/rpt/product/questionBugReasonDist.vue
  22. 48
      src/views/xm/rpt/product/questionBugSeverityDist.vue
  23. 48
      src/views/xm/rpt/product/questionBugStatusDist.vue
  24. 48
      src/views/xm/rpt/product/questionBugTypeDist.vue
  25. 4
      src/views/xm/rpt/product/questionDayAccumulate.vue
  26. 4
      src/views/xm/rpt/product/questionDayTrend.vue
  27. 48
      src/views/xm/rpt/product/questionFuncSort.vue
  28. 48
      src/views/xm/rpt/product/questionHandlerUserSort.vue
  29. 48
      src/views/xm/rpt/product/questionPriorityDist.vue
  30. 48
      src/views/xm/rpt/product/questionRepRateDist.vue
  31. 4
      src/views/xm/rpt/product/questionRetestDist.vue
  32. 48
      src/views/xm/rpt/product/questionSolutionDist.vue
  33. 4
      src/views/xm/rpt/product/questionSort.vue
  34. 4
      src/views/xm/rpt/project/projectWorkItemDayList.vue
  35. 2
      src/views/xm/rpt/project/projectWorkloadSetDayList.vue
  36. 4
      src/views/xm/rpt/project/projectWorkloadSetMonthList.vue
  37. 4
      src/views/xm/rpt/project/taskAgeDist.vue
  38. 4
      src/views/xm/rpt/project/taskAttDist.vue
  39. 4
      src/views/xm/rpt/project/taskDayAccumulate.vue
  40. 4
      src/views/xm/rpt/project/taskDayTrend.vue
  41. 4
      src/views/xm/rpt/project/taskSort.vue
  42. 2
      src/views/xm/rpt/testCase/testCaseSort.vue
  43. 2
      src/views/xm/rpt/testPlan/testCaseToPlanCalc.vue

4
src/views/xm/rpt/branch/branchWorkItemDayList copy.vue

@ -21,7 +21,7 @@
</el-row> </el-row>
</el-row> </el-row>
<el-row> <el-row>
<div class="echart-box" id="iterationWorkItemDayList"></div>
<div class="echart-box" :id="this.id"></div>
</el-row> </el-row>
</div> </div>
</el-col> </el-col>
@ -180,7 +180,7 @@
}, },
drawCharts() { drawCharts() {
this.myChart = this.$echarts.init(document.getElementById("iterationWorkItemDayList"));
this.myChart = this.$echarts.init(document.getElementById(this.id));
var that=this; var that=this;
this.myChart.on('updateAxisPointer', function (event) { this.myChart.on('updateAxisPointer', function (event) {
const xAxisInfo = event.axesInfo[0]; const xAxisInfo = event.axesInfo[0];

4
src/views/xm/rpt/branch/branchWorkItemDayList.vue

@ -20,7 +20,7 @@
</el-row> </el-row>
</el-row> </el-row>
<el-row> <el-row>
<div class="echart-box" id="branchWorkItemDayList"></div>
<div class="echart-box" :id="this.id"></div>
</el-row> </el-row>
</div> </div>
</el-col> </el-col>
@ -179,7 +179,7 @@
}, },
drawCharts() { drawCharts() {
this.myChart = this.$echarts.init(document.getElementById("branchWorkItemDayList"));
this.myChart = this.$echarts.init(document.getElementById(this.id));
var that=this; var that=this;
this.myChart.on('updateAxisPointer', function (event) { this.myChart.on('updateAxisPointer', function (event) {
const xAxisInfo = event.axesInfo[0]; const xAxisInfo = event.axesInfo[0];

2
src/views/xm/rpt/branch/menuDayAccumulate.vue

@ -158,7 +158,7 @@
}, },
drawCharts() { drawCharts() {
this.myChart = this.$echarts.init(document.getElementById("iterationMenuDayAccumulate"));
this.myChart = this.$echarts.init(document.getElementById(this.id));
this.myChart.setOption( this.myChart.setOption(
{ {
title: { title: {

4
src/views/xm/rpt/branch/menuDayTrend.vue

@ -4,7 +4,7 @@
<el-row :gutter="5" > <el-row :gutter="5" >
<el-col :span="18"> <el-col :span="18">
<div> <div>
<div class="echart-box" id="iterationMenuDayTrend"></div>
<div class="echart-box" :id="this.id"></div>
<div class="progress"></div> <div class="progress"></div>
</div> </div>
</el-col> </el-col>
@ -146,7 +146,7 @@
}, },
drawCharts() { drawCharts() {
this.myChart = this.$echarts.init(document.getElementById("iterationMenuDayTrend"));
this.myChart = this.$echarts.init(document.getElementById(this.id));
this.myChart.setOption( this.myChart.setOption(
{ {
title: { title: {

4
src/views/xm/rpt/branch/questionDayAccumulate.vue

@ -3,7 +3,7 @@
<el-row :gutter="5" > <el-row :gutter="5" >
<el-col :span="18"> <div> <el-col :span="18"> <div>
<div class="echart-box" id="iterationQuestionDayAccumulate"></div>
<div class="echart-box" :id="this.id"></div>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="border"> <el-col :span="6" class="border">
@ -146,7 +146,7 @@
}, },
drawCharts() { drawCharts() {
this.myChart = this.$echarts.init(document.getElementById("iterationQuestionDayAccumulate"));
this.myChart = this.$echarts.init(document.getElementById(this.id));
this.myChart.setOption( this.myChart.setOption(
{ {
title: { title: {

4
src/views/xm/rpt/branch/questionDayTrend.vue

@ -4,7 +4,7 @@
<el-row :gutter="5" > <el-row :gutter="5" >
<el-col :span="18"> <el-col :span="18">
<div> <div>
<div class="echart-box" id="iterationQuestionDayTrend"></div>
<div class="echart-box" :id="this.id"></div>
<div class="progress"></div> <div class="progress"></div>
</div> </div>
</el-col> </el-col>
@ -147,7 +147,7 @@
}, },
drawCharts() { drawCharts() {
this.myChart = this.$echarts.init(document.getElementById("iterationQuestionDayTrend"));
this.myChart = this.$echarts.init(document.getElementById(this.id));
this.myChart.setOption( this.myChart.setOption(
{ {
title: { title: {

4
src/views/xm/rpt/iteration/IterationWorkItemDayList.vue

@ -3,7 +3,7 @@
<el-row :gutter="5" > <el-row :gutter="5" >
<el-col :span="18"> <el-col :span="18">
<div> <div>
<div class="echart-box" id="iterationWorkItemDayList" :style="{width:'100%',height:(maxTableHeight>600?600:maxTableHeight)+'px',overflow: 'hidden'}"></div>
<div class="echart-box" :id="this.id"></div>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="border"> <el-col :span="6" class="border">
@ -164,7 +164,7 @@
}, },
drawCharts() { drawCharts() {
this.myChart = this.$echarts.init(document.getElementById("iterationWorkItemDayList"));
this.myChart = this.$echarts.init(document.getElementById(this.id));
var that=this; var that=this;
this.myChart.on('updateAxisPointer', function (event) { this.myChart.on('updateAxisPointer', function (event) {
const xAxisInfo = event.axesInfo[0]; const xAxisInfo = event.axesInfo[0];

4
src/views/xm/rpt/iteration/burnout.vue

@ -5,7 +5,7 @@
<el-row :gutter="5" > <el-row :gutter="5" >
<el-col :span="18"> <el-col :span="18">
<div> <div>
<div class="echart-box" id="burnout"></div>
<div class="echart-box" :id="this.id"></div>
<div class="progress"></div> <div class="progress"></div>
</div> </div>
</el-col> </el-col>
@ -202,7 +202,7 @@
}, },
drawCharts() { drawCharts() {
this.myChart = this.$echarts.init(document.getElementById("burnout"));
this.myChart = this.$echarts.init(document.getElementById(this.id));
this.myChart.setOption({ this.myChart.setOption({
title: { title: {
text: this.titleCpd, text: this.titleCpd,

4
src/views/xm/rpt/iteration/menuDayAccumulate.vue

@ -3,7 +3,7 @@
<el-row :gutter="5" > <el-row :gutter="5" >
<el-col :span="18"> <div> <el-col :span="18"> <div>
<div class="echart-box" id="iterationMenuDayAccumulate"></div>
<div class="echart-box" :id="this.id"></div>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="border"> <el-col :span="6" class="border">
@ -189,7 +189,7 @@
}, },
drawCharts() { drawCharts() {
this.myChart = this.$echarts.init(document.getElementById("iterationMenuDayAccumulate"));
this.myChart = this.$echarts.init(document.getElementById(this.id));
this.myChart.setOption( this.myChart.setOption(
{ {
title: { title: {

4
src/views/xm/rpt/iteration/menuDayTrend.vue

@ -4,7 +4,7 @@
<el-row :gutter="5" > <el-row :gutter="5" >
<el-col :span="18"> <el-col :span="18">
<div> <div>
<div class="echart-box" id="iterationMenuDayTrend"></div>
<div class="echart-box" :id="this.id"></div>
<div class="progress"></div> <div class="progress"></div>
</div> </div>
</el-col> </el-col>
@ -190,7 +190,7 @@
}, },
drawCharts() { drawCharts() {
this.myChart = this.$echarts.init(document.getElementById("iterationMenuDayTrend"));
this.myChart = this.$echarts.init(document.getElementById(this.id));
this.myChart.setOption( this.myChart.setOption(
{ {
title: { title: {

4
src/views/xm/rpt/iteration/questionDayAccumulate.vue

@ -3,7 +3,7 @@
<el-row :gutter="5" > <el-row :gutter="5" >
<el-col :span="18"> <div> <el-col :span="18"> <div>
<div class="echart-box" id="iterationQuestionDayAccumulate"></div>
<div class="echart-box" :id="this.id"></div>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="border"> <el-col :span="6" class="border">
@ -187,7 +187,7 @@
}, },
drawCharts() { drawCharts() {
this.myChart = this.$echarts.init(document.getElementById("iterationQuestionDayAccumulate"));
this.myChart = this.$echarts.init(document.getElementById(this.id));
this.myChart.setOption( this.myChart.setOption(
{ {
title: { title: {

4
src/views/xm/rpt/iteration/questionDayTrend.vue

@ -3,7 +3,7 @@
<el-row :gutter="5" > <el-row :gutter="5" >
<el-col :span="18"> <el-col :span="18">
<div> <div>
<div class="echart-box" id="iterationQuestionDayTrend"></div>
<div class="echart-box" :id="this.id"></div>
<div class="progress"></div> <div class="progress"></div>
</div> </div>
</el-col> </el-col>
@ -189,7 +189,7 @@
}, },
drawCharts() { drawCharts() {
this.myChart = this.$echarts.init(document.getElementById("iterationQuestionDayTrend"));
this.myChart = this.$echarts.init(document.getElementById(this.id));
this.myChart.setOption( this.myChart.setOption(
{ {
title: { title: {

4
src/views/xm/rpt/product/menuAgeDist.vue

@ -3,7 +3,7 @@
<el-row :gutter="5" > <el-row :gutter="5" >
<el-col :span="18"> <el-col :span="18">
<div> <div>
<div class="echart-box" id="xmMenuAgeDist"></div>
<div class="echart-box" :id="this.id"></div>
<div class="progress"></div> <div class="progress"></div>
</div> </div>
</el-col> </el-col>
@ -177,7 +177,7 @@
}, },
drawCharts() { drawCharts() {
this.myChart = this.$echarts.init(document.getElementById("xmMenuAgeDist"));
this.myChart = this.$echarts.init(document.getElementById(this.id));
this.myChart.setOption( this.myChart.setOption(
{ {
title: { title: {

4
src/views/xm/rpt/product/menuAttDist.vue

@ -3,7 +3,7 @@
<el-row :gutter="5" > <el-row :gutter="5" >
<el-col :span="18"> <el-col :span="18">
<div> <div>
<div class="echart-box" id="xmMenuAttDist"></div>
<div class="echart-box" :id="this.id"></div>
<div class="progress"></div> <div class="progress"></div>
</div> </div>
</el-col> </el-col>
@ -234,7 +234,7 @@
}, },
drawCharts() { drawCharts() {
this.myChart = this.$echarts.init(document.getElementById("xmMenuAttDist"));
this.myChart = this.$echarts.init(document.getElementById(this.id));
this.myChart.setOption( this.myChart.setOption(
{ {
title: { title: {

2
src/views/xm/rpt/product/menuDayAccumulate.vue

@ -3,7 +3,7 @@
<el-row :gutter="5" > <el-row :gutter="5" >
<el-col :span="18"> <div> <el-col :span="18"> <div>
<div class="echart-box" :id="id"></div>
<div class="echart-box" :id="this.id"></div>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="border"> <el-col :span="6" class="border">

2
src/views/xm/rpt/product/menuSort.vue

@ -3,7 +3,7 @@
<el-row :gutter="5" > <el-row :gutter="5" >
<el-col :span="18"> <el-col :span="18">
<div> <div>
<div class="echart-box" :id="id"></div>
<div class="echart-box" :id="this.id"></div>
<div class="progress"></div> <div class="progress"></div>
</div> </div>
</el-col> </el-col>

4
src/views/xm/rpt/product/productWorkItemDayList.vue

@ -4,7 +4,7 @@
<el-row :gutter="5" > <el-row :gutter="5" >
<el-col :span="18"> <el-col :span="18">
<div> <div>
<div class="echart-box" id="productWorkItemDayList" :style="{width:'100%',height:(maxTableHeight>600?600:maxTableHeight)+'px',overflow: 'hidden'}"></div>
<div class="echart-box" :id="this.id"></div>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="border"> <el-col :span="6" class="border">
@ -148,7 +148,7 @@
}, },
drawCharts() { drawCharts() {
this.myChart = this.$echarts.init(document.getElementById("productWorkItemDayList"));
this.myChart = this.$echarts.init(document.getElementById(this.id));
var that=this; var that=this;
this.myChart.on('updateAxisPointer', function (event) { this.myChart.on('updateAxisPointer', function (event) {
const xAxisInfo = event.axesInfo[0]; const xAxisInfo = event.axesInfo[0];

4
src/views/xm/rpt/product/questionAgeDist.vue

@ -3,7 +3,7 @@
<el-row :gutter="5" > <el-row :gutter="5" >
<el-col :span="18"> <el-col :span="18">
<div> <div>
<div class="echart-box" id="xmQuestionAgeDist"></div>
<div class="echart-box" :id="this.id"></div>
<div class="progress"></div> <div class="progress"></div>
</div> </div>
</el-col> </el-col>
@ -206,7 +206,7 @@
}, },
drawCharts() { drawCharts() {
this.myChart = this.$echarts.init(document.getElementById("xmQuestionAgeDist"));
this.myChart = this.$echarts.init(document.getElementById(this.id));
this.myChart.setOption( this.myChart.setOption(
{ {
title: { title: {

48
src/views/xm/rpt/product/questionAskUserSort.vue

@ -1,48 +0,0 @@
<template>
<section>
<el-row>
<question-sort :ref="compCfg.id" :xm-test-plan="xmTestPlan" :comp-cfg="compCfg" :rpt-config-visible="rptConfigVisible" :group-by="'ask_userid'" @delete="$emit('delete',$event)"/>
</el-row>
</section>
</template>
<script>
import questionSort from './questionSort'
import { mapGetters } from 'vuex'
import dayjs from 'dayjs'
export default {
props:['id','xmTestPlan','compCfg'],
components: {questionSort},
computed: {
...mapGetters([
'userInfo'
]),
},
watch: {
},
data() {
return {
rptConfigVisible:false,
}
},
methods: {
sizeAutoChange(){
this.refs[this.compCfg.id].sizeAutoChange()
}
},
mounted() {
}
}
</script>
<style lang="scss" scoped>
</style>

5
src/views/xm/rpt/product/questionAttDist.vue

@ -3,7 +3,7 @@
<el-row :gutter="5" > <el-row :gutter="5" >
<el-col :span="18"> <el-col :span="18">
<div> <div>
<div class="echart-box" id="xmQuestionAttDist"></div>
<div class="echart-box" :id="this.id"></div>
<div class="progress"></div> <div class="progress"></div>
</div> </div>
</el-col> </el-col>
@ -214,7 +214,6 @@
}, },
data() { data() {
return { return {
id:Math.floor(Math.random() * 10000000),
filters:{ filters:{
product:null, product:null,
project:null, project:null,
@ -277,7 +276,7 @@
this.searchXmQuestionAttDist() this.searchXmQuestionAttDist()
}, },
drawCharts() { drawCharts() {
this.myChart = this.$echarts.init(document.getElementById("xmQuestionAttDist"));
this.myChart = this.$echarts.init(document.getElementById(this.id));
this.myChart.setOption( this.myChart.setOption(
{ {

47
src/views/xm/rpt/product/questionBugReasonDist.vue

@ -1,47 +0,0 @@
<template>
<section>
<el-row>
<question-att-dist :ref="compCfg.id" :xm-test-plan="xmTestPlan" :comp-cfg="compCfg" :rpt-config-visible="rptConfigVisible" :group-by="'bug_reason'" @delete="$emit('delete',$event)"/>
</el-row>
</section>
</template>
<script>
import questionAttDist from './questionAttDist'
import { mapGetters } from 'vuex'
import dayjs from 'dayjs'
export default {
props:['id','xmTestPlan','compCfg'],
components: {questionAttDist},
computed: {
...mapGetters([
'userInfo'
]),
},
watch: {
},
data() {
return {
rptConfigVisible:false,
}
},
methods: {
sizeAutoChange(){
this.refs[this.compCfg.id].sizeAutoChange()
}
},
mounted() {
}
}
</script>
<style lang="scss" scoped>
</style>

48
src/views/xm/rpt/product/questionBugSeverityDist.vue

@ -1,48 +0,0 @@
<template>
<section>
<el-row>
<question-att-dist :ref="compCfg.id" :xm-test-plan="xmTestPlan" :comp-cfg="compCfg" :rpt-config-visible="rptConfigVisible" :group-by="'bug_severity'" @delete="$emit('delete',$event)"/>
</el-row>
</section>
</template>
<script>
import questionAttDist from './questionAttDist'
import { mapGetters } from 'vuex'
import dayjs from 'dayjs'
export default {
props:['id','xmTestPlan','compCfg'],
components: {questionAttDist},
computed: {
...mapGetters([
'userInfo'
]),
},
watch: {
},
data() {
return {
rptConfigVisible:false,
}
},
methods: {
sizeAutoChange(){
this.refs[this.compCfg.id].sizeAutoChange()
}
},
mounted() {
}
}
</script>
<style lang="scss" scoped>
</style>

48
src/views/xm/rpt/product/questionBugStatusDist.vue

@ -1,48 +0,0 @@
<template>
<section>
<el-row>
<question-att-dist :ref="compCfg.id" :xm-test-plan="xmTestPlan" :comp-cfg="compCfg" :rpt-config-visible="rptConfigVisible" :group-by="'bug_status'" @delete="$emit('delete',$event)"/>
</el-row>
</section>
</template>
<script>
import questionAttDist from './questionAttDist'
import { mapGetters } from 'vuex'
import dayjs from 'dayjs'
export default {
props:['id','xmTestPlan','compCfg'],
components: {questionAttDist},
computed: {
...mapGetters([
'userInfo'
]),
},
watch: {
},
data() {
return {
rptConfigVisible:false,
}
},
methods: {
sizeAutoChange(){
this.refs[this.compCfg.id].sizeAutoChange()
}
},
mounted() {
}
}
</script>
<style lang="scss" scoped>
</style>

48
src/views/xm/rpt/product/questionBugTypeDist.vue

@ -1,48 +0,0 @@
<template>
<section>
<el-row>
<question-att-dist :ref="compCfg.id" :xm-test-plan="xmTestPlan" :comp-cfg="compCfg" :rpt-config-visible="rptConfigVisible" :group-by="'bug_type'" @delete="$emit('delete',$event)"/>
</el-row>
</section>
</template>
<script>
import questionAttDist from './questionAttDist'
import { mapGetters } from 'vuex'
import dayjs from 'dayjs'
export default {
props:['id','xmTestPlan','compCfg'],
components: {questionAttDist},
computed: {
...mapGetters([
'userInfo'
]),
},
watch: {
},
data() {
return {
rptConfigVisible:false,
}
},
methods: {
sizeAutoChange(){
this.refs[this.compCfg.id].sizeAutoChange()
}
},
mounted() {
}
}
</script>
<style lang="scss" scoped>
</style>

4
src/views/xm/rpt/product/questionDayAccumulate.vue

@ -3,7 +3,7 @@
<el-row :gutter="5" > <el-row :gutter="5" >
<el-col :span="18"> <div> <el-col :span="18"> <div>
<div class="echart-box" id="questionDayAccumulate"></div>
<div class="echart-box" :id="this.id"></div>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="border"> <el-col :span="6" class="border">
@ -172,7 +172,7 @@
}, },
drawCharts() { drawCharts() {
this.myChart = this.$echarts.init(document.getElementById("questionDayAccumulate"));
this.myChart = this.$echarts.init(document.getElementById(this.id));
this.myChart.setOption( this.myChart.setOption(
{ {
title: { title: {

4
src/views/xm/rpt/product/questionDayTrend.vue

@ -4,7 +4,7 @@
<el-row :gutter="5" > <el-row :gutter="5" >
<el-col :span="18"> <el-col :span="18">
<div> <div>
<div class="echart-box" id="questionDayTrend"></div>
<div class="echart-box" :id="this.id"></div>
<div class="progress"></div> <div class="progress"></div>
</div> </div>
</el-col> </el-col>
@ -172,7 +172,7 @@
}, },
drawCharts() { drawCharts() {
this.myChart = this.$echarts.init(document.getElementById("questionDayTrend"));
this.myChart = this.$echarts.init(document.getElementById(this.id));
this.myChart.setOption( this.myChart.setOption(
{ {
title: { title: {

48
src/views/xm/rpt/product/questionFuncSort.vue

@ -1,48 +0,0 @@
<template>
<section>
<el-row>
<question-sort :ref="compCfg.id" :xm-test-plan="xmTestPlan" :comp-cfg="compCfg" :rpt-config-visible="rptConfigVisible" :group-by="'func_id'" @delete="$emit('delete',$event)"/>
</el-row>
</section>
</template>
<script>
import questionSort from './questionSort'
import { mapGetters } from 'vuex'
import dayjs from 'dayjs'
export default {
props:['id','xmTestPlan','compCfg'],
components: {questionSort},
computed: {
...mapGetters([
'userInfo'
]),
},
watch: {
},
data() {
return {
rptConfigVisible:false,
}
},
methods: {
sizeAutoChange(){
this.refs[this.compCfg.id].sizeAutoChange()
}
},
mounted() {
}
}
</script>
<style lang="scss" scoped>
</style>

48
src/views/xm/rpt/product/questionHandlerUserSort.vue

@ -1,48 +0,0 @@
<template>
<section>
<el-row>
<question-sort :ref="compCfg.id" :xm-test-plan="xmTestPlan" :comp-cfg="compCfg" :rpt-config-visible="rptConfigVisible" :group-by="'handler_userid'" @delete="$emit('delete',$event)"/>
</el-row>
</section>
</template>
<script>
import questionSort from './questionSort'
import { mapGetters } from 'vuex'
import dayjs from 'dayjs'
export default {
props:['id','xmTestPlan','compCfg'],
components: {questionSort},
computed: {
...mapGetters([
'userInfo'
]),
},
watch: {
},
data() {
return {
rptConfigVisible:false,
}
},
methods: {
sizeAutoChange(){
this.refs[this.compCfg.id].sizeAutoChange()
}
},
mounted() {
}
}
</script>
<style lang="scss" scoped>
</style>

48
src/views/xm/rpt/product/questionPriorityDist.vue

@ -1,48 +0,0 @@
<template>
<section>
<el-row>
<question-att-dist :ref="compCfg.id" :xm-test-plan="xmTestPlan" :comp-cfg="compCfg" :rpt-config-visible="rptConfigVisible" :group-by="'bug_type'" @delete="$emit('delete',$event)"/>
</el-row>
</section>
</template>
<script>
import questionAttDist from './questionAttDist'
import { mapGetters } from 'vuex'
import dayjs from 'dayjs'
export default {
props:['id','xmTestPlan','compCfg'],
components: {questionAttDist},
computed: {
...mapGetters([
'userInfo'
]),
},
watch: {
},
data() {
return {
rptConfigVisible:false,
}
},
methods: {
sizeAutoChange(){
this.refs[this.compCfg.id].sizeAutoChange()
}
},
mounted() {
}
}
</script>
<style lang="scss" scoped>
</style>

48
src/views/xm/rpt/product/questionRepRateDist.vue

@ -1,48 +0,0 @@
<template>
<section>
<el-row>
<question-att-dist :ref="compCfg.id" :xm-test-plan="xmTestPlan" :comp-cfg="compCfg" :rpt-config-visible="rptConfigVisible" :group-by="'rep_rate'" @delete="$emit('delete',$event)"/>
</el-row>
</section>
</template>
<script>
import questionAttDist from './questionAttDist'
import { mapGetters } from 'vuex'
import dayjs from 'dayjs'
export default {
props:['id','xmTestPlan','compCfg'],
components: {questionAttDist},
computed: {
...mapGetters([
'userInfo'
]),
},
watch: {
},
data() {
return {
rptConfigVisible:false,
}
},
methods: {
sizeAutoChange(){
this.refs[this.compCfg.id].sizeAutoChange()
}
},
mounted() {
}
}
</script>
<style lang="scss" scoped>
</style>

4
src/views/xm/rpt/product/questionRetestDist.vue

@ -3,7 +3,7 @@
<el-row :gutter="5" > <el-row :gutter="5" >
<el-col :span="18"> <el-col :span="18">
<div> <div>
<div class="echart-box" id="xmQuestionRetestDist"></div>
<div class="echart-box" :id="this.id"></div>
<div class="progress"></div> <div class="progress"></div>
</div> </div>
</el-col> </el-col>
@ -241,7 +241,7 @@
this.searchXmQuestionRetestDist() this.searchXmQuestionRetestDist()
}, },
drawCharts() { drawCharts() {
this.myChart = this.$echarts.init(document.getElementById("xmQuestionRetestDist"));
this.myChart = this.$echarts.init(document.getElementById(this.id));
this.myChart.setOption( this.myChart.setOption(
{ {
title: { title: {

48
src/views/xm/rpt/product/questionSolutionDist.vue

@ -1,48 +0,0 @@
<template>
<section>
<el-row>
<question-att-dist :ref="compCfg.id" :xm-test-plan="xmTestPlan" :comp-cfg="compCfg" :rpt-config-visible="rptConfigVisible" :group-by="'solution'" @delete="$emit('delete',$event)"/>
</el-row>
</section>
</template>
<script>
import questionAttDist from './questionAttDist'
import { mapGetters } from 'vuex'
import dayjs from 'dayjs'
export default {
props:['id','xmTestPlan','compCfg'],
components: {questionAttDist},
computed: {
...mapGetters([
'userInfo'
]),
},
watch: {
},
data() {
return {
rptConfigVisible:false,
}
},
methods: {
sizeAutoChange(){
this.refs[this.compCfg.id].sizeAutoChange()
}
},
mounted() {
}
}
</script>
<style lang="scss" scoped>
</style>

4
src/views/xm/rpt/product/questionSort.vue

@ -3,7 +3,7 @@
<el-row :gutter="5" > <el-row :gutter="5" >
<el-col :span="18"> <el-col :span="18">
<div> <div>
<div class="echart-box" id="xmQuestionSort"></div>
<div class="echart-box" :id="this.id"></div>
<div class="progress"></div> <div class="progress"></div>
</div> </div>
</el-col> </el-col>
@ -225,7 +225,7 @@
this.searchXmQuestionSort() this.searchXmQuestionSort()
}, },
drawCharts() { drawCharts() {
this.myChart = this.$echarts.init(document.getElementById("xmQuestionSort"));
this.myChart = this.$echarts.init(document.getElementById(this.id));
this.myChart.setOption( this.myChart.setOption(
{ {
title: { title: {

4
src/views/xm/rpt/project/projectWorkItemDayList.vue

@ -5,7 +5,7 @@
<el-row :gutter="5" > <el-row :gutter="5" >
<el-col :span="18"> <el-col :span="18">
<div> <div>
<div class="echart-box" id="projectWorkItemDayList" :style="{width:'100%',height:(maxTableHeight>600?600:maxTableHeight)+'px',overflow: 'hidden'}"></div>
<div class="echart-box" :id="this.id"></div>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="border"> <el-col :span="6" class="border">
@ -143,7 +143,7 @@
}, },
drawCharts() { drawCharts() {
this.myChart = this.$echarts.init(document.getElementById("projectWorkItemDayList"));
this.myChart = this.$echarts.init(document.getElementById(this.id));
var that=this; var that=this;
this.myChart.on('updateAxisPointer', function (event) { this.myChart.on('updateAxisPointer', function (event) {
const xAxisInfo = event.axesInfo[0]; const xAxisInfo = event.axesInfo[0];

2
src/views/xm/rpt/project/projectWorkloadSetDayList.vue

@ -5,7 +5,7 @@
<el-row :gutter="5" > <el-row :gutter="5" >
<el-col :span="18"> <el-col :span="18">
<div> <div>
<div class="main" :id="id" :style="{width:'100%',height:(maxTableHeight>600?600:maxTableHeight)+'px',overflow: 'hidden'}"></div>
<div class="main" :id="this.id"></div>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="border"> <el-col :span="6" class="border">

4
src/views/xm/rpt/project/projectWorkloadSetMonthList.vue

@ -5,7 +5,7 @@
<el-row :gutter="5" > <el-row :gutter="5" >
<el-col :span="18"> <el-col :span="18">
<div> <div>
<div class="echart-box" id="projectWorkloadSetMonthList" :style="{width:'100%',height:(maxTableHeight>600?600:maxTableHeight)+'px',overflow: 'hidden'}"></div>
<div class="echart-box" :id="this.id"></div>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="border"> <el-col :span="6" class="border">
@ -163,7 +163,7 @@
}, },
drawCharts() { drawCharts() {
this.myChart = this.$echarts.init(document.getElementById("projectWorkloadSetMonthList"));
this.myChart = this.$echarts.init(document.getElementById(this.id));
var that=this; var that=this;
this.myChart.on('updateAxisPointer', function (event) { this.myChart.on('updateAxisPointer', function (event) {
const xAxisInfo = event.axesInfo[0]; const xAxisInfo = event.axesInfo[0];

4
src/views/xm/rpt/project/taskAgeDist.vue

@ -4,7 +4,7 @@
<el-row :gutter="5" > <el-row :gutter="5" >
<el-col :span="18"> <el-col :span="18">
<div> <div>
<div class="echart-box" id="xmTaskAgeDist"></div>
<div class="echart-box" :id="this.id"></div>
<div class="progress"></div> <div class="progress"></div>
</div> </div>
</el-col> </el-col>
@ -151,7 +151,7 @@
this.searchXmTaskAgeDist(); this.searchXmTaskAgeDist();
}, },
drawCharts() { drawCharts() {
this.myChart = this.$echarts.init(document.getElementById("xmTaskAgeDist"));
this.myChart = this.$echarts.init(document.getElementById(this.id));
this.myChart.setOption( this.myChart.setOption(
{ {
title: { title: {

4
src/views/xm/rpt/project/taskAttDist.vue

@ -4,7 +4,7 @@
<el-row :gutter="5" > <el-row :gutter="5" >
<el-col :span="18"> <el-col :span="18">
<div> <div>
<div class="echart-box" id="xmTaskAttDist"></div>
<div class="echart-box" :id="this.id"></div>
<div class="progress"></div> <div class="progress"></div>
</div> </div>
</el-col> </el-col>
@ -211,7 +211,7 @@
this.searchXmTaskAttDist() this.searchXmTaskAttDist()
}, },
drawCharts() { drawCharts() {
this.myChart = this.$echarts.init(document.getElementById("xmTaskAttDist"));
this.myChart = this.$echarts.init(document.getElementById(this.id));
this.myChart.setOption( this.myChart.setOption(
{ {
title: { title: {

4
src/views/xm/rpt/project/taskDayAccumulate.vue

@ -4,7 +4,7 @@
<el-row :gutter="5" > <el-row :gutter="5" >
<el-col :span="18"> <div> <el-col :span="18"> <div>
<div class="echart-box" id="taskDayAccumulate"></div>
<div class="echart-box" :id="this.id"></div>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="border"> <el-col :span="6" class="border">
@ -176,7 +176,7 @@
}, },
drawCharts() { drawCharts() {
this.myChart = this.$echarts.init(document.getElementById("taskDayAccumulate"));
this.myChart = this.$echarts.init(document.getElementById(this.id));
this.myChart.setOption( this.myChart.setOption(
{ {
title: { title: {

4
src/views/xm/rpt/project/taskDayTrend.vue

@ -5,7 +5,7 @@
<el-row :gutter="5" > <el-row :gutter="5" >
<el-col :span="18"> <el-col :span="18">
<div> <div>
<div class="echart-box" id="taskDayTrend"></div>
<div class="echart-box" :id="this.id"></div>
<div class="progress"></div> <div class="progress"></div>
</div> </div>
</el-col> </el-col>
@ -169,7 +169,7 @@
}, },
drawCharts() { drawCharts() {
this.myChart = this.$echarts.init(document.getElementById("taskDayTrend"));
this.myChart = this.$echarts.init(document.getElementById(this.id));
this.myChart.setOption( this.myChart.setOption(
{ {
title: { title: {

4
src/views/xm/rpt/project/taskSort.vue

@ -4,7 +4,7 @@
<el-row :gutter="5" > <el-row :gutter="5" >
<el-col :span="18"> <el-col :span="18">
<div> <div>
<div class="echart-box" id="xmTaskSort"></div>
<div class="echart-box" :id="this.id"></div>
<div class="progress"></div> <div class="progress"></div>
</div> </div>
</el-col> </el-col>
@ -161,7 +161,7 @@
this.searchXmTaskSort() this.searchXmTaskSort()
}, },
drawCharts() { drawCharts() {
this.myChart = this.$echarts.init(document.getElementById("xmTaskSort"));
this.myChart = this.$echarts.init(document.getElementById(this.id));
this.myChart.setOption( this.myChart.setOption(
{ {
title: { title: {

2
src/views/xm/rpt/testCase/testCaseSort.vue

@ -5,7 +5,7 @@
<el-row :gutter="5" > <el-row :gutter="5" >
<el-col :span="18"> <el-col :span="18">
<div> <div>
<div class="echart-box" :id="id"></div>
<div class="echart-box" :id="this.id"></div>
<div class="progress"></div> <div class="progress"></div>
</div> </div>
</el-col> </el-col>

2
src/views/xm/rpt/testPlan/testCaseToPlanCalc.vue

@ -184,7 +184,7 @@
return val; return val;
}, },
drawCharts() { drawCharts() {
this.myChart = this.$echarts.init(document.getElementById("this.id"));
this.myChart = this.$echarts.init(document.getElementById(this.id));
this.myChart.setOption( this.myChart.setOption(
{ {
title: { title: {

Loading…
Cancel
Save