From 803d44cac00adf8a6f924d1e188e7df1dcd89674 Mon Sep 17 00:00:00 2001 From: gssong <1742057357@qq.com> Date: 星期四, 07 三月 2024 22:16:42 +0800 Subject: [PATCH] add 添加转办 --- src/api/workflow/task/index.ts | 20 +++++++++++++++++--- 1 files changed, 17 insertions(+), 3 deletions(-) diff --git a/src/api/workflow/task/index.ts b/src/api/workflow/task/index.ts index fbeca0e..7b496c0 100644 --- a/src/api/workflow/task/index.ts +++ b/src/api/workflow/task/index.ts @@ -130,13 +130,13 @@ }; /** - * 鑾峰彇娴佺▼鐘舵�� + * 鑾峰彇褰撳墠浠诲姟 * @param taskId * @returns */ -export const getBusinessStatus = (taskId: string) => { +export const getTaskById = (taskId: string) => { return request({ - url: '/workflow/task/getBusinessStatus/' + taskId, + url: '/workflow/task/getTaskById/' + taskId, method: 'get' }); }; @@ -179,3 +179,17 @@ method: 'put' }); }; + +/** + * 杞姙浠诲姟 + * @param taskIds + * @param userId + * @returns + */ +export const transferTask = (data: object) => { + return request({ + url: `/workflow/task/transferTask`, + method: 'post', + data: data + }); +}; -- Gitblit v1.9.3