From b0087d1a50b45c64669f15bd0996f858cb46b086 Mon Sep 17 00:00:00 2001 From: gssong <1742057357@qq.com> Date: 星期一, 01 四月 2024 20:59:52 +0800 Subject: [PATCH] #I96DTG update 类型下拉框和java类名下拉框没有联动 --- 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