feat(m9): add subscription report config (localStorage MVP)

This commit is contained in:
2026-05-25 15:05:18 +08:00
parent 1cef437fb3
commit 250c5cbfeb
4 changed files with 129 additions and 0 deletions
@@ -136,6 +136,7 @@ const menuItems = [
{ path: "/devices", icon: "🖥️", label: "设备管理", roles: ["SYS_ADMIN","SALES","DELIVERY"] },
{ path: "/todos", icon: "🔔", label: "待办中心", roles: ["SYS_ADMIN","SALES","LICENSE_OPS"] },
{ path: "/reports/contract-sn", icon: "📊", label: "报表中心", roles: ["SYS_ADMIN"] },
{ path: "/reports/subscriptions", icon: "📧", label: "报表订阅", roles: ["SYS_ADMIN"] },
];
const visibleMenu = computed(() => menuItems.filter(m => auth.hasAnyRole(m.roles)));