feat(menu): 重构菜单模块,添加路由显示、标题和参数字段

refactor(auth): 简化注册和忘记密码表单,移除手机号等冗余字段

fix(layout): 移除冗余的div包裹层,优化路由视图渲染

chore(deps): 更新后端依赖,添加click并调整typer版本

style(config): 清理注释并优化环境变量类型定义

docs(main): 修正注释拼写错误并移除无用注释

perf(menu): 更新菜单模型和类型定义,添加新字段支持

test(menu): 更新菜单初始化数据,补充新增字段值
This commit is contained in:
zhangtao
2025-06-29 22:17:06 +08:00
parent ec4338deca
commit 4150a39713
16 changed files with 1040 additions and 653 deletions
+292 -73
View File
@@ -11,8 +11,11 @@
"component_path": null,
"parent_id": null,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "仪表盘",
"parmas": null,
"redirect": "/dashboard/workplace",
"description": "初始化数据"
},
@@ -28,8 +31,11 @@
"component_path": "dashboard/workplace",
"parent_id": 1,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "工作台",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -45,8 +51,11 @@
"component_path": null,
"parent_id": null,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "系统管理",
"parmas": null,
"redirect": "/system/menu",
"description": "初始化数据"
},
@@ -62,8 +71,11 @@
"component_path": "system/menu/index",
"parent_id": 3,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "菜单管理",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -79,7 +91,10 @@
"component_path": "system/dept/index",
"parent_id": 3,
"available": true,
"cache": true,
"keep_alive": true,
"always_show": true,
"title": "部门管理",
"parmas": null,
"hidden": false,
"redirect": null,
"description": "初始化数据"
@@ -96,7 +111,10 @@
"component_path": "system/position/index",
"parent_id": 3,
"available": true,
"cache": true,
"keep_alive": true,
"always_show": true,
"title": "岗位管理",
"parmas": null,
"hidden": false,
"redirect": null,
"description": "初始化数据"
@@ -113,8 +131,11 @@
"component_path": "system/role/index",
"parent_id": 3,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "角色管理",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -130,8 +151,11 @@
"component_path": "system/user/index",
"parent_id": 3,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "用户管理",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -147,8 +171,11 @@
"component_path": "system/log/index",
"parent_id": 3,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "日志管理",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -164,8 +191,11 @@
"component_path": null,
"parent_id": 4,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "创建菜单",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -181,8 +211,11 @@
"component_path": null,
"parent_id": 4,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "修改菜单",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -198,8 +231,11 @@
"component_path": null,
"parent_id": 4,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "删除菜单",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -215,8 +251,11 @@
"component_path": null,
"parent_id": 4,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "批量修改菜单状态",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -232,8 +271,11 @@
"component_path": null,
"parent_id": 5,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "创建部门",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -249,8 +291,11 @@
"component_path": null,
"parent_id": 5,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "修改部门",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -266,8 +311,11 @@
"component_path": null,
"parent_id": 5,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "删除部门",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -283,8 +331,11 @@
"component_path": null,
"parent_id": 5,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "批量修改部门状态",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -300,8 +351,11 @@
"component_path": null,
"parent_id": 6,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "创建岗位",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -317,8 +371,11 @@
"component_path": null,
"parent_id": 6,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "修改岗位",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -334,8 +391,11 @@
"component_path": null,
"parent_id": 6,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "修改岗位",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -351,8 +411,11 @@
"component_path": null,
"parent_id": 6,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "批量修改岗位状态",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -368,8 +431,11 @@
"component_path": null,
"parent_id": 6,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "岗位导出",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -385,8 +451,11 @@
"component_path": null,
"parent_id": 7,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "创建角色",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -402,8 +471,11 @@
"component_path": null,
"parent_id": 7,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "修改角色",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -419,8 +491,11 @@
"component_path": null,
"parent_id": 7,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "删除角色",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -436,8 +511,11 @@
"component_path": null,
"parent_id": 7,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "批量修改角色状态",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -453,8 +531,11 @@
"component_path": null,
"parent_id": 7,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "设置角色权限",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -470,8 +551,11 @@
"component_path": null,
"parent_id": 7,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "角色导出",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -487,8 +571,11 @@
"component_path": null,
"parent_id": 8,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "创建用户",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -504,8 +591,11 @@
"component_path": null,
"parent_id": 8,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "修改用户",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -521,8 +611,11 @@
"component_path": null,
"parent_id": 8,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "删除用户",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -538,8 +631,11 @@
"component_path": null,
"parent_id": 8,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "批量修改用户状态",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -555,8 +651,11 @@
"component_path": null,
"parent_id": 8,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "导出用户",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -572,8 +671,11 @@
"component_path": null,
"parent_id": 8,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "导入用户",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -589,8 +691,11 @@
"component_path": null,
"parent_id": 9,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "日志删除",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -606,8 +711,11 @@
"component_path": null,
"parent_id": 9,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "日志导出",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -623,8 +731,11 @@
"component_path": null,
"parent_id": null,
"available": true,
"cache": true,
"keep_alive": false,
"hidden": false,
"always_show": true,
"title": "监控管理",
"parmas": null,
"redirect": "/monitor/online",
"description": "初始化数据"
},
@@ -640,8 +751,11 @@
"component_path": "monitor/online/index",
"parent_id": 37,
"available": true,
"cache": true,
"keep_alive": false,
"hidden": false,
"always_show": true,
"title": "在线用户",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -657,8 +771,11 @@
"component_path": null,
"parent_id": 38,
"available": true,
"cache": true,
"keep_alive": false,
"hidden": false,
"always_show": true,
"title": "在线用户强制下线",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -674,8 +791,11 @@
"component_path": "monitor/server/index",
"parent_id": 37,
"available": true,
"cache": true,
"keep_alive": false,
"hidden": false,
"always_show": true,
"title": "服务器监控",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -691,8 +811,11 @@
"component_path": "monitor/cache/index",
"parent_id": 37,
"available": true,
"cache": true,
"keep_alive": false,
"hidden": false,
"always_show": true,
"title": "缓存监控",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -708,8 +831,11 @@
"component_path": null,
"parent_id": 41,
"available": true,
"cache": true,
"keep_alive": false,
"hidden": false,
"always_show": true,
"title": "清除缓存",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -725,8 +851,11 @@
"component_path": null,
"parent_id": null,
"available": true,
"cache": true,
"keep_alive": false,
"hidden": false,
"always_show": true,
"title": "公共模块",
"parmas": null,
"redirect": "/common/docs",
"description": "初始化数据"
},
@@ -742,8 +871,11 @@
"component_path": "common/docs/index",
"parent_id": 43,
"available": true,
"cache": true,
"keep_alive": false,
"hidden": false,
"always_show": true,
"title": "接口管理",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -759,8 +891,11 @@
"component_path": "common/redoc/index",
"parent_id": 43,
"available": true,
"cache": true,
"keep_alive": false,
"hidden": false,
"always_show": true,
"title": "文档管理",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -776,8 +911,11 @@
"component_path": "system/notice/index",
"parent_id": 3,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "公告管理",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -793,8 +931,11 @@
"component_path": null,
"parent_id": 44,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "公告创建",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -810,8 +951,11 @@
"component_path": null,
"parent_id": 46,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "修改用户",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -827,8 +971,11 @@
"component_path": null,
"parent_id": 46,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "公告删除",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -844,8 +991,11 @@
"component_path": null,
"parent_id": 46,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "公告导出",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -861,8 +1011,11 @@
"component_path": null,
"parent_id": 46,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "公告批量修改状态",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -878,8 +1031,11 @@
"component_path": "system/config/index",
"parent_id": 3,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "配置管理",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -895,8 +1051,11 @@
"component_path": null,
"parent_id": 52,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "创建配置",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -912,8 +1071,11 @@
"component_path": null,
"parent_id": 52,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "修改配置",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -929,8 +1091,11 @@
"component_path": null,
"parent_id": 52,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "删除配置",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -946,8 +1111,11 @@
"component_path": null,
"parent_id": 52,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "导出配置",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -963,8 +1131,11 @@
"component_path": null,
"parent_id": 52,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "配置上传",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -980,8 +1151,11 @@
"component_path": "system/dict/index",
"parent_id": 3,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "字典管理",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -997,8 +1171,11 @@
"component_path": null,
"parent_id": 58,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "创建字典类型",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -1014,8 +1191,11 @@
"component_path": null,
"parent_id": 58,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "修改字典类型",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -1031,8 +1211,11 @@
"component_path": null,
"parent_id": 58,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "删除字典类型",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -1048,8 +1231,11 @@
"component_path": null,
"parent_id": 58,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "导出字典类型",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -1065,8 +1251,11 @@
"component_path": "system/dict/data",
"parent_id": 3,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": true,
"always_show": true,
"title": "字典数据",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -1082,8 +1271,11 @@
"component_path": null,
"parent_id": 63,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "创建字典数据",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -1099,8 +1291,11 @@
"component_path": null,
"parent_id": 63,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "修改字典数据",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -1116,8 +1311,11 @@
"component_path": null,
"parent_id": 63,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "删除字典数据",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -1133,8 +1331,11 @@
"component_path": null,
"parent_id": 63,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "导出字典数据",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -1150,8 +1351,11 @@
"component_path": "system/job/index",
"parent_id": 3,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "任务管理",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -1167,8 +1371,11 @@
"component_path": null,
"parent_id": 68,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "创建任务",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -1184,8 +1391,11 @@
"component_path": null,
"parent_id": 68,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "修改和操作任务",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -1201,8 +1411,11 @@
"component_path": null,
"parent_id": 68,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "删除和清除任务",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -1218,8 +1431,11 @@
"component_path": null,
"parent_id": 68,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "导出定时任务",
"parmas": null,
"redirect": null,
"description": "初始化数据"
},
@@ -1235,8 +1451,11 @@
"component_path": "dashboard/analysis",
"parent_id": 1,
"available": true,
"cache": true,
"keep_alive": true,
"hidden": false,
"always_show": true,
"title": "分析页",
"parmas": null,
"redirect": null,
"description": "初始化数据"
}