feat(api/workflow): 添加查询当前用户待办和抄送任务数量的接口

- 新增 countTaskWaitByCurrentUser 函数,用于查询当前用户的待办任务数量
- 新增 countTaskCopyByCurrentUser 函数,用于查询当前用户的抄送任务数量
master
zangchenhao 3 weeks ago
parent 84ed34d2d0
commit 28ca9a9bf6

@ -191,3 +191,25 @@ export const getNextNodeList = (data: any): any => {
data: data
});
};
/**
*
* @returns {Promise}
*/
export const countTaskWaitByCurrentUser = (): AxiosPromise<number> => {
return request({
url: '/workflow/task/countTaskWaitByCurrentUser',
method: 'get'
});
};
/**
*
* @returns {Promise}
*/
export const countTaskCopyByCurrentUser = (): AxiosPromise<number> => {
return request({
url: '/workflow/task/countTaskCopyByCurrentUser',
method: 'get'
});
};

Loading…
Cancel
Save