diff --git a/src/views/bpm/model/ModelImportForm.vue b/src/views/bpm/model/ModelImportForm.vue index 6b53d322..ac26ac08 100644 --- a/src/views/bpm/model/ModelImportForm.vue +++ b/src/views/bpm/model/ModelImportForm.vue @@ -1,153 +1,137 @@ - diff --git a/src/views/bpm/model/index.vue b/src/views/bpm/model/index.vue index 471a00fe..cd744986 100644 --- a/src/views/bpm/model/index.vue +++ b/src/views/bpm/model/index.vue @@ -52,7 +52,7 @@ > 新建流程 - + 导入流程 @@ -196,9 +196,12 @@ /> - + + + + @@ -222,6 +225,7 @@ import { dateFormatter, formatDate } from '@/utils/formatTime' import * as ModelApi from '@/api/bpm/model' import * as FormApi from '@/api/bpm/form' import ModelForm from './ModelForm.vue' +import ModelImportForm from '@/views/bpm/model/ModelImportForm.vue' import { setConfAndFields2 } from '@/utils/formCreate' const message = useMessage() // 消息弹窗 const { t } = useI18n() // 国际化 @@ -269,6 +273,12 @@ const openForm = (type: string, id?: number) => { formRef.value.open(type, id) } +/** 添加/修改操作 */ +const importFormRef = ref() +const openImportForm = () => { + importFormRef.value.open() +} + /** 删除按钮操作 */ const handleDelete = async (id: number) => { try {