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;