!248 【工作流】流程实例的任务节点回退

Merge pull request !248 from Youkehai/master
This commit is contained in:
芋道源码
2023-09-24 07:18:26 +00:00
committed by Gitee
5 changed files with 160 additions and 2 deletions

View File

@ -41,3 +41,19 @@ export const getTaskListByProcessInstanceId = async (processInstanceId) => {
export const exportTask = async (params) => {
return await request.download({ url: '/bpm/task/export', params })
}
/**
* 获取所有可回退的节点
* @param params
*/
export const getReturnList = async (params) => {
return await request.get({ url: '/bpm/task/get-return-list', params })
}
/**
* 确认回退
* @param params
*/
export const okRollback = async (data) => {
return await request.put({ url: '/bpm/task/rollback', data })
}