From 9cdb8b4bd4642ebef67c23c3a172d88c36003c23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=A3=95=E8=B4=A2?= Date: Sat, 4 Feb 2023 22:52:33 +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 --- src/views/xm/rpt/branch/branchWorkItemDayList.vue | 5 +++++ src/views/xm/rpt/branch/menuDayAccumulate.vue | 8 ++++---- src/views/xm/rpt/branch/menuDayTrend.vue | 8 ++++---- src/views/xm/rpt/branch/questionDayAccumulate.vue | 8 ++++---- src/views/xm/rpt/branch/questionDayTrend.vue | 8 ++++---- src/views/xm/rpt/iteration/burnout.vue | 4 ++++ 6 files changed, 25 insertions(+), 16 deletions(-) diff --git a/src/views/xm/rpt/branch/branchWorkItemDayList.vue b/src/views/xm/rpt/branch/branchWorkItemDayList.vue index bc353eca..395576ed 100644 --- a/src/views/xm/rpt/branch/branchWorkItemDayList.vue +++ b/src/views/xm/rpt/branch/branchWorkItemDayList.vue @@ -138,6 +138,11 @@ },//end data methods: { listXmBranchStateHis(){ + + if(this.rptDatas){ + this.rawDatas=this.rptDatas + return; + } var params=this.params listXmBranchStateHis(params).then(res=>{ this.rawDatas=res.data.tips.isOk?res.data.data:this.rawDatas; diff --git a/src/views/xm/rpt/branch/menuDayAccumulate.vue b/src/views/xm/rpt/branch/menuDayAccumulate.vue index e8921299..14106dce 100644 --- a/src/views/xm/rpt/branch/menuDayAccumulate.vue +++ b/src/views/xm/rpt/branch/menuDayAccumulate.vue @@ -288,22 +288,22 @@ onProductSelected(product){ this.filters.product=product - ; + }, onProductClear(){ this.filters.product=null - ; + }, onIterationSelected(iteration){ this.filters.iteration=iteration - ; + }, onIterationClear(){ this.filters.iteration=null - ; + } },//end method mounted() { diff --git a/src/views/xm/rpt/branch/menuDayTrend.vue b/src/views/xm/rpt/branch/menuDayTrend.vue index da836439..9640866f 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 - ; + }, onProductClear(){ this.filters.product=null - ; + }, onIterationSelected(iteration){ this.filters.iteration=iteration - ; + }, onIterationClear(){ this.filters.iteration=null - ; + } },//end method mounted() { diff --git a/src/views/xm/rpt/branch/questionDayAccumulate.vue b/src/views/xm/rpt/branch/questionDayAccumulate.vue index bfb0abf7..7f0bc44e 100644 --- a/src/views/xm/rpt/branch/questionDayAccumulate.vue +++ b/src/views/xm/rpt/branch/questionDayAccumulate.vue @@ -289,24 +289,24 @@ onProductSelected(product){ this.filters.product=product - ; + }, onProductClear(){ this.filters.product=null - ; + }, onIterationSelected(iteration){ this.filters.iteration=iteration - ; + }, onIterationClear(){ this.filters.iteration=null - ; + } },//end method mounted() { diff --git a/src/views/xm/rpt/branch/questionDayTrend.vue b/src/views/xm/rpt/branch/questionDayTrend.vue index 01927ee1..4387a87a 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 - ; + }, onProductClear(){ this.filters.product=null - ; + }, onIterationSelected(iteration){ this.filters.iteration=iteration - ; + }, onIterationClear(){ this.filters.iteration=null - ; + } },//end method mounted() { diff --git a/src/views/xm/rpt/iteration/burnout.vue b/src/views/xm/rpt/iteration/burnout.vue index 476517bb..b8ff61be 100644 --- a/src/views/xm/rpt/iteration/burnout.vue +++ b/src/views/xm/rpt/iteration/burnout.vue @@ -204,6 +204,10 @@ } }, listXmIterationStateHis(){ + if(this.rptDatas){ + this.rawDatas=this.rptDatas + return; + } if(!this.filters.iteration|| !this.filters.iteration.id){ this.$notify({position:'bottom-left',showClose:true,message:'请先选中迭代',type:'warning'}) return;