From 2c9daae15362e9c759324e10abffe4f5c111523f Mon Sep 17 00:00:00 2001
From: 疯狂的狮子Li <15040126243@163.com>
Date: 星期五, 31 五月 2024 11:25:03 +0800
Subject: [PATCH] update 更改 工作流 测试用例接口路径

---
 src/api/workflow/processInstance/index.ts |   17 +++++++++++++++--
 1 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/src/api/workflow/processInstance/index.ts b/src/api/workflow/processInstance/index.ts
index 869245e..80f122f 100644
--- a/src/api/workflow/processInstance/index.ts
+++ b/src/api/workflow/processInstance/index.ts
@@ -41,9 +41,9 @@
 /**
  * 閫氳繃娴佺▼瀹炰緥id鑾峰彇鍘嗗彶娴佺▼鍥捐繍琛屼腑锛屽巻鍙茬瓑鑺傜偣
  */
-export const getHistoryList = (processInstanceId: string) => {
+export const getHistoryList = (instanceId: string): AxiosPromise<Record<string, any>> => {
   return request({
-    url: `/workflow/processInstance/getHistoryList/${processInstanceId}` + '?t' + Math.random(),
+    url: `/workflow/processInstance/getHistoryList/${instanceId}` + '?t' + Math.random(),
     method: 'get'
   });
 };
@@ -121,3 +121,16 @@
     method: 'post'
   });
 };
+
+export default {
+  getPageByRunning,
+  getPageByFinish,
+  getHistoryImage,
+  getHistoryList,
+  getHistoryRecord,
+  deleteRunInstance,
+  deleteRunAndHisInstance,
+  deleteFinishAndHisInstance,
+  getPageByCurrent,
+  cancelProcessApply
+};

--
Gitblit v1.9.3