From d186c800f041e1f9c7e9ca8356544ce41f9673e2 Mon Sep 17 00:00:00 2001 From: gssong <1742057357@qq.com> Date: 星期五, 22 三月 2024 23:42:30 +0800 Subject: [PATCH] add 添加流程实例,全部待办表单查看 --- src/api/workflow/task/index.ts | 34 ++++++++++++++++++++++++++++++++++ 1 files changed, 34 insertions(+), 0 deletions(-) diff --git a/src/api/workflow/task/index.ts b/src/api/workflow/task/index.ts index 03265e1..07b183d 100644 --- a/src/api/workflow/task/index.ts +++ b/src/api/workflow/task/index.ts @@ -192,3 +192,37 @@ 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' + }); +}; + +/** + * 鑾峰彇鍙┏鍥炲緱浠诲姟鑺傜偣 + * @returns + */ +export const getTaskNodeList = (processInstanceId: string) => { + return request({ + url: `/workflow/task/getTaskNodeList/${processInstanceId}`, + method: 'get' + }); +}; -- Gitblit v1.9.3