Files
FastapiAdmin/backend/app/scripts/data/system_menu.json
T
zhangtao 9d426b2e4c feat: 新增配置中心功能并优化系统配置管理
refactor: 重构配置管理相关代码,包括模型、参数和CRUD操作
docs: 更新README文档中的图片引用
style: 统一前端表格样式和布局,优化暗色模式背景色
fix: 修复日志记录中用户信息泄露问题
perf: 优化前端路由和组件性能
chore: 更新依赖和脚本文件
```

这个提交消息涵盖了以下主要变更:
1. 新增了配置中心功能模块
2. 重构了后端配置管理相关代码
3. 更新了文档中的图片引用
4. 统一了前端表格样式
5. 修复了安全相关问题
6. 优化了前端性能
7. 更新了项目依赖

消息遵循了约定的提交格式,每个类型都准确地描述了变更的性质,并保持了简洁性。
2025-06-02 22:35:45 +08:00

1243 lines
26 KiB
JSON

[
{
"id": 1,
"name": "仪表盘",
"type": 1,
"icon": "DashboardOutlined",
"order": 1,
"permission": "",
"route_name": "Dashboard",
"route_path": "/dashboard",
"component_path": null,
"parent_id": null,
"available": true,
"cache": true,
"hidden": false,
"redirect": "/dashboard/workplace",
"description": "初始化数据"
},
{
"id": 2,
"name": "工作台",
"type": 2,
"icon": "",
"order": 1,
"permission": "dashboard:workplace:query",
"route_name": "Workplace",
"route_path": "/dashboard/workplace",
"component_path": "dashboard/workplace",
"parent_id": 1,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 3,
"name": "系统管理",
"type": 1,
"icon": "SettingOutlined",
"order": 2,
"permission": null,
"route_name": "System",
"route_path": "/system",
"component_path": null,
"parent_id": null,
"available": true,
"cache": true,
"hidden": false,
"redirect": "/system/menu",
"description": "初始化数据"
},
{
"id": 4,
"name": "菜单管理",
"type": 2,
"icon": null,
"order": 1,
"permission": "system:menu:query",
"route_name": "Menu",
"route_path": "/system/menu",
"component_path": "system/menu/index",
"parent_id": 3,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 5,
"name": "部门管理",
"type": 2,
"icon": null,
"order": 2,
"permission": "system:dept:query",
"route_name": "Dept",
"route_path": "/system/dept",
"component_path": "system/dept/index",
"parent_id": 3,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 6,
"name": "岗位管理",
"type": 2,
"icon": null,
"order": 3,
"permission": "system:position:query",
"route_name": "Position",
"route_path": "/system/position",
"component_path": "system/position/index",
"parent_id": 3,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 7,
"name": "角色管理",
"type": 2,
"icon": null,
"order": 4,
"permission": "system:role:query",
"route_name": "Role",
"route_path": "/system/role",
"component_path": "system/role/index",
"parent_id": 3,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 8,
"name": "用户管理",
"type": 2,
"icon": null,
"order": 5,
"permission": "system:user:query",
"route_name": "User",
"route_path": "/system/user",
"component_path": "system/user/index",
"parent_id": 3,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 9,
"name": "日志管理",
"type": 2,
"icon": null,
"order": 6,
"permission": "system:log:query",
"route_name": "Log",
"route_path": "/system/log",
"component_path": "system/log/index",
"parent_id": 3,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 10,
"name": "创建菜单",
"type": 3,
"icon": null,
"order": 1,
"permission": "system:menu:create",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 4,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 11,
"name": "修改菜单",
"type": 3,
"icon": null,
"order": 2,
"permission": "system:menu:update",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 4,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 12,
"name": "删除菜单",
"type": 3,
"icon": null,
"order": 3,
"permission": "system:menu:delete",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 4,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 13,
"name": "批量修改菜单状态",
"type": 3,
"icon": null,
"order": 4,
"permission": "system:menu:patch",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 4,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 14,
"name": "创建部门",
"type": 3,
"icon": null,
"order": 1,
"permission": "system:dept:create",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 5,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 15,
"name": "修改部门",
"type": 3,
"icon": null,
"order": 2,
"permission": "system:dept:update",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 5,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 16,
"name": "删除部门",
"type": 3,
"icon": null,
"order": 3,
"permission": "system:dept:delete",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 5,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 17,
"name": "批量修改部门状态",
"type": 3,
"icon": null,
"order": 4,
"permission": "system:dept:patch",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 5,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 18,
"name": "创建岗位",
"type": 3,
"icon": null,
"order": 1,
"permission": "system:position:create",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 6,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 19,
"name": "修改岗位",
"type": 3,
"icon": null,
"order": 2,
"permission": "system:position:update",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 6,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 20,
"name": "删除岗位",
"type": 3,
"icon": null,
"order": 3,
"permission": "system:position:delete",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 6,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 21,
"name": "批量修改岗位状态",
"type": 3,
"icon": null,
"order": 4,
"permission": "system:position:patch",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 6,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 22,
"name": "岗位导出",
"type": 3,
"icon": null,
"order": 5,
"permission": "system:position:export",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 6,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 23,
"name": "创建角色",
"type": 3,
"icon": null,
"order": 1,
"permission": "system:role:create",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 7,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 24,
"name": "修改角色",
"type": 3,
"icon": null,
"order": 2,
"permission": "system:role:update",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 7,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 25,
"name": "删除角色",
"type": 3,
"icon": null,
"order": 3,
"permission": "system:role:delete",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 7,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 26,
"name": "批量修改角色状态",
"type": 3,
"icon": null,
"order": 4,
"permission": "system:role:patch",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 7,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 27,
"name": "设置角色权限",
"type": 3,
"icon": null,
"order": 5,
"permission": "system:role:permission",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 7,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 28,
"name": "角色导出",
"type": 3,
"icon": null,
"order": 6,
"permission": "system:role:export",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 7,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 29,
"name": "创建用户",
"type": 3,
"icon": null,
"order": 1,
"permission": "system:user:create",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 8,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 30,
"name": "修改用户",
"type": 3,
"icon": null,
"order": 2,
"permission": "system:user:update",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 8,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 31,
"name": "删除用户",
"type": 3,
"icon": null,
"order": 3,
"permission": "system:user:delete",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 8,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 32,
"name": "批量修改用户状态",
"type": 3,
"icon": null,
"order": 4,
"permission": "system:user:patch",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 8,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 33,
"name": "导出用户",
"type": 3,
"icon": null,
"order": 5,
"permission": "system:user:export",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 8,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 34,
"name": "导入用户",
"type": 3,
"icon": null,
"order": 6,
"permission": "system:user:import",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 8,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 35,
"name": "日志删除",
"type": 3,
"icon": null,
"order": 1,
"permission": "system:operation_log:delete",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 9,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 36,
"name": "日志导出",
"type": 3,
"icon": null,
"order": 2,
"permission": "system:operation_log:export",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 9,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 37,
"name": "监控管理",
"type": 1,
"icon": "MonitorOutlined",
"order": 3,
"permission": null,
"route_name": "Monitor",
"route_path": "/monitor",
"component_path": null,
"parent_id": null,
"available": true,
"cache": true,
"hidden": false,
"redirect": "/monitor/online",
"description": "初始化数据"
},
{
"id": 38,
"name": "在线用户",
"type": 2,
"icon": null,
"order": 1,
"permission": "monitor:online:query",
"route_name": "MonitorOnline",
"route_path": "/monitor/online",
"component_path": "monitor/online/index",
"parent_id": 37,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 39,
"name": "在线用户强制下线",
"type": 3,
"icon": null,
"order": 1,
"permission": "monitor:online:delete",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 38,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 40,
"name": "服务器监控",
"type": 2,
"icon": null,
"order": 2,
"permission": "monitor:server:query",
"route_name": "MonitorServer",
"route_path": "/monitor/server",
"component_path": "monitor/server/index",
"parent_id": 37,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 41,
"name": "缓存监控",
"type": 2,
"icon": null,
"order": 3,
"permission": "monitor:cache:query",
"route_name": "MonitorCache",
"route_path": "/monitor/cache",
"component_path": "monitor/cache/index",
"parent_id": 37,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 42,
"name": "清除缓存",
"type": 3,
"icon": null,
"order": 1,
"permission": "monitor:cache:delete",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 41,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 43,
"name": "公共模块",
"type": 1,
"icon": "ApiOutlined",
"order": 4,
"permission": null,
"route_name": "Common",
"route_path": "/common",
"component_path": null,
"parent_id": null,
"available": true,
"cache": true,
"hidden": false,
"redirect": "/common/docs",
"description": "初始化数据"
},
{
"id": 44,
"name": "接口管理",
"type": 2,
"icon": null,
"order": 1,
"permission": "common:docs:query",
"route_name": "Docs",
"route_path": "/common/docs",
"component_path": "common/docs/index",
"parent_id": 43,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 45,
"name": "文档管理",
"type": 2,
"icon": null,
"order": 2,
"permission": "common:redoc:query",
"route_name": "Redoc",
"route_path": "/common/redoc",
"component_path": "common/redoc/index",
"parent_id": 43,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 46,
"name": "公告管理",
"type": 2,
"icon": null,
"order": 7,
"permission": "system:notice:query",
"route_name": "Notice",
"route_path": "/system/notice",
"component_path": "system/notice/index",
"parent_id": 3,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 47,
"name": "公告创建",
"type": 3,
"icon": null,
"order": 1,
"permission": "system:notice:create",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 44,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 48,
"name": "公告修改",
"type": 3,
"icon": null,
"order": 2,
"permission": "system:notice:update",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 46,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 49,
"name": "公告删除",
"type": 3,
"icon": null,
"order": 3,
"permission": "system:notice:delete",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 46,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 50,
"name": "公告导出",
"type": 3,
"icon": null,
"order": 4,
"permission": "system:notice:export",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 46,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 51,
"name": "公告批量修改状态",
"type": 3,
"icon": null,
"order": 5,
"permission": "system:notice:patch",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 46,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 52,
"name": "配置管理",
"type": 2,
"icon": null,
"order": 8,
"permission": "system:config:query",
"route_name": "Config",
"route_path": "/system/config",
"component_path": "system/config/index",
"parent_id": 3,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 53,
"name": "创建配置",
"type": 3,
"icon": null,
"order": 1,
"permission": "system:config:create",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 52,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 54,
"name": "修改配置",
"type": 3,
"icon": null,
"order": 2,
"permission": "system:config:update",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 52,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 55,
"name": "删除配置",
"type": 3,
"icon": null,
"order": 3,
"permission": "system:config:delete",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 52,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 56,
"name": "导出配置",
"type": 3,
"icon": null,
"order": 4,
"permission": "system:config:export",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 52,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 57,
"name": "配置上传",
"type": 3,
"icon": null,
"order": 5,
"permission": "system:config:upload",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 52,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 58,
"name": "字典管理",
"type": 2,
"icon": null,
"order": 9,
"permission": "system:dict_type:query",
"route_name": "Dict",
"route_path": "/system/dict",
"component_path": "system/dict/index",
"parent_id": 3,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 59,
"name": "创建字典类型",
"type": 3,
"icon": null,
"order": 1,
"permission": "system:dict_type:create",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 58,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 60,
"name": "修改字典类型",
"type": 3,
"icon": null,
"order": 2,
"permission": "system:dict_type:update",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 58,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 61,
"name": "删除字典类型",
"type": 3,
"icon": null,
"order": 3,
"permission": "system:dict_type:delete",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 58,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 62,
"name": "导出字典类型",
"type": 3,
"icon": null,
"order": 4,
"permission": "system:dict_type:export",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 58,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 63,
"name": "字典数据",
"type": 2,
"icon": null,
"order": 10,
"permission": "system:dict_data:query",
"route_name": "DictData",
"route_path": "/system/dict_data",
"component_path": "system/dict/data",
"parent_id": 3,
"available": true,
"cache": true,
"hidden": true,
"redirect": null,
"description": "初始化数据"
},
{
"id": 64,
"name": "创建字典数据",
"type": 3,
"icon": null,
"order": 1,
"permission": "system:dict_data:create",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 63,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 65,
"name": "修改字典数据",
"type": 3,
"icon": null,
"order": 2,
"permission": "system:dict_data:update",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 63,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 66,
"name": "删除字典数据",
"type": 3,
"icon": null,
"order": 3,
"permission": "system:dict_data:delete",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 63,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 67,
"name": "导出字典数据",
"type": 3,
"icon": null,
"order": 4,
"permission": "system:dict_data:export",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 63,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 68,
"name": "任务管理",
"type": 2,
"icon": null,
"order": 11,
"permission": "system:job:query",
"route_name": "Job",
"route_path": "/system/job",
"component_path": "system/job/index",
"parent_id": 3,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 69,
"name": "创建任务",
"type": 3,
"icon": null,
"order": 1,
"permission": "system:job:create",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 68,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 70,
"name": "修改和操作任务",
"type": 3,
"icon": null,
"order": 2,
"permission": "system:job:update",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 68,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 71,
"name": "删除和清除任务",
"type": 3,
"icon": null,
"order": 3,
"permission": "system:job:delete",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 68,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 72,
"name": "导出定时任务",
"type": 3,
"icon": null,
"order": 4,
"permission": "system:job:export",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 68,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 73,
"name": "分析页",
"type": 2,
"icon": "",
"order": 2,
"permission": "dashboard:analysis:query",
"route_name": "Analysis",
"route_path": "/dashboard/analysis",
"component_path": "dashboard/analysis",
"parent_id": 1,
"available": true,
"cache": true,
"hidden": false,
"redirect": null,
"description": "初始化数据"
}
]