From fdc661f5091d50aa4b0106437366ca218fbb1d7b Mon Sep 17 00:00:00 2001 From: chenxing Date: Mon, 12 Oct 2026 10:13:31 +0800 Subject: [PATCH] =?UTF-8?q?feat(workbench):=20=E6=88=91=E7=9A=84=E5=8A=9E?= =?UTF-8?q?=E4=BB=B6=E5=B9=B6=E5=85=A5=E5=B7=A5=E4=BD=9C=E5=8F=B0=E4=B8=BA?= =?UTF-8?q?=E3=80=8C=E6=88=91=E6=8F=90=E4=BA=A4=E7=9A=84=E3=80=8D=E9=A1=B5?= =?UTF-8?q?=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Workbench.vue 新增第4个页签「我提交的」,迁移原 MyInstances 列表(状态筛选/业务类型/详情·撤回·催办),惰性加载,默认页签仍为我的待办 - 删除独立路由 /my (modId 101) 及 MyInstances.vue - 提示:UserBase 侧 app_module 的 modId=101(我的办件)需另行清理 --- src/router/routes.ts | 8 +-- src/views/flow/MyInstances.vue | 91 ---------------------------------- src/views/flow/Workbench.vue | 82 ++++++++++++++++++++++++++++-- 3 files changed, 78 insertions(+), 103 deletions(-) delete mode 100644 src/views/flow/MyInstances.vue diff --git a/src/router/routes.ts b/src/router/routes.ts index 0878a1c..d716782 100644 --- a/src/router/routes.ts +++ b/src/router/routes.ts @@ -9,7 +9,7 @@ import type { RouteRecordRaw } from "vue-router"; * 办理页 /task/:taskId 为 UserMsg jumpPath 落地页(不挂菜单)。 *

* 详情/深链页(不挂菜单)通过 meta.parentId 关联父级菜单(UserBase 同款范式):左侧菜单保持 - * 父级高亮、面包屑补全"父页>本页"。同一详情页可能被多个列表进入(如办件详情既可从"我的办件" + * 父级高亮、面包屑补全"父页>本页"。同一详情页可能被多个列表进入(如办件详情既可从"我提交的" * 也可从"办件记录"),此时列表页跳转带 ?pid=<父菜单modId> 动态覆盖 meta.parentId 静态默认。 */ const routes: RouteRecordRaw[] = [ @@ -19,12 +19,6 @@ const routes: RouteRecordRaw[] = [ component: () => import("@/views/flow/Workbench.vue"), meta: { title: "工作台", modId: 100 }, }, - { - path: "/my", - name: "flow_my", - component: () => import("@/views/flow/MyInstances.vue"), - meta: { title: "我的办件", modId: 101 }, - }, { path: "/task/:taskId", name: "flow_task_handle", diff --git a/src/views/flow/MyInstances.vue b/src/views/flow/MyInstances.vue deleted file mode 100644 index 20d5d36..0000000 --- a/src/views/flow/MyInstances.vue +++ /dev/null @@ -1,91 +0,0 @@ - - - diff --git a/src/views/flow/Workbench.vue b/src/views/flow/Workbench.vue index dec4433..8e7d2c3 100644 --- a/src/views/flow/Workbench.vue +++ b/src/views/flow/Workbench.vue @@ -1,22 +1,25 @@ @@ -96,6 +156,7 @@ function switchTab(name: string) { +

@@ -107,6 +168,17 @@ function switchTab(name: string) {
+
+
+ +
+ +