From 19e3cf0f8ba16aa5910f3ae2d19930341b2ab46b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=A3=95=E8=B4=A2?= Date: Sun, 29 Jan 2023 11:27:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xm/rpt/branch/branchWorkItemDayList.vue | 23 ++- src/views/xm/rpt/branch/menuDayAccumulate.vue | 20 +-- src/views/xm/rpt/branch/menuDayTrend.vue | 20 +-- .../xm/rpt/branch/questionDayAccumulate.vue | 20 +-- src/views/xm/rpt/branch/questionDayTrend.vue | 20 +-- .../iteration/IterationWorkItemDayList.vue | 21 ++- src/views/xm/rpt/iteration/burnout.vue | 20 +-- .../xm/rpt/iteration/menuDayAccumulate.vue | 16 +- src/views/xm/rpt/iteration/menuDayTrend.vue | 16 +- .../rpt/iteration/questionDayAccumulate.vue | 16 +- .../xm/rpt/iteration/questionDayTrend.vue | 19 ++- src/views/xm/rpt/product/menuAgeDist.vue | 15 +- src/views/xm/rpt/product/menuAttDist.vue | 15 +- .../xm/rpt/product/menuDayAccumulate.vue | 15 +- src/views/xm/rpt/product/menuDayTrend.vue | 15 +- src/views/xm/rpt/product/menuSort.vue | 16 +- .../xm/rpt/product/productWorkItemDayList.vue | 16 +- src/views/xm/rpt/product/questionAgeDist.vue | 8 +- src/views/xm/rpt/product/questionAttDist.vue | 8 +- .../xm/rpt/product/questionDayAccumulate.vue | 16 +- src/views/xm/rpt/product/questionDayTrend.vue | 16 +- .../xm/rpt/product/questionRetestDist.vue | 8 +- src/views/xm/rpt/product/questionSort.vue | 20 +-- .../xm/rpt/project/projectWorkItemDayList.vue | 9 +- .../rpt/project/projectWorkloadSetDayList.vue | 9 +- .../project/projectWorkloadSetMonthList.vue | 9 +- src/views/xm/rpt/project/taskAgeDist.vue | 9 +- src/views/xm/rpt/project/taskAttDist.vue | 9 +- .../xm/rpt/project/taskDayAccumulate.vue | 9 +- src/views/xm/rpt/project/taskDayTrend.vue | 9 +- src/views/xm/rpt/project/taskSort.vue | 9 +- src/views/xm/rpt/reportIndex.vue | 144 +++++++++--------- .../xm/rpt/testPlan/testCaseToPlanCalc.vue | 7 +- .../xm/rpt/testPlan/testDayTimesCalc.vue | 8 +- .../testPlan/testPlanCaseExecStatusDist.vue | 7 +- .../xm/rpt/testPlan/testPlanCaseUserDist.vue | 7 +- 36 files changed, 307 insertions(+), 317 deletions(-) diff --git a/src/views/xm/rpt/branch/branchWorkItemDayList.vue b/src/views/xm/rpt/branch/branchWorkItemDayList.vue index 4b376d26..258ab627 100644 --- a/src/views/xm/rpt/branch/branchWorkItemDayList.vue +++ b/src/views/xm/rpt/branch/branchWorkItemDayList.vue @@ -1,8 +1,6 @@ @@ -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(); @@ -250,8 +249,8 @@ this.dicts=res.data.data; }) */ - //this.charts(); - //this.drawCharts(); + //this.charts(); + this.open(); }//end mounted } diff --git a/src/views/xm/rpt/branch/menuDayAccumulate.vue b/src/views/xm/rpt/branch/menuDayAccumulate.vue index 7cceda15..91643e3e 100644 --- a/src/views/xm/rpt/branch/menuDayAccumulate.vue +++ b/src/views/xm/rpt/branch/menuDayAccumulate.vue @@ -1,8 +1,7 @@ @@ -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 } diff --git a/src/views/xm/rpt/branch/menuDayTrend.vue b/src/views/xm/rpt/branch/menuDayTrend.vue index b3588b5e..105270ac 100644 --- a/src/views/xm/rpt/branch/menuDayTrend.vue +++ b/src/views/xm/rpt/branch/menuDayTrend.vue @@ -1,8 +1,7 @@ @@ -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 } diff --git a/src/views/xm/rpt/branch/questionDayAccumulate.vue b/src/views/xm/rpt/branch/questionDayAccumulate.vue index 473cbbbc..802cef3e 100644 --- a/src/views/xm/rpt/branch/questionDayAccumulate.vue +++ b/src/views/xm/rpt/branch/questionDayAccumulate.vue @@ -1,8 +1,7 @@ @@ -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 } diff --git a/src/views/xm/rpt/branch/questionDayTrend.vue b/src/views/xm/rpt/branch/questionDayTrend.vue index 65111ce3..dc3b163a 100644 --- a/src/views/xm/rpt/branch/questionDayTrend.vue +++ b/src/views/xm/rpt/branch/questionDayTrend.vue @@ -1,8 +1,7 @@ @@ -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 } diff --git a/src/views/xm/rpt/iteration/IterationWorkItemDayList.vue b/src/views/xm/rpt/iteration/IterationWorkItemDayList.vue index 670861fc..c17597a7 100644 --- a/src/views/xm/rpt/iteration/IterationWorkItemDayList.vue +++ b/src/views/xm/rpt/iteration/IterationWorkItemDayList.vue @@ -1,8 +1,6 @@ @@ -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 } diff --git a/src/views/xm/rpt/iteration/burnout.vue b/src/views/xm/rpt/iteration/burnout.vue index 47f8db32..667591ae 100644 --- a/src/views/xm/rpt/iteration/burnout.vue +++ b/src/views/xm/rpt/iteration/burnout.vue @@ -1,9 +1,8 @@ @@ -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 } diff --git a/src/views/xm/rpt/iteration/menuDayAccumulate.vue b/src/views/xm/rpt/iteration/menuDayAccumulate.vue index d9885924..98a3b42b 100644 --- a/src/views/xm/rpt/iteration/menuDayAccumulate.vue +++ b/src/views/xm/rpt/iteration/menuDayAccumulate.vue @@ -1,8 +1,7 @@ @@ -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 } diff --git a/src/views/xm/rpt/iteration/menuDayTrend.vue b/src/views/xm/rpt/iteration/menuDayTrend.vue index 887b6047..7e7ad478 100644 --- a/src/views/xm/rpt/iteration/menuDayTrend.vue +++ b/src/views/xm/rpt/iteration/menuDayTrend.vue @@ -1,8 +1,7 @@ @@ -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 } diff --git a/src/views/xm/rpt/iteration/questionDayAccumulate.vue b/src/views/xm/rpt/iteration/questionDayAccumulate.vue index 952c4240..e34a9137 100644 --- a/src/views/xm/rpt/iteration/questionDayAccumulate.vue +++ b/src/views/xm/rpt/iteration/questionDayAccumulate.vue @@ -1,8 +1,7 @@ @@ -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 } diff --git a/src/views/xm/rpt/iteration/questionDayTrend.vue b/src/views/xm/rpt/iteration/questionDayTrend.vue index de2545ef..2b0bc989 100644 --- a/src/views/xm/rpt/iteration/questionDayTrend.vue +++ b/src/views/xm/rpt/iteration/questionDayTrend.vue @@ -1,8 +1,6 @@ @@ -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 } diff --git a/src/views/xm/rpt/product/menuAgeDist.vue b/src/views/xm/rpt/product/menuAgeDist.vue index 9bd540e7..38df2be3 100644 --- a/src/views/xm/rpt/product/menuAgeDist.vue +++ b/src/views/xm/rpt/product/menuAgeDist.vue @@ -1,7 +1,6 @@ @@ -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 } diff --git a/src/views/xm/rpt/product/menuAttDist.vue b/src/views/xm/rpt/product/menuAttDist.vue index b4517c2a..b879ce65 100644 --- a/src/views/xm/rpt/product/menuAttDist.vue +++ b/src/views/xm/rpt/product/menuAttDist.vue @@ -1,7 +1,6 @@ @@ -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 } diff --git a/src/views/xm/rpt/product/menuDayAccumulate.vue b/src/views/xm/rpt/product/menuDayAccumulate.vue index cdac51b6..b3c9a81b 100644 --- a/src/views/xm/rpt/product/menuDayAccumulate.vue +++ b/src/views/xm/rpt/product/menuDayAccumulate.vue @@ -1,8 +1,7 @@ @@ -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 } diff --git a/src/views/xm/rpt/product/menuDayTrend.vue b/src/views/xm/rpt/product/menuDayTrend.vue index 46579f62..ee656a4c 100644 --- a/src/views/xm/rpt/product/menuDayTrend.vue +++ b/src/views/xm/rpt/product/menuDayTrend.vue @@ -1,8 +1,7 @@ @@ -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 } diff --git a/src/views/xm/rpt/product/menuSort.vue b/src/views/xm/rpt/product/menuSort.vue index d3bc60e5..7e9a809f 100644 --- a/src/views/xm/rpt/product/menuSort.vue +++ b/src/views/xm/rpt/product/menuSort.vue @@ -1,7 +1,6 @@ @@ -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 } diff --git a/src/views/xm/rpt/product/productWorkItemDayList.vue b/src/views/xm/rpt/product/productWorkItemDayList.vue index fac6d91e..f05614ad 100644 --- a/src/views/xm/rpt/product/productWorkItemDayList.vue +++ b/src/views/xm/rpt/product/productWorkItemDayList.vue @@ -1,8 +1,7 @@ @@ -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 } diff --git a/src/views/xm/rpt/product/questionAgeDist.vue b/src/views/xm/rpt/product/questionAgeDist.vue index b2b0912f..11067ad7 100644 --- a/src/views/xm/rpt/product/questionAgeDist.vue +++ b/src/views/xm/rpt/product/questionAgeDist.vue @@ -1,7 +1,6 @@ @@ -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 } diff --git a/src/views/xm/rpt/product/questionAttDist.vue b/src/views/xm/rpt/product/questionAttDist.vue index 25204a00..e635d7ae 100644 --- a/src/views/xm/rpt/product/questionAttDist.vue +++ b/src/views/xm/rpt/product/questionAttDist.vue @@ -1,7 +1,6 @@ @@ -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 } diff --git a/src/views/xm/rpt/product/questionDayAccumulate.vue b/src/views/xm/rpt/product/questionDayAccumulate.vue index 021e33c6..9531e328 100644 --- a/src/views/xm/rpt/product/questionDayAccumulate.vue +++ b/src/views/xm/rpt/product/questionDayAccumulate.vue @@ -1,8 +1,7 @@ @@ -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 } diff --git a/src/views/xm/rpt/product/questionDayTrend.vue b/src/views/xm/rpt/product/questionDayTrend.vue index e220a1a0..ec485f52 100644 --- a/src/views/xm/rpt/product/questionDayTrend.vue +++ b/src/views/xm/rpt/product/questionDayTrend.vue @@ -1,8 +1,7 @@ @@ -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 } diff --git a/src/views/xm/rpt/product/questionRetestDist.vue b/src/views/xm/rpt/product/questionRetestDist.vue index 3537b5c2..0218ae31 100644 --- a/src/views/xm/rpt/product/questionRetestDist.vue +++ b/src/views/xm/rpt/product/questionRetestDist.vue @@ -1,7 +1,6 @@ @@ -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 } diff --git a/src/views/xm/rpt/product/questionSort.vue b/src/views/xm/rpt/product/questionSort.vue index 1fc8f9d4..b7915523 100644 --- a/src/views/xm/rpt/product/questionSort.vue +++ b/src/views/xm/rpt/product/questionSort.vue @@ -1,7 +1,6 @@ @@ -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 } diff --git a/src/views/xm/rpt/project/projectWorkItemDayList.vue b/src/views/xm/rpt/project/projectWorkItemDayList.vue index 6b2f7a6c..86948c12 100644 --- a/src/views/xm/rpt/project/projectWorkItemDayList.vue +++ b/src/views/xm/rpt/project/projectWorkItemDayList.vue @@ -1,8 +1,8 @@ @@ -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 } diff --git a/src/views/xm/rpt/project/projectWorkloadSetDayList.vue b/src/views/xm/rpt/project/projectWorkloadSetDayList.vue index 6275975c..3d59de92 100644 --- a/src/views/xm/rpt/project/projectWorkloadSetDayList.vue +++ b/src/views/xm/rpt/project/projectWorkloadSetDayList.vue @@ -1,8 +1,8 @@ @@ -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 } diff --git a/src/views/xm/rpt/project/projectWorkloadSetMonthList.vue b/src/views/xm/rpt/project/projectWorkloadSetMonthList.vue index 4095cb41..912aeb1f 100644 --- a/src/views/xm/rpt/project/projectWorkloadSetMonthList.vue +++ b/src/views/xm/rpt/project/projectWorkloadSetMonthList.vue @@ -1,8 +1,8 @@ @@ -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 } diff --git a/src/views/xm/rpt/project/taskAgeDist.vue b/src/views/xm/rpt/project/taskAgeDist.vue index 8c62f7d5..7015a150 100644 --- a/src/views/xm/rpt/project/taskAgeDist.vue +++ b/src/views/xm/rpt/project/taskAgeDist.vue @@ -1,7 +1,7 @@ @@ -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 } diff --git a/src/views/xm/rpt/project/taskAttDist.vue b/src/views/xm/rpt/project/taskAttDist.vue index ba3fa6e3..c8aaad5a 100644 --- a/src/views/xm/rpt/project/taskAttDist.vue +++ b/src/views/xm/rpt/project/taskAttDist.vue @@ -1,7 +1,7 @@ @@ -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 } diff --git a/src/views/xm/rpt/project/taskDayAccumulate.vue b/src/views/xm/rpt/project/taskDayAccumulate.vue index a7077586..ce82bcff 100644 --- a/src/views/xm/rpt/project/taskDayAccumulate.vue +++ b/src/views/xm/rpt/project/taskDayAccumulate.vue @@ -1,8 +1,8 @@ @@ -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 } diff --git a/src/views/xm/rpt/project/taskDayTrend.vue b/src/views/xm/rpt/project/taskDayTrend.vue index a62c31bd..18a5b113 100644 --- a/src/views/xm/rpt/project/taskDayTrend.vue +++ b/src/views/xm/rpt/project/taskDayTrend.vue @@ -1,8 +1,8 @@ @@ -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 } diff --git a/src/views/xm/rpt/project/taskSort.vue b/src/views/xm/rpt/project/taskSort.vue index 56d95f94..13d04573 100644 --- a/src/views/xm/rpt/project/taskSort.vue +++ b/src/views/xm/rpt/project/taskSort.vue @@ -1,7 +1,7 @@ @@ -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 } diff --git a/src/views/xm/rpt/reportIndex.vue b/src/views/xm/rpt/reportIndex.vue index 9d2129f6..b3150e59 100644 --- a/src/views/xm/rpt/reportIndex.vue +++ b/src/views/xm/rpt/reportIndex.vue @@ -1,76 +1,81 @@