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 @@