diff --git a/src/api/bpm/task/index.ts b/src/api/bpm/task/index.ts index e6478d31..d8be8025 100644 --- a/src/api/bpm/task/index.ts +++ b/src/api/bpm/task/index.ts @@ -48,6 +48,13 @@ export const getReturnList = async (params) => { } // 回退 -export const returnTask = async (data) => { - return await request.put({ url: '/bpm/task/return', data }) +export const okRollback = async (data) => { + return await request.put({ url: '/bpm/task/rollback', data }) +} + +/** + * 委派 + */ +export const delegateTask = async (data) => { + return await request.put({ url: '/bpm/task/delegate', data }) } diff --git a/src/views/bpm/processInstance/detail.vue b/src/views/bpm/processInstance/detail.vue index f524017b..32b36026 100644 --- a/src/views/bpm/processInstance/detail.vue +++ b/src/views/bpm/processInstance/detail.vue @@ -192,6 +192,8 @@ + +