|
|
@@ -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(',') |
|
|
|
} |
|
|
|