From 5cb040b560b0c04bdf3fd5d7bbe660fc886a0261 Mon Sep 17 00:00:00 2001 From: yinq Date: Thu, 21 May 2026 14:47:58 +0800 Subject: [PATCH] =?UTF-8?q?1.1.51=20=E6=88=91=E7=9A=84=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=E6=B7=BB=E5=8A=A0=E6=A3=80=E7=B4=A2=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6=E3=80=81=E4=BC=98=E5=8C=96=E5=88=97=E5=AE=BD=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/workflow/instance/types.ts | 2 + src/api/workflow/task/types.ts | 2 + src/views/workflow/task/myDocument.vue | 96 +++++++++++++---- src/views/workflow/task/taskCopyList.vue | 105 ++++++++++++++----- src/views/workflow/task/taskFinish.vue | 128 +++++++++++++++++------ src/views/workflow/task/taskWaiting.vue | 116 ++++++++++++++------ 6 files changed, 336 insertions(+), 113 deletions(-) diff --git a/src/api/workflow/instance/types.ts b/src/api/workflow/instance/types.ts index 7cb7f97..3a337ba 100644 --- a/src/api/workflow/instance/types.ts +++ b/src/api/workflow/instance/types.ts @@ -7,6 +7,8 @@ export interface FlowInstanceQuery extends PageQuery { flowName?: string; createByIds?: string[] | number[]; businessId?: string; + businessCode?: string; + businessTitle?: string; } export interface FlowInstanceVO extends BaseEntity { diff --git a/src/api/workflow/task/types.ts b/src/api/workflow/task/types.ts index e3c9abf..3950b5d 100644 --- a/src/api/workflow/task/types.ts +++ b/src/api/workflow/task/types.ts @@ -2,6 +2,8 @@ export interface TaskQuery extends PageQuery { nodeName?: string; flowCode?: string; flowName?: string; + businessCode?: string; + businessTitle?: string; createByIds?: string[] | number[]; } diff --git a/src/views/workflow/task/myDocument.vue b/src/views/workflow/task/myDocument.vue index 18f3c39..957b23c 100644 --- a/src/views/workflow/task/myDocument.vue +++ b/src/views/workflow/task/myDocument.vue @@ -23,14 +23,30 @@
- - - - - - 搜索 - 重置 - + + + + + + + + + + + + + + + + + + + + 搜索 + 重置 + + +
@@ -38,33 +54,56 @@ - + - - - - + + + + + + - + - + - - + + @@ -134,11 +171,26 @@ const categoryOptions = ref([]); const categoryName = ref(''); const tab = ref('running'); + +const columns = ref([ + { key: 0, label: '业务编码', visible: true }, + { key: 1, label: '业务标题', visible: true }, + { key: 2, label: '流程定义名称', visible: true }, + { key: 3, label: '流程定义编码', visible: false }, + { key: 4, label: '流程分类', visible: false }, + { key: 5, label: '版本号', visible: false }, + { key: 6, label: '状态', visible: true }, + { key: 7, label: '流程状态', visible: true }, + { key: 8, label: '启动时间', visible: true } +]); + // 查询参数 const queryParams = ref({ pageNum: 1, pageSize: 10, - flowCode: undefined, + flowName: undefined, + businessCode: undefined, + businessTitle: undefined, category: undefined }); diff --git a/src/views/workflow/task/taskCopyList.vue b/src/views/workflow/task/taskCopyList.vue index f66d098..574ca12 100644 --- a/src/views/workflow/task/taskCopyList.vue +++ b/src/views/workflow/task/taskCopyList.vue @@ -3,20 +3,37 @@
- - - - - - - - - - - - 搜索 - 重置 - + + + + + + + + + + + + + + + + + + + + + + + + + + + 搜索 + 重置 + + +
@@ -24,28 +41,48 @@ - - - - - - + + + + + + - - + + - + @@ -64,7 +101,7 @@