From 7c3c8e1e484e05610da7d1856afe248040121590 Mon Sep 17 00:00:00 2001
From: gaoshp <291585735@qq.com>
Date: 星期三, 06 八月 2025 20:32:06 +0800
Subject: [PATCH] 123

---
 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 809e9ab..3a8334a 100644
--- a/src/views/flow/todolist.vue
+++ b/src/views/flow/todolist.vue
@@ -50,7 +50,7 @@
             approveBox: false,
             formApprove: {
                 comment: '',
-                approve: 'Y', // 榛樿鍚屾剰
+                approve: '', // 榛樿鍚屾剰
                 assignee: ''
             },
             optionApprove: {
@@ -84,6 +84,15 @@
                         dicData: [
 
                         ],
+                        // rules: [{ required: true, message: '璇烽�夋嫨涓嬩竴瀹℃壒鐢ㄦ埛', trigger: 'blur' }],
+                    },
+                    {
+                        label: '宸ュ簭鐗堟',
+                        prop: 'processEdition',
+                        type: 'input',
+                        span: 24,
+                        // disabled: true,
+                        display: false,// 闅愯棌鏄剧ず
                         // rules: [{ required: true, message: '璇烽�夋嫨涓嬩竴瀹℃壒鐢ㄦ埛', trigger: 'blur' }],
                     },
                     {
@@ -291,6 +300,12 @@
                 this.formApprove.assignee = ''
                 // this.formApprove.assignee = row.variables.senior;
             }
+            if(val === 'Y' && ['confirmIsUseableTask'].includes(this.row.taskDefinitionKey) && this.row.variables.isProcessNoSame=='N') {
+                this.optionApprove.column[2].display = true; // 鏄剧ず宸ュ簭鐗堟
+            } else {
+                this.optionApprove.column[2].display = false; // 闅愯棌宸ュ簭鐗堟
+            }
+            
         },
     },
     computed: {

--
Gitblit v1.9.3