From d0da7d67c703fb879a06e4ec397b491a8490a5b1 Mon Sep 17 00:00:00 2001 From: lizhixian <18210040298@163.com> Date: Wed, 12 Feb 2025 10:20:15 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B5=81=E7=A8=8B=E5=8F=91=E5=B8=83?= =?UTF-8?q?=E6=A0=A1=E9=AA=8C=E6=98=AF=E5=90=A6=E5=AD=98=E5=9C=A8=E8=BF=9B?= =?UTF-8?q?=E8=A1=8C=E4=B8=AD=E7=9A=84=E5=8D=95=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/bpm/model/CategoryDraggableModel.vue | 7 +++---- src/views/bpm/model/form/index.vue | 3 +-- 2 files changed, 4 insertions(+), 6 deletions(-) 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 + } }) //流程数据