From 7904496df115c8df9b757c4c6ee2cb698dd79098 Mon Sep 17 00:00:00 2001 From: zl <11656279+xbbzjsj@user.noreply.gitee.com> Date: 星期四, 06 六月 2024 16:53:59 +0800 Subject: [PATCH] 层级错误,且element-plus按需引入不用配置tsconfig.json --- src/api/workflow/task/index.ts | 36 ++++++++++++++++++++++++++++++++++++ 1 files changed, 36 insertions(+), 0 deletions(-) diff --git a/src/api/workflow/task/index.ts b/src/api/workflow/task/index.ts index 07b183d..d29de30 100644 --- a/src/api/workflow/task/index.ts +++ b/src/api/workflow/task/index.ts @@ -226,3 +226,39 @@ method: 'get' }); }; + +/** + * 濮旀墭浠诲姟 + * @returns + */ +export const delegateTask = (data: any) => { + return request({ + url: `/workflow/task/delegateTask`, + method: 'post', + data: data + }); +}; + +/** + * 鏌ヨ宸ヤ綔娴佷换鍔$敤鎴烽�夋嫨鍔犵浜哄憳 + * @param taskId + * @returns {*} + */ +export const getTaskUserIdsByAddMultiInstance = (taskId: string) => { + return request({ + url: '/workflow/task/getTaskUserIdsByAddMultiInstance/' + taskId, + method: 'get' + }); +}; + +/** + * 鏌ヨ宸ヤ綔娴侀�夋嫨鍑忕浜哄憳 + * @param taskId + * @returns {*} + */ +export const getListByDeleteMultiInstance = (taskId: string) => { + return request({ + url: '/workflow/task/getListByDeleteMultiInstance/' + taskId, + method: 'get' + }); +}; -- Gitblit v1.9.3