{ "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字段控制菜单显示顺序,数字越小越靠前" ] }