mirror of
https://github.com/hpd840321/craftlabs-authorization-sdk.git
synced 2026-06-09 01:50:30 +08:00
feat(web): add M7/M8/M9 sidebar menu entries
This commit is contained in:
@@ -85,6 +85,9 @@ const menuItems = [
|
||||
{ path: "/callbacks", icon: "📨", label: "Callback 收件箱", roles: ["SYS_ADMIN","OPS"] },
|
||||
{ path: "/integration/environments", icon: "🌐", label: "集成环境", roles: ["SYS_ADMIN","DEVELOPER","OPS"] },
|
||||
{ path: "/integration/product-lines", icon: "📱", label: "产品线", roles: ["SYS_ADMIN","DEVELOPER","OPS"] },
|
||||
{ path: "/devices", icon: "🖥️", label: "设备管理", roles: ["SYS_ADMIN","DEVELOPER"] },
|
||||
{ path: "/todos", icon: "🔔", label: "待办中心", roles: ["SYS_ADMIN","DEVELOPER","OPS"] },
|
||||
{ path: "/reports/contract-sn", icon: "📊", label: "报表中心", roles: ["SYS_ADMIN"] },
|
||||
];
|
||||
|
||||
const visibleMenu = computed(() => menuItems.filter(m => auth.hasAnyRole(m.roles)));
|
||||
@@ -104,6 +107,10 @@ const breadcrumbLabels = {
|
||||
"/callbacks": "Callback 收件箱",
|
||||
"/integration": "集成配置",
|
||||
"/license-compare": "许可证管理",
|
||||
"/devices": "设备管理",
|
||||
"/todos": "待办中心",
|
||||
"/notifications": "通知配置",
|
||||
"/reports": "报表中心",
|
||||
};
|
||||
|
||||
const breadcrumb = computed(() => {
|
||||
|
||||
Reference in New Issue
Block a user