From 55c9cc6f424168a00ebd91a1a74a5a929ce0bdb4 Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期一, 11 八月 2025 15:14:37 +0800
Subject: [PATCH] 替换发起补充字段

---
 src/views/wel/components/TodolistLeft.vue  |    9 +++++----
 src/views/wel/shemi.vue                    |    7 +++++--
 src/views/flow/components/TodolistLeft.vue |    5 +++--
 3 files changed, 13 insertions(+), 8 deletions(-)

diff --git a/src/views/flow/components/TodolistLeft.vue b/src/views/flow/components/TodolistLeft.vue
index 3d96254..da9210d 100644
--- a/src/views/flow/components/TodolistLeft.vue
+++ b/src/views/flow/components/TodolistLeft.vue
@@ -6,7 +6,7 @@
 -->
 <template>
     <basic-container>
-        <div class="tool" v-show="['programmingTask','cureProgramTask'].includes(row.taskDefinitionKey)">
+        <div class="tool" v-show="['programmingTask','cureProgramTask','repalceProgrammingTask'].includes(row.taskDefinitionKey)">
             <avue-form :option="attOption"
              v-model="attForm"
              :upload-after="uploadAfter" class="att-box"></avue-form>
@@ -14,11 +14,12 @@
         <el-table :data="tableData" border @row-click="showContent" max-height="200">
             <!-- <el-table-column prop="machineCode" label="鍔犲伐鏈哄簥">
             </el-table-column> -->
+			<el-table-column type="index" label="#" width="40" align="center"/>
             <el-table-column prop="name" label="绋嬪簭鍚嶇О">
             </el-table-column>
             <el-table-column fixed="right" label="鎿嶄綔" width="60" align="center">
             <template #default="scope" >
-                <el-button v-show="['programmingTask','cureProgramTask'].includes(row.taskDefinitionKey)" type="text" size="small" @click.stop="del(scope.$index,scope.row)">鍒犻櫎</el-button>
+                <el-button v-show="['programmingTask','cureProgramTask','repalceProgrammingTask'].includes(row.taskDefinitionKey)" type="text" size="small" @click.stop="del(scope.$index,scope.row)">鍒犻櫎</el-button>
             </template>
             </el-table-column>
         </el-table>
diff --git a/src/views/wel/components/TodolistLeft.vue b/src/views/wel/components/TodolistLeft.vue
index ddb3096..b2545ec 100644
--- a/src/views/wel/components/TodolistLeft.vue
+++ b/src/views/wel/components/TodolistLeft.vue
@@ -12,8 +12,7 @@
              :upload-after="uploadAfter" class="att-box"></avue-form>
         </div>
         <el-table :data="tableData" border @row-click="showContent" max-height="200">
-            <!-- <el-table-column prop="machineCode" label="鍔犲伐鏈哄簥">
-            </el-table-column> -->
+            <el-table-column type="index" label="#" width="40" align="center"/>
             <el-table-column prop="name" label="绋嬪簭鍚嶇О">
             </el-table-column>
             <el-table-column fixed="right" label="鎿嶄綔" width="60" align="center">
@@ -49,7 +48,8 @@
         },
         replaceDataId: {type: String},
         drawingNo: {type: String},
-        processNo: {type: String}
+        processNo: {type: String},
+		processEdition: {type: String}
     },
     data() {
         return {
@@ -72,7 +72,8 @@
                         data: {
                             processInstanceId: this.replaceDataId,
                             drawingNo: this.drawingNo,   //鍥惧彿
-                            processNo: this.processNo  //宸ュ簭鍙�
+                            processNo: this.processNo,  //宸ュ簭鍙�
+							processEdition: this.processEdition  //宸ュ簭鐗堟
                         },
                     }
                 ]
diff --git a/src/views/wel/shemi.vue b/src/views/wel/shemi.vue
index 68d6a50..91acb8c 100644
--- a/src/views/wel/shemi.vue
+++ b/src/views/wel/shemi.vue
@@ -91,7 +91,7 @@
   <el-drawer title="鏇挎崲" append-to-body v-model="todolistModel" size="100%" class="code-box">
     <div class="approve-box">
         <div class="left">
-            <TodolistLeft :row="row" :replaceDataId="replaceDataId" :drawingNo="drawingNo" :processNo="processNo" @selection-change="todoSelectionChange" />
+            <TodolistLeft :row="row" :replaceDataId="replaceDataId" :drawingNo="drawingNo" :processNo="processNo" :processEdition="processEdition" @selection-change="todoSelectionChange" />
         </div>
         <div class="right">
             <TodolistRightTop :row="row" :name="name" />
@@ -115,6 +115,7 @@
     return {
       drawingNo: '',
       processNo: '',
+	  processEdition: '',
       replaceDataId: "",
       formApprove: {
         title: '',
@@ -629,6 +630,7 @@
         title: this.formApprove.title,
         nodeId: this.id,
         tempInstanceId: this.replaceDataId,
+		comment: this.formApprove.comment,
         assignee: this.formApprove.assignee
       }
       axios({
@@ -689,7 +691,8 @@
         this.row = row;
         this.replaceDataId = resp.data.data.processInstanceId;
         this.processNo = resp.data.data.processNo;
-        this.drawingNo = resp.data.data.drawingNo;
+        this.processEdition = resp.data.data.processEdition;
+		this.drawingNo = resp.data.data.drawingNo;
         this.formApprove.title = resp.data.data.name + "鏇挎崲";
         this.todolistModel = true;
       });

--
Gitblit v1.9.3