From f0cdee8e9a5a18e0f76327fa6e85945903168dbb Mon Sep 17 00:00:00 2001 From: shizhong <124974919@qq.com> Date: Tue, 5 Mar 2024 16:31:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E3=80=90=E5=B7=A5=E4=BD=9C=E6=B5=81?= =?UTF-8?q?=E3=80=91--=E5=8A=A0=E7=AD=BE=E5=87=8F=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/bpm/task/index.ts | 21 ++++ .../package/designer/ProcessViewer.vue | 9 +- src/utils/is.ts | 3 + src/views/bpm/processInstance/detail.vue | 90 +++++++++++++---- .../ProcessInstanceChildrenTaskList.vue | 86 ++++++++++++++++ .../detail/TaskAddSignDialogForm.vue | 97 +++++++++++++++++++ .../detail/TaskSubSignDialogForm.vue | 85 ++++++++++++++++ 7 files changed, 370 insertions(+), 21 deletions(-) create mode 100644 src/views/bpm/processInstance/detail/ProcessInstanceChildrenTaskList.vue create mode 100644 src/views/bpm/processInstance/detail/TaskAddSignDialogForm.vue create mode 100644 src/views/bpm/processInstance/detail/TaskSubSignDialogForm.vue diff --git a/src/api/bpm/task/index.ts b/src/api/bpm/task/index.ts index d8be8025..8ba46d6a 100644 --- a/src/api/bpm/task/index.ts +++ b/src/api/bpm/task/index.ts @@ -58,3 +58,24 @@ export const okRollback = async (data) => { export const delegateTask = async (data) => { return await request.put({ url: '/bpm/task/delegate', data }) } + +/** + * 加签 + */ +export const taskAddSign = async (data) => { + return await request.put({ url: '/bpm/task/add-sign', data }) +} + +/** + * 获取减签任务列表 + */ +export const getSubSignTaskList = async (id: string) => { + return await request.get({ url: '/bpm/task/get-sub-sign?taskId=' + id }) +} + +/** + * 减签 + */ +export const taskSubSign = async (data) => { + return await request.put({ url: '/bpm/task/sub-sign', data }) +} diff --git a/src/components/bpmnProcessDesigner/package/designer/ProcessViewer.vue b/src/components/bpmnProcessDesigner/package/designer/ProcessViewer.vue index e2cd4679..a315c26f 100644 --- a/src/components/bpmnProcessDesigner/package/designer/ProcessViewer.vue +++ b/src/components/bpmnProcessDesigner/package/designer/ProcessViewer.vue @@ -1,3 +1,4 @@ +