@@ -106,32 +106,6 @@ const cmsChildren: RouteRecordRaw[] = [
|
||||
component: () => import("@/views/cms/PortalPreview.vue"),
|
||||
meta: { title: "门户预览", modId: 99 },
|
||||
},
|
||||
{
|
||||
// 事项库(事项库详细设计 §7.2):办事事项列表 + 编辑(modId=21 对应 UserBase app_module cms_svc_item)
|
||||
path: "svc/item",
|
||||
name: "SvcItemList",
|
||||
component: () => import("@/views/cms/ServiceItemList.vue"),
|
||||
meta: { title: "办事事项", modId: 21 },
|
||||
},
|
||||
{
|
||||
path: "svc/item/edit",
|
||||
name: "SvcItemEditNew",
|
||||
component: () => import("@/views/cms/ServiceItemEdit.vue"),
|
||||
meta: { title: "新建事项", modId: 21, subOf: "/svc/item" },
|
||||
},
|
||||
{
|
||||
path: "svc/item/edit/:id",
|
||||
name: "SvcItemEdit",
|
||||
component: () => import("@/views/cms/ServiceItemEdit.vue"),
|
||||
meta: { title: "编辑事项", modId: 21, subOf: "/svc/item" },
|
||||
},
|
||||
{
|
||||
// 服务字典(modId=22 对应 UserBase app_module cms_svc_dict)
|
||||
path: "svc/dict",
|
||||
name: "SvcDictManage",
|
||||
component: () => import("@/views/cms/ServiceDictManage.vue"),
|
||||
meta: { title: "服务字典", modId: 22 },
|
||||
},
|
||||
];
|
||||
|
||||
/** 子站形态:同一批页面,去掉 name(防重复注册告警;子站导航一律走 path 拼装) */
|
||||
@@ -186,9 +160,6 @@ export const routes: RouteRecordRaw[] = [
|
||||
{ path: "/site/setting/:id", redirect: legacyRedirect("site/setting") },
|
||||
{ path: "/theme", redirect: "/theme-manage" },
|
||||
{ path: "/portal-preview", redirect: legacyRedirect("portal-preview") },
|
||||
{ path: "/svc/item", redirect: legacyRedirect("svc/item") },
|
||||
{ path: "/svc/item/edit/:id?", redirect: legacyRedirect("svc/item/edit") },
|
||||
{ path: "/svc/dict", redirect: legacyRedirect("svc/dict") },
|
||||
{
|
||||
path: "/:pathMatch(.*)*",
|
||||
redirect: "/workbench",
|
||||
|
||||
Reference in New Issue
Block a user