From 4164cb5b26f492e082470feeb6160b8d249e6903 Mon Sep 17 00:00:00 2001
From: ye1023 <12588209+ye1023@user.noreply.gitee.com>
Date: Tue, 14 Jul 2026 14:14:19 +0800
Subject: [PATCH] =?UTF-8?q?yxk-20260714=20=E6=8B=86=E5=88=86=E6=88=91?=
=?UTF-8?q?=E7=9A=84=E5=BE=85=E9=98=85=E5=B7=B2=E9=98=85=E5=B9=B6=E6=96=B0?=
=?UTF-8?q?=E5=A2=9E=E6=8A=84=E9=80=81=E8=BD=BB=E9=87=8F=E5=88=97=E8=A1=A8?=
=?UTF-8?q?=E6=8E=A5=E5=8F=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 新增抄送阅读状态支持,ext_act_task_cc 增加 isRead/readTime 映射
- 新增抄送已阅接口,校验当前用户必须为抄送接收人
- 新增我的抄送轻量列表接口 /act/process/extActTaskCc/myList
- 轻量列表以 ext_act_task_cc 为主表查询,返回业务标题、流程名称、抄送节点、发起人、抄送人、抄送时间、已阅时间等字段
- 前端拆分为我的待阅、我的已阅页面,旧我的抄送页面兼容待阅
- 前端列表切换到轻量接口,移除办理人、开始时间、结束时间、耗时等历史任务字段
- 加宽业务标题列,门户待阅预览同步调整
- 新增 Flyway 菜单迁移和抄送查询索引
---
.../ProcessPortal/components/MyWork.vue | 2 +-
.../dashboard/ProcessPortal/data/cc.data.ts | 19 ++--
.../myCcTask/CcTaskListContent.vue | 100 ++++++++++++++++++
.../myCcTask/MyReadCcTaskList.vue | 9 ++
.../myCcTask/MyUnreadCcTaskList.vue | 9 ++
.../personalOffice/myCcTask/task.cc.api.ts | 2 +-
.../personalOffice/myCcTask/task.cc.data.ts | 42 +++-----
7 files changed, 145 insertions(+), 38 deletions(-)
create mode 100644 src/views/super/bpm/process/personalOffice/myCcTask/CcTaskListContent.vue
create mode 100644 src/views/super/bpm/process/personalOffice/myCcTask/MyReadCcTaskList.vue
create mode 100644 src/views/super/bpm/process/personalOffice/myCcTask/MyUnreadCcTaskList.vue
diff --git a/src/views/dashboard/ProcessPortal/components/MyWork.vue b/src/views/dashboard/ProcessPortal/components/MyWork.vue
index ce8f914..1dc2505 100644
--- a/src/views/dashboard/ProcessPortal/components/MyWork.vue
+++ b/src/views/dashboard/ProcessPortal/components/MyWork.vue
@@ -115,7 +115,7 @@
showIndexColumn: true,
showTableSetting: false,
canResize: false,
- scroll: { x: 900 },
+ scroll: { x: 1050 },
actionColumn: { dataIndex: 'action', fixed: 'right', width: 120 },
useSearchForm: false,
},
diff --git a/src/views/dashboard/ProcessPortal/data/cc.data.ts b/src/views/dashboard/ProcessPortal/data/cc.data.ts
index 5ab5e60..4ab5398 100644
--- a/src/views/dashboard/ProcessPortal/data/cc.data.ts
+++ b/src/views/dashboard/ProcessPortal/data/cc.data.ts
@@ -4,25 +4,32 @@ export const ccColumns: BasicColumn[] = [
{
title: '业务标题',
align: 'center',
+ width: 320,
dataIndex: 'bpmBizTitle',
ellipsis: true,
},
{
- title: '任务名称',
+ title: '抄送节点',
align: 'center',
- width: 260,
+ width: 160,
dataIndex: 'taskName',
},
{
title: '发起人',
align: 'center',
- width: 160,
+ width: 120,
dataIndex: 'processApplyUserName',
},
{
- title: '办理人',
+ title: '抄送人',
align: 'center',
- width: 160,
- dataIndex: 'taskAssigneeName',
+ width: 120,
+ dataIndex: 'ccFromUserName',
+ },
+ {
+ title: '抄送时间',
+ align: 'center',
+ width: 170,
+ dataIndex: 'ccCreateTime',
},
];
diff --git a/src/views/super/bpm/process/personalOffice/myCcTask/CcTaskListContent.vue b/src/views/super/bpm/process/personalOffice/myCcTask/CcTaskListContent.vue
new file mode 100644
index 0000000..ef22ba1
--- /dev/null
+++ b/src/views/super/bpm/process/personalOffice/myCcTask/CcTaskListContent.vue
@@ -0,0 +1,100 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/super/bpm/process/personalOffice/myCcTask/MyReadCcTaskList.vue b/src/views/super/bpm/process/personalOffice/myCcTask/MyReadCcTaskList.vue
new file mode 100644
index 0000000..ddc605a
--- /dev/null
+++ b/src/views/super/bpm/process/personalOffice/myCcTask/MyReadCcTaskList.vue
@@ -0,0 +1,9 @@
+
+
+
+
+
diff --git a/src/views/super/bpm/process/personalOffice/myCcTask/MyUnreadCcTaskList.vue b/src/views/super/bpm/process/personalOffice/myCcTask/MyUnreadCcTaskList.vue
new file mode 100644
index 0000000..152a511
--- /dev/null
+++ b/src/views/super/bpm/process/personalOffice/myCcTask/MyUnreadCcTaskList.vue
@@ -0,0 +1,9 @@
+
+
+
+
+
diff --git a/src/views/super/bpm/process/personalOffice/myCcTask/task.cc.api.ts b/src/views/super/bpm/process/personalOffice/myCcTask/task.cc.api.ts
index 6bc0332..0a9cd68 100644
--- a/src/views/super/bpm/process/personalOffice/myCcTask/task.cc.api.ts
+++ b/src/views/super/bpm/process/personalOffice/myCcTask/task.cc.api.ts
@@ -1,7 +1,7 @@
import { defHttp } from '/@/utils/http/axios';
enum Api {
- list = '/act/task/taskAllCcHistoryList',
+ list = '/act/process/extActTaskCc/myList',
read = '/act/process/extActTaskCc/read',
}
diff --git a/src/views/super/bpm/process/personalOffice/myCcTask/task.cc.data.ts b/src/views/super/bpm/process/personalOffice/myCcTask/task.cc.data.ts
index 443e988..1face5f 100644
--- a/src/views/super/bpm/process/personalOffice/myCcTask/task.cc.data.ts
+++ b/src/views/super/bpm/process/personalOffice/myCcTask/task.cc.data.ts
@@ -7,53 +7,39 @@ export const columns: BasicColumn[] = [
{
title: '业务标题',
align: 'center',
+ width: 360,
dataIndex: 'bpmBizTitle',
ellipsis: true,
},
- // {
- // title: '流程编号',
- // align: 'center',
- // dataIndex: 'processDefinitionId',
- // },
{
title: '流程名称',
align: 'center',
+ width: 180,
dataIndex: 'processDefinitionName',
},
- // {
- // title: '流程实例',
- // align: 'center',
- // dataIndex: 'processInstanceId',
- // },
{
- title: '任务名称',
+ title: '抄送节点',
align: 'center',
+ width: 160,
dataIndex: 'taskName',
},
{
title: '发起人',
align: 'center',
+ width: 120,
dataIndex: 'processApplyUserName',
},
{
- title: '办理人',
+ title: '抄送人',
align: 'center',
- dataIndex: 'taskAssigneeName',
+ width: 120,
+ dataIndex: 'ccFromUserName',
},
{
- title: '开始时间',
+ title: '抄送时间',
align: 'center',
- dataIndex: 'taskBeginTime',
- },
- {
- title: '结束时间',
- align: 'center',
- dataIndex: 'taskEndTime',
- },
- {
- title: '耗时',
- align: 'center',
- dataIndex: 'durationStr',
+ width: 170,
+ dataIndex: 'ccCreateTime',
},
];
@@ -65,6 +51,7 @@ export const readColumns: BasicColumn[] = [
{
title: '已阅时间',
align: 'center',
+ width: 170,
dataIndex: 'readTime',
},
];
@@ -88,9 +75,4 @@ export const searchFormSchema: FormSchema[] = [
// field: 'processDefinitionId',
// component: 'Input',
// },
- // {
- // label: '应用ID',
- // field: 'lowAppId',
- // component: 'Input',
- // },
];