update 优化任务监听器
This commit is contained in:
parent
0dde4e5bdf
commit
28ecb30ee7
@ -79,6 +79,7 @@ import { Element } from 'bpmn';
|
|||||||
|
|
||||||
import usePanel from '@/components/BpmnDesign/hooks/usePanel';
|
import usePanel from '@/components/BpmnDesign/hooks/usePanel';
|
||||||
import useDialog from '@/hooks/useDialog';
|
import useDialog from '@/hooks/useDialog';
|
||||||
|
import useModelerStore from '@/store/modules/modeler';
|
||||||
|
|
||||||
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
|
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
|
||||||
|
|
||||||
@ -91,9 +92,11 @@ const selectRow = ref<TaskListenerVO | null>();
|
|||||||
const formDialog = useDialog({
|
const formDialog = useDialog({
|
||||||
title: selectRow.value ? '编辑&保存' : '新增&保存'
|
title: selectRow.value ? '编辑&保存' : '新增&保存'
|
||||||
});
|
});
|
||||||
const { showConfig, elementType, updateProperties, moddle } = usePanel({
|
const { showConfig, elementType, updateProperties } = usePanel({
|
||||||
element: toRaw(props.element)
|
element: toRaw(props.element)
|
||||||
});
|
});
|
||||||
|
const { getModdle } = useModelerStore();
|
||||||
|
const moddle = getModdle();
|
||||||
|
|
||||||
const listenerParamRef = ref<InstanceType<typeof ListenerParam>>();
|
const listenerParamRef = ref<InstanceType<typeof ListenerParam>>();
|
||||||
const tableRef = ref<VxeTableInstance<TaskListenerVO>>();
|
const tableRef = ref<VxeTableInstance<TaskListenerVO>>();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user