diff --git a/src/views/xm/rpt/CompsCard.vue b/src/views/xm/rpt/CompsCard.vue index 29e0d717..09bcf837 100644 --- a/src/views/xm/rpt/CompsCard.vue +++ b/src/views/xm/rpt/CompsCard.vue @@ -120,7 +120,12 @@ export default { }, rptConfigParamsCpd(){ //业务类型1-产品报告,2-迭代报告,3-测试计划报告,4-项目报告,5-企业报告 - var params={bizType:'5',bizId:this.userInfo.branchId,name:''} + if(this.rptDatas){ + this.rawDatas=this.rptDatas + return; + } + + var params={bizType:'5',bizId:this.userInfo.branchId,name:''} if(this.category=='企业级'){ params.bizType='5'; params.bizId=this.userInfo.branchId @@ -244,7 +249,12 @@ export default { if(!this.toLoadXmRptConfigCpd){ return; } - var params={bizType:this.rptConfigParamsCpd.bizType,bizId:this.rptConfigParamsCpd.bizId} + if(this.rptDatas){ + this.rawDatas=this.rptDatas + return; + } + + var params={bizType:this.rptConfigParamsCpd.bizType,bizId:this.rptConfigParamsCpd.bizId} listXmRptConfig(params).then(res=>{ this.xmRptConfig=res.data.data[0] }) diff --git a/src/views/xm/rpt/branch/menuDayAccumulate.vue b/src/views/xm/rpt/branch/menuDayAccumulate.vue index 14106dce..a486a2e8 100644 --- a/src/views/xm/rpt/branch/menuDayAccumulate.vue +++ b/src/views/xm/rpt/branch/menuDayAccumulate.vue @@ -139,7 +139,12 @@ }//end return },//end data methods: { - listXmBranchStateHis(){ + listXmBranchStateHis(){ + + if(this.rptDatas){ + this.rawDatas=this.rptDatas + return; + } var params={...this.params,orderBy:'biz_date asc'} listXmBranchStateHis(params).then(res=>{ diff --git a/src/views/xm/rpt/branch/menuDayTrend.vue b/src/views/xm/rpt/branch/menuDayTrend.vue index 9640866f..6d562da8 100644 --- a/src/views/xm/rpt/branch/menuDayTrend.vue +++ b/src/views/xm/rpt/branch/menuDayTrend.vue @@ -143,6 +143,11 @@ },//end data methods: { listXmBranchStateHis(){ + if(this.rptDatas){ + this.rawDatas=this.rptDatas + return; + } + var params={...this.params,orderBy:'biz_date asc'} listXmBranchStateHis(params).then(res=>{ this.rawDatas=res.data.tips.isOk?res.data.data:this.rawDatas; diff --git a/src/views/xm/rpt/branch/questionDayAccumulate.vue b/src/views/xm/rpt/branch/questionDayAccumulate.vue index 7f0bc44e..50c7f359 100644 --- a/src/views/xm/rpt/branch/questionDayAccumulate.vue +++ b/src/views/xm/rpt/branch/questionDayAccumulate.vue @@ -142,6 +142,11 @@ methods: { listXmBranchStateHis(){ + if(this.rptDatas){ + this.rawDatas=this.rptDatas + return; + } + var params={...this.params,orderBy:'biz_date asc'} listXmBranchStateHis(params).then(res=>{ this.rawDatas=res.data.tips.isOk?res.data.data:this.rawDatas; diff --git a/src/views/xm/rpt/branch/questionDayTrend.vue b/src/views/xm/rpt/branch/questionDayTrend.vue index 4387a87a..18c9291d 100644 --- a/src/views/xm/rpt/branch/questionDayTrend.vue +++ b/src/views/xm/rpt/branch/questionDayTrend.vue @@ -144,6 +144,11 @@ methods: { listXmBranchStateHis(){ + if(this.rptDatas){ + this.rawDatas=this.rptDatas + return; + } + var params={...this.params,orderBy:'biz_date asc'} listXmBranchStateHis(params).then(res=>{ this.rawDatas=res.data.tips.isOk?res.data.data:this.rawDatas; diff --git a/src/views/xm/rpt/iteration/IterationWorkItemDayList.vue b/src/views/xm/rpt/iteration/IterationWorkItemDayList.vue index ed4b823c..a18e7a98 100644 --- a/src/views/xm/rpt/iteration/IterationWorkItemDayList.vue +++ b/src/views/xm/rpt/iteration/IterationWorkItemDayList.vue @@ -150,6 +150,10 @@ },//end data methods: { listXmIterationStateHis(){ + if(this.rptDatas){ + this.rawDatas=this.rptDatas + return; + } if(!this.filters.product){ this.$notify({position:'bottom-left',showClose:true,message:'请先选中产品',type:'warning'}) return; @@ -159,6 +163,7 @@ this.$notify({position:'bottom-left',showClose:true,message:'请先选中迭代',type:'warning'}) return; } + var params={...this.params,orderBy:'biz_date asc'} listXmIterationStateHis(params).then(res=>{ this.rawDatas=res.data.tips.isOk?res.data.data:this.rawDatas; diff --git a/src/views/xm/rpt/iteration/burnout.vue b/src/views/xm/rpt/iteration/burnout.vue index b8ff61be..f5226046 100644 --- a/src/views/xm/rpt/iteration/burnout.vue +++ b/src/views/xm/rpt/iteration/burnout.vue @@ -203,7 +203,7 @@ return 0; } }, - listXmIterationStateHis(){ + listXmIterationStateHis(){ if(this.rptDatas){ this.rawDatas=this.rptDatas return; diff --git a/src/views/xm/rpt/iteration/menuDayAccumulate.vue b/src/views/xm/rpt/iteration/menuDayAccumulate.vue index cc2c86c0..04ca43a0 100644 --- a/src/views/xm/rpt/iteration/menuDayAccumulate.vue +++ b/src/views/xm/rpt/iteration/menuDayAccumulate.vue @@ -173,7 +173,12 @@ }//end return },//end data methods: { - listXmIterationStateHis(){ + listXmIterationStateHis(){ + + if(this.rptDatas){ + this.rawDatas=this.rptDatas + return; + } if(!this.filters.product){ this.$notify({position:'bottom-left',showClose:true,message:'请先选中产品',type:'warning'}) return; @@ -182,6 +187,8 @@ this.$notify({position:'bottom-left',showClose:true,message:'请先选中迭代',type:'warning'}) return; } + + var params={...this.params,orderBy:'biz_date asc'} listXmIterationStateHis(params).then(res=>{ diff --git a/src/views/xm/rpt/iteration/menuDayTrend.vue b/src/views/xm/rpt/iteration/menuDayTrend.vue index aa19534e..7a3b7ed9 100644 --- a/src/views/xm/rpt/iteration/menuDayTrend.vue +++ b/src/views/xm/rpt/iteration/menuDayTrend.vue @@ -176,6 +176,10 @@ },//end data methods: { listXmIterationStateHis(){ + if(this.rptDatas){ + this.rawDatas=this.rptDatas + return; + } if(!this.filters.product){ this.$notify({position:'bottom-left',showClose:true,message:'请先选中产品',type:'warning'}) return; @@ -185,6 +189,8 @@ this.$notify({position:'bottom-left',showClose:true,message:'请先选中迭代',type:'warning'}) return; } + + var params={...this.params,orderBy:'biz_date asc'} listXmIterationStateHis(params).then(res=>{ diff --git a/src/views/xm/rpt/iteration/questionDayAccumulate.vue b/src/views/xm/rpt/iteration/questionDayAccumulate.vue index 9d0d7c80..aff84b45 100644 --- a/src/views/xm/rpt/iteration/questionDayAccumulate.vue +++ b/src/views/xm/rpt/iteration/questionDayAccumulate.vue @@ -174,6 +174,11 @@ },//end data methods: { listXmIterationStateHis(){ + + if(this.rptDatas){ + this.rawDatas=this.rptDatas + return; + } if(!this.filters.product){ this.$notify({position:'bottom-left',showClose:true,message:'请先选中产品',type:'warning'}) return; @@ -183,6 +188,7 @@ this.$notify({position:'bottom-left',showClose:true,message:'请先选中迭代',type:'warning'}) return; } + var params={...this.params,orderBy:'biz_date asc'} listXmIterationStateHis(params).then(res=>{ diff --git a/src/views/xm/rpt/iteration/questionDayTrend.vue b/src/views/xm/rpt/iteration/questionDayTrend.vue index 1c11c2c5..d04437a6 100644 --- a/src/views/xm/rpt/iteration/questionDayTrend.vue +++ b/src/views/xm/rpt/iteration/questionDayTrend.vue @@ -175,6 +175,10 @@ },//end data methods: { listXmIterationStateHis(){ + if(this.rptDatas){ + this.rawDatas=this.rptDatas + return; + } if(!this.filters.product){ this.$notify({position:'bottom-left',showClose:true,message:'请先选中产品',type:'warning'}) return; @@ -183,6 +187,7 @@ this.$notify({position:'bottom-left',showClose:true,message:'请先选中迭代',type:'warning'}) return; } + var params={...this.params,orderBy:'biz_date asc'} listXmIterationStateHis(params).then(res=>{ diff --git a/src/views/xm/rpt/product/menuAgeDist.vue b/src/views/xm/rpt/product/menuAgeDist.vue index 6e14f762..b593fead 100644 --- a/src/views/xm/rpt/product/menuAgeDist.vue +++ b/src/views/xm/rpt/product/menuAgeDist.vue @@ -300,6 +300,11 @@ }, searchXmMenuAgeDist(){ + if(this.rptDatas){ + this.rawDatas=this.rptDatas + return; + } + var params={...this.params} getXmMenuAgeDist(params).then(res=>{ diff --git a/src/views/xm/rpt/product/menuAttDist.vue b/src/views/xm/rpt/product/menuAttDist.vue index 1e2bc0db..849dff97 100644 --- a/src/views/xm/rpt/product/menuAttDist.vue +++ b/src/views/xm/rpt/product/menuAttDist.vue @@ -355,6 +355,11 @@ }, searchXmMenuAttDist(){ + if(this.rptDatas){ + this.rawDatas=this.rptDatas + return; + } + var params={...this.params} if(!params.groupBy){ this.$notify({position:'bottom-left',showClose:true,message:'请选中分组属性',type:'warning'}) diff --git a/src/views/xm/rpt/product/menuDayAccumulate.vue b/src/views/xm/rpt/product/menuDayAccumulate.vue index d10473f7..6541f203 100644 --- a/src/views/xm/rpt/product/menuDayAccumulate.vue +++ b/src/views/xm/rpt/product/menuDayAccumulate.vue @@ -157,10 +157,15 @@ },//end data methods: { listXmProductStateHis(){ + if(this.rptDatas){ + this.rawDatas=this.rptDatas + return; + } if(!this.filters.product){ this.$notify({position:'bottom-left',showClose:true,message:'请先选中产品',type:'warning'}) return; } + var params={...this.params,orderBy:'biz_date asc'} listXmProductStateHis(params).then(res=>{ diff --git a/src/views/xm/rpt/product/menuDayTrend.vue b/src/views/xm/rpt/product/menuDayTrend.vue index 570031c9..179bf273 100644 --- a/src/views/xm/rpt/product/menuDayTrend.vue +++ b/src/views/xm/rpt/product/menuDayTrend.vue @@ -160,10 +160,15 @@ },//end data methods: { listXmProductStateHis(){ + if(this.rptDatas){ + this.rawDatas=this.rptDatas + return; + } if(!this.filters.product){ this.$notify({position:'bottom-left',showClose:true,message:'请先选中产品',type:'warning'}) return; } + var params={...this.params,orderBy:'biz_date asc'} listXmProductStateHis(params).then(res=>{ diff --git a/src/views/xm/rpt/product/menuSort.vue b/src/views/xm/rpt/product/menuSort.vue index 16d45ced..0846a87a 100644 --- a/src/views/xm/rpt/product/menuSort.vue +++ b/src/views/xm/rpt/product/menuSort.vue @@ -292,6 +292,10 @@ }, searchXmMenuSort(){ + if(this.rptDatas){ + this.rawDatas=this.rptDatas + return; + } let params = { pageSize: this.pageInfo.pageSize, pageNum: this.pageInfo.pageNum, diff --git a/src/views/xm/rpt/product/productWorkItemDayList.vue b/src/views/xm/rpt/product/productWorkItemDayList.vue index e9ae497b..50ae9b74 100644 --- a/src/views/xm/rpt/product/productWorkItemDayList.vue +++ b/src/views/xm/rpt/product/productWorkItemDayList.vue @@ -138,11 +138,16 @@ },//end data methods: { listXmProductStateHis(){ + if(this.rptDatas){ + this.rawDatas=this.rptDatas + return; + } if(!this.filters.product){ this.$notify({position:'bottom-left',showClose:true,message:'请先选中产品',type:'warning'}) return; } + var params={...this.params,orderBy:'biz_date asc'} listXmProductStateHis(params).then(res=>{ diff --git a/src/views/xm/rpt/product/questionAgeDist.vue b/src/views/xm/rpt/product/questionAgeDist.vue index 627e1f5f..fe16872b 100644 --- a/src/views/xm/rpt/product/questionAgeDist.vue +++ b/src/views/xm/rpt/product/questionAgeDist.vue @@ -335,6 +335,11 @@ }, searchXmQuestionAgeDist(){ + if(this.rptDatas){ + this.rawDatas=this.rptDatas + return; + } + var params={...this.params} getXmQuestionAgeDist(params).then(res=>{ diff --git a/src/views/xm/rpt/product/questionAttDist.vue b/src/views/xm/rpt/product/questionAttDist.vue index 4e94bf6d..56b4be89 100644 --- a/src/views/xm/rpt/product/questionAttDist.vue +++ b/src/views/xm/rpt/product/questionAttDist.vue @@ -403,6 +403,11 @@ }, searchXmQuestionAttDist(){ + if(this.rptDatas){ + this.rawDatas=this.rptDatas + return; + } + var params={...this.params} if(!params.groupBy){ this.$notify({position:'bottom-left',showClose:true,message:'请选中分组属性',type:'warning'}) diff --git a/src/views/xm/rpt/product/questionDayAccumulate.vue b/src/views/xm/rpt/product/questionDayAccumulate.vue index c60744e9..e154f2c6 100644 --- a/src/views/xm/rpt/product/questionDayAccumulate.vue +++ b/src/views/xm/rpt/product/questionDayAccumulate.vue @@ -162,10 +162,15 @@ },//end data methods: { listXmProductStateHis(){ + if(this.rptDatas){ + this.rawDatas=this.rptDatas + return; + } if(!this.filters.product){ this.$notify({position:'bottom-left',showClose:true,message:'请先选中产品',type:'warning'}) return; } + var params={...this.params,orderBy:'biz_date asc'} listXmProductStateHis(params).then(res=>{ diff --git a/src/views/xm/rpt/product/questionDayTrend.vue b/src/views/xm/rpt/product/questionDayTrend.vue index 32349038..3f25f3e7 100644 --- a/src/views/xm/rpt/product/questionDayTrend.vue +++ b/src/views/xm/rpt/product/questionDayTrend.vue @@ -163,10 +163,15 @@ },//end data methods: { listXmProductStateHis(){ + if(this.rptDatas){ + this.rawDatas=this.rptDatas + return; + } if(!this.filters.product){ this.$notify({position:'bottom-left',showClose:true,message:'请先选中产品',type:'warning'}) return; - } + } + var params={...this.params,orderBy:'biz_date asc'} listXmProductStateHis(params).then(res=>{ diff --git a/src/views/xm/rpt/product/questionRetestDist.vue b/src/views/xm/rpt/product/questionRetestDist.vue index 89a03967..cf6e509e 100644 --- a/src/views/xm/rpt/product/questionRetestDist.vue +++ b/src/views/xm/rpt/product/questionRetestDist.vue @@ -371,6 +371,10 @@ }, searchXmQuestionRetestDist(){ + if(this.rptDatas){ + this.rawDatas=this.rptDatas + return; + } let params = { pageSize: this.pageInfo.pageSize, pageNum: this.pageInfo.pageNum, diff --git a/src/views/xm/rpt/product/questionSort.vue b/src/views/xm/rpt/product/questionSort.vue index 9952eb76..9425b4bd 100644 --- a/src/views/xm/rpt/product/questionSort.vue +++ b/src/views/xm/rpt/product/questionSort.vue @@ -331,6 +331,10 @@ }, searchXmQuestionSort(){ + if(this.rptDatas){ + this.rawDatas=this.rptDatas + return; + } let params = { pageSize: this.pageInfo.pageSize, pageNum: this.pageInfo.pageNum, diff --git a/src/views/xm/rpt/project/projectWorkItemDayList.vue b/src/views/xm/rpt/project/projectWorkItemDayList.vue index f2e189a4..24b008e5 100644 --- a/src/views/xm/rpt/project/projectWorkItemDayList.vue +++ b/src/views/xm/rpt/project/projectWorkItemDayList.vue @@ -134,10 +134,14 @@ },//end data methods: { listXmProjectStateHis(){ + if(this.rptDatas){ + this.rawDatas=this.rptDatas + return; + } if(!this.filters.project){ this.$notify({position:'bottom-left',showClose:true,message:'请先选中项目',type:'warning'}) return; - } + } var params={...this.params,orderBy:'biz_date asc'} diff --git a/src/views/xm/rpt/project/projectWorkloadSetDayList.vue b/src/views/xm/rpt/project/projectWorkloadSetDayList.vue index 685a708b..12a90fc1 100644 --- a/src/views/xm/rpt/project/projectWorkloadSetDayList.vue +++ b/src/views/xm/rpt/project/projectWorkloadSetDayList.vue @@ -146,12 +146,16 @@ }//end return },//end data methods: { - listProjectWorkloadSetDay(){ + listProjectWorkloadSetDay(){ + + if(this.rptDatas){ + this.rawDatas=this.rptDatas + return; + } if(!this.filters.project){ this.$notify({position:'bottom-left',showClose:true,message:'请先选中项目',type:'warning'}) return; - } - + } var params={...this.params,orderBy:'biz_date asc'} listProjectWorkloadSetDay(params).then(res=>{ diff --git a/src/views/xm/rpt/project/projectWorkloadSetMonthList.vue b/src/views/xm/rpt/project/projectWorkloadSetMonthList.vue index f13d5e2c..1a85779f 100644 --- a/src/views/xm/rpt/project/projectWorkloadSetMonthList.vue +++ b/src/views/xm/rpt/project/projectWorkloadSetMonthList.vue @@ -147,11 +147,16 @@ },//end data methods: { listProjectWorkloadSetMonth(){ + if(this.rptDatas){ + this.rawDatas=this.rptDatas + return; + } if(!this.filters.project){ this.$notify({position:'bottom-left',showClose:true,message:'请先选中项目',type:'warning'}) return; } + var params={...this.params} listProjectWorkloadSetMonth(params).then(res=>{ diff --git a/src/views/xm/rpt/project/taskAgeDist.vue b/src/views/xm/rpt/project/taskAgeDist.vue index 35450896..9623569f 100644 --- a/src/views/xm/rpt/project/taskAgeDist.vue +++ b/src/views/xm/rpt/project/taskAgeDist.vue @@ -282,6 +282,11 @@ }, searchXmTaskAgeDist(){ + if(this.rptDatas){ + this.rawDatas=this.rptDatas + return; + } + var params={...this.params} params.ntype='0' getXmTaskAgeDist(params).then(res=>{ diff --git a/src/views/xm/rpt/project/taskAttDist.vue b/src/views/xm/rpt/project/taskAttDist.vue index 8bcae6dd..5d89bd39 100644 --- a/src/views/xm/rpt/project/taskAttDist.vue +++ b/src/views/xm/rpt/project/taskAttDist.vue @@ -339,6 +339,11 @@ }, searchXmTaskAttDist(){ + if(this.rptDatas){ + this.rawDatas=this.rptDatas + return; + } + var params={...this.params} if(!params.groupBy){ this.$notify({position:'bottom-left',showClose:true,message:'请选中分组属性',type:'warning'}) diff --git a/src/views/xm/rpt/project/taskDayAccumulate.vue b/src/views/xm/rpt/project/taskDayAccumulate.vue index bae89815..6a1ad9cc 100644 --- a/src/views/xm/rpt/project/taskDayAccumulate.vue +++ b/src/views/xm/rpt/project/taskDayAccumulate.vue @@ -167,10 +167,15 @@ },//end data methods: { listXmProjectStateHis(){ + if(this.rptDatas){ + this.rawDatas=this.rptDatas + return; + } if(!this.filters.project){ this.$notify({position:'bottom-left',showClose:true,message:'请先选中项目',type:'warning'}) return; } + var params={...this.params,orderBy:'biz_date asc'} listXmProjectStateHis(params).then(res=>{ diff --git a/src/views/xm/rpt/project/taskDayTrend.vue b/src/views/xm/rpt/project/taskDayTrend.vue index 6404c109..198fa7a1 100644 --- a/src/views/xm/rpt/project/taskDayTrend.vue +++ b/src/views/xm/rpt/project/taskDayTrend.vue @@ -163,10 +163,15 @@ },//end data methods: { listXmProjectStateHis(){ + if(this.rptDatas){ + this.rawDatas=this.rptDatas + return; + } if(!this.filters.project){ this.$notify({position:'bottom-left',showClose:true,message:'请先选中项目',type:'warning'}) return; } + var params={...this.params,orderBy:'biz_date asc'} listXmProjectStateHis(params).then(res=>{ diff --git a/src/views/xm/rpt/project/taskSort.vue b/src/views/xm/rpt/project/taskSort.vue index 89537469..b46446df 100644 --- a/src/views/xm/rpt/project/taskSort.vue +++ b/src/views/xm/rpt/project/taskSort.vue @@ -262,6 +262,10 @@ }, searchXmTaskSort(){ + if(this.rptDatas){ + this.rawDatas=this.rptDatas + return; + } let params = { pageSize: this.pageInfo.pageSize, pageNum: this.pageInfo.pageNum, diff --git a/src/views/xm/rpt/testCase/testCaseSort.vue b/src/views/xm/rpt/testCase/testCaseSort.vue index 4d1c2119..4eddb5ef 100644 --- a/src/views/xm/rpt/testCase/testCaseSort.vue +++ b/src/views/xm/rpt/testCase/testCaseSort.vue @@ -255,6 +255,11 @@ ) }, searchXmTestCaseSort(){ + if(this.rptDatas){ + this.rawDatas=this.rptDatas + return; + } + var params={ ...this.params} getXmTestCaseSort(params).then(res=>{ var data=res.data.data diff --git a/src/views/xm/rpt/testPlan/testCaseToPlanCalc.vue b/src/views/xm/rpt/testPlan/testCaseToPlanCalc.vue index 4aa760e8..63aa136f 100644 --- a/src/views/xm/rpt/testPlan/testCaseToPlanCalc.vue +++ b/src/views/xm/rpt/testPlan/testCaseToPlanCalc.vue @@ -270,6 +270,11 @@ }, searchXmTestCaseToPlanCalcList(){ + if(this.rptDatas){ + this.rawDatas=this.rptDatas + return; + } + var params={...this.params } getXmTestCaseToPlanCalcList(params).then(res=>{ this.rawDatas=res.data.data diff --git a/src/views/xm/rpt/testPlan/testDayTimesCalc.vue b/src/views/xm/rpt/testPlan/testDayTimesCalc.vue index 5cd35f3a..185dc5f3 100644 --- a/src/views/xm/rpt/testPlan/testDayTimesCalc.vue +++ b/src/views/xm/rpt/testPlan/testDayTimesCalc.vue @@ -170,6 +170,11 @@ },//end data methods: { getXmTestDayTimesList(){ + if(this.rptDatas){ + this.rawDatas=this.rptDatas + return; + } + var params={ ...this.params,} getXmTestDayTimesList(params).then(res=>{ this.rawDatas=res.data.tips.isOk?res.data.data:this.rawDatas; diff --git a/src/views/xm/rpt/testPlan/testPlanCaseExecStatusDist.vue b/src/views/xm/rpt/testPlan/testPlanCaseExecStatusDist.vue index 32d472a7..63bea354 100644 --- a/src/views/xm/rpt/testPlan/testPlanCaseExecStatusDist.vue +++ b/src/views/xm/rpt/testPlan/testPlanCaseExecStatusDist.vue @@ -260,6 +260,11 @@ }, searchXmTestPlanCaseExecStatusDist(){ + if(this.rptDatas){ + this.rawDatas=this.rptDatas + return; + } + var params={...this.params } getXmTestPlanCaseExecStatusDist(params).then(res=>{ this.rawDatas=res.data.data diff --git a/src/views/xm/rpt/testPlan/testPlanCaseUserDist.vue b/src/views/xm/rpt/testPlan/testPlanCaseUserDist.vue index 60dbc966..80a70276 100644 --- a/src/views/xm/rpt/testPlan/testPlanCaseUserDist.vue +++ b/src/views/xm/rpt/testPlan/testPlanCaseUserDist.vue @@ -260,6 +260,11 @@ ) }, searchXmTestPlanCaseUserDist(){ + if(this.rptDatas){ + this.rawDatas=this.rptDatas + return; + } + var params={...this.params } getXmTestPlanCaseUserDist(params).then(res=>{ this.rawDatas=res.data.data