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

(cherry picked from commit 5cfb67d047)
This commit is contained in:
kehaiyou 2023-10-21 18:16:39 +08:00 committed by shizhong
parent 16aba063d1
commit 6bffc7991f

View File

@ -63,19 +63,19 @@ export const delegateTask = async (data) => {
* *
*/ */
export const taskAddSign = 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) => { 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) => { 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 })
} }