feat(workbench): 我的办件并入工作台为「我提交的」页签
build / build (push) Successful in 1m58s

- Workbench.vue 新增第4个页签「我提交的」,迁移原 MyInstances 列表(状态筛选/业务类型/详情·撤回·催办),惰性加载,默认页签仍为我的待办
- 删除独立路由 /my (modId 101) 及 MyInstances.vue
- 提示:UserBase 侧 app_module 的 modId=101(我的办件)需另行清理
This commit is contained in:
chenxing
2026-10-12 10:13:31 +08:00
parent ff1c50931a
commit fdc661f509
3 changed files with 78 additions and 103 deletions
+1 -7
View File
@@ -9,7 +9,7 @@ import type { RouteRecordRaw } from "vue-router";
* 办理页 /task/:taskId 为 UserMsg jumpPath 落地页(不挂菜单)。
* <p>
* 详情/深链页(不挂菜单)通过 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",