!290 【工作流】--加签减签review修改接口地址

Merge pull request !290 from Youkehai/feature/addSignAndSubSign
This commit is contained in:
芋道源码 2023-10-21 13:06:19 +00:00 committed by Gitee
commit 73578ce8b2
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -63,19 +63,19 @@ export const delegateTask = async (data) => {
*
*/
export const taskAddSign = async (data) => {
return await request.put({ url: '/bpm/task/add-sign', data })
return await request.put({ url: '/bpm/task/create-sign', data })
}
/**
*
*/
export const getChildrenTaskList = async (id: string) => {
return await request.get({ url: '/bpm/task/get-children-task-list?taskId=' + id })
return await request.get({ url: '/bpm/task/children-list?taskId=' + id })
}
/**
*
*/
export const taskSubSign = async (data) => {
return await request.put({ url: '/bpm/task/sub-sign', data })
return await request.delete({ url: '/bpm/task/delete-sign', data })
}