From 7d215db3332a3aaf8da08db00660cd8c52e6dcce Mon Sep 17 00:00:00 2001 From: xxm1995 Date: Tue, 14 Mar 2023 20:26:39 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E6=B5=81=E7=A8=8B=E5=9B=BE=E8=AE=BE?= =?UTF-8?q?=E8=AE=A1=E5=99=A8=E4=B8=8D=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/components/Bpmn/ProcessViewer.vue | 76 ++++++++------ src/views/modules/bpm/model/BpmModeler.vue | 16 +-- .../bpm/model/node/BpmModelNodeEdit.vue | 4 +- yarn.lock | 98 +++++++++++-------- 5 files changed, 117 insertions(+), 79 deletions(-) diff --git a/package.json b/package.json index e0c9beb9e..0d61832dd 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "@zxcvbn-ts/core": "^2.0.1", "ant-design-vue": "^3.2.15", "axios": "^0.26.1", - "bpmn-js": "^10.3.0", + "bpmn-js": "^11.5.0", "codemirror": "^5.65.3", "cron-parser": "^4.6.0", "cropperjs": "^1.5.12", diff --git a/src/components/Bpmn/ProcessViewer.vue b/src/components/Bpmn/ProcessViewer.vue index a20528c1b..10cc1deb4 100644 --- a/src/components/Bpmn/ProcessViewer.vue +++ b/src/components/Bpmn/ProcessViewer.vue @@ -3,18 +3,18 @@
- - - - - - - - - - - - + + + + + + + + + + + + + \n\n \n \n Flow_1sb4bbn\n \n \n \n Flow_1sb4bbn\n Flow_0c60bsu\n \n \n \n ${nextNode == \'dlb\'}\n \n \n ${nextNode == \'xlb\'}\n \n \n \n Flow_0b404pf\n Flow_1vlmw9l\n Flow_1xiiwtx\n \n \n \n Flow_0c60bsu\n Flow_1l7upty\n Flow_06lyv1u\n \n \n \n Flow_1tsxjyl\n \n \n \n Flow_1l7upty\n Flow_0b404pf\n \n \n Flow_06lyv1u\n Flow_1vlmw9l\n \n \n Flow_1xiiwtx\n Flow_1tsxjyl\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n', remark: '', }) + + let visible = $ref(false) + + function init(id, isView: boolean) { + visible = true + } + defineExpose({ + init, + }) diff --git a/src/views/modules/bpm/model/node/BpmModelNodeEdit.vue b/src/views/modules/bpm/model/node/BpmModelNodeEdit.vue index 53f96b599..9bbfeee05 100644 --- a/src/views/modules/bpm/model/node/BpmModelNodeEdit.vue +++ b/src/views/modules/bpm/model/node/BpmModelNodeEdit.vue @@ -70,13 +70,13 @@