| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335 |
- {
- "menus": [
- {
- "id": 1,
- "parentId": 0,
- "name": "驾驶舱",
- "path": "/cockpit",
- "component": null,
- "componentName": null,
- "icon": "ep:monitor",
- "visible": true,
- "keepAlive": false,
- "alwaysShow": true,
- "order": 1,
- "children": null,
- "description": "驾驶舱/仪表板 - 组件文件: src/components/CockpitDashboard.tsx"
- },
- {
- "id": 2,
- "parentId": 0,
- "name": "系统配置",
- "path": "/system",
- "component": null,
- "componentName": null,
- "icon": "ep:tools",
- "visible": true,
- "keepAlive": false,
- "alwaysShow": true,
- "order": 2,
- "children": [
- {
- "id": 21,
- "parentId": 2,
- "name": "菜单管理",
- "path": "/system/menu",
- "component": null,
- "componentName": null,
- "icon": "ep:menu",
- "visible": true,
- "keepAlive": false,
- "alwaysShow": false,
- "order": 1,
- "children": null,
- "description": "组件文件: src/components/SystemConfig.tsx, subMenu: 菜单管理"
- },
- {
- "id": 22,
- "parentId": 2,
- "name": "部门管理",
- "path": "/system/dept",
- "component": null,
- "componentName": null,
- "icon": "fa:address-card",
- "visible": true,
- "keepAlive": false,
- "alwaysShow": false,
- "order": 2,
- "children": null,
- "description": "组件文件: src/components/DepartmentManagement.tsx, subMenu: 部门管理"
- },
- {
- "id": 23,
- "parentId": 2,
- "name": "岗位管理",
- "path": "/system/post",
- "component": null,
- "componentName": null,
- "icon": "ep:collection",
- "visible": true,
- "keepAlive": false,
- "alwaysShow": false,
- "order": 3,
- "children": null,
- "description": "组件文件: src/components/PositionManagement.tsx, subMenu: 岗位管理"
- },
- {
- "id": 24,
- "parentId": 2,
- "name": "角色管理",
- "path": "/system/role",
- "component": null,
- "componentName": null,
- "icon": "ep:user",
- "visible": true,
- "keepAlive": false,
- "alwaysShow": false,
- "order": 4,
- "children": null,
- "description": "组件文件: src/components/SystemConfig.tsx, subMenu: 角色管理"
- },
- {
- "id": 25,
- "parentId": 2,
- "name": "字典管理",
- "path": "/system/dict",
- "component": null,
- "componentName": null,
- "icon": "ep:book-open",
- "visible": true,
- "keepAlive": false,
- "alwaysShow": false,
- "order": 5,
- "children": null,
- "description": "组件文件: src/components/SystemConfig.tsx, subMenu: 字典管理"
- },
- {
- "id": 26,
- "parentId": 2,
- "name": "机柜管理",
- "path": "/system/cabinet",
- "component": null,
- "componentName": null,
- "icon": "ep:server",
- "visible": true,
- "keepAlive": false,
- "alwaysShow": false,
- "order": 6,
- "children": null,
- "description": "组件文件: src/components/SystemConfig.tsx, subMenu: 机柜管理"
- }
- ],
- "description": "系统配置 - 组件文件: src/components/SystemConfig.tsx"
- },
- {
- "id": 3,
- "parentId": 0,
- "name": "用户管理",
- "path": "/users",
- "component": null,
- "componentName": null,
- "icon": "ep:avatar",
- "visible": true,
- "keepAlive": false,
- "alwaysShow": true,
- "order": 3,
- "children": [
- {
- "id": 31,
- "parentId": 3,
- "name": "用户列表",
- "path": "/users/list",
- "component": null,
- "componentName": null,
- "icon": "ep:user",
- "visible": true,
- "keepAlive": false,
- "alwaysShow": false,
- "order": 1,
- "children": null,
- "description": "组件文件: src/components/UserManagement.tsx, subMenu: 用户列表"
- },
- {
- "id": 32,
- "parentId": 3,
- "name": "通知管理",
- "path": "/users/notification",
- "component": null,
- "componentName": null,
- "icon": "ep:bell",
- "visible": true,
- "keepAlive": false,
- "alwaysShow": false,
- "order": 2,
- "children": null,
- "description": "组件文件: src/components/UserManagement.tsx, subMenu: 通知管理"
- }
- ],
- "description": "用户管理 - 组件文件: src/components/UserManagement.tsx"
- },
- {
- "id": 4,
- "parentId": 0,
- "name": "硬件管理",
- "path": "/hw",
- "component": null,
- "componentName": null,
- "icon": "ep:briefcase",
- "visible": true,
- "keepAlive": false,
- "alwaysShow": true,
- "order": 4,
- "children": [
- {
- "id": 41,
- "parentId": 4,
- "name": "机柜",
- "path": "/hw/cabinet",
- "component": null,
- "componentName": null,
- "icon": "ep:server",
- "visible": true,
- "keepAlive": false,
- "alwaysShow": false,
- "order": 1,
- "children": null,
- "description": "组件文件: src/components/HardwareManagement.tsx, subMenu: 机柜"
- },
- {
- "id": 42,
- "parentId": 4,
- "name": "钥匙",
- "path": "/hw/key",
- "component": null,
- "componentName": null,
- "icon": "ep:lock",
- "visible": true,
- "keepAlive": false,
- "alwaysShow": false,
- "order": 2,
- "children": null,
- "description": "组件文件: src/components/HardwareManagement.tsx, subMenu: 钥匙"
- },
- {
- "id": 43,
- "parentId": 4,
- "name": "挂锁",
- "path": "/hw/lock",
- "component": null,
- "componentName": null,
- "icon": "ep:lock",
- "visible": true,
- "keepAlive": false,
- "alwaysShow": false,
- "order": 3,
- "children": null,
- "description": "组件文件: src/components/HardwareManagement.tsx, subMenu: 挂锁"
- },
- {
- "id": 44,
- "parentId": 4,
- "name": "便携式",
- "path": "/hw/portable",
- "component": null,
- "componentName": null,
- "icon": "ep:radio",
- "visible": true,
- "keepAlive": false,
- "alwaysShow": false,
- "order": 4,
- "children": null,
- "description": "组件文件: src/components/HardwareManagement.tsx, subMenu: 便携式"
- }
- ],
- "description": "硬件管理 - 组件文件: src/components/HardwareManagement.tsx"
- },
- {
- "id": 5,
- "parentId": 0,
- "name": "点位管理",
- "path": "/points",
- "component": null,
- "componentName": null,
- "icon": "ep:delete-location",
- "visible": true,
- "keepAlive": false,
- "alwaysShow": true,
- "order": 5,
- "children": null,
- "description": "点位管理 - 组件文件: src/components/LocationManagement.tsx"
- },
- {
- "id": 6,
- "parentId": 0,
- "name": "隔离作业",
- "path": "/jobTicket",
- "component": null,
- "componentName": null,
- "icon": "ep:comment",
- "visible": true,
- "keepAlive": false,
- "alwaysShow": true,
- "order": 6,
- "children": [
- {
- "id": 61,
- "parentId": 6,
- "name": "流程模板",
- "path": "/jobTicket/step",
- "component": null,
- "componentName": null,
- "icon": "ep:document-copy",
- "visible": true,
- "keepAlive": false,
- "alwaysShow": false,
- "order": 1,
- "children": null,
- "description": "组件文件: src/components/IsolationWork.tsx, subMenu: 流程模板"
- },
- {
- "id": 62,
- "parentId": 6,
- "name": "SOP管理",
- "path": "/jobTicket/sop",
- "component": null,
- "componentName": null,
- "icon": "ep:book-open",
- "visible": true,
- "keepAlive": false,
- "alwaysShow": false,
- "order": 2,
- "children": null,
- "description": "组件文件: src/components/IsolationWork.tsx, subMenu: SOP管理"
- },
- {
- "id": 63,
- "parentId": 6,
- "name": "作业管理",
- "path": "/jobTicket/job",
- "component": null,
- "componentName": null,
- "icon": "ep:activity",
- "visible": true,
- "keepAlive": false,
- "alwaysShow": false,
- "order": 3,
- "children": null,
- "description": "组件文件: src/components/IsolationWork.tsx, subMenu: 作业管理"
- }
- ],
- "description": "隔离作业 - 组件文件: src/components/IsolationWork.tsx"
- }
- ],
- "description": "React系统菜单配置 - 用于后台菜单系统导入",
- "version": "1.0",
- "lastUpdate": "2025-01-XX",
- "notes": [
- "此配置可直接导入到后台菜单系统",
- "path字段必须与配置中的值完全一致",
- "前端会自动识别多种路径格式(如 /hw 和 /hardware)",
- "description字段包含组件文件路径和subMenu参数值,仅供参考",
- "visible字段控制菜单是否显示,true表示显示,false表示隐藏",
- "order字段控制菜单显示顺序,数字越小越靠前"
- ]
- }
|