From 9bb39d728710b89d57e76200c91d872e64d4457d Mon Sep 17 00:00:00 2001
From: gaoshp <291585735@qq.com>
Date: 星期三, 20 八月 2025 20:36:44 +0800
Subject: [PATCH] update
---
src/views/flow/todolist.vue | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/src/views/flow/todolist.vue b/src/views/flow/todolist.vue
index 08ea98e..cf053a2 100644
--- a/src/views/flow/todolist.vue
+++ b/src/views/flow/todolist.vue
@@ -365,11 +365,6 @@
},
},
mounted() {
- getAssignee(this.row).then(res => {
- this.assigneeData = res.data.data;
- this.optionApprove.column[1].dicData = this.assigneeData;
- this.reassignOption.column[1].dicData = this.assigneeData;
- })
//this.setApproveBtn(row)
},
methods: {
@@ -643,12 +638,20 @@
}
},
handleAction(row, index) {
+ getAssignee({
+ taskId: row.taskId,
+ }).then(res => {
+ this.assigneeData = res.data.data;
+ this.optionApprove.column[1].dicData = this.assigneeData;
+ this.reassignOption.column[1].dicData = this.assigneeData;
+ })
this.formApprove = {
comment: '',
approve: 'Y', // 榛樿鍚�
}
this.approveBox = true;
this.row = row
+
this.setAssignee(row, this.formApprove.approve);
this.setApproveBtn(row);
console.log('handleAction', row, index);
--
Gitblit v1.9.3