diff --git a/src/views/bpm/model/CategoryDraggableModel.vue b/src/views/bpm/model/CategoryDraggableModel.vue index ed99b712..2d79365f 100644 --- a/src/views/bpm/model/CategoryDraggableModel.vue +++ b/src/views/bpm/model/CategoryDraggableModel.vue @@ -159,7 +159,7 @@ @@ -590,14 +590,13 @@ const handleDeleteCategory = async () => { /** 添加流程模型弹窗 */ const tagsView = useTagsView() -const openModelForm = async (type: string, id?: number, processDefinitionId?: any) => { +const openModelForm = async (type: string, id?: number) => { if (type === 'create') { await push({ name: 'BpmModelCreate' }) } else { - const params = processDefinitionId ? { id, type, processDefinitionId } : { id, type } await push({ name: 'BpmModelUpdate', - params: params + params: { id, type } }) // 设置标题 if (type === 'copy') { diff --git a/src/views/bpm/model/form/index.vue b/src/views/bpm/model/form/index.vue index 8787ed0c..7833d629 100644 --- a/src/views/bpm/model/form/index.vue +++ b/src/views/bpm/model/form/index.vue @@ -162,8 +162,7 @@ const formData: any = ref({ summarySetting: { enable: false, summary: [] - }, - processDefinitionId: undefined + } }) //流程数据