From cd6e52e4fc2e9beec99650ac67677e7051ee47a3 Mon Sep 17 00:00:00 2001
From: lzhe <181968431@qq.com>
Date: 星期日, 27 七月 2025 00:18:32 +0800
Subject: [PATCH] 1

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

diff --git a/src/views/flow/todolist.vue b/src/views/flow/todolist.vue
index 568b4ab..004b53d 100644
--- a/src/views/flow/todolist.vue
+++ b/src/views/flow/todolist.vue
@@ -189,7 +189,7 @@
                     {
                         label: '鏂囦欢',
                         width: 200,
-                        prop: '',
+                        prop: 'file',
                     },
                     {
                         label: '鍒拌揪鏃堕棿',
@@ -338,6 +338,12 @@
             console.log('handleAction', row, index);
         },
         handleSubmit(form, done) {
+            if(this.row.taskDefinitionKey === 'programmingTask') {
+                if(this.applist.length !== 1) {
+                    done();
+                    return this.$message.success('璇烽�夋嫨1涓▼搴�');
+                }
+            }
             approve({
                 ...this.formApprove,
                 taskId: this.row.taskId,

--
Gitblit v1.9.3