From d67cc4ded39cda64d21d8f55f083ac7ac6bfe7f9 Mon Sep 17 00:00:00 2001 From: gssong <1742057357@qq.com> Date: Sun, 8 Dec 2024 15:32:47 +0800 Subject: [PATCH] =?UTF-8?q?add=20=E6=B7=BB=E5=8A=A0=E4=BD=9C=E5=BA=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/workflow/processInstance/index.ts | 12 ++++++++ src/views/workflow/processInstance/index.vue | 14 ++++----- src/views/workflow/task/myDocument.vue | 30 +++++++++++--------- 3 files changed, 36 insertions(+), 20 deletions(-) diff --git a/src/api/workflow/processInstance/index.ts b/src/api/workflow/processInstance/index.ts index cd8a7e5..b82c829 100644 --- a/src/api/workflow/processInstance/index.ts +++ b/src/api/workflow/processInstance/index.ts @@ -87,6 +87,18 @@ export const deleteByInstanceIds = (instanceIds: Array | string method: 'delete' }); }; +/** + * 作废流程 + * @param data 参数 + * @returns + */ +export const processInvalid = (data: any) => { + return request({ + url: `/workflow/processInstance/processInvalid`, + method: 'post', + data: data + }); +}; export default { getPageByRunning, diff --git a/src/views/workflow/processInstance/index.vue b/src/views/workflow/processInstance/index.vue index e4e96fb..d0098e2 100644 --- a/src/views/workflow/processInstance/index.vue +++ b/src/views/workflow/processInstance/index.vue @@ -92,12 +92,12 @@ 确认 - 删除 + 删除 @@ -158,7 +158,7 @@