From e10ef5028818d07bb6ebb6d4f0e76778c8f4113e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?= <15040126243@163.com> Date: Fri, 29 Aug 2025 17:37:45 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BF=AE=E5=A4=8D=20=E8=B7=AF=E7=94=B1?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E7=BC=93=E5=AD=98=E5=AF=BC=E8=87=B4=E5=88=86?= =?UTF-8?q?=E9=A1=B5=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/workflow/definition/types.ts | 3 +++ src/views/workflow/processDefinition/index.vue | 2 ++ 2 files changed, 5 insertions(+) diff --git a/src/api/workflow/definition/types.ts b/src/api/workflow/definition/types.ts index 5de7f77..93d081e 100644 --- a/src/api/workflow/definition/types.ts +++ b/src/api/workflow/definition/types.ts @@ -22,7 +22,10 @@ export interface FlowDefinitionForm { flowName: string; flowCode: string; category: string; + ext: string; formPath: string; + formCustom: string; + modelValue: string; } export interface definitionXmlVO { diff --git a/src/views/workflow/processDefinition/index.vue b/src/views/workflow/processDefinition/index.vue index db7fb92..f6f2ff3 100644 --- a/src/views/workflow/processDefinition/index.vue +++ b/src/views/workflow/processDefinition/index.vue @@ -353,6 +353,7 @@ const getPageList = async () => { const query = proxy.$route.query; if (query.activeName) { activeName.value = query.activeName; + proxy.$route.query.activeName = ''; } if (activeName.value === '0') { getList(); @@ -526,6 +527,7 @@ const handleSubmit = async () => { await edit(form.value).finally(() => (loading.value = false)); } else { await add(form.value).finally(() => (loading.value = false)); + activeName.value = '1'; } proxy?.$modal.msgSuccess('操作成功'); modelDialog.visible = false;