From 328ecfc895f43669b4651bc09ca5c2f7c6f0cba6 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期二, 14 一月 2025 17:53:48 +0800 Subject: [PATCH] 办理的流程图查看回显颜色 --- src/views/flowable/task/myProcess/send/index.vue | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/flowable/task/myProcess/send/index.vue b/src/views/flowable/task/myProcess/send/index.vue index 4dfb7be..dc0243c 100644 --- a/src/views/flowable/task/myProcess/send/index.vue +++ b/src/views/flowable/task/myProcess/send/index.vue @@ -54,7 +54,7 @@ </el-tab-pane> <!--娴佺▼鍥�--> <el-tab-pane label="娴佺▼鍥�" name="2"> - <bpmn-viewer :flowData="flowData"/> + <bpmn-viewer :flowData="flowData" :procInsId="procInsId"/> </el-tab-pane> </el-tabs> <!--閫夋嫨娴佺▼鎺ユ敹浜�--> @@ -228,6 +228,7 @@ loading: true, deployId: "", // 娴佺▼瀹氫箟缂栧彿 procDefId: "", // 娴佺▼瀹炰緥缂栧彿 + procInsId: "", // 娴佺▼瀹炰緥缂栧彿 formRenderData: {}, formRenderDataList: [], variables: [], // 娴佺▼鍙橀噺鏁版嵁 @@ -255,6 +256,7 @@ this.flowName = this.$route.query && this.$route.query.flowName; // 鍒濆鍖栬〃鍗� this.procDefId = this.$route.query && this.$route.query.procDefId; + this.procInsId = this.$route.query && this.$route.query.procInsId; this.goBackParams = this.$route.query && this.$route.query.goBackParams; // this.getNextFlowNodeByStart(this.deployId); this.getFlowFormData(this.taskId); @@ -444,7 +446,7 @@ }, handleClick(tab, event) { if (tab.name === '2'){ - flowXmlAndNode({deployId:this.deployId}).then(res => { + flowXmlAndNode({procInsId:this.procInsId,deployId:this.deployId}).then(res => { this.flowData = res.data; }) } -- Gitblit v1.8.0