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 | 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 03265e1..aabdd15 100644 --- a/src/api/workflow/task/index.ts +++ b/src/api/workflow/task/index.ts @@ -192,3 +192,26 @@ data: data }); }; + +/** + * 缁堟浠诲姟 + * @returns + */ +export const terminationTask = (data: any) => { + return request({ + url: `/workflow/task/terminationTask`, + method: 'post', + data: data + }); +}; + +/** + * 鏌ヨ娴佺▼鍙橀噺 + * @returns + */ +export const getInstanceVariable = (taskId: string) => { + return request({ + url: `/workflow/task/getInstanceVariable/${taskId}`, + method: 'get' + }); +}; -- Gitblit v1.9.3