From bd5d21227a7297213a9d9186c15b581ec3262191 Mon Sep 17 00:00:00 2001 From: gssong <1742057357@qq.com> Date: Sat, 28 Dec 2024 19:35:08 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E8=B0=83=E6=95=B4=E6=B5=81=E7=A8=8B?= =?UTF-8?q?=E5=AE=9A=E4=B9=89=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/workflow/definition/index.ts | 11 +- .../workflow/processDefinition/index.vue | 218 +++++++----------- src/views/workflow/task/allTaskWaiting.vue | 3 +- 3 files changed, 90 insertions(+), 142 deletions(-) diff --git a/src/api/workflow/definition/index.ts b/src/api/workflow/definition/index.ts index 3a2ed4b..49e6ee8 100644 --- a/src/api/workflow/definition/index.ts +++ b/src/api/workflow/definition/index.ts @@ -16,14 +16,15 @@ export const listDefinition = (query: FlowDefinitionQuery): AxiosPromise { +export const unPublishList = (query: FlowDefinitionQuery): AxiosPromise => { return request({ - url: `/workflow/definition/getHisListByKey/${flowCode}`, - method: 'get' + url: `/workflow/definition/unPublishList`, + method: 'get', + params: query }); }; diff --git a/src/views/workflow/processDefinition/index.vue b/src/views/workflow/processDefinition/index.vue index aed791e..619dbb7 100644 --- a/src/views/workflow/processDefinition/index.vue +++ b/src/views/workflow/processDefinition/index.vue @@ -59,74 +59,66 @@ - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + @@ -163,55 +155,6 @@ - - - - - - - - - - - - - - - - - - - - -