From 2c7488871281a942fb7274d5f67b555887dde9af Mon Sep 17 00:00:00 2001 From: shizhong <124974919@qq.com> Date: Tue, 26 Sep 2023 19:56:57 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E3=80=90=E5=B7=A5=E4=BD=9C=E6=B5=81?= =?UTF-8?q?=E3=80=91--=E5=A7=94=E6=B4=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/bpm/task/index.ts | 11 ++- src/views/bpm/processInstance/detail.vue | 12 ++- .../detail/TaskDelegateForm.vue | 86 +++++++++++++++++++ 3 files changed, 104 insertions(+), 5 deletions(-) create mode 100644 src/views/bpm/processInstance/detail/TaskDelegateForm.vue 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 @@ + +