diff --git a/src/views/xm/core/xmTestPlan/rpt/CompsCard.vue b/src/views/xm/core/xmTestPlan/rpt/CompsCard.vue index 22e8eba4..60de9e2a 100644 --- a/src/views/xm/core/xmTestPlan/rpt/CompsCard.vue +++ b/src/views/xm/core/xmTestPlan/rpt/CompsCard.vue @@ -96,6 +96,7 @@ export default { "xmQuestionBugSeverityDist":()=>import("./biz/questionBugSeverityDist.vue"), "xmQuestionSolutionDist":()=>import("./biz/questionSolutionDist.vue"), "xmQuestionPriorityDist":()=>import("./biz/questionPriorityDist.vue"), + "productWorkItemDayList":()=>import("./biz/productWorkItemDayList.vue"), }, props:['xmTestPlan','rptConfigVisible'], @@ -134,6 +135,7 @@ export default { // 布局位置数据 initCompCfg: [ + { i:0, x: 0, y: 12, w: 12, h: 6, id:'productWorkItemDayList',name:'测试计划总览',compId:'productWorkItemDayList', params:{} }, { i:0, x: 0, y: 12, w: 12, h: 6, id:'xmTestRptOverview',name:'测试计划总览',compId:'xmTestRptOverview', params:{} }, { i: 1, x: 0, y: 12, w: 12, h: 6, id:'xmTestCaseToPlanCalc',name:'用例规划分析', compId:'xmTestCaseToPlanCalc', }, { i: 2, x: 0, y: 12, w: 12, h: 6, id:'xmTestDayTimesCalc',name:'用例每日执行统计', compId:'xmTestDayTimesCalc', }, diff --git a/src/views/xm/core/xmTestPlan/rpt/biz/productWorkItemDayList.vue b/src/views/xm/core/xmTestPlan/rpt/biz/productWorkItemDayList.vue new file mode 100644 index 00000000..37e9322b --- /dev/null +++ b/src/views/xm/core/xmTestPlan/rpt/biz/productWorkItemDayList.vue @@ -0,0 +1,299 @@ + + + + + + + + + + + + + + + {{xmProductCpd.id}} {{ xmProductCpd.productName }} + + + + + + + 查询 + + + + + + + + + + \ No newline at end of file diff --git a/src/views/xm/rpt/CompsCard.vue b/src/views/xm/rpt/CompsCard.vue new file mode 100644 index 00000000..15d28b53 --- /dev/null +++ b/src/views/xm/rpt/CompsCard.vue @@ -0,0 +1,334 @@ + + + + + + + + + + + + + + + + + + + + + + + + 取消打印 打印 + + + + + + + + + + + + + diff --git a/src/views/xm/rpt/CompsSet.vue b/src/views/xm/rpt/CompsSet.vue new file mode 100644 index 00000000..5c47843b --- /dev/null +++ b/src/views/xm/rpt/CompsSet.vue @@ -0,0 +1,323 @@ + + + + + + + + + + + + + + {{index+1}} {{item.rptName}} + + {{item.desc}} + + + + + + + + + + {{index+1}} {{item.rptName}} + + + + {{item.desc}} + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/xm/rpt/branch/branchWorkItemDayList copy.vue b/src/views/xm/rpt/branch/branchWorkItemDayList copy.vue new file mode 100644 index 00000000..b5945c00 --- /dev/null +++ b/src/views/xm/rpt/branch/branchWorkItemDayList copy.vue @@ -0,0 +1,375 @@ + + + + + + + + {{title?title:'请输入标题'}} + + + + + + + + + {{title}} + + + {{remark}} + + + + + + + + + + 从报告移除该报表 + + + + + + + + + + 查询 + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/xm/rpt/branch/branchWorkItemDayList.vue b/src/views/xm/rpt/branch/branchWorkItemDayList.vue index e9a90b99..39066b0a 100644 --- a/src/views/xm/rpt/branch/branchWorkItemDayList.vue +++ b/src/views/xm/rpt/branch/branchWorkItemDayList.vue @@ -1,7 +1,6 @@ - - + - + @@ -12,7 +11,7 @@ - + {{title}} @@ -21,27 +20,28 @@ - + - - + + 从报告移除该报表 - - - - - - - - 查询 - - + + + + + + + + + 查询 + + + - - + + + diff --git a/src/views/xm/rpt/iteration/IterationWorkItemDayList.vue b/src/views/xm/rpt/iteration/IterationWorkItemDayList.vue index 4f141d51..10426ed8 100644 --- a/src/views/xm/rpt/iteration/IterationWorkItemDayList.vue +++ b/src/views/xm/rpt/iteration/IterationWorkItemDayList.vue @@ -46,7 +46,7 @@ components: { XmIterationSelect,XmProductSelect, }, - props:['xmProduct','xmProject','xmIteration'], + props:['id','xmProduct','xmProject','xmIteration'], computed: { ...mapGetters([ 'userInfo','roles' @@ -278,6 +278,8 @@ } ] }); + + this.myChart.resize(); }, onProductSelected(product){ diff --git a/src/views/xm/rpt/iteration/burnout.vue b/src/views/xm/rpt/iteration/burnout.vue index b020f464..7f113cd3 100644 --- a/src/views/xm/rpt/iteration/burnout.vue +++ b/src/views/xm/rpt/iteration/burnout.vue @@ -46,7 +46,7 @@ components: { XmIterationSelect,XmProductSelect, }, - props:['xmProduct','xmIteration','xmProject'], + props:['id','xmProduct','xmIteration','xmProject'], computed: { ...mapGetters([ 'userInfo','roles', diff --git a/src/views/xm/rpt/iteration/menuDayAccumulate.vue b/src/views/xm/rpt/iteration/menuDayAccumulate.vue index ff82653a..9a109343 100644 --- a/src/views/xm/rpt/iteration/menuDayAccumulate.vue +++ b/src/views/xm/rpt/iteration/menuDayAccumulate.vue @@ -47,7 +47,7 @@ components: { XmIterationSelect,XmProductSelect, }, - props:['xmProduct','xmProject','xmIteration'], + props:['id','xmProduct','xmProject','xmIteration'], computed: { ...mapGetters([ 'userInfo','roles' diff --git a/src/views/xm/rpt/iteration/menuDayTrend.vue b/src/views/xm/rpt/iteration/menuDayTrend.vue index f5554a6c..761cf1e8 100644 --- a/src/views/xm/rpt/iteration/menuDayTrend.vue +++ b/src/views/xm/rpt/iteration/menuDayTrend.vue @@ -49,7 +49,7 @@ components: { XmIterationSelect,XmProductSelect, }, - props:['xmProduct','xmProject','xmIteration'], + props:['id','xmProduct','xmProject','xmIteration'], computed: { ...mapGetters([ 'userInfo','roles' diff --git a/src/views/xm/rpt/iteration/questionDayAccumulate.vue b/src/views/xm/rpt/iteration/questionDayAccumulate.vue index 95d4edf1..bd03d38b 100644 --- a/src/views/xm/rpt/iteration/questionDayAccumulate.vue +++ b/src/views/xm/rpt/iteration/questionDayAccumulate.vue @@ -44,7 +44,7 @@ components: { XmIterationSelect,XmProductSelect, }, - props:['xmProduct','xmProject','xmIteration'], + props:['id','xmProduct','xmProject','xmIteration'], computed: { ...mapGetters([ 'userInfo','roles' diff --git a/src/views/xm/rpt/iteration/questionDayTrend.vue b/src/views/xm/rpt/iteration/questionDayTrend.vue index 631d5bf8..14765e1a 100644 --- a/src/views/xm/rpt/iteration/questionDayTrend.vue +++ b/src/views/xm/rpt/iteration/questionDayTrend.vue @@ -48,7 +48,7 @@ components: { XmIterationSelect,XmProductSelect, }, - props:['xmProduct','xmProject','xmIteration'], + props:['id','xmProduct','xmProject','xmIteration'], computed: { ...mapGetters([ 'userInfo','roles' diff --git a/src/views/xm/rpt/product/menuAgeDist.vue b/src/views/xm/rpt/product/menuAgeDist.vue index c715b778..feb3a6af 100644 --- a/src/views/xm/rpt/product/menuAgeDist.vue +++ b/src/views/xm/rpt/product/menuAgeDist.vue @@ -71,7 +71,7 @@ components: { XmIterationSelect,XmProductSelect, }, - props:['xmProduct','xmIteration','xmProject'], + props:['id','xmProduct','xmIteration','xmProject'], computed: { ...mapGetters([ 'userInfo','roles' diff --git a/src/views/xm/rpt/product/menuAttDist.vue b/src/views/xm/rpt/product/menuAttDist.vue index c512e74e..95da3ca1 100644 --- a/src/views/xm/rpt/product/menuAttDist.vue +++ b/src/views/xm/rpt/product/menuAttDist.vue @@ -75,7 +75,7 @@ components: { XmIterationSelect,XmProductSelect, }, - props:['xmProduct','xmIteration','xmProject'], + props:['id','xmProduct','xmIteration','xmProject'], computed: { ...mapGetters([ 'userInfo','roles' diff --git a/src/views/xm/rpt/product/menuDayAccumulate.vue b/src/views/xm/rpt/product/menuDayAccumulate.vue index d0846b41..06909d67 100644 --- a/src/views/xm/rpt/product/menuDayAccumulate.vue +++ b/src/views/xm/rpt/product/menuDayAccumulate.vue @@ -3,7 +3,7 @@ - + @@ -38,7 +38,7 @@ components: { XmProductSelect, }, - props:['xmProduct','xmProject'], + props:['id','xmProduct','xmProject',], computed: { ...mapGetters([ 'userInfo','roles' @@ -170,7 +170,7 @@ }, drawCharts() { - this.myChart = this.$echarts.init(document.getElementById("menuDayAccumulate")); + this.myChart = this.$echarts.init(document.getElementById(this.id)); this.myChart.setOption( { title: { diff --git a/src/views/xm/rpt/product/menuDayTrend.vue b/src/views/xm/rpt/product/menuDayTrend.vue index 3e4e79ee..818cdf41 100644 --- a/src/views/xm/rpt/product/menuDayTrend.vue +++ b/src/views/xm/rpt/product/menuDayTrend.vue @@ -4,7 +4,7 @@ - + @@ -40,7 +40,7 @@ components: { XmProductSelect, }, - props:['xmProduct','xmProject'], + props:['id','xmProduct','xmProject',], computed: { ...mapGetters([ 'userInfo','roles' @@ -172,7 +172,7 @@ }, drawCharts() { - this.myChart = this.$echarts.init(document.getElementById("menuDayTrend")); + this.myChart = this.$echarts.init(document.getElementById(this.id)); this.myChart.setOption( { title: { diff --git a/src/views/xm/rpt/product/menuSort.vue b/src/views/xm/rpt/product/menuSort.vue index 905e7f74..2cd6557b 100644 --- a/src/views/xm/rpt/product/menuSort.vue +++ b/src/views/xm/rpt/product/menuSort.vue @@ -3,7 +3,7 @@ - + @@ -75,7 +75,7 @@ components: { XmIterationSelect,XmProductSelect, }, - props:['xmProduct','xmIteration','xmProject','initGroupBy'], + props:['id','xmProduct','xmIteration','xmProject','initGroupBy',], computed: { ...mapGetters([ 'userInfo','roles' @@ -187,7 +187,7 @@ }, drawCharts() { - this.myChart = this.$echarts.init(document.getElementById("xmMenuSort")); + this.myChart = this.$echarts.init(document.getElementById(this.id)); this.myChart.setOption( { title: { diff --git a/src/views/xm/rpt/product/productWorkItemDayList.vue b/src/views/xm/rpt/product/productWorkItemDayList.vue index 37e9322b..3a59934d 100644 --- a/src/views/xm/rpt/product/productWorkItemDayList.vue +++ b/src/views/xm/rpt/product/productWorkItemDayList.vue @@ -39,7 +39,7 @@ components: { XmProductSelect, }, - props:['xmProduct','xmProject'], + props:['id','xmProduct','xmProject'], computed: { ...mapGetters([ 'userInfo','roles' @@ -262,6 +262,8 @@ } ] }); + + this.myChart.resize(); }, onProductSelected(product){ diff --git a/src/views/xm/rpt/product/questionAgeDist.vue b/src/views/xm/rpt/product/questionAgeDist.vue index e4225a8b..fab4734b 100644 --- a/src/views/xm/rpt/product/questionAgeDist.vue +++ b/src/views/xm/rpt/product/questionAgeDist.vue @@ -104,7 +104,7 @@ components: { XmProjectSelect,XmIterationSelect,XmProductSelect,xmTestPlanSelect, }, - props:['xmProject','xmProduct','xmIteration','xmTestCasedb','xmTestPlan',], + props:['id','xmProject','xmProduct','xmIteration','xmTestCasedb','xmTestPlan',], computed: { ...mapGetters([ 'userInfo','roles' diff --git a/src/views/xm/rpt/product/questionAskUserSort.vue b/src/views/xm/rpt/product/questionAskUserSort.vue new file mode 100644 index 00000000..1a75e17e --- /dev/null +++ b/src/views/xm/rpt/product/questionAskUserSort.vue @@ -0,0 +1,48 @@ + + + + + + + + + + + diff --git a/src/views/xm/rpt/product/questionAttDist.vue b/src/views/xm/rpt/product/questionAttDist.vue index 397cee84..84f12ed5 100644 --- a/src/views/xm/rpt/product/questionAttDist.vue +++ b/src/views/xm/rpt/product/questionAttDist.vue @@ -108,7 +108,7 @@ components: { XmProjectSelect,XmIterationSelect,XmProductSelect,xmTestPlanSelect, }, - props:['xmProject','xmProduct','xmIteration','xmTestCasedb','xmTestPlan',], + props:['id','xmProject','xmProduct','xmIteration','xmTestCasedb','xmTestPlan',], computed: { ...mapGetters([ 'userInfo','roles' diff --git a/src/views/xm/rpt/product/questionBugReasonDist.vue b/src/views/xm/rpt/product/questionBugReasonDist.vue new file mode 100644 index 00000000..b5d29c43 --- /dev/null +++ b/src/views/xm/rpt/product/questionBugReasonDist.vue @@ -0,0 +1,47 @@ + + + + + + + + + + + diff --git a/src/views/xm/rpt/product/questionBugSeverityDist.vue b/src/views/xm/rpt/product/questionBugSeverityDist.vue new file mode 100644 index 00000000..8ac314e9 --- /dev/null +++ b/src/views/xm/rpt/product/questionBugSeverityDist.vue @@ -0,0 +1,48 @@ + + + + + + + + + + + diff --git a/src/views/xm/rpt/product/questionBugStatusDist.vue b/src/views/xm/rpt/product/questionBugStatusDist.vue new file mode 100644 index 00000000..21f53d02 --- /dev/null +++ b/src/views/xm/rpt/product/questionBugStatusDist.vue @@ -0,0 +1,48 @@ + + + + + + + + + + + diff --git a/src/views/xm/rpt/product/questionBugTypeDist.vue b/src/views/xm/rpt/product/questionBugTypeDist.vue new file mode 100644 index 00000000..4943ddec --- /dev/null +++ b/src/views/xm/rpt/product/questionBugTypeDist.vue @@ -0,0 +1,48 @@ + + + + + + + + + + + diff --git a/src/views/xm/rpt/product/questionDayAccumulate.vue b/src/views/xm/rpt/product/questionDayAccumulate.vue index 18d43350..dba85ba6 100644 --- a/src/views/xm/rpt/product/questionDayAccumulate.vue +++ b/src/views/xm/rpt/product/questionDayAccumulate.vue @@ -38,7 +38,7 @@ components: { XmProductSelect, }, - props:['xmProduct','xmProject'], + props:['id','xmProduct','xmProject'], computed: { ...mapGetters([ 'userInfo','roles' diff --git a/src/views/xm/rpt/product/questionDayTrend.vue b/src/views/xm/rpt/product/questionDayTrend.vue index b5e8b0b1..7e268f52 100644 --- a/src/views/xm/rpt/product/questionDayTrend.vue +++ b/src/views/xm/rpt/product/questionDayTrend.vue @@ -40,7 +40,7 @@ components: { XmProductSelect, }, - props:['xmProduct','xmProject'], + props:['id','xmProduct','xmProject'], computed: { ...mapGetters([ 'userInfo','roles' diff --git a/src/views/xm/rpt/product/questionFuncSort.vue b/src/views/xm/rpt/product/questionFuncSort.vue new file mode 100644 index 00000000..05fd67ac --- /dev/null +++ b/src/views/xm/rpt/product/questionFuncSort.vue @@ -0,0 +1,48 @@ + + + + + + + + + + + diff --git a/src/views/xm/rpt/product/questionHandlerUserSort.vue b/src/views/xm/rpt/product/questionHandlerUserSort.vue new file mode 100644 index 00000000..870e2dda --- /dev/null +++ b/src/views/xm/rpt/product/questionHandlerUserSort.vue @@ -0,0 +1,48 @@ + + + + + + + + + + + diff --git a/src/views/xm/rpt/product/questionPriorityDist.vue b/src/views/xm/rpt/product/questionPriorityDist.vue new file mode 100644 index 00000000..4943ddec --- /dev/null +++ b/src/views/xm/rpt/product/questionPriorityDist.vue @@ -0,0 +1,48 @@ + + + + + + + + + + + diff --git a/src/views/xm/rpt/product/questionRepRateDist.vue b/src/views/xm/rpt/product/questionRepRateDist.vue new file mode 100644 index 00000000..9d04d16b --- /dev/null +++ b/src/views/xm/rpt/product/questionRepRateDist.vue @@ -0,0 +1,48 @@ + + + + + + + + + + + diff --git a/src/views/xm/rpt/product/questionRetestDist.vue b/src/views/xm/rpt/product/questionRetestDist.vue index 6ba86d5c..a58394cd 100644 --- a/src/views/xm/rpt/product/questionRetestDist.vue +++ b/src/views/xm/rpt/product/questionRetestDist.vue @@ -103,7 +103,7 @@ components: { XmProjectSelect,XmIterationSelect,XmProductSelect,xmTestPlanSelect, }, - props:['xmProject','xmProduct','xmIteration','xmTestCasedb','xmTestPlan'], + props:['id','xmProject','xmProduct','xmIteration','xmTestCasedb','xmTestPlan'], computed: { ...mapGetters([ 'userInfo','roles' diff --git a/src/views/xm/rpt/product/questionSolutionDist.vue b/src/views/xm/rpt/product/questionSolutionDist.vue new file mode 100644 index 00000000..4ae469d7 --- /dev/null +++ b/src/views/xm/rpt/product/questionSolutionDist.vue @@ -0,0 +1,48 @@ + + + + + + + + + + + diff --git a/src/views/xm/rpt/product/questionSort.vue b/src/views/xm/rpt/product/questionSort.vue index 5c30052e..0a98ed38 100644 --- a/src/views/xm/rpt/product/questionSort.vue +++ b/src/views/xm/rpt/product/questionSort.vue @@ -110,7 +110,7 @@ components: { XmProjectSelect,XmIterationSelect,XmProductSelect,xmTestPlanSelect, }, - props:['xmProject','xmProduct','xmIteration','xmTestCasedb','xmTestPlan','initGroupBy'], + props:['id','xmProject','xmProduct','xmIteration','xmTestCasedb','xmTestPlan','initGroupBy'], computed: { ...mapGetters([ 'userInfo','roles' diff --git a/src/views/xm/rpt/project/projectWorkItemDayList.vue b/src/views/xm/rpt/project/projectWorkItemDayList.vue index 6625e33d..f468b561 100644 --- a/src/views/xm/rpt/project/projectWorkItemDayList.vue +++ b/src/views/xm/rpt/project/projectWorkItemDayList.vue @@ -39,7 +39,7 @@ components: { XmProjectSelect, }, - props:['xmProduct','xmProject'], + props:['id','xmProduct','xmProject'], computed: { ...mapGetters([ 'userInfo','roles' @@ -257,6 +257,7 @@ } ] }); + this.myChart.resize(); }, onProjectSelected(project){ diff --git a/src/views/xm/rpt/project/projectWorkloadSetDayList.vue b/src/views/xm/rpt/project/projectWorkloadSetDayList.vue index 332e2c36..d8de7fc3 100644 --- a/src/views/xm/rpt/project/projectWorkloadSetDayList.vue +++ b/src/views/xm/rpt/project/projectWorkloadSetDayList.vue @@ -49,7 +49,7 @@ XmProjectSelect, "mdp-select-user-xm":()=>import("@/views/xm/core/components/MdpSelectUserXm/index") }, - props:['xmProduct','xmProject'], + props:['id','xmProduct','xmProject'], computed: { ...mapGetters([ 'userInfo','roles' diff --git a/src/views/xm/rpt/project/projectWorkloadSetMonthList.vue b/src/views/xm/rpt/project/projectWorkloadSetMonthList.vue index 21e0eee3..a5b08abb 100644 --- a/src/views/xm/rpt/project/projectWorkloadSetMonthList.vue +++ b/src/views/xm/rpt/project/projectWorkloadSetMonthList.vue @@ -48,7 +48,7 @@ XmProjectSelect, "mdp-select-user-xm":()=>import("@/views/xm/core/components/MdpSelectUserXm/index"), }, - props:['xmProduct','xmProject'], + props:['id','xmProduct','xmProject'], computed: { ...mapGetters([ 'userInfo','roles' diff --git a/src/views/xm/rpt/project/taskAgeDist.vue b/src/views/xm/rpt/project/taskAgeDist.vue index 615191f5..79640a0e 100644 --- a/src/views/xm/rpt/project/taskAgeDist.vue +++ b/src/views/xm/rpt/project/taskAgeDist.vue @@ -61,7 +61,7 @@ components: { XmProjectSelect, }, - props:['xmProduct','xmIteration','xmProject'], + props:['id','xmProduct','xmIteration','xmProject'], computed: { ...mapGetters([ 'userInfo','roles' diff --git a/src/views/xm/rpt/project/taskAttDist.vue b/src/views/xm/rpt/project/taskAttDist.vue index 6b47df65..887b80bf 100644 --- a/src/views/xm/rpt/project/taskAttDist.vue +++ b/src/views/xm/rpt/project/taskAttDist.vue @@ -68,7 +68,7 @@ components: { XmProjectSelect, }, - props:['xmProduct','xmIteration','xmProject'], + props:['id','xmProduct','xmIteration','xmProject'], computed: { ...mapGetters([ 'userInfo','roles' diff --git a/src/views/xm/rpt/project/taskDayAccumulate.vue b/src/views/xm/rpt/project/taskDayAccumulate.vue index 776d2c9d..4052b01a 100644 --- a/src/views/xm/rpt/project/taskDayAccumulate.vue +++ b/src/views/xm/rpt/project/taskDayAccumulate.vue @@ -38,7 +38,7 @@ components: { XmProjectSelect, }, - props:['xmProduct','xmProject'], + props:['id','xmProduct','xmProject'], computed: { ...mapGetters([ 'userInfo','roles' diff --git a/src/views/xm/rpt/project/taskDayTrend.vue b/src/views/xm/rpt/project/taskDayTrend.vue index ce012007..d3e168c6 100644 --- a/src/views/xm/rpt/project/taskDayTrend.vue +++ b/src/views/xm/rpt/project/taskDayTrend.vue @@ -40,7 +40,7 @@ components: { XmProjectSelect, }, - props:['xmProduct','xmProject'], + props:['id','xmProduct','xmProject'], computed: { ...mapGetters([ 'userInfo','roles' diff --git a/src/views/xm/rpt/project/taskSort.vue b/src/views/xm/rpt/project/taskSort.vue index 8779a257..f65a9d94 100644 --- a/src/views/xm/rpt/project/taskSort.vue +++ b/src/views/xm/rpt/project/taskSort.vue @@ -67,7 +67,7 @@ components: { XmProjectSelect, }, - props:['xmProduct','xmIteration','xmProject'], + props:['id','xmProduct','xmIteration','xmProject'], computed: { ...mapGetters([ 'userInfo','roles' diff --git a/src/views/xm/rpt/reportIndexForIteration.vue b/src/views/xm/rpt/reportIndexForIteration.vue index f78952e4..5f909f23 100644 --- a/src/views/xm/rpt/reportIndexForIteration.vue +++ b/src/views/xm/rpt/reportIndexForIteration.vue @@ -7,7 +7,7 @@
{{index+1}} {{item.rptName}}