From 3c27c188890b96fe2f96c8f8008e48c637ec6cc7 Mon Sep 17 00:00:00 2001 From: gssong <1742057357@qq.com> Date: 星期六, 09 三月 2024 13:41:20 +0800 Subject: [PATCH] add 添加查看流程变量 --- src/api/workflow/task/index.ts | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/src/api/workflow/task/index.ts b/src/api/workflow/task/index.ts index 6c4538f..aabdd15 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,14 @@ data: data }); }; + +/** + * 鏌ヨ娴佺▼鍙橀噺 + * @returns + */ +export const getInstanceVariable = (taskId: string) => { + return request({ + url: `/workflow/task/getInstanceVariable/${taskId}`, + method: 'get' + }); +}; -- Gitblit v1.9.3