diff --git a/src/components/bpmnProcessDesigner/package/designer/ProcessViewer.vue b/src/components/bpmnProcessDesigner/package/designer/ProcessViewer.vue index 97a163e0..ad1c0993 100644 --- a/src/components/bpmnProcessDesigner/package/designer/ProcessViewer.vue +++ b/src/components/bpmnProcessDesigner/package/designer/ProcessViewer.vue @@ -10,6 +10,7 @@ import BpmnViewer from 'bpmn-js/lib/Viewer' import DefaultEmptyXML from './plugins/defaultEmpty' import { DICT_TYPE, getIntDictOptions } from '@/utils/dict' +import { formatDate } from '@/utils/formatTime' const props = defineProps({ value: { // BPMN XML 字符串 diff --git a/src/views/bpm/processInstance/detail.vue b/src/views/bpm/processInstance/detail.vue index 61e09680..190e5073 100644 --- a/src/views/bpm/processInstance/detail.vue +++ b/src/views/bpm/processInstance/detail.vue @@ -203,6 +203,7 @@ import { setConfAndFields2 } from '@/utils/formCreate' // import { OptionAttrs } from '@form-create/element-ui/types/config' import type { ApiAttrs } from '@form-create/element-ui/types/config' import { useUserStore } from '@/store/modules/user' +import { MyProcessViewer } from '@/components/bpmnProcessDesigner/package' const { query } = useRoute() // 查询参数 const message = useMessage() // 消息弹窗