| | |
| | | import SequenceFlowPanel from './SequenceFlowPanel.vue'; |
| | | import ParticipantPanel from './ParticipantPanel.vue'; |
| | | import SubProcessPanel from './SubProcessPanel.vue'; |
| | | import { Modeler, ModdleElement } from 'bpmn'; |
| | | import type { Modeler, ModdleElement } from 'bpmn'; |
| | | const { proxy } = getCurrentInstance() as ComponentInternalInstance; |
| | | interface propsType { |
| | | modeler: Modeler; |
| | |
| | | if (type === 'bpmn:Participant') return ParticipantPanel; |
| | | if (type === 'bpmn:SubProcess') return SubProcessPanel; |
| | | //return proxy?.$modal.msgWarning('面板开发中....'); |
| | | return undefined; |
| | | }); |
| | | |
| | | const nodeName = computed(() => { |
| | |
| | | const type = bizObj?.eventDefinitions && bizObj?.eventDefinitions.length > 0 ? bizObj.eventDefinitions[0].$type : bizObj.$type; |
| | | return NodeName[type] || type; |
| | | } |
| | | return ''; |
| | | }); |
| | | |
| | | const handleModeler = () => { |