From ca8a6a20af1331c906be726d7db69bea49a92d98 Mon Sep 17 00:00:00 2001 From: yujk <990961482@qq.com> Date: Tue, 8 Mar 2022 15:53:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=85=E5=9F=BA=E5=9C=B0=E8=B0=83=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/homesteadSurvey/index.vue | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/views/homesteadSurvey/index.vue b/src/views/homesteadSurvey/index.vue index dc0e90d9..81cece91 100644 --- a/src/views/homesteadSurvey/index.vue +++ b/src/views/homesteadSurvey/index.vue @@ -330,15 +330,14 @@ this.$cookies.set("item",JSON.stringify(item)); }, getList() { + this.totalList = [] + this.doneList = []; + this.todoList = []; listTask(this.queryParams).then(response => { this.total = response.total - this.totalList = [] this.done = 0; - this.doneList = []; this.todo = 0; - this.todoList = []; response.rows.map(res => { - console.log(res.reportNhNumber) if(res.taskStatus == "FINISHED"){ this.done+=1 this.doneList.push(res); @@ -346,7 +345,6 @@ this.todo+=1 this.todoList.push(res); } - /*this.totalList.push(res);*/ if(res.taskExecutor!=null&&res.taskExecutor!=''){ res.taskExecutor = res.taskExecutor.split(',') }