diff --git a/src/router/routes.ts b/src/router/routes.ts index 7b3a018..c0f168b 100644 --- a/src/router/routes.ts +++ b/src/router/routes.ts @@ -1,8 +1,11 @@ import type { RouteRecordRaw } from "vue-router"; /** - * 流程中心路由(概览 §9.4)。菜单本地路由不接 UserBase app_module(独立登录态应用), - * modId 为本应用内部约定(FlowBaseController.MENUS 同源维护)。 + * 流程中心路由。菜单自 2026-09-15 起改由 UserBase app_module 下发(与 Notice/svc-hall/事项库一致, + * 层级经 BoaModule.children 承载),本表仍是路由的唯一来源,两处需保持对齐: + * ① path 必须与 app_module.path 逐字一致(layout 优先按 path 匹配菜单高亮,modId 仅兜底); + * ② meta.modId = 对应 app_module.custom_id(后端 FlowBaseController 取 custom_id 作 modId)。 + * 数据/授权维护见 UserBase 侧「模块管理」与 flow-center接入UserBase菜单.sql。 * 办理页 /task/:taskId 为 UserMsg jumpPath 落地页(不挂菜单)。 */ const routes: RouteRecordRaw[] = [