From 346863a8a9808284c7c0c0001398e0e44a2c9b59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B0=B4=E4=BA=BA?= <417693680@qq.com> Date: Sat, 16 Dec 2023 00:00:14 +0000 Subject: [PATCH 1/3] =?UTF-8?q?update=20src/api/bpm/task/index.ts.=20?= =?UTF-8?q?=E5=90=8E=E5=8F=B0=E6=8E=A5=E5=8F=A3=E5=9C=B0=E5=9D=80=E6=98=AF?= =?UTF-8?q?return-list=EF=BC=8C=E5=89=8D=E5=8F=B0=E5=86=99=E6=88=90?= =?UTF-8?q?=E4=BA=86get-return-list?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 水人 <417693680@qq.com> --- src/api/bpm/task/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/bpm/task/index.ts b/src/api/bpm/task/index.ts index 7b599509..df6d8160 100644 --- a/src/api/bpm/task/index.ts +++ b/src/api/bpm/task/index.ts @@ -44,7 +44,7 @@ export const exportTask = async (params) => { // 获取所有可回退的节点 export const getReturnList = async (params) => { - return await request.get({ url: '/bpm/task/get-return-list', params }) + return await request.get({ url: '/bpm/task/return-list', params }) } // 回退 From 81d84877bc55a4fa9004f29433cf3307eda0cda1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B0=B4=E4=BA=BA?= <417693680@qq.com> Date: Thu, 4 Jan 2024 07:17:02 +0000 Subject: [PATCH 2/3] =?UTF-8?q?update=20src/views/bpm/model/ModelForm.vue.?= =?UTF-8?q?=20=E5=88=9B=E5=BB=BA=E7=9A=84=E6=98=AF=E7=94=A8=E8=B7=AF?= =?UTF-8?q?=E7=94=B1=E5=9C=B0=E5=9D=80=EF=BC=8C=E4=BD=86=E9=82=A3=E4=B8=AA?= =?UTF-8?q?=E8=A1=A8=E5=8D=95=E6=9F=A5=E7=9C=8B=E7=9A=84=E6=98=AFVUE?= =?UTF-8?q?=E6=BA=90=E7=A0=81=E7=9A=84=E7=BB=84=E4=BB=B6=E5=9C=B0=E5=9D=80?= =?UTF-8?q?=EF=BC=8C=E4=B8=8D=E6=98=AF=E8=B7=AF=E7=94=B1=E3=80=82=E7=BB=99?= =?UTF-8?q?=E6=88=91=E9=80=A0=E6=88=90=E4=BA=86=E5=BE=88=E5=A4=A7=E7=9A=84?= =?UTF-8?q?=E5=9B=B0=E6=89=B0~?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 水人 <417693680@qq.com> --- src/views/bpm/model/ModelForm.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/bpm/model/ModelForm.vue b/src/views/bpm/model/ModelForm.vue index 0bd54091..15935e18 100644 --- a/src/views/bpm/model/ModelForm.vue +++ b/src/views/bpm/model/ModelForm.vue @@ -96,17 +96,17 @@ From 2c9393702d0b3c7c308f0ecf932c103bb9483693 Mon Sep 17 00:00:00 2001 From: kyle <573984425@qq.com> Date: Wed, 17 Jan 2024 09:40:05 +0800 Subject: [PATCH 3/3] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E6=B5=81?= =?UTF-8?q?=E7=A8=8B=E6=8A=84=E9=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/bpm/processInstance/index.ts | 29 +++ .../detail/TaskCCDialogForm.vue | 242 ++++++++++++++++++ src/views/bpm/task/cc/index.vue | 134 ++++++++++ src/views/bpm/task/todo/index.vue | 9 + 4 files changed, 414 insertions(+) create mode 100644 src/views/bpm/processInstance/detail/TaskCCDialogForm.vue create mode 100644 src/views/bpm/task/cc/index.vue diff --git a/src/api/bpm/processInstance/index.ts b/src/api/bpm/processInstance/index.ts index 10cd3bc8..a937eae2 100644 --- a/src/api/bpm/processInstance/index.ts +++ b/src/api/bpm/processInstance/index.ts @@ -20,6 +20,17 @@ export type ProcessInstanceVO = { endTime: string } +export type ProcessInstanceCCVO = { + type: number, + taskName: string, + taskKey: string, + processInstanceName: string, + processInstanceKey: string, + startUserId: string, + options:string [], + reason: string +} + export const getMyProcessInstancePage = async (params) => { return await request.get({ url: '/bpm/process-instance/my-page', params }) } @@ -39,3 +50,21 @@ export const cancelProcessInstance = async (id: number, reason: string) => { export const getProcessInstance = async (id: number) => { return await request.get({ url: '/bpm/process-instance/get?id=' + id }) } + +/** + * 抄送 + * @param data 抄送数据 + * @returns 是否抄送成功 + */ +export const createProcessInstanceCC = async (data) => { + return await request.post({ url: '/bpm/process-instance/cc/create', data: data }) +} + +/** + * 抄送列表 + * @param params + * @returns + */ +export const getProcessInstanceCCPage = async (params) => { + return await request.get({ url: '/bpm/process-instance/cc/my-page', params }) +} \ No newline at end of file diff --git a/src/views/bpm/processInstance/detail/TaskCCDialogForm.vue b/src/views/bpm/processInstance/detail/TaskCCDialogForm.vue new file mode 100644 index 00000000..72be3150 --- /dev/null +++ b/src/views/bpm/processInstance/detail/TaskCCDialogForm.vue @@ -0,0 +1,242 @@ + + diff --git a/src/views/bpm/task/cc/index.vue b/src/views/bpm/task/cc/index.vue new file mode 100644 index 00000000..b3852209 --- /dev/null +++ b/src/views/bpm/task/cc/index.vue @@ -0,0 +1,134 @@ + + diff --git a/src/views/bpm/task/todo/index.vue b/src/views/bpm/task/todo/index.vue index c8876887..b281d949 100644 --- a/src/views/bpm/task/todo/index.vue +++ b/src/views/bpm/task/todo/index.vue @@ -64,6 +64,7 @@ @@ -74,12 +75,14 @@ :total="total" @pagination="getList" /> +