From 8b666c73d249fcb81b666b03ec638a8bb7357c45 Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期六, 09 八月 2025 17:02:12 +0800
Subject: [PATCH] 修改文字

---
 src/views/flow/todolist.vue |   21 +++++++++++++++++++--
 1 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/src/views/flow/todolist.vue b/src/views/flow/todolist.vue
index 809e9ab..d44b60d 100644
--- a/src/views/flow/todolist.vue
+++ b/src/views/flow/todolist.vue
@@ -42,6 +42,8 @@
         TodolistRightTop
     },
     data() {
+	    let rejectText = '椹冲洖';//+this.row.categoryName;
+        console.log(this,'ttt');
         return {
             
             applist: [],
@@ -50,7 +52,7 @@
             approveBox: false,
             formApprove: {
                 comment: '',
-                approve: 'Y', // 榛樿鍚屾剰
+                approve: '', // 榛樿鍚屾剰
                 assignee: ''
             },
             optionApprove: {
@@ -64,7 +66,7 @@
                         span: 24,
                         dicData: [
                             { label: '閫氳繃', value: 'Y' },
-                            { label: '椹冲洖', value: 'N' },
+                            { label: rejectText, value: 'N' },
                         ],
                         rules: [{ required: true, message: '璇烽�夋嫨瀹℃壒缁撴灉', trigger: 'blur' }],
                     },
@@ -84,6 +86,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 +302,12 @@
                 this.formApprove.assignee = ''
                 // this.formApprove.assignee = row.variables.senior;
             }
+            if(val === 'Y' && ['confirmIsUseableTask'].includes(this.row.taskDefinitionKey) && this.row.variables.isProcessEditionSame=='N') {
+                this.optionApprove.column[2].display = true; // 鏄剧ず宸ュ簭鐗堟
+            } else {
+                this.optionApprove.column[2].display = false; // 闅愯棌宸ュ簭鐗堟
+            }
+            
         },
     },
     computed: {

--
Gitblit v1.9.3