From ade0b3e29e6aa92ab5ce7ce1fef7c730ec954123 Mon Sep 17 00:00:00 2001 From: gssong <1742057357@qq.com> Date: 星期六, 16 三月 2024 22:02:45 +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 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