diff --git a/src/views/xm/rpt/branch/branchWorkItemDayList.vue b/src/views/xm/rpt/branch/branchWorkItemDayList.vue index d6819a65..bc353eca 100644 --- a/src/views/xm/rpt/branch/branchWorkItemDayList.vue +++ b/src/views/xm/rpt/branch/branchWorkItemDayList.vue @@ -208,7 +208,7 @@ if(this.showToolBar && !this.title){ this.title="企业工作项每日趋势图" } - this.rawDatas=[] + if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect(); if(this.$refs['xmIterationSelect'])this.$refs['xmIterationSelect'].clearSelect(); this.$nextTick(()=>{ @@ -334,15 +334,11 @@ }, onProductSelected(product){ - this.filters.product=product - this.rawDatas=[]; + this.filters.product=product }, onProductClear(){ - this.filters.product=null - - this.rawDatas=[]; - + this.filters.product=null }, onIterationSelected(iteration){ diff --git a/src/views/xm/rpt/branch/menuDayAccumulate.vue b/src/views/xm/rpt/branch/menuDayAccumulate.vue index 217d5689..e8921299 100644 --- a/src/views/xm/rpt/branch/menuDayAccumulate.vue +++ b/src/views/xm/rpt/branch/menuDayAccumulate.vue @@ -182,7 +182,7 @@ if(this.showToolBar && !this.title){ this.title="企业工作项每日趋势图" } - this.rawDatas=[] + if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect(); if(this.$refs['xmIterationSelect'])this.$refs['xmIterationSelect'].clearSelect(); this.$nextTick(()=>{ @@ -288,22 +288,22 @@ onProductSelected(product){ this.filters.product=product - this.rawDatas=[]; + ; }, onProductClear(){ this.filters.product=null - this.rawDatas=[]; + ; }, onIterationSelected(iteration){ this.filters.iteration=iteration - this.rawDatas=[]; + ; }, onIterationClear(){ this.filters.iteration=null - this.rawDatas=[]; + ; } },//end method mounted() { diff --git a/src/views/xm/rpt/branch/menuDayTrend.vue b/src/views/xm/rpt/branch/menuDayTrend.vue index fec572d2..da836439 100644 --- a/src/views/xm/rpt/branch/menuDayTrend.vue +++ b/src/views/xm/rpt/branch/menuDayTrend.vue @@ -302,23 +302,23 @@ onProductSelected(product){ this.filters.product=product - this.rawDatas=[]; + ; }, onProductClear(){ this.filters.product=null - this.rawDatas=[]; + ; }, onIterationSelected(iteration){ this.filters.iteration=iteration - this.rawDatas=[]; + ; }, onIterationClear(){ this.filters.iteration=null - this.rawDatas=[]; + ; } },//end method mounted() { diff --git a/src/views/xm/rpt/branch/questionDayAccumulate.vue b/src/views/xm/rpt/branch/questionDayAccumulate.vue index c3761da5..bfb0abf7 100644 --- a/src/views/xm/rpt/branch/questionDayAccumulate.vue +++ b/src/views/xm/rpt/branch/questionDayAccumulate.vue @@ -183,7 +183,7 @@ if(this.showToolBar && !this.title){ this.title="企业工作项每日趋势图" } - this.rawDatas=[] + if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect(); if(this.$refs['xmIterationSelect'])this.$refs['xmIterationSelect'].clearSelect(); this.$nextTick(()=>{ @@ -289,24 +289,24 @@ onProductSelected(product){ this.filters.product=product - this.rawDatas=[]; + ; }, onProductClear(){ this.filters.product=null - this.rawDatas=[]; + ; }, onIterationSelected(iteration){ this.filters.iteration=iteration - this.rawDatas=[]; + ; }, onIterationClear(){ this.filters.iteration=null - this.rawDatas=[]; + ; } },//end method mounted() { diff --git a/src/views/xm/rpt/branch/questionDayTrend.vue b/src/views/xm/rpt/branch/questionDayTrend.vue index d74be5b0..01927ee1 100644 --- a/src/views/xm/rpt/branch/questionDayTrend.vue +++ b/src/views/xm/rpt/branch/questionDayTrend.vue @@ -304,23 +304,23 @@ onProductSelected(product){ this.filters.product=product - this.rawDatas=[]; + ; }, onProductClear(){ this.filters.product=null - this.rawDatas=[]; + ; }, onIterationSelected(iteration){ this.filters.iteration=iteration - this.rawDatas=[]; + ; }, onIterationClear(){ this.filters.iteration=null - this.rawDatas=[]; + ; } },//end method mounted() { diff --git a/src/views/xm/rpt/iteration/IterationWorkItemDayList.vue b/src/views/xm/rpt/iteration/IterationWorkItemDayList.vue index b130fa67..ed4b823c 100644 --- a/src/views/xm/rpt/iteration/IterationWorkItemDayList.vue +++ b/src/views/xm/rpt/iteration/IterationWorkItemDayList.vue @@ -200,7 +200,7 @@ if(this.showToolBar && !this.title){ this.title="企业工作项每日趋势图" } - this.rawDatas=[] + if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect(); if(this.$refs['xmIterationSelect'])this.$refs['xmIterationSelect'].clearSelect(); this.$nextTick(()=>{ diff --git a/src/views/xm/rpt/iteration/menuDayAccumulate.vue b/src/views/xm/rpt/iteration/menuDayAccumulate.vue index 5ac850b0..cc2c86c0 100644 --- a/src/views/xm/rpt/iteration/menuDayAccumulate.vue +++ b/src/views/xm/rpt/iteration/menuDayAccumulate.vue @@ -224,7 +224,7 @@ if(this.showToolBar && !this.title){ this.title="企业工作项每日趋势图" } - this.rawDatas=[] + if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect(); if(this.$refs['xmIterationSelect'])this.$refs['xmIterationSelect'].clearSelect(); this.$nextTick(()=>{ diff --git a/src/views/xm/rpt/iteration/questionDayAccumulate.vue b/src/views/xm/rpt/iteration/questionDayAccumulate.vue index 881c9be6..9d0d7c80 100644 --- a/src/views/xm/rpt/iteration/questionDayAccumulate.vue +++ b/src/views/xm/rpt/iteration/questionDayAccumulate.vue @@ -225,7 +225,7 @@ if(this.showToolBar && !this.title){ this.title="企业工作项每日趋势图" } - this.rawDatas=[] + if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect(); if(this.$refs['xmIterationSelect'])this.$refs['xmIterationSelect'].clearSelect(); this.$nextTick(()=>{ diff --git a/src/views/xm/rpt/product/menuAgeDist.vue b/src/views/xm/rpt/product/menuAgeDist.vue index 73cd0c20..6e14f762 100644 --- a/src/views/xm/rpt/product/menuAgeDist.vue +++ b/src/views/xm/rpt/product/menuAgeDist.vue @@ -297,7 +297,7 @@ ) }, onXmMenuSomeFieldsChange(fieldName,$event){ - this.rawDatas=[] + }, searchXmMenuAgeDist(){ var params={...this.params} diff --git a/src/views/xm/rpt/product/menuAttDist.vue b/src/views/xm/rpt/product/menuAttDist.vue index 60a30421..1e2bc0db 100644 --- a/src/views/xm/rpt/product/menuAttDist.vue +++ b/src/views/xm/rpt/product/menuAttDist.vue @@ -351,7 +351,7 @@ ) }, onXmMenuSomeFieldsChange(fieldName,$event){ - this.rawDatas=[] + }, searchXmMenuAttDist(){ diff --git a/src/views/xm/rpt/product/menuDayAccumulate.vue b/src/views/xm/rpt/product/menuDayAccumulate.vue index eca455fa..d10473f7 100644 --- a/src/views/xm/rpt/product/menuDayAccumulate.vue +++ b/src/views/xm/rpt/product/menuDayAccumulate.vue @@ -203,7 +203,7 @@ if(this.showToolBar && !this.title){ this.title="企业工作项每日趋势图" } - this.rawDatas=[] + if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect(); this.$nextTick(()=>{ this.listXmProductStateHis(); diff --git a/src/views/xm/rpt/product/menuSort.vue b/src/views/xm/rpt/product/menuSort.vue index 9bc41362..16d45ced 100644 --- a/src/views/xm/rpt/product/menuSort.vue +++ b/src/views/xm/rpt/product/menuSort.vue @@ -289,7 +289,7 @@ ) }, onXmMenuSomeFieldsChange(fieldName,$event){ - this.rawDatas=[] + }, searchXmMenuSort(){ let params = { diff --git a/src/views/xm/rpt/product/productWorkItemDayList.vue b/src/views/xm/rpt/product/productWorkItemDayList.vue index f0bf1db1..e9ae497b 100644 --- a/src/views/xm/rpt/product/productWorkItemDayList.vue +++ b/src/views/xm/rpt/product/productWorkItemDayList.vue @@ -185,7 +185,7 @@ if(this.showToolBar && !this.title){ this.title="企业工作项每日趋势图" } - this.rawDatas=[] + if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect(); this.$nextTick(()=>{ this.listXmProductStateHis(); diff --git a/src/views/xm/rpt/product/questionAgeDist.vue b/src/views/xm/rpt/product/questionAgeDist.vue index 05f89fe1..627e1f5f 100644 --- a/src/views/xm/rpt/product/questionAgeDist.vue +++ b/src/views/xm/rpt/product/questionAgeDist.vue @@ -332,7 +332,7 @@ ) }, onXmQuestionSomeFieldsChange(fieldName,$event){ - this.rawDatas=[] + }, searchXmQuestionAgeDist(){ var params={...this.params} diff --git a/src/views/xm/rpt/product/questionAttDist.vue b/src/views/xm/rpt/product/questionAttDist.vue index e2f7024d..4e94bf6d 100644 --- a/src/views/xm/rpt/product/questionAttDist.vue +++ b/src/views/xm/rpt/product/questionAttDist.vue @@ -400,7 +400,7 @@ ) }, onXmQuestionSomeFieldsChange(fieldName,$event){ - this.rawDatas=[] + }, searchXmQuestionAttDist(){ var params={...this.params} diff --git a/src/views/xm/rpt/product/questionDayAccumulate.vue b/src/views/xm/rpt/product/questionDayAccumulate.vue index 36105e00..c60744e9 100644 --- a/src/views/xm/rpt/product/questionDayAccumulate.vue +++ b/src/views/xm/rpt/product/questionDayAccumulate.vue @@ -208,7 +208,7 @@ if(this.showToolBar && !this.title){ this.title="企业工作项每日趋势图" } - this.rawDatas=[] + if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect(); this.$nextTick(()=>{ this.listXmProductStateHis(); diff --git a/src/views/xm/rpt/product/questionRetestDist.vue b/src/views/xm/rpt/product/questionRetestDist.vue index ce7fbb1b..89a03967 100644 --- a/src/views/xm/rpt/product/questionRetestDist.vue +++ b/src/views/xm/rpt/product/questionRetestDist.vue @@ -367,7 +367,7 @@ ) }, onXmQuestionSomeFieldsChange(fieldName,$event){ - this.rawDatas=[] + }, searchXmQuestionRetestDist(){ diff --git a/src/views/xm/rpt/product/questionSort.vue b/src/views/xm/rpt/product/questionSort.vue index 95bf2e68..9952eb76 100644 --- a/src/views/xm/rpt/product/questionSort.vue +++ b/src/views/xm/rpt/product/questionSort.vue @@ -328,7 +328,7 @@ ) }, onXmQuestionSomeFieldsChange(fieldName,$event){ - this.rawDatas=[] + }, searchXmQuestionSort(){ let params = { diff --git a/src/views/xm/rpt/project/projectWorkItemDayList.vue b/src/views/xm/rpt/project/projectWorkItemDayList.vue index 1312d8c7..f2e189a4 100644 --- a/src/views/xm/rpt/project/projectWorkItemDayList.vue +++ b/src/views/xm/rpt/project/projectWorkItemDayList.vue @@ -181,7 +181,7 @@ if(this.showToolBar && !this.title){ this.title="企业工作项每日趋势图" } - this.rawDatas=[] + this.$nextTick(()=>{ if(this.$refs['xmProjectSelect'])this.$refs['xmProjectSelect'].clearSelect(); diff --git a/src/views/xm/rpt/project/projectWorkloadSetDayList.vue b/src/views/xm/rpt/project/projectWorkloadSetDayList.vue index 40cc6378..685a708b 100644 --- a/src/views/xm/rpt/project/projectWorkloadSetDayList.vue +++ b/src/views/xm/rpt/project/projectWorkloadSetDayList.vue @@ -194,7 +194,7 @@ if(this.showToolBar && !this.title){ this.title="企业工作项每日趋势图" } - this.rawDatas=[] + this.$nextTick(()=>{ if(this.$refs['xmProjectSelect'])this.$refs['xmProjectSelect'].clearSelect(); this.listProjectWorkloadSetDay(); diff --git a/src/views/xm/rpt/project/projectWorkloadSetMonthList.vue b/src/views/xm/rpt/project/projectWorkloadSetMonthList.vue index b775c2b6..f13d5e2c 100644 --- a/src/views/xm/rpt/project/projectWorkloadSetMonthList.vue +++ b/src/views/xm/rpt/project/projectWorkloadSetMonthList.vue @@ -194,7 +194,7 @@ if(this.showToolBar && !this.title){ this.title="企业工作项每日趋势图" } - this.rawDatas=[] + this.$nextTick(()=>{ if(this.$refs['xmProjectSelect'])this.$refs['xmProjectSelect'].clearSelect(); diff --git a/src/views/xm/rpt/project/taskAgeDist.vue b/src/views/xm/rpt/project/taskAgeDist.vue index 8472f599..35450896 100644 --- a/src/views/xm/rpt/project/taskAgeDist.vue +++ b/src/views/xm/rpt/project/taskAgeDist.vue @@ -279,7 +279,7 @@ ) }, onXmTaskSomeFieldsChange(fieldName,$event){ - this.rawDatas=[] + }, searchXmTaskAgeDist(){ var params={...this.params} diff --git a/src/views/xm/rpt/project/taskAttDist.vue b/src/views/xm/rpt/project/taskAttDist.vue index 1bc4a236..8bcae6dd 100644 --- a/src/views/xm/rpt/project/taskAttDist.vue +++ b/src/views/xm/rpt/project/taskAttDist.vue @@ -335,7 +335,7 @@ ) }, onXmTaskSomeFieldsChange(fieldName,$event){ - this.rawDatas=[] + }, searchXmTaskAttDist(){ diff --git a/src/views/xm/rpt/project/taskDayAccumulate.vue b/src/views/xm/rpt/project/taskDayAccumulate.vue index 61df1f1b..bae89815 100644 --- a/src/views/xm/rpt/project/taskDayAccumulate.vue +++ b/src/views/xm/rpt/project/taskDayAccumulate.vue @@ -213,7 +213,7 @@ if(this.showToolBar && !this.title){ this.title="企业工作项每日趋势图" } - this.rawDatas=[] + if(this.$refs['xmProjectSelect'])this.$refs['xmProjectSelect'].clearSelect(); this.$nextTick(()=>{ this.listXmProjectStateHis(); diff --git a/src/views/xm/rpt/project/taskSort.vue b/src/views/xm/rpt/project/taskSort.vue index 94b1b907..89537469 100644 --- a/src/views/xm/rpt/project/taskSort.vue +++ b/src/views/xm/rpt/project/taskSort.vue @@ -259,7 +259,7 @@ ) }, onXmTaskSomeFieldsChange(fieldName,$event){ - this.rawDatas=[] + }, searchXmTaskSort(){ let params = { diff --git a/src/views/xm/rpt/testPlan/testCaseToPlanCalc.vue b/src/views/xm/rpt/testPlan/testCaseToPlanCalc.vue index 3dbe8bc1..4aa760e8 100644 --- a/src/views/xm/rpt/testPlan/testCaseToPlanCalc.vue +++ b/src/views/xm/rpt/testPlan/testCaseToPlanCalc.vue @@ -266,7 +266,7 @@ ) }, onXmQuestionSomeFieldsChange(fieldName,$event){ - this.rawDatas=[] + }, searchXmTestCaseToPlanCalcList(){ diff --git a/src/views/xm/rpt/testPlan/testPlanCaseExecStatusDist.vue b/src/views/xm/rpt/testPlan/testPlanCaseExecStatusDist.vue index 6793c334..32d472a7 100644 --- a/src/views/xm/rpt/testPlan/testPlanCaseExecStatusDist.vue +++ b/src/views/xm/rpt/testPlan/testPlanCaseExecStatusDist.vue @@ -257,7 +257,7 @@ ) }, onXmQuestionSomeFieldsChange(fieldName,$event){ - this.rawDatas=[] + }, searchXmTestPlanCaseExecStatusDist(){ var params={...this.params }