From ad8565d29aae8b8333b8615e7db76643df234cde Mon Sep 17 00:00:00 2001 From: gssong <1742057357@qq.com> Date: 星期四, 21 三月 2024 21:49:34 +0800 Subject: [PATCH] update 调整我的发起,流程定义按钮 --- src/api/workflow/task/index.ts | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/src/api/workflow/task/index.ts b/src/api/workflow/task/index.ts index 6c4538f..07b183d 100644 --- a/src/api/workflow/task/index.ts +++ b/src/api/workflow/task/index.ts @@ -192,6 +192,7 @@ data: data }); }; + /** * 缁堟浠诲姟 * @returns @@ -203,3 +204,25 @@ data: data }); }; + +/** + * 鏌ヨ娴佺▼鍙橀噺 + * @returns + */ +export const getInstanceVariable = (taskId: string) => { + return request({ + url: `/workflow/task/getInstanceVariable/${taskId}`, + method: 'get' + }); +}; + +/** + * 鑾峰彇鍙┏鍥炲緱浠诲姟鑺傜偣 + * @returns + */ +export const getTaskNodeList = (processInstanceId: string) => { + return request({ + url: `/workflow/task/getTaskNodeList/${processInstanceId}`, + method: 'get' + }); +}; -- Gitblit v1.9.3