diff --git a/src/views/index/toDoList.vue b/src/views/index/toDoList.vue index 5a9fa9f7..2b28262b 100644 --- a/src/views/index/toDoList.vue +++ b/src/views/index/toDoList.vue @@ -14,8 +14,8 @@
{{ item.toDoTime }}   {{ item.userName }}
- - + +
@@ -46,24 +46,15 @@ export default { this.show = false } }, - async noPass(item) { - let result = await toDoAudit({ + async toDoAudit(item,type) { + await toDoAudit({ toDoId: item.toDoId, - toDoType: item.toDoType.code + toDoType: item.toDoType.code, + auditResult:type }) - console.log("不通过", item, result) this.todolist=[] await this.getList(); }, - async passThrough(item) { - let result = await toDoAudit({ - toDoId: item.toDoId, - toDoType: item.toDoType.code - }) - console.log("通过", item, result) - this.todolist=[] - await this.getList(); - } } }