From 31f4219f3d7fc041ba6ec2d11084e7e0f61ffdb8 Mon Sep 17 00:00:00 2001 From: songgaoshuai <1742057357@qq.com> Date: 星期五, 22 三月 2024 11:32:58 +0800 Subject: [PATCH] fix修复已办参数传错 --- src/components/BpmnView/index.vue | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/src/components/BpmnView/index.vue b/src/components/BpmnView/index.vue index 75a89cd..08ce1c5 100644 --- a/src/components/BpmnView/index.vue +++ b/src/components/BpmnView/index.vue @@ -38,7 +38,6 @@ import ZoomScrollModule from 'diagram-js/lib/navigation/zoomscroll'; import { ModuleDeclaration } from 'didi'; import { Canvas, ModdleElement } from 'bpmn'; -import defaultXML from '@/components/BpmnDesign/assets/defaultXML'; import EventBus from 'diagram-js/lib/core/EventBus'; import Overlays from 'diagram-js/lib/features/overlays/Overlays'; import processApi from '@/api/workflow/processInstance/index'; @@ -146,10 +145,8 @@ //閫掑綊涓婅壊 const bpmnNodeList = (flowElements, canvas) => { flowElements.forEach((n) => { - console.log(n); if (n.$type === 'bpmn:UserTask') { const completeTask = taskList.value.find((m) => m.key === n.id); - console.log(completeTask); if (completeTask) { canvas.addMarker(n.id, completeTask.completed ? 'highlight' : 'highlight-todo'); n.outgoing?.forEach((nn) => { @@ -212,7 +209,6 @@ if (completeTask) { canvas.addMarker(nn.id, 'highlight'); canvas.addMarker(n.id, 'highlight'); - // return; } }); } @@ -293,7 +289,7 @@ } } .bpmn-el-container { - height: 500px; + height: calc(100vh - 350px); } .flow-containers { width: 100%; -- Gitblit v1.9.3