refactor(api): 统一更新接口使用路径参数传递ID

refactor(backend): 重构CRUD基类查询方法去除重复结果

feat(application): 新增应用系统模块基础结构

fix(backend): 修复多处日志记录ID变量名错误

style(backend): 清理无用代码和注释

fix(frontend): 修复用户导入功能参数错误

docs(backend): 更新环境配置示例注释

perf(backend): 优化导出功能数据处理逻辑

test(frontend): 添加任务日志功能开发中提示

chore: 更新角色菜单权限数据
This commit is contained in:
zhangtao
2025-09-05 01:00:38 +08:00
parent 9fda6f3bfc
commit 4df6241e8b
92 changed files with 2462 additions and 753 deletions
+357
View File
@@ -1761,5 +1761,362 @@
"affix": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 85,
"name": "应用管理",
"type": 1,
"icon": "applications",
"order": 6,
"permission": null,
"route_name": "Application",
"route_path": "/application",
"component_path": null,
"parent_id": null,
"status": true,
"keep_alive": false,
"hidden": false,
"always_show": false,
"title": "应用管理",
"params": null,
"affix": false,
"redirect": "/application/myapp",
"description": "初始化数据"
},
{
"id": 86,
"name": "我的应用",
"type": 2,
"icon": "system-application",
"order": 1,
"permission": "application:myapp:query",
"route_name": "ApplicationSystem",
"route_path": "/application/myapp",
"component_path": "application/myapp/index",
"parent_id": 85,
"status": true,
"keep_alive": true,
"hidden": false,
"always_show": false,
"title": "应用系统管理",
"params": null,
"affix": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 87,
"name": "创建应用",
"type": 3,
"icon": null,
"order": 1,
"permission": "application:myapp:create",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 86,
"status": true,
"keep_alive": true,
"hidden": false,
"always_show": false,
"title": "创建应用",
"params": null,
"affix": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 88,
"name": "修改应用",
"type": 3,
"icon": null,
"order": 2,
"permission": "application:myapp:update",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 86,
"status": true,
"keep_alive": true,
"hidden": false,
"always_show": false,
"title": "修改应用",
"params": null,
"affix": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 89,
"name": "删除应用",
"type": 3,
"icon": null,
"order": 3,
"permission": "application:myapp:delete",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 86,
"status": true,
"keep_alive": true,
"hidden": false,
"always_show": false,
"title": "删除应用",
"params": null,
"affix": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 90,
"name": "批量修改应用状态",
"type": 3,
"icon": null,
"order": 4,
"permission": "application:myapp:patch",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 86,
"status": true,
"keep_alive": true,
"hidden": false,
"always_show": false,
"title": "批量修改应用状态",
"params": null,
"affix": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 91,
"name": "资源管理",
"type": 1,
"icon": "folder",
"order": 7,
"permission": null,
"route_name": "Resource",
"route_path": "/resource",
"component_path": null,
"parent_id": null,
"status": true,
"keep_alive": false,
"hidden": false,
"always_show": false,
"title": "资源管理",
"params": null,
"affix": false,
"redirect": "/resource/file",
"description": "初始化数据"
},
{
"id": 92,
"name": "文件管理",
"type": 2,
"icon": "el-icon-FolderOpened",
"order": 1,
"permission": "resource:file:query",
"route_name": "ResourceFile",
"route_path": "/resource/file",
"component_path": "resource/file/index",
"parent_id": 91,
"status": true,
"keep_alive": true,
"hidden": false,
"always_show": false,
"title": "文件管理",
"params": null,
"affix": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 93,
"name": "文件上传",
"type": 3,
"icon": null,
"order": 1,
"permission": "resource:file:upload",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 92,
"status": true,
"keep_alive": true,
"hidden": false,
"always_show": false,
"title": "文件上传",
"params": null,
"affix": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 94,
"name": "文件下载",
"type": 3,
"icon": null,
"order": 2,
"permission": "resource:file:download",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 92,
"status": true,
"keep_alive": true,
"hidden": false,
"always_show": false,
"title": "文件下载",
"params": null,
"affix": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 95,
"name": "文件删除",
"type": 3,
"icon": null,
"order": 3,
"permission": "resource:file:delete",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 92,
"status": true,
"keep_alive": true,
"hidden": false,
"always_show": false,
"title": "文件删除",
"params": null,
"affix": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 96,
"name": "文件移动",
"type": 3,
"icon": null,
"order": 4,
"permission": "resource:file:move",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 92,
"status": true,
"keep_alive": true,
"hidden": false,
"always_show": false,
"title": "文件移动",
"params": null,
"affix": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 97,
"name": "文件复制",
"type": 3,
"icon": null,
"order": 5,
"permission": "resource:file:copy",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 92,
"status": true,
"keep_alive": true,
"hidden": false,
"always_show": false,
"title": "文件复制",
"params": null,
"affix": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 98,
"name": "文件重命名",
"type": 3,
"icon": null,
"order": 6,
"permission": "resource:file:rename",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 92,
"status": true,
"keep_alive": true,
"hidden": false,
"always_show": false,
"title": "文件重命名",
"params": null,
"affix": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 99,
"name": "创建目录",
"type": 3,
"icon": null,
"order": 7,
"permission": "resource:file:create_dir",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 92,
"status": true,
"keep_alive": true,
"hidden": false,
"always_show": false,
"title": "创建目录",
"params": null,
"affix": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 100,
"name": "文件搜索",
"type": 3,
"icon": null,
"order": 8,
"permission": "resource:file:search",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 92,
"status": true,
"keep_alive": true,
"hidden": false,
"always_show": false,
"title": "文件搜索",
"params": null,
"affix": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 101,
"name": "导出文件列表",
"type": 3,
"icon": null,
"order": 9,
"permission": "resource:file:export",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 92,
"status": true,
"keep_alive": true,
"hidden": false,
"always_show": false,
"title": "导出文件列表",
"params": null,
"affix": false,
"redirect": null,
"description": "初始化数据"
}
]
@@ -335,6 +335,30 @@
"role_id": 1,
"menu_id": 84
},
{
"role_id": 1,
"menu_id": 85
},
{
"role_id": 1,
"menu_id": 86
},
{
"role_id": 1,
"menu_id": 87
},
{
"role_id": 1,
"menu_id": 88
},
{
"role_id": 1,
"menu_id": 89
},
{
"role_id": 1,
"menu_id": 90
},
{
"role_id": 2,
"menu_id": 1