From e8d5b9f4113bbf99fa706db992cc9719d10fe0bd Mon Sep 17 00:00:00 2001
From: wangting <wangting@vci-tech.com>
Date: 星期三, 15 一月 2025 16:52:29 +0800
Subject: [PATCH] 流程图显示

---
 Source/plt-web/plt-web-ui/src/views/processTemplate/customDefine/index.vue |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/Source/plt-web/plt-web-ui/src/views/processTemplate/customDefine/index.vue b/Source/plt-web/plt-web-ui/src/views/processTemplate/customDefine/index.vue
index c0ed872..5e25bd7 100644
--- a/Source/plt-web/plt-web-ui/src/views/processTemplate/customDefine/index.vue
+++ b/Source/plt-web/plt-web-ui/src/views/processTemplate/customDefine/index.vue
@@ -98,10 +98,14 @@
         <!-- 瀵煎叆   -->
         <upload-file ref="upload" :fileType="upFileType" :fileUrl="fileUrl" :tipList="tipList" title="瀵煎叆娴佺▼妯℃澘"
                      @updata="getTableList"></upload-file>
+
       </el-aside>
 
       <el-main width="60%">
-        <div style="height: 100%;background-color: #eeeeea">璁捐鍣�</div>
+        <div style="height: 100%;position: relative;">
+          <flow-design style="padding-top: 5px" :is-display.sync="flowBox" :process-definition-id="processDefinitionId" height="calc(100vh - 190px)"></flow-design>
+          <div style="position: absolute;top:0;left: 0;height: 100%;width: 100%"></div>
+        </div>
       </el-main>
     </el-container>
   </basic-container>
@@ -131,7 +135,9 @@
       tipList:[],
       dialogLoading:false,
       dialogVisible:false,
-      dialogType:'add'
+      dialogType:'add',
+      processDefinitionId: '',
+      flowBox: false,
     }
   },
   computed: {
@@ -286,6 +292,9 @@
           this.selectionList = [row];
         }
       );
+      //鏄剧ず娴佺▼鍥�
+      this.processDefinitionId = row.id;
+      this.flowBox = true;
     },
 
     // 瀵煎嚭

--
Gitblit v1.9.3