Browse Source

优化

master
陈裕财 3 years ago
parent
commit
19e3cf0f8b
  1. 17
      src/views/xm/rpt/branch/branchWorkItemDayList.vue
  2. 16
      src/views/xm/rpt/branch/menuDayAccumulate.vue
  3. 16
      src/views/xm/rpt/branch/menuDayTrend.vue
  4. 16
      src/views/xm/rpt/branch/questionDayAccumulate.vue
  5. 16
      src/views/xm/rpt/branch/questionDayTrend.vue
  6. 17
      src/views/xm/rpt/iteration/IterationWorkItemDayList.vue
  7. 16
      src/views/xm/rpt/iteration/burnout.vue
  8. 16
      src/views/xm/rpt/iteration/menuDayAccumulate.vue
  9. 16
      src/views/xm/rpt/iteration/menuDayTrend.vue
  10. 16
      src/views/xm/rpt/iteration/questionDayAccumulate.vue
  11. 17
      src/views/xm/rpt/iteration/questionDayTrend.vue
  12. 15
      src/views/xm/rpt/product/menuAgeDist.vue
  13. 15
      src/views/xm/rpt/product/menuAttDist.vue
  14. 15
      src/views/xm/rpt/product/menuDayAccumulate.vue
  15. 15
      src/views/xm/rpt/product/menuDayTrend.vue
  16. 16
      src/views/xm/rpt/product/menuSort.vue
  17. 16
      src/views/xm/rpt/product/productWorkItemDayList.vue
  18. 8
      src/views/xm/rpt/product/questionAgeDist.vue
  19. 8
      src/views/xm/rpt/product/questionAttDist.vue
  20. 16
      src/views/xm/rpt/product/questionDayAccumulate.vue
  21. 16
      src/views/xm/rpt/product/questionDayTrend.vue
  22. 8
      src/views/xm/rpt/product/questionRetestDist.vue
  23. 18
      src/views/xm/rpt/product/questionSort.vue
  24. 9
      src/views/xm/rpt/project/projectWorkItemDayList.vue
  25. 9
      src/views/xm/rpt/project/projectWorkloadSetDayList.vue
  26. 9
      src/views/xm/rpt/project/projectWorkloadSetMonthList.vue
  27. 9
      src/views/xm/rpt/project/taskAgeDist.vue
  28. 9
      src/views/xm/rpt/project/taskAttDist.vue
  29. 9
      src/views/xm/rpt/project/taskDayAccumulate.vue
  30. 9
      src/views/xm/rpt/project/taskDayTrend.vue
  31. 9
      src/views/xm/rpt/project/taskSort.vue
  32. 106
      src/views/xm/rpt/reportIndex.vue
  33. 7
      src/views/xm/rpt/testPlan/testCaseToPlanCalc.vue
  34. 8
      src/views/xm/rpt/testPlan/testDayTimesCalc.vue
  35. 7
      src/views/xm/rpt/testPlan/testPlanCaseExecStatusDist.vue
  36. 7
      src/views/xm/rpt/testPlan/testPlanCaseUserDist.vue

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

@ -1,8 +1,6 @@
<template>
<section>
<el-dialog fullscreen :title="dialogTitle" append-to-body modal-append-to-body width="80%" top="20px" :visible.sync="visible">
<el-row :gutter="5" v-if="visible">
<el-row :gutter="5" >
<el-col :span="18">
<div>
<div class="main" id="iterationWorkItemDayList" style="width:100%;height:600px;margin:0 auto;"></div>
@ -21,7 +19,6 @@
</el-form>
</el-col>
</el-row>
</el-dialog>
</section>
</template>
@ -111,11 +108,13 @@
this.xmProductStateHiss=res.data.tips.isOk?res.data.data:this.xmProductStateHiss;
})
},
open(params){
open(){
this.visible=true;
this.filters.product=params.xmProduct
this.filters.project=params.xmProject
this.filters.iteration=params.xmIteration
this.filters.testPlan=this.xmTestPlan
this.filters.product=this.xmProduct
this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
this.xmProductStateHiss=[]
if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect();
if(this.$refs['xmIterationSelect'])this.$refs['xmIterationSelect'].clearSelect();
@ -251,7 +250,7 @@
})
*/
//this.charts();
//this.drawCharts();
this.open();
}//end mounted
}

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

@ -1,8 +1,7 @@
<template>
<section>
<el-dialog fullscreen :title="dialogTitle" append-to-body modal-append-to-body width="80%" top="20px" :visible.sync="visible">
<el-row :gutter="5" v-if="visible">
<el-row :gutter="5" >
<el-col :span="18"> <div>
<div class="main" id="iterationMenuDayAccumulate"
style="width:100%;height:600px;margin:0 auto;"></div>
@ -33,7 +32,6 @@
</el-form>
</el-col>
</el-row>
</el-dialog>
</section>
</template>
@ -148,11 +146,13 @@
this.xmProductStateHiss=res.data.tips.isOk?res.data.data:this.xmProductStateHiss;
})
},
open(params){
open(){
this.visible=true;
this.filters.product=params.xmProduct
this.filters.project=params.xmProject
this.filters.iteration=params.xmIteration
this.filters.testPlan=this.xmTestPlan
this.filters.product=this.xmProduct
this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
this.xmProductStateHiss=[]
if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect();
if(this.$refs['xmIterationSelect'])this.$refs['xmIterationSelect'].clearSelect();
@ -279,7 +279,7 @@
})
*/
//this.charts();
//this.drawCharts()
this.open()
}//end mounted
}

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

@ -1,8 +1,7 @@
<template>
<section>
<el-dialog fullscreen :title="dialogTitle" append-to-body modal-append-to-body width="80%" top="20px" :visible.sync="visible">
<el-row :gutter="5" v-if="visible">
<el-row :gutter="5" >
<el-col :span="18">
<div>
<div class="main" id="iterationMenuDayTrend"
@ -22,7 +21,6 @@
</el-form>
</el-col>
</el-row>
</el-dialog>
</section>
</template>
@ -137,11 +135,13 @@
this.xmProductStateHiss=res.data.tips.isOk?res.data.data:this.xmProductStateHiss;
})
},
open(params){
open(){
this.visible=true;
this.filters.product=params.xmProduct
this.filters.project=params.xmProject
this.filters.iteration=params.xmIteration
this.filters.testPlan=this.xmTestPlan
this.filters.product=this.xmProduct
this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect();
if(this.$refs['xmIterationSelect'])this.$refs['xmIterationSelect'].clearSelect();
@ -264,7 +264,7 @@
})
*/
//this.charts();
//this.drawCharts();
this.open();
}//end mounted
}

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

@ -1,8 +1,7 @@
<template>
<section>
<el-dialog fullscreen :title="dialogTitle" append-to-body modal-append-to-body width="80%" top="20px" :visible.sync="visible">
<el-row :gutter="5" v-if="visible">
<el-row :gutter="5" >
<el-col :span="18"> <div>
<div class="main" id="iterationQuestionDayAccumulate"
style="width:100%;height:600px;margin:0 auto;"></div>
@ -20,7 +19,6 @@
</el-form>
</el-col>
</el-row>
</el-dialog>
</section>
</template>
@ -135,11 +133,13 @@
this.xmProductStateHiss=res.data.tips.isOk?res.data.data:this.xmProductStateHiss;
})
},
open(params){
open(){
this.visible=true;
this.filters.product=params.xmProduct
this.filters.project=params.xmProject
this.filters.iteration=params.xmIteration
this.filters.testPlan=this.xmTestPlan
this.filters.product=this.xmProduct
this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
this.xmProductStateHiss=[]
if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect();
if(this.$refs['xmIterationSelect'])this.$refs['xmIterationSelect'].clearSelect();
@ -268,7 +268,7 @@
})
*/
//this.charts();
//this.drawCharts()
this.open()
}//end mounted
}

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

@ -1,8 +1,7 @@
<template>
<section>
<el-dialog fullscreen :title="dialogTitle" append-to-body modal-append-to-body width="80%" top="20px" :visible.sync="visible">
<el-row :gutter="5" v-if="visible">
<el-row :gutter="5" >
<el-col :span="18">
<div>
<div class="main" id="iterationQuestionDayTrend"
@ -22,7 +21,6 @@
</el-form>
</el-col>
</el-row>
</el-dialog>
</section>
</template>
@ -137,11 +135,13 @@
this.xmProductStateHiss=res.data.tips.isOk?res.data.data:this.xmProductStateHiss;
})
},
open(params){
open(){
this.visible=true;
this.filters.product=params.xmProduct
this.filters.project=params.xmProject
this.filters.iteration=params.xmIteration
this.filters.testPlan=this.xmTestPlan
this.filters.product=this.xmProduct
this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect();
if(this.$refs['xmIterationSelect'])this.$refs['xmIterationSelect'].clearSelect();
this.$nextTick(()=>{
@ -265,7 +265,7 @@
})
*/
//this.charts();
//this.drawCharts();
this.open();
}//end mounted
}

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

@ -1,8 +1,6 @@
<template>
<section>
<el-dialog fullscreen :title="dialogTitle" append-to-body modal-append-to-body width="80%" top="20px" :visible.sync="visible">
<el-row :gutter="5" v-if="visible">
<el-row :gutter="5" >
<el-col :span="18">
<div>
<div class="main" id="iterationWorkItemDayList" style="width:100%;height:600px;margin:0 auto;"></div>
@ -32,7 +30,6 @@
</el-form>
</el-col>
</el-row>
</el-dialog>
</section>
</template>
@ -131,11 +128,13 @@
this.xmProductStateHiss=res.data.tips.isOk?res.data.data:this.xmProductStateHiss;
})
},
open(params){
open(){
this.visible=true;
this.filters.product=params.xmProduct
this.filters.project=params.xmProject
this.filters.iteration=params.xmIteration
this.filters.testPlan=this.xmTestPlan
this.filters.product=this.xmProduct
this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
this.xmProductStateHiss=[]
if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect();
if(this.$refs['xmIterationSelect'])this.$refs['xmIterationSelect'].clearSelect();
@ -271,7 +270,7 @@
})
*/
//this.charts();
//this.drawCharts();
this.open();
}//end mounted
}

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

@ -1,9 +1,8 @@
<template>
<section>
<el-dialog fullscreen :title="dialogTitle" append-to-body modal-append-to-body width="80%" top="20px" :visible.sync="visible">
<el-row :gutter="5" v-if="visible">
<el-row :gutter="5" >
<el-col :span="18">
<div>
<div class="main" id="burnout"
@ -31,7 +30,6 @@
</el-form>
</el-col>
</el-row>
</el-dialog>
</section>
</template>
@ -172,11 +170,13 @@
this.xmIterationStateHiss=res.data.tips.isOk?res.data.data:this.xmIterationStateHiss;
})
},
open(params){
open(){
this.visible=true;
this.filters.product=params.xmProduct
this.filters.project=params.xmProject
this.filters.iteration=params.xmIteration
this.filters.testPlan=this.xmTestPlan
this.filters.product=this.xmProduct
this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
this.$nextTick(()=>{
this.listXmIterationStateHis();
})
@ -290,7 +290,7 @@
})
*/
//this.charts();
//this.drawCharts();
this.open();
}//end mounted
}

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

@ -1,8 +1,7 @@
<template>
<section>
<el-dialog fullscreen :title="dialogTitle" append-to-body modal-append-to-body width="80%" top="20px" :visible.sync="visible">
<el-row :gutter="5" v-if="visible">
<el-row :gutter="5" >
<el-col :span="18"> <div>
<div class="main" id="iterationMenuDayAccumulate"
style="width:100%;height:600px;margin:0 auto;"></div>
@ -33,7 +32,6 @@
</el-form>
</el-col>
</el-row>
</el-dialog>
</section>
</template>
@ -156,11 +154,13 @@
this.xmProductStateHiss=res.data.tips.isOk?res.data.data:this.xmProductStateHiss;
})
},
open(params){
open(){
this.visible=true;
this.filters.product=params.xmProduct
this.filters.project=params.xmProject
this.filters.iteration=params.xmIteration
this.filters.testPlan=this.xmTestPlan
this.filters.product=this.xmProduct
this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
this.xmProductStateHiss=[]
if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect();
if(this.$refs['xmIterationSelect'])this.$refs['xmIterationSelect'].clearSelect();
@ -287,7 +287,7 @@
})
*/
//this.charts();
//this.drawCharts()
this.open()
}//end mounted
}

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

@ -1,8 +1,7 @@
<template>
<section>
<el-dialog fullscreen :title="dialogTitle" append-to-body modal-append-to-body width="80%" top="20px" :visible.sync="visible">
<el-row :gutter="5" v-if="visible">
<el-row :gutter="5" >
<el-col :span="18">
<div>
<div class="main" id="iterationMenuDayTrend"
@ -35,7 +34,6 @@
</el-form>
</el-col>
</el-row>
</el-dialog>
</section>
</template>
@ -159,11 +157,13 @@
this.xmProductStateHiss=res.data.tips.isOk?res.data.data:this.xmProductStateHiss;
})
},
open(params){
open(){
this.visible=true;
this.filters.product=params.xmProduct
this.filters.project=params.xmProject
this.filters.iteration=params.xmIteration
this.filters.testPlan=this.xmTestPlan
this.filters.product=this.xmProduct
this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect();
if(this.$refs['xmIterationSelect'])this.$refs['xmIterationSelect'].clearSelect();
@ -286,7 +286,7 @@
})
*/
//this.charts();
//this.drawCharts();
this.open();
}//end mounted
}

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

@ -1,8 +1,7 @@
<template>
<section>
<el-dialog fullscreen :title="dialogTitle" append-to-body modal-append-to-body width="80%" top="20px" :visible.sync="visible">
<el-row :gutter="5" v-if="visible">
<el-row :gutter="5" >
<el-col :span="18"> <div>
<div class="main" id="iterationQuestionDayAccumulate"
style="width:100%;height:600px;margin:0 auto;"></div>
@ -30,7 +29,6 @@
</el-form>
</el-col>
</el-row>
</el-dialog>
</section>
</template>
@ -154,11 +152,13 @@
this.xmProductStateHiss=res.data.tips.isOk?res.data.data:this.xmProductStateHiss;
})
},
open(params){
open(){
this.visible=true;
this.filters.product=params.xmProduct
this.filters.project=params.xmProject
this.filters.iteration=params.xmIteration
this.filters.testPlan=this.xmTestPlan
this.filters.product=this.xmProduct
this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
this.xmProductStateHiss=[]
if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect();
if(this.$refs['xmIterationSelect'])this.$refs['xmIterationSelect'].clearSelect();
@ -287,7 +287,7 @@
})
*/
//this.charts();
//this.drawCharts()
this.open()
}//end mounted
}

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

@ -1,8 +1,6 @@
<template>
<section>
<el-dialog fullscreen :title="dialogTitle" append-to-body modal-append-to-body width="80%" top="20px" :visible.sync="visible">
<el-row :gutter="5" v-if="visible">
<el-row :gutter="5" >
<el-col :span="18">
<div>
<div class="main" id="iterationQuestionDayTrend"
@ -35,7 +33,6 @@
</el-form>
</el-col>
</el-row>
</el-dialog>
</section>
</template>
@ -158,11 +155,13 @@
this.xmProductStateHiss=res.data.tips.isOk?res.data.data:this.xmProductStateHiss;
})
},
open(params){
open(){
this.visible=true;
this.filters.product=params.xmProduct
this.filters.project=params.xmProject
this.filters.iteration=params.xmIteration
this.filters.testPlan=this.xmTestPlan
this.filters.product=this.xmProduct
this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect();
if(this.$refs['xmIterationSelect'])this.$refs['xmIterationSelect'].clearSelect();
this.$nextTick(()=>{
@ -286,7 +285,7 @@
})
*/
//this.charts();
//this.drawCharts();
this.open();
}//end mounted
}

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

@ -1,7 +1,6 @@
<template>
<section>
<el-dialog fullscreen :title="dialogTitle" append-to-body modal-append-to-body width="80%" top="20px" :visible.sync="visible">
<el-row :gutter="5" v-if="visible">
<el-row :gutter="5" >
<el-col :span="18">
<div>
<div class="main" id="xmMenuAgeDist"
@ -55,7 +54,6 @@
</el-form>
</el-col>
</el-row>
</el-dialog>
</section>
</template>
@ -139,10 +137,13 @@
}//end return
},//end data
methods: {
open(params){
open(){
this.visible=true;
this.filters.product=params.xmProduct
this.filters.iteration=params.xmIteration
this.filters.testPlan=this.xmTestPlan
this.filters.product=this.xmProduct
this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
if((this.filters.product && this.filters.product.id) || ( this.filters.iteration && this.filters.iteration.id)){
this.searchXmMenuAgeDist()
@ -242,7 +243,7 @@
this.dicts=res.data.data;
})
//this.charts();
//this.drawCharts();
this.open();
}//end mounted
}

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

@ -1,7 +1,6 @@
<template>
<section>
<el-dialog fullscreen :title="dialogTitle" append-to-body modal-append-to-body width="80%" top="20px" :visible.sync="visible">
<el-row :gutter="5" v-if="visible">
<el-row :gutter="5" >
<el-col :span="18">
<div>
<div class="main" id="xmMenuAttDist"
@ -60,7 +59,6 @@
</el-form>
</el-col>
</el-row>
</el-dialog>
</section>
</template>
@ -195,10 +193,13 @@
}
return max;
},
open(params){
open(){
this.visible=true;
this.filters.product=params.xmProduct
this.filters.iteration=params.xmIteration
this.filters.testPlan=this.xmTestPlan
this.filters.product=this.xmProduct
this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
if((this.filters.product && this.filters.product.id) || ( this.filters.iteration && this.filters.iteration.id)){
this.searchXmMenuAttDist()
@ -302,7 +303,7 @@
this.dicts=res.data.data;
})
//this.charts();
//this.drawCharts();
this.open();
}//end mounted
}

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

@ -1,8 +1,7 @@
<template>
<section>
<el-dialog fullscreen :title="dialogTitle" append-to-body modal-append-to-body width="80%" top="20px" :visible.sync="visible">
<el-row :gutter="5" v-if="visible">
<el-row :gutter="5" >
<el-col :span="18"> <div>
<div class="main" id="menuDayAccumulate"
style="width:100%;height:600px;margin:0 auto;"></div>
@ -25,7 +24,6 @@
</el-form>
</el-col>
</el-row>
</el-dialog>
</section>
</template>
@ -145,10 +143,13 @@
this.xmProductStateHiss=res.data.tips.isOk?res.data.data:this.xmProductStateHiss;
})
},
open(params){
open(){
this.visible=true;
this.filters.product=params.xmProduct
this.filters.project=params.xmProject
this.filters.testPlan=this.xmTestPlan
this.filters.product=this.xmProduct
this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
this.xmProductStateHiss=[]
if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect();
this.$nextTick(()=>{
@ -266,7 +267,7 @@
})
*/
//this.charts();
//this.drawCharts()
this.open()
}//end mounted
}

15
src/views/xm/rpt/product/menuDayTrend.vue

@ -1,8 +1,7 @@
<template>
<section>
<el-dialog fullscreen :title="dialogTitle" append-to-body modal-append-to-body width="80%" top="20px" :visible.sync="visible">
<el-row :gutter="5" v-if="visible">
<el-row :gutter="5" >
<el-col :span="18">
<div>
<div class="main" id="menuDayTrend"
@ -27,7 +26,6 @@
</el-form>
</el-col>
</el-row>
</el-dialog>
</section>
</template>
@ -148,10 +146,13 @@
this.xmProductStateHiss=res.data.tips.isOk?res.data.data:this.xmProductStateHiss;
})
},
open(params){
open(){
this.visible=true;
this.filters.product=params.xmProduct
this.filters.project=params.xmProject
this.filters.testPlan=this.xmTestPlan
this.filters.product=this.xmProduct
this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect();
this.$nextTick(()=>{
this.listXmProductStateHis();
@ -267,7 +268,7 @@
})
*/
//this.charts();
//this.drawCharts();
this.open();
}//end mounted
}

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

@ -1,7 +1,6 @@
<template>
<section>
<el-dialog fullscreen :title="dialogTitle" append-to-body modal-append-to-body width="80%" top="20px" :visible.sync="visible">
<el-row :gutter="5" v-if="visible">
<el-row :gutter="5" >
<el-col :span="18">
<div>
<div class="main" id="xmMenuSort"
@ -59,7 +58,6 @@
</el-form>
</el-col>
</el-row>
</el-dialog>
</section>
</template>
@ -155,11 +153,13 @@
}//end return
},//end data
methods: {
open(params){
open(){
this.visible=true;
this.filters.product=params.xmProduct
this.filters.project=params.xmProject
this.filters.iteration=params.xmIteration
this.filters.testPlan=this.xmTestPlan
this.filters.product=this.xmProduct
this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
if((this.filters.product && this.filters.product.id) || ( this.filters.iteration && this.filters.iteration.id)){
this.searchXmMenuSort()
@ -266,7 +266,7 @@
this.dicts=res.data.data;
})
//this.charts();
//this.drawCharts();
this.open();
}//end mounted
}

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

@ -1,8 +1,7 @@
<template>
<section>
<el-dialog fullscreen :title="dialogTitle" append-to-body modal-append-to-body width="80%" top="20px" :visible.sync="visible">
<el-row :gutter="5" v-if="visible">
<el-row :gutter="5" >
<el-col :span="18">
<div>
<div class="main" id="productWorkItemDayList" style="width:100%;height:600px;margin:0 auto;"></div>
@ -25,7 +24,6 @@
</el-form>
</el-col>
</el-row>
</el-dialog>
</section>
</template>
@ -123,11 +121,13 @@
this.xmProductStateHiss=res.data.tips.isOk?res.data.data:this.xmProductStateHiss;
})
},
open(params){
open(){
this.visible=true;
this.filters.product=params.xmProduct
this.filters.project=params.xmProject
this.filters.iteration=params.xmIteration
this.filters.testPlan=this.xmTestPlan
this.filters.product=this.xmProduct
this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
this.xmProductStateHiss=[]
if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect();
this.$nextTick(()=>{
@ -254,7 +254,7 @@
})
*/
//this.charts();
//this.drawCharts();
this.open();
}//end mounted
}

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

@ -1,7 +1,6 @@
<template>
<section>
<el-dialog fullscreen :title="dialogTitle" append-to-body modal-append-to-body width="80%" top="20px" :visible.sync="visible">
<el-row :gutter="5" v-if="visible">
<el-row :gutter="5" >
<el-col :span="18">
<div>
<div class="main" id="xmQuestionAgeDist"
@ -86,7 +85,6 @@
</el-row>
<xm-test-plan-select ref="xmTestPlanSelectRef" :casedb-id="xmTestCasedb?xmTestCasedb.id:null" :product-id="xmProduct?xmProduct.id:null" :project-id="xmProject?xmProject.id:null" placeholder="迭代" @select="onXmTestPlanSelected" @clear="onXmTestPlanClear"></xm-test-plan-select >
</el-dialog>
</section>
</template>
@ -172,7 +170,7 @@
}//end return
},//end data
methods: {
open(params){
open(){
this.visible=true;
this.filters.testPlan=this.xmTestPlan
this.filters.product=this.xmProduct
@ -306,7 +304,7 @@
this.dicts=res.data.data;
})
//this.charts();
//this.drawCharts();
this.open();
}//end mounted
}

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

@ -1,7 +1,6 @@
<template>
<section>
<el-dialog fullscreen :title="dialogTitle" append-to-body modal-append-to-body width="80%" top="20px" :visible.sync="visible">
<el-row :gutter="5" v-if="visible">
<el-row :gutter="5" >
<el-col :span="18">
<div>
<div class="main" id="xmQuestionAttDist"
@ -90,7 +89,6 @@
</el-row>
<xm-test-plan-select ref="xmTestPlanSelectRef" :casedb-id="xmTestCasedb?xmTestCasedb.id:null" :product-id="xmProduct?xmProduct.id:null" :project-id="xmProject?xmProject.id:null" placeholder="迭代" @select="onXmTestPlanSelected" @clear="onXmTestPlanClear"></xm-test-plan-select >
</el-dialog>
</section>
</template>
@ -241,7 +239,7 @@
}
return max;
},
open(params){
open(){
this.visible=true;
this.filters.testPlan=this.xmTestPlan
this.filters.product=this.xmProduct
@ -378,7 +376,7 @@
this.dicts=res.data.data;
})
//this.charts();
//this.drawCharts();
this.open();
}//end mounted
}

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

@ -1,8 +1,7 @@
<template>
<section>
<el-dialog fullscreen :title="dialogTitle" append-to-body modal-append-to-body width="80%" top="20px" :visible.sync="visible">
<el-row :gutter="5" v-if="visible">
<el-row :gutter="5" >
<el-col :span="18"> <div>
<div class="main" id="questionDayAccumulate"
style="width:100%;height:600px;margin:0 auto;"></div>
@ -25,7 +24,6 @@
</el-form>
</el-col>
</el-row>
</el-dialog>
</section>
</template>
@ -147,11 +145,13 @@
this.xmProductStateHiss=res.data.tips.isOk?res.data.data:this.xmProductStateHiss;
})
},
open(params){
open(){
this.visible=true;
this.filters.product=params.xmProduct
this.filters.project=params.xmProject
this.filters.Product=params.xmProduct
this.filters.testPlan=this.xmTestPlan
this.filters.product=this.xmProduct
this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
this.xmProductStateHiss=[]
if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect();
this.$nextTick(()=>{
@ -269,7 +269,7 @@
})
*/
//this.charts();
//this.drawCharts()
this.open()
}//end mounted
}

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

@ -1,8 +1,7 @@
<template>
<section>
<el-dialog fullscreen :title="dialogTitle" append-to-body modal-append-to-body width="80%" top="20px" :visible.sync="visible">
<el-row :gutter="5" v-if="visible">
<el-row :gutter="5" >
<el-col :span="18">
<div>
<div class="main" id="questionDayTrend"
@ -27,7 +26,6 @@
</el-form>
</el-col>
</el-row>
</el-dialog>
</section>
</template>
@ -149,11 +147,13 @@
this.xmProductStateHiss=res.data.tips.isOk?res.data.data:this.xmProductStateHiss;
})
},
open(params){
open(){
this.visible=true;
this.filters.product=params.xmProduct
this.filters.project=params.xmProject
this.filters.Product=params.xmProduct
this.filters.testPlan=this.xmTestPlan
this.filters.product=this.xmProduct
this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect();
this.$nextTick(()=>{
this.listXmProductStateHis();
@ -267,7 +267,7 @@
})
*/
//this.charts();
//this.drawCharts();
this.open();
}//end mounted
}

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

@ -1,7 +1,6 @@
<template>
<section>
<el-dialog fullscreen :title="dialogTitle" append-to-body modal-append-to-body width="80%" top="20px" :visible.sync="visible">
<el-row :gutter="5" v-if="visible">
<el-row :gutter="5" >
<el-col :span="18">
<div>
<div class="main" id="xmQuestionRetestDist"
@ -85,7 +84,6 @@
</el-row>
<xm-test-plan-select ref="xmTestPlanSelectRef" :casedb-id="xmTestCasedb?xmTestCasedb.id:null" :product-id="xmProduct?xmProduct.id:null" :project-id="xmProject?xmProject.id:null" placeholder="迭代" @select="onXmTestPlanSelected" @clear="onXmTestPlanClear"></xm-test-plan-select >
</el-dialog>
</section>
</template>
@ -206,7 +204,7 @@
}//end return
},//end data
methods: {
open(params){
open(){
this.visible=true;
this.filters.testPlan=this.xmTestPlan
this.filters.product=this.xmProduct
@ -365,7 +363,7 @@
this.dicts=res.data.data;
})
//this.charts();
//this.drawCharts();
this.open();
}//end mounted
}

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

@ -1,7 +1,6 @@
<template>
<section>
<el-dialog fullscreen :title="dialogTitle" append-to-body modal-append-to-body width="80%" top="20px" :visible.sync="visible">
<el-row :gutter="5" v-if="visible">
<section >
<el-row :gutter="5" >
<el-col :span="18">
<div>
<div class="main" id="xmQuestionSort"
@ -91,7 +90,6 @@
</el-row>
<xm-test-plan-select ref="xmTestPlanSelectRef" :casedb-id="xmTestCasedb?xmTestCasedb.id:null" :product-id="xmProduct?xmProduct.id:null" :project-id="xmProject?xmProject.id:null" placeholder="迭代" @select="onXmTestPlanSelected" @clear="onXmTestPlanClear"></xm-test-plan-select >
</el-dialog>
</section>
</template>
@ -112,7 +110,7 @@
components: {
XmProjectSelect,XmIterationSelect,XmProductSelect,xmTestPlanSelect,
},
props:['xmProject','xmProduct','xmIteration','xmTestCasedb','xmTestPlan','initGroupBy'],
props:['xmProject','xmProduct','xmIteration','xmTestCasedb','xmTestPlan','initGroupBy','visible'],
computed: {
...mapGetters([
'userInfo','roles'
@ -156,6 +154,11 @@
watch: {
xmQuestionSortsCpd(){
this.drawCharts();
},
visible(val){
if(val){
this.open()
}
}
},
data() {
@ -193,8 +196,7 @@
}//end return
},//end data
methods: {
open(params){
this.visible=true;
open(){
this.filters.testPlan=this.xmTestPlan
this.filters.product=this.xmProduct
this.filters.project=this.xmProject
@ -337,7 +339,7 @@
this.dicts=res.data.data;
})
//this.charts();
//this.drawCharts();
this.open();
}//end mounted
}

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

@ -1,8 +1,8 @@
<template>
<section>
<el-dialog :title="(filters.project?'【'+filters.project.name+'】':'')+'工作项按日分布趋势图'" fullscreen append-to-body modal-append-to-body width="80%" top="20px" :visible.sync="visible">
<el-row :gutter="5" v-if="visible">
<el-row :gutter="5" >
<el-col :span="18">
<div>
<div class="main" id="projectWorkItemDayList" style="width:100%;height:600px;margin:0 auto;"></div>
@ -24,7 +24,6 @@
</el-form>
</el-col>
</el-row>
</el-dialog>
</section>
</template>
@ -101,7 +100,7 @@
this.xmProjectStateHiss=res.data.tips.isOk?res.data.data:this.xmProjectStateHiss;
})
},
open(params){
open(){
this.visible=true;
this.filters.product=this.xmProduct
this.filters.project=this.xmProject
@ -235,7 +234,7 @@
})
*/
//this.charts();
//this.drawCharts();
this.open();
}//end mounted
}

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

@ -1,8 +1,8 @@
<template>
<section>
<el-dialog fullscreen :title="(filters.project?'【'+(filters.project.name?filters.project.name:filters.project.id)+'】':'')+'结算工时按日分布趋势图'" append-to-body modal-append-to-body width="80%" top="20px" :visible.sync="visible">
<el-row :gutter="5" v-if="visible">
<el-row :gutter="5" >
<el-col :span="18">
<div>
<div class="main" :id="id" style="width:100%;height:600px;margin:0 auto;"></div>
@ -32,7 +32,6 @@
</el-form>
</el-col>
</el-row>
</el-dialog>
</section>
</template>
@ -121,7 +120,7 @@
this.xmProjectWorkloadSetDays=res.data.tips.isOk?res.data.data:this.xmProjectWorkloadSetDays;
})
},
open(params){
open(){
this.visible=true;
this.filters.product=this.xmProduct
this.filters.project=this.xmProject
@ -267,7 +266,7 @@
})
*/
//this.charts();
//this.drawCharts();
this.open();
}//end mounted
}

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

@ -1,8 +1,8 @@
<template>
<section>
<el-dialog fullscreen :title="(filters.project?'【'+filters.project.name+'】':'')+'结算工时按月分布趋势图'" append-to-body modal-append-to-body width="80%" top="20px" :visible.sync="visible">
<el-row :gutter="5" v-if="visible">
<el-row :gutter="5" >
<el-col :span="18">
<div>
<div class="main" id="projectWorkloadSetMonthList" style="width:100%;height:600px;margin:0 auto;"></div>
@ -32,7 +32,6 @@
</el-form>
</el-col>
</el-row>
</el-dialog>
</section>
</template>
@ -120,7 +119,7 @@
this.xmProjectWorkloadSetMonths=res.data.tips.isOk?res.data.data:this.xmProjectWorkloadSetMonths;
})
},
open(params){
open(){
this.visible=true;
this.filters.product=this.xmProduct
this.filters.project=this.xmProject
@ -267,7 +266,7 @@
})
*/
//this.charts();
//this.drawCharts();
this.open();
}//end mounted
}

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

@ -1,7 +1,7 @@
<template>
<section>
<el-dialog fullscreen :title="(filters.project?'【'+filters.project.name+'】':'')+'任务属性分布'" append-to-body modal-append-to-body width="80%" top="20px" :visible.sync="visible">
<el-row :gutter="5" v-if="visible">
<el-row :gutter="5" >
<el-col :span="18">
<div>
<div class="main" id="xmTaskAgeDist"
@ -46,7 +46,6 @@
</el-form>
</el-col>
</el-row>
</el-dialog>
</section>
</template>
@ -110,7 +109,7 @@
}//end return
},//end data
methods: {
open(params){
open(){
this.visible=true;
this.filters.product=this.xmProduct
this.filters.project=this.xmProject
@ -210,7 +209,7 @@
this.dicts=res.data.data;
})
//this.charts();
//this.drawCharts();
this.open();
}//end mounted
}

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

@ -1,7 +1,7 @@
<template>
<section>
<el-dialog fullscreen :title="(filters.project?'【'+filters.project.name+'】':'')+'任务属性分布'" append-to-body modal-append-to-body width="80%" top="20px" :visible.sync="visible">
<el-row :gutter="5" v-if="visible">
<el-row :gutter="5" >
<el-col :span="18">
<div>
<div class="main" id="xmTaskAttDist"
@ -52,7 +52,6 @@
</el-form>
</el-col>
</el-row>
</el-dialog>
</section>
</template>
@ -170,7 +169,7 @@
}
return max;
},
open(params){
open(){
this.visible=true;
this.filters.product=this.xmProduct
this.filters.project=this.xmProject
@ -274,7 +273,7 @@
this.dicts=res.data.data;
})
//this.charts();
//this.drawCharts();
this.open();
}//end mounted
}

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

@ -1,8 +1,8 @@
<template>
<section>
<el-dialog fullscreen :title="(filters.project?'【'+filters.project.name+'】':'')+'任务累积图'" append-to-body modal-append-to-body width="80%" top="20px" :visible.sync="visible">
<el-row :gutter="5" v-if="visible">
<el-row :gutter="5" >
<el-col :span="18"> <div>
<div class="main" id="taskDayAccumulate"
style="width:100%;height:600px;margin:0 auto;"></div>
@ -24,7 +24,6 @@
</el-form>
</el-col>
</el-row>
</el-dialog>
</section>
</template>
@ -124,7 +123,7 @@
this.xmProjectStateHiss=res.data.tips.isOk?res.data.data:this.xmProjectStateHiss;
})
},
open(params){
open(){
this.visible=true;
this.filters.product=this.xmProduct
this.filters.project=this.xmProject
@ -248,7 +247,7 @@
})
*/
//this.charts();
//this.drawCharts()
this.open()
}//end mounted
}

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

@ -1,8 +1,8 @@
<template>
<section>
<el-dialog fullscreen :title="(filters.project?'【'+filters.project.name+'】':'')+'任务每日趋势'" append-to-body modal-append-to-body width="80%" top="20px" :visible.sync="visible">
<el-row :gutter="5" v-if="visible">
<el-row :gutter="5" >
<el-col :span="18">
<div>
<div class="main" id="taskDayTrend"
@ -26,7 +26,6 @@
</el-form>
</el-col>
</el-row>
</el-dialog>
</section>
</template>
@ -126,7 +125,7 @@
this.xmProjectStateHiss=res.data.tips.isOk?res.data.data:this.xmProjectStateHiss;
})
},
open(params){
open(){
this.visible=true;
this.filters.product=this.xmProduct
this.filters.project=this.xmProject
@ -263,7 +262,7 @@
})
*/
//this.charts();
//this.drawCharts();
this.open();
}//end mounted
}

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

@ -1,7 +1,7 @@
<template>
<section>
<el-dialog fullscreen :title="(filters.project?'【'+filters.project.name+'】':'')+'任务排行榜'" append-to-body modal-append-to-body width="80%" top="20px" :visible.sync="visible">
<el-row :gutter="5" v-if="visible">
<el-row :gutter="5" >
<el-col :span="18">
<div>
<div class="main" id="xmTaskSort"
@ -51,7 +51,6 @@
</el-form>
</el-col>
</el-row>
</el-dialog>
</section>
</template>
@ -130,7 +129,7 @@
}//end return
},//end data
methods: {
open(params){
open(){
this.visible=true;
this.filters.product=this.xmProduct
this.filters.project=this.xmProject
@ -237,7 +236,7 @@
this.dicts=res.data.data;
})
//this.charts();
//this.drawCharts();
this.open();
}//end mounted
}

106
src/views/xm/rpt/reportIndex.vue

@ -1,13 +1,14 @@
<template>
<section class="padding">
<el-row>
<el-col :span="4">
<el-row>
<el-select v-model="filters.category" clearable>
<el-option v-for="(item,index) in categorys" :label="item" :value="item" :key="index"></el-option>
</el-select>
</el-row>
<el-row>
<el-row :style="{overflowX:'hidden',height:maxTableHeight+'px'}" :category="filters.category" ref="table" :gutter="5">
<el-col v-cloak v-for="(p,i) in rptListCpd" :key="i" :xl="4" :lg="6" :md="8" :sm="12" :body-style="{ padding: '0px' }">
<el-col v-cloak v-for="(p,i) in rptListCpd" :key="i" :body-style="{ padding: '0px' }">
<el-card @click.native="intoInfo(p,i)" class="project-card" shadow="always" id="prj-view-box">
<img :src="p.img" class="image" style="width:100%;float:center;">
<div style="padding: 14px;">
@ -20,57 +21,61 @@
</el-card>
</el-col>
</el-row>
</el-row>
<xm-iteration-burnout :category="filters.category" ref="xmIterationBurnout" :xm-iteration="xmIteration" :xm-product="xmProduct" :xm-project="xmProject"></xm-iteration-burnout>
<xm-menu-day-trend :category="filters.category" ref="xmMenuDayTrend" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-menu-day-trend>
<xm-menu-day-accumulate :category="filters.category" ref="xmMenuDayAccumulate" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-menu-day-accumulate>
<xm-iteration-menu-day-trend :category="filters.category" ref="xmIterationMenuDayTrend" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-iteration-menu-day-trend>
<xm-iteration-menu-day-accumulate :category="filters.category" ref="xmIterationMenuDayAccumulate" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-iteration-menu-day-accumulate>
<xm-menu-att-dist :category="filters.category" ref="xmMenuAttDist" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-menu-att-dist>
<xm-menu-age-dist :category="filters.category" ref="xmMenuAgeDist" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-menu-age-dist>
<xm-menu-sort :category="filters.category" ref="xmMenuSort" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-menu-sort>
<xm-task-day-trend :category="filters.category" ref="xmTaskDayTrend" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-task-day-trend>
<xm-task-day-accumulate :category="filters.category" ref="xmTaskDayAccumulate" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-task-day-accumulate>
<xm-task-att-dist :category="filters.category" ref="xmTaskAttDist" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-task-att-dist>
<xm-task-age-dist :category="filters.category" ref="xmTaskAgeDist" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-task-age-dist>
<xm-task-sort :category="filters.category" ref="xmTaskSort" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-task-sort>
<xm-project-work-item-day-list :category="filters.category" ref="xmProjectWorkItemDayList" :xm-product="xmProduct" :xm-project="xmProject" ></xm-project-work-item-day-list>
<xm-project-workload-set-day-list :category="filters.category" ref="xmProjectWorkloadSetDayList" :xm-product="xmProduct" :xm-project="xmProject"></xm-project-workload-set-day-list>
<xm-project-workload-set-month-list :category="filters.category" ref="xmProjectWorkloadSetMonthList" :xm-product="xmProduct" :xm-project="xmProject"></xm-project-workload-set-month-list>
<xm-iteration-question-day-trend :category="filters.category" ref="xmIterationQuestionDayTrend" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-iteration-question-day-trend>
<xm-iteration-question-day-accumulate :category="filters.category" ref="xmIterationQuestionDayAccumulate" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-iteration-question-day-accumulate>
<xm-question-day-trend :category="filters.category" ref="xmQuestionDayTrend" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-question-day-trend>
<xm-question-day-accumulate :category="filters.category" ref="xmQuestionDayAccumulate" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-question-day-accumulate>
<xm-question-att-dist :category="filters.category" ref="xmQuestionAttDist" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration" :xm-test-casedb="xmTestCasedb" :xm-test-plan="xmTestPlan"></xm-question-att-dist>
<xm-question-state-dist :category="filters.category" ref="xmQuestionStateDist" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration" :xm-test-casedb="xmTestCasedb" :xm-test-plan="xmTestPlan"></xm-question-state-dist>
<xm-question-age-dist :category="filters.category" ref="xmQuestionAgeDist" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration" :xm-test-casedb="xmTestCasedb" :xm-test-plan="xmTestPlan"></xm-question-age-dist>
<xm-question-sort :category="filters.category" ref="xmQuestionSort" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration" :xm-test-casedb="xmTestCasedb" :xm-test-plan="xmTestPlan"></xm-question-sort>
<xm-question-ask-user-sort :category="filters.category" ref="xmQuestionAskUserSort" init-group-by="ask_userid" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration" :xm-test-casedb="xmTestCasedb" :xm-test-plan="xmTestPlan"></xm-question-ask-user-sort>
<xm-question-handler-user-sort :category="filters.category" ref="xmQuestionHandlerUserSort" init-group-by="handler_userid" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration" :xm-test-casedb="xmTestCasedb" :xm-test-plan="xmTestPlan"></xm-question-handler-user-sort>
<xm-question-func-sort :category="filters.category" ref="xmQuestionFuncSort" init-group-by="func_id" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration" :xm-test-casedb="xmTestCasedb" :xm-test-plan="xmTestPlan"></xm-question-func-sort>
<xm-question-menu-sort :category="filters.category" ref="xmQuestionMenuSort" init-group-by="menu_id" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration" :xm-test-casedb="xmTestCasedb" :xm-test-plan="xmTestPlan"></xm-question-menu-sort>
<xm-question-retest-dist :category="filters.category" ref="xmQuestionRetestDist" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-question-retest-dist>
<xm-product-work-item-day-list :category="filters.category" ref="xmProductWorkItemDayList" :xm-product="xmProduct" :xm-project="xmProject"></xm-product-work-item-day-list>
<xm-iteration-work-item-day-list :category="filters.category" ref="xmIterationWorkItemDayList" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-iteration-work-item-day-list>
</el-col>
<el-col :span="20">
<xm-iteration-burnout v-if="showRptRef=='xmIterationBurnout'" :category="filters.category" ref="xmIterationBurnout" :xm-iteration="xmIteration" :xm-product="xmProduct" :xm-project="xmProject"></xm-iteration-burnout>
<xm-menu-day-trend v-if="showRptRef=='xmMenuDayTrend'" :category="filters.category" ref="xmMenuDayTrend" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-menu-day-trend>
<xm-menu-day-accumulate v-if="showRptRef=='xmMenuDayAccumulate'" :category="filters.category" ref="xmMenuDayAccumulate" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-menu-day-accumulate>
<xm-iteration-menu-day-trend v-if="showRptRef=='xmIterationMenuDayTrend'" :category="filters.category" ref="xmIterationMenuDayTrend" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-iteration-menu-day-trend>
<xm-iteration-menu-day-accumulate v-if="showRptRef=='xmIterationMenuDayAccumulate'" :category="filters.category" ref="xmIterationMenuDayAccumulate" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-iteration-menu-day-accumulate>
<xm-menu-att-dist v-if="showRptRef=='xmMenuAttDist'" :category="filters.category" ref="xmMenuAttDist" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-menu-att-dist>
<xm-menu-age-dist v-if="showRptRef=='xmMenuAgeDist'" :category="filters.category" ref="xmMenuAgeDist" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-menu-age-dist>
<xm-menu-sort v-if="showRptRef=='xmMenuSort'" :category="filters.category" ref="xmMenuSort" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-menu-sort>
<xm-task-day-trend v-if="showRptRef=='xmTaskDayTrend'" :category="filters.category" ref="xmTaskDayTrend" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-task-day-trend>
<xm-task-day-accumulate v-if="showRptRef=='xmTaskDayAccumulate'" :category="filters.category" ref="xmTaskDayAccumulate" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-task-day-accumulate>
<xm-task-att-dist v-if="showRptRef=='xmTaskAttDist'" :category="filters.category" ref="xmTaskAttDist" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-task-att-dist>
<xm-task-age-dist v-if="showRptRef=='xmTaskAgeDist'" :category="filters.category" ref="xmTaskAgeDist" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-task-age-dist>
<xm-task-sort v-if="showRptRef=='xmTaskSort'" :category="filters.category" ref="xmTaskSort" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-task-sort>
<xm-project-work-item-day-list v-if="showRptRef=='xmProjectWorkItemDayList'" :category="filters.category" ref="xmProjectWorkItemDayList" :xm-product="xmProduct" :xm-project="xmProject" ></xm-project-work-item-day-list>
<xm-project-workload-set-day-list v-if="showRptRef=='xmProjectWorkloadSetDayList'" :category="filters.category" ref="xmProjectWorkloadSetDayList" :xm-product="xmProduct" :xm-project="xmProject"></xm-project-workload-set-day-list>
<xm-project-workload-set-month-list v-if="showRptRef=='xmProjectWorkloadSetMonthList'" :category="filters.category" ref="xmProjectWorkloadSetMonthList" :xm-product="xmProduct" :xm-project="xmProject"></xm-project-workload-set-month-list>
<xm-iteration-question-day-trend v-if="showRptRef=='xmIterationQuestionDayTrend'" :category="filters.category" ref="xmIterationQuestionDayTrend" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-iteration-question-day-trend>
<xm-iteration-question-day-accumulate v-if="showRptRef=='xmIterationQuestionDayAccumulate'" :category="filters.category" ref="xmIterationQuestionDayAccumulate" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-iteration-question-day-accumulate>
<xm-question-day-trend v-if="showRptRef=='xmQuestionDayTrend'" :category="filters.category" ref="xmQuestionDayTrend" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-question-day-trend>
<xm-question-day-accumulate v-if="showRptRef=='xmQuestionDayAccumulate'" :category="filters.category" ref="xmQuestionDayAccumulate" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-question-day-accumulate>
<xm-question-att-dist v-if="showRptRef=='xmQuestionAttDist'" :category="filters.category" ref="xmQuestionAttDist" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration" :xm-test-casedb="xmTestCasedb" :xm-test-plan="xmTestPlan"></xm-question-att-dist>
<xm-question-state-dist v-if="showRptRef=='xmQuestionStateDist'" :category="filters.category" ref="xmQuestionStateDist" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration" :xm-test-casedb="xmTestCasedb" :xm-test-plan="xmTestPlan"></xm-question-state-dist>
<xm-question-age-dist v-if="showRptRef=='xmQuestionAgeDist'" :category="filters.category" ref="xmQuestionAgeDist" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration" :xm-test-casedb="xmTestCasedb" :xm-test-plan="xmTestPlan"></xm-question-age-dist>
<xm-question-sort v-if="showRptRef=='xmQuestionSort'" :category="filters.category" ref="xmQuestionSort" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration" :xm-test-casedb="xmTestCasedb" :xm-test-plan="xmTestPlan"></xm-question-sort>
<xm-question-ask-user-sort v-if="showRptRef=='xmQuestionAskUserSort'" :category="filters.category" ref="xmQuestionAskUserSort" init-group-by="ask_userid" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration" :xm-test-casedb="xmTestCasedb" :xm-test-plan="xmTestPlan"></xm-question-ask-user-sort>
<xm-question-handler-user-sort v-if="showRptRef=='xmQuestionHandlerUserSort'" :category="filters.category" ref="xmQuestionHandlerUserSort" init-group-by="handler_userid" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration" :xm-test-casedb="xmTestCasedb" :xm-test-plan="xmTestPlan"></xm-question-handler-user-sort>
<xm-question-func-sort v-if="showRptRef=='xmQuestionFuncSort'" :category="filters.category" ref="xmQuestionFuncSort" init-group-by="func_id" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration" :xm-test-casedb="xmTestCasedb" :xm-test-plan="xmTestPlan"></xm-question-func-sort>
<xm-question-menu-sort v-if="showRptRef=='xmQuestionMenuSort'" :category="filters.category" ref="xmQuestionMenuSort" init-group-by="menu_id" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration" :xm-test-casedb="xmTestCasedb" :xm-test-plan="xmTestPlan"></xm-question-menu-sort>
<xm-question-retest-dist v-if="showRptRef=='xmQuestionRetestDist'" :category="filters.category" ref="xmQuestionRetestDist" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-question-retest-dist>
<xm-product-work-item-day-list v-if="showRptRef=='xmProductWorkItemDayList'" :category="filters.category" ref="xmProductWorkItemDayList" :xm-product="xmProduct" :xm-project="xmProject"></xm-product-work-item-day-list>
<xm-iteration-work-item-day-list v-if="showRptRef=='xmIterationWorkItemDayList'" :category="filters.category" ref="xmIterationWorkItemDayList" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-iteration-work-item-day-list>
<!--测试计划-->
<xm-test-plan-case-exec-status-dist :category="filters.category" ref="xmTestPlanCaseExecStatusDist" :xm-product="xmProduct" :xm-project="xmProject" :xm-test-casedb="xmTestCasedb" :xm-test-plan="xmTestPlan"></xm-test-plan-case-exec-status-dist>
<xm-test-plan-case-user-dist :category="filters.category" ref="xmTestPlanCaseUserDist" :xm-product="xmProduct" :xm-project="xmProject" :xm-test-casedb="xmTestCasedb" :xm-test-plan="xmTestPlan"></xm-test-plan-case-user-dist>
<xm-test-day-times-calc :category="filters.category" ref="xmTestDayTimesCalc" :xm-product="xmProduct" :xm-project="xmProject" :xm-test-casedb="xmTestCasedb" :xm-test-plan="xmTestPlan"></xm-test-day-times-calc>
<xm-test-case-to-plan-calc :category="filters.category" ref="xmTestCaseToPlanCalc" :xm-product="xmProduct" :xm-project="xmProject" :xm-test-casedb="xmTestCasedb" :xm-test-plan="xmTestPlan"></xm-test-case-to-plan-calc>
<xm-test-plan-case-exec-status-dist v-if="showRptRef=='xmTestPlanCaseExecStatusDist'" :category="filters.category" ref="xmTestPlanCaseExecStatusDist" :xm-product="xmProduct" :xm-project="xmProject" :xm-test-casedb="xmTestCasedb" :xm-test-plan="xmTestPlan"></xm-test-plan-case-exec-status-dist>
<xm-test-plan-case-user-dist v-if="showRptRef=='xmTestPlanCaseUserDist'" :category="filters.category" ref="xmTestPlanCaseUserDist" :xm-product="xmProduct" :xm-project="xmProject" :xm-test-casedb="xmTestCasedb" :xm-test-plan="xmTestPlan"></xm-test-plan-case-user-dist>
<xm-test-day-times-calc v-if="showRptRef=='xmTestDayTimesCalc'" :category="filters.category" ref="xmTestDayTimesCalc" :xm-product="xmProduct" :xm-project="xmProject" :xm-test-casedb="xmTestCasedb" :xm-test-plan="xmTestPlan"></xm-test-day-times-calc>
<xm-test-case-to-plan-calc v-if="showRptRef=='xmTestCaseToPlanCalc'" :category="filters.category" ref="xmTestCaseToPlanCalc" :xm-product="xmProduct" :xm-project="xmProject" :xm-test-casedb="xmTestCasedb" :xm-test-plan="xmTestPlan"></xm-test-case-to-plan-calc>
<!--企业级报表-->
<xm-branch-question-day-trend :category="filters.category" ref="xmBranchQuestionDayTrend" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-branch-question-day-trend>
<xm-branch-question-day-accumulate :category="filters.category" ref="xmBranchQuestionDayAccumulate" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-branch-question-day-accumulate>
<xm-branch-work-item-day-list :category="filters.category" ref="xmBranchWorkItemDayList" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-branch-work-item-day-list>
<xm-branch-menu-day-trend :category="filters.category" ref="xmBranchMenuDayTrend" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-branch-menu-day-trend>
<xm-branch-menu-day-accumulate :category="filters.category" ref="xmBranchMenuDayAccumulate" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-branch-menu-day-accumulate>
<xm-branch-question-day-trend v-if="showRptRef=='xmBranchQuestionDayTrend'" :category="filters.category" ref="xmBranchQuestionDayTrend" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-branch-question-day-trend>
<xm-branch-question-day-accumulate v-if="showRptRef=='xmBranchQuestionDayAccumulate'" :category="filters.category" ref="xmBranchQuestionDayAccumulate" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-branch-question-day-accumulate>
<xm-branch-work-item-day-list v-if="showRptRef=='xmBranchWorkItemDayList'" :category="filters.category" ref="xmBranchWorkItemDayList" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-branch-work-item-day-list>
<xm-branch-menu-day-trend v-if="showRptRef=='xmBranchMenuDayTrend'" :category="filters.category" ref="xmBranchMenuDayTrend" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-branch-menu-day-trend>
<xm-branch-menu-day-accumulate v-if="showRptRef=='xmBranchMenuDayAccumulate'" :category="filters.category" ref="xmBranchMenuDayAccumulate" :xm-product="xmProduct" :xm-project="xmProject" :xm-iteration="xmIteration"></xm-branch-menu-day-accumulate>
</el-col>
</el-row>
</section>
@ -187,6 +192,7 @@
filters:{
category:'项目级',
},
showRptRef:'',
dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]}
load:{ list: false, edit: false, del: false, add: false },//...
dateRanger:[],
@ -257,7 +263,7 @@
params.xmIteration=this.xmIteration
params.xmTestCasedb=this.xmTestCasedb
params.category=this.filters.category
this.$refs[row.ref].open(params);
this.showRptRef=row.ref
},

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

@ -1,8 +1,8 @@
<template>
<section>
<el-dialog fullscreen :title="title" append-to-body modal-append-to-body width="80%" top="20px" :visible.sync="visible">
<el-row :gutter="5" v-if="visible">
<el-row :gutter="5" >
<el-col :span="18">
<div>
<div class="main" id="testPlanCaseExecStatusDist"
@ -49,7 +49,6 @@
</el-col>
</el-row>
<xm-test-plan-select ref="xmTestPlanSelectRef" :casedb-id="xmTestCasedb?xmTestCasedb.id:null" :product-id="xmProduct?xmProduct.id:null" :project-id="xmProject?xmProject.id:null" placeholder="迭代" @select="onXmTestPlanSelected" @clear="onXmTestPlanClear"></xm-test-plan-select >
</el-dialog>
</section>
@ -273,7 +272,7 @@
sizeAutoChange(){
this.myChart.resize();
},
open(params){
open(){
this.visible=true;
this.filters.testPlan=this.xmTestPlan
this.filters.product=this.xmProduct

8
src/views/xm/rpt/testPlan/testDayTimesCalc.vue

@ -1,8 +1,7 @@
<template>
<section>
<el-dialog fullscreen :title="dialogTitle" append-to-body modal-append-to-body width="80%" top="20px" :visible.sync="visible">
<el-row :gutter="5" v-if="visible">
<el-row :gutter="5" >
<el-col :span="18">
<div>
<div class="main" id="testDayTimesCalc"
@ -54,7 +53,6 @@
</el-row>
<xm-test-plan-select ref="xmTestPlanSelectRef" :casedb-id="xmTestCasedb?xmTestCasedb.id:null" :product-id="xmProduct?xmProduct.id:null" :project-id="xmProject?xmProject.id:null" placeholder="迭代" @select="onXmTestPlanSelected" @clear="onXmTestPlanClear"></xm-test-plan-select >
</el-dialog>
</section>
</template>
@ -173,7 +171,7 @@
},
open(params){
open(){
this.visible=true;
this.filters.testPlan=this.xmTestPlan
this.filters.product=this.xmProduct
@ -281,7 +279,7 @@
})
*/
//this.charts();
//this.drawCharts();
this.open();
}//end mounted
}

7
src/views/xm/rpt/testPlan/testPlanCaseExecStatusDist.vue

@ -1,8 +1,8 @@
<template>
<section>
<el-dialog fullscreen :title="title" append-to-body modal-append-to-body width="80%" top="20px" :visible.sync="visible">
<el-row :gutter="5" v-if="visible">
<el-row :gutter="5" >
<el-col :span="18">
<div>
<div class="main" id="testPlanCaseExecStatusDist"
@ -49,7 +49,6 @@
</el-col>
</el-row>
<xm-test-plan-select ref="xmTestPlanSelectRef" :casedb-id="xmTestCasedb?xmTestCasedb.id:null" :product-id="xmProduct?xmProduct.id:null" :project-id="xmProject?xmProject.id:null" placeholder="迭代" @select="onXmTestPlanSelected" @clear="onXmTestPlanClear"></xm-test-plan-select >
</el-dialog>
</section>
@ -262,7 +261,7 @@
sizeAutoChange(){
this.myChart.resize();
},
open(params){
open(){
this.visible=true;
this.filters.testPlan=this.xmTestPlan
this.filters.product=this.xmProduct

7
src/views/xm/rpt/testPlan/testPlanCaseUserDist.vue

@ -1,8 +1,8 @@
<template>
<section>
<el-dialog fullscreen :title="title" append-to-body modal-append-to-body width="80%" top="20px" :visible.sync="visible">
<el-row :gutter="5" v-if="visible">
<el-row :gutter="5" >
<el-col :span="18">
<div>
<div class="main" id="testPlanCaseUserDist"
@ -49,7 +49,6 @@
</el-col>
</el-row>
<xm-test-plan-select ref="xmTestPlanSelectRef" :casedb-id="xmTestCasedb?xmTestCasedb.id:null" :product-id="xmProduct?xmProduct.id:null" :project-id="xmProject?xmProject.id:null" placeholder="迭代" @select="onXmTestPlanSelected" @clear="onXmTestPlanClear"></xm-test-plan-select >
</el-dialog>
</section>
@ -287,7 +286,7 @@
sizeAutoChange(){
this.myChart.resize();
},
open(params){
open(){
this.visible=true;
this.filters.testPlan=this.xmTestPlan
this.filters.product=this.xmProduct

Loading…
Cancel
Save