Browse Source

宅基地调查

wulanhaote
yujk 3 years ago
parent
commit
ca8a6a20af
1 changed files with 3 additions and 5 deletions
  1. +3
    -5
      src/views/homesteadSurvey/index.vue

+ 3
- 5
src/views/homesteadSurvey/index.vue View File

@@ -330,15 +330,14 @@
this.$cookies.set("item",JSON.stringify(item)); this.$cookies.set("item",JSON.stringify(item));
}, },
getList() { getList() {
this.totalList = []
this.doneList = [];
this.todoList = [];
listTask(this.queryParams).then(response => { listTask(this.queryParams).then(response => {
this.total = response.total this.total = response.total
this.totalList = []
this.done = 0; this.done = 0;
this.doneList = [];
this.todo = 0; this.todo = 0;
this.todoList = [];
response.rows.map(res => { response.rows.map(res => {
console.log(res.reportNhNumber)
if(res.taskStatus == "FINISHED"){ if(res.taskStatus == "FINISHED"){
this.done+=1 this.done+=1
this.doneList.push(res); this.doneList.push(res);
@@ -346,7 +345,6 @@
this.todo+=1 this.todo+=1
this.todoList.push(res); this.todoList.push(res);
} }
/*this.totalList.push(res);*/
if(res.taskExecutor!=null&&res.taskExecutor!=''){ if(res.taskExecutor!=null&&res.taskExecutor!=''){
res.taskExecutor = res.taskExecutor.split(',') res.taskExecutor = res.taskExecutor.split(',')
} }


Loading…
Cancel
Save