兰宝车间质量管理系统-前端
LiuHao
2024-03-18 1c0e614d7da8f62ac52080a60b364f419c0d6795
src/components/BpmnDesign/panel/index.vue
@@ -11,6 +11,7 @@
import StartEndPanel from './StartEndPanel.vue';
import GatewayPanel from './GatewayPanel.vue';
import SequenceFlowPanel from './SequenceFlowPanel.vue';
import ParticipantPanel from './ParticipantPanel.vue';
import { Modeler, ModdleElement } from 'bpmn';
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
interface propsType {
@@ -45,6 +46,7 @@
  if (sequenceType.includes(type)) return SequenceFlowPanel;
  if (gatewayType.includes(type)) return GatewayPanel;
  if (processType.includes(type)) return ProcessPanel;
  if (type === 'bpmn:Participant') return ParticipantPanel;
  //return proxy?.$modal.msgWarning('面板开发中....');
});