From 6c6e278a64c952a0a761d56a38c09d36b86d6873 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期五, 03 一月 2025 16:16:11 +0800
Subject: [PATCH] 赋码startid调整

---
 src/views/flowable/definition/index.vue |   24 +++++++++++++++++-------
 1 files changed, 17 insertions(+), 7 deletions(-)

diff --git a/src/views/flowable/definition/index.vue b/src/views/flowable/definition/index.vue
index d8963ad..9287c80 100644
--- a/src/views/flowable/definition/index.vue
+++ b/src/views/flowable/definition/index.vue
@@ -62,7 +62,7 @@
       <el-table-column label="娴佺▼缂栧彿" align="center" prop="deploymentId" :show-overflow-tooltip="true"/>
       <el-table-column label="娴佺▼鏍囪瘑" align="center" prop="flowKey" :show-overflow-tooltip="true" />
       <el-table-column label="娴佺▼鍒嗙被" align="center" prop="category" />
-      <el-table-column label="娴佺▼鍚嶇О" align="center" width="120" :show-overflow-tooltip="true">
+      <el-table-column label="娴佺▼鍚嶇О" align="center" width="200" :show-overflow-tooltip="true">
         <template slot-scope="scope">
           <el-button type="text" @click="handleReadImage(scope.row.deploymentId)">
             <span>{{ scope.row.name }}</span>
@@ -262,8 +262,9 @@
   data() {
     return {
       configForm: {
+        processDefId: '',
         deployId: '',
-        deployVersion: null,
+        processDefVersion: null,
         projectType: '', // 椤圭洰绫诲瀷
         fundType: '',  // 璧勯噾绫诲瀷
         investType: '',  // 鎶曡祫绫诲埆
@@ -361,22 +362,31 @@
   },
   methods: {
     closeConfig() {
+      this.configForm = {
+        processDefId: '',
+        deployId: '',
+        processDefVersion: null,
+        projectType: '', // 椤圭洰绫诲瀷
+        fundType: '',  // 璧勯噾绫诲瀷
+        investType: '',  // 鎶曡祫绫诲埆
+        importanceType: '',  // 閲嶇偣鍒嗙被
+      }
       this.processConfigShow = false
     },
     handleConfig(row) {
-      const infoArr = row.id.split(":");
 
       const params = {
-        deployId: infoArr[2],
-        deployVersion: infoArr[1]
+        processDefId: row.id,
+        processDefVersion: row.version
       }
       getProcessConfigInfoByDeploy(params).then(res => {
         if (res.data) {
           this.configForm = res.data
         }
       })
-      this.configForm.deployId = infoArr[2]
-      this.configForm.deployVersion = infoArr[1]
+      this.configForm.processDefId = row.id
+      this.configForm.deployId = row.deploymentId
+      this.configForm.processDefVersion = row.version
       this.configDeployName = row.name
       this.processConfigShow = true
     },

--
Gitblit v1.8.0