From 2a1ec48b256f1900fcc45516883b209b5f0e0108 Mon Sep 17 00:00:00 2001 From: chenxing Date: Mon, 12 Oct 2026 11:25:58 +0800 Subject: [PATCH] =?UTF-8?q?feat(workbench):=20=E5=9B=9B=E9=A1=B5=E7=AD=BE?= =?UTF-8?q?=E5=8A=A0=E3=80=8C=E6=8C=89=E5=BA=94=E7=94=A8=E7=AD=9B=E9=80=89?= =?UTF-8?q?=E3=80=8D(appKey)+=E9=A1=B5=E7=AD=BE=E9=87=8D=E6=8E=92(?= =?UTF-8?q?=E6=88=91=E6=8F=90=E4=BA=A4=E7=9A=84=E2=86=923=E3=80=81?= =?UTF-8?q?=E6=8A=84=E9=80=81=E6=88=91=E7=9A=84=E2=86=924)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 列宽/展示:待办办件标题 minWidth 220→160、四页签时间列 170→190、已办意见列 ellipsis+tooltip(长意见单行截断 hover 看全文);应用管理停用态 Tag 改用 iView 默认样式(原 gray 非预设色)。应用筛选下拉数据源同流程定义页(flw_app enabled=1)。 门禁:vite build ✓;vue-tsc 本机不可用(TS 5.9.3 与 vue-tsc 1.8.27 不兼容) --- src/api/module/flow.ts | 12 +-- src/views/flow/Workbench.vue | 113 +++++++++++++++++++--------- src/views/flow/admin/AppSetting.vue | 4 +- 3 files changed, 86 insertions(+), 43 deletions(-) diff --git a/src/api/module/flow.ts b/src/api/module/flow.ts index 000bb0e..fdc0c20 100644 --- a/src/api/module/flow.ts +++ b/src/api/module/flow.ts @@ -59,20 +59,20 @@ export const TASK_STATUS_COLOR: Record = { class FlowApi { // ==================== 用户面 ==================== - /** 我的待办 */ - todo(params: { page?: number; size?: number }) { + /** 我的待办(appKey=按应用筛选,可空) */ + todo(params: { page?: number; size?: number; appKey?: string }) { return get(`${ROOT}/todo`, params); } - /** 我的已办 */ - done(params: { page?: number; size?: number }) { + /** 我的已办(appKey=按应用筛选,可空) */ + done(params: { page?: number; size?: number; appKey?: string }) { return get(`${ROOT}/done`, params); } /** 我的抄送(NOTIFY 节点落库;知会不占待办,独立页签) */ - ccMy(params: { page?: number; size?: number }) { + ccMy(params: { page?: number; size?: number; appKey?: string }) { return get(`${ROOT}/cc/my`, params); } /** 我提交的办件 */ - my(params: { status?: number; page?: number; size?: number }) { + my(params: { status?: number; page?: number; size?: number; appKey?: string }) { return get(`${ROOT}/my`, params); } /** 办件详情(提交人/办理人/本校管理员可见) */ diff --git a/src/views/flow/Workbench.vue b/src/views/flow/Workbench.vue index 65d27fc..51120d7 100644 --- a/src/views/flow/Workbench.vue +++ b/src/views/flow/Workbench.vue @@ -1,7 +1,8 @@