From 14f07eabad39c0638f74d0f95d106574b36d83e0 Mon Sep 17 00:00:00 2001
From: zhouxueli <2841188632@qq.com>
Date: Wed, 23 Aug 2023 18:11:27 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E5=8A=9E=E4=BA=8B=E9=A1=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/index/toDoList.vue | 21 ++++++---------------
1 file changed, 6 insertions(+), 15 deletions(-)
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();
- }
}
}