From 5591a5a72a17889a88b7bc17f154e4e61c94650c Mon Sep 17 00:00:00 2001
From: gaoshp <291585735@qq.com>
Date: 星期二, 12 八月 2025 21:12:23 +0800
Subject: [PATCH] 批量审批

---
 src/views/flow/todolist.vue |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/src/views/flow/todolist.vue b/src/views/flow/todolist.vue
index cdc95b3..a471705 100644
--- a/src/views/flow/todolist.vue
+++ b/src/views/flow/todolist.vue
@@ -294,6 +294,7 @@
                         },
                         span: 24,
                         disabled: false,
+                        display: false,
                         dicData: [
 
                         ],
@@ -332,6 +333,17 @@
             // }
             
         },
+        'reassignForm.approve'(val) {
+            if(val === 'Y') {
+                this.reassignOption.column[1].disabled = true;
+                this.reassignOption.column[1].display = false;
+                this.reassignForm.newAssigneeId = '';
+            } else {
+                this.reassignOption.column[1].display = false;
+                this.reassignOption.column[1].disabled = false;
+                this.reassignForm.newAssigneeId = '';
+            }
+        }
     },
     computed: {
         ...mapGetters(['userInfo', 'permission']),
@@ -450,10 +462,13 @@
                     })
                 });
             } else {
-
                 this.reassignBox = true;
                 if(val === 3) {//鎵归噺瀹℃壒鏃� 鏄剧ず閫氳繃椹冲洖
                     this.reassignOption.column[0].display = true;
+                    this.reassignForm.approve = 'Y';
+                    this.reassignForm.newAssigneeId = '';
+                    this.reassignOption.column[1].disabled = true;
+                    this.reassignOption.column[1].display = true;
                 } else {
                     this.reassignOption.column[0].display = false;
                 }

--
Gitblit v1.9.3