UNPKG

workflow-bpmn-modeler-antdv

Version:

基于 `vue` 和 `bpmn.io@7.0` ,实现 flowable 的 modeler 模型设计器 Antdv版

36 lines (34 loc) 1 kB
import executionListener from '../components/nodePanel/property/executionListener' import { message } from 'ant-design-vue' export default { components: { executionListener }, data() { return { executionListenerVisible:false, executionListenerLength: 0, dialogName: null } }, methods: { computedExecutionListenerLength() { this.executionListenerLength = this.element.businessObject.extensionElements?.values?.length ?? 0 }, getExecutionListenerLength() { return this.element.businessObject.extensionElements?.values?.length ?? 0 }, handleExecutionListener(){ var flag = this.$refs.executionListener.closeDialog(); if (flag){ this.computedExecutionListenerLength() this.executionListenerVisible = false; } else { message.error("请补充信息") } }, handleShowExecutionListener() { this.executionListenerVisible = true; } } }