From b8eb2dcb401e9dcb1dc3e68be223cc597b6679f4 Mon Sep 17 00:00:00 2001 From: LiuHao Date: Fri, 8 Mar 2024 15:00:01 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=A2=9E=E5=8A=A0=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/workflow/processInstance/index.ts | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/src/api/workflow/processInstance/index.ts b/src/api/workflow/processInstance/index.ts index 869245e..9a417c1 100644 --- a/src/api/workflow/processInstance/index.ts +++ b/src/api/workflow/processInstance/index.ts @@ -41,9 +41,9 @@ export const getHistoryImage = (processInstanceId: string) => { /** * 通过流程实例id获取历史流程图运行中,历史等节点 */ -export const getHistoryList = (processInstanceId: string) => { +export const getHistoryList = (instanceId: string) => { return request({ - url: `/workflow/processInstance/getHistoryList/${processInstanceId}` + '?t' + Math.random(), + url: `/workflow/processInstance/getHistoryList/${instanceId}` + '?t' + Math.random(), method: 'get' }); }; @@ -121,3 +121,16 @@ export const cancelProcessApply = (processInstanceId: string) => { method: 'post' }); }; + +export default { + getPageByRunning, + getPageByFinish, + getHistoryImage, + getHistoryList, + getHistoryRecord, + deleteRunInstance, + deleteRunAndHisInstance, + deleteFinishAndHisInstance, + getPageByCurrent, + cancelProcessApply +};