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

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

No files matched your search

+16
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 })
}