From 0147cff980876fb4edb9a36d91ef3523bb591f37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=A3=95=E8=B4=A2?= Date: Thu, 2 Feb 2023 18:31:07 +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 --- .../core/xmIteration/XmIterationForLinkComplex.vue | 4 ++-- .../xm/core/xmProduct/XmProductForLinkComplex.vue | 4 ++-- .../xm/core/xmProject/XmProjectForLinkComplex.vue | 4 ++-- src/views/xm/rpt/product/menuSort.vue | 7 +++++-- src/views/xm/rpt/product/questionSort.vue | 2 +- src/views/xm/rpt/reportIndex.vue | 14 ++++++++++---- src/views/xm/rpt/testCase/testCaseSort.vue | 4 ++-- src/views/xm/rpt/testPlan/testCaseToPlanCalc.vue | 2 +- src/views/xm/rpt/testPlan/testDayTimesCalc.vue | 2 +- .../xm/rpt/testPlan/testPlanCaseExecStatusDist.vue | 2 +- src/views/xm/rpt/testPlan/testPlanCaseUserDist.vue | 2 +- 11 files changed, 28 insertions(+), 19 deletions(-) diff --git a/src/views/xm/core/xmIteration/XmIterationForLinkComplex.vue b/src/views/xm/core/xmIteration/XmIterationForLinkComplex.vue index 4d3f3a92..feec349d 100644 --- a/src/views/xm/core/xmIteration/XmIterationForLinkComplex.vue +++ b/src/views/xm/core/xmIteration/XmIterationForLinkComplex.vue @@ -6,8 +6,8 @@ diff --git a/src/views/xm/core/xmProduct/XmProductForLinkComplex.vue b/src/views/xm/core/xmProduct/XmProductForLinkComplex.vue index e45d6f73..a4179348 100644 --- a/src/views/xm/core/xmProduct/XmProductForLinkComplex.vue +++ b/src/views/xm/core/xmProduct/XmProductForLinkComplex.vue @@ -13,8 +13,8 @@ @clear="onProductClearSelect" > diff --git a/src/views/xm/core/xmProject/XmProjectForLinkComplex.vue b/src/views/xm/core/xmProject/XmProjectForLinkComplex.vue index e972ef50..93b1c354 100644 --- a/src/views/xm/core/xmProject/XmProjectForLinkComplex.vue +++ b/src/views/xm/core/xmProject/XmProjectForLinkComplex.vue @@ -13,8 +13,8 @@ @clear="onProjectClearSelect" > diff --git a/src/views/xm/rpt/product/menuSort.vue b/src/views/xm/rpt/product/menuSort.vue index 9dcc4a94..858c4d41 100644 --- a/src/views/xm/rpt/product/menuSort.vue +++ b/src/views/xm/rpt/product/menuSort.vue @@ -75,7 +75,7 @@ components: { XmIterationSelect,XmProductSelect, }, - props:['xmProduct','xmIteration','xmProject'], + props:['xmProduct','xmIteration','xmProject','initGroupBy'], computed: { ...mapGetters([ 'userInfo','roles' @@ -110,7 +110,7 @@ preName=`项目【${this.filters.project.id}】` } } - return preName+this.groupBys.find(i=>i.id==this.groupBy).name+'用户故事数量排行榜' + return preName+this.groupBys.find(i=>i.id==this.groupBy).name+'需求数量排行榜' }, legendCpd(){ if(this.xmMenuSorts.length==0){ @@ -174,6 +174,9 @@ methods: { open(){ this.visible=true; + if(this.initGroupBy){ + this.groupBy=this.initGroupBy + } this.filters.testPlan=this.xmTestPlan this.filters.product=this.xmProduct this.filters.project=this.xmProject diff --git a/src/views/xm/rpt/product/questionSort.vue b/src/views/xm/rpt/product/questionSort.vue index b9081243..62fc767b 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','visible'], + props:['xmProject','xmProduct','xmIteration','xmTestCasedb','xmTestPlan','initGroupBy'], computed: { ...mapGetters([ 'userInfo','roles' diff --git a/src/views/xm/rpt/reportIndex.vue b/src/views/xm/rpt/reportIndex.vue index cc59242d..122f2421 100644 --- a/src/views/xm/rpt/reportIndex.vue +++ b/src/views/xm/rpt/reportIndex.vue @@ -1,9 +1,9 @@