feat: 添加演示模块并优化日期选择器组件

refactor: 重构文件导入组件为通用组件

fix: 修复导出文件名统一问题

docs: 更新README添加二次开发教程

style: 统一系统管理页面的日期选择器实现

chore: 更新数据库迁移脚本和初始化数据

perf: 优化前端页面日期范围选择交互

test: 添加演示模块相关测试文件

build: 更新依赖项配置

ci: 调整CI/CD脚本配置
This commit is contained in:
zhangtao
2025-08-03 17:33:24 +08:00
parent 37cdc9f812
commit 18bcd1961c
52 changed files with 2833 additions and 483 deletions
+189 -1
View File
@@ -1573,5 +1573,193 @@
"affix": false,
"redirect": null,
"description": "初始化数据"
}
},
{
"id": 76,
"name": "演示模块",
"type": 1,
"icon": "el-icon-Document",
"order": 5,
"permission": null,
"route_name": "Demo",
"route_path": "/demo",
"component_path": null,
"parent_id": null,
"status": true,
"keep_alive": false,
"hidden": false,
"always_show": false,
"title": "演示模块",
"params": null,
"affix": false,
"redirect": "/demo/example",
"description": "初始化数据"
},
{
"id": 77,
"name": "示例管理",
"type": 2,
"icon": "el-icon-DataLine",
"order": 1,
"permission": "demo:example:query",
"route_name": "Example",
"route_path": "/demo/example",
"component_path": "demo/example/index",
"parent_id": 76,
"status": true,
"keep_alive": true,
"hidden": false,
"always_show": false,
"title": "示例管理",
"params": null,
"affix": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 78,
"name": "创建示例",
"type": 3,
"icon": null,
"order": 1,
"permission": "demo:example:create",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 77,
"status": true,
"keep_alive": true,
"hidden": false,
"always_show": false,
"title": "创建示例",
"params": null,
"affix": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 79,
"name": "更新示例",
"type": 3,
"icon": null,
"order": 2,
"permission": "demo:example:update",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 77,
"status": true,
"keep_alive": true,
"hidden": false,
"always_show": false,
"title": "更新示例",
"params": null,
"affix": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 80,
"name": "删除示例",
"type": 3,
"icon": null,
"order": 3,
"permission": "demo:example:delete",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 77,
"status": true,
"keep_alive": true,
"hidden": false,
"always_show": false,
"title": "删除示例",
"params": null,
"affix": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 81,
"name": "批量修改示例状态",
"type": 3,
"icon": null,
"order": 4,
"permission": "demo:example:patch",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 77,
"status": true,
"keep_alive": true,
"hidden": false,
"always_show": false,
"title": "批量修改示例状态",
"params": null,
"affix": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 82,
"name": "导出示例",
"type": 3,
"icon": null,
"order": 5,
"permission": "demo:example:export",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 77,
"status": true,
"keep_alive": true,
"hidden": false,
"always_show": false,
"title": "导出示例",
"params": null,
"affix": false,
"redirect": null,
"description": "初始化数据"
},
{
"id": 83,
"name": "导入示例",
"type": 3,
"icon": null,
"order": 6,
"permission": "demo:example:import",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 77,
"status": true,
"keep_alive": true,
"hidden": false,
"always_show": false,
"title": "导入示例",
"params": null,
"affix": false,
"redirect": null,
"description": "初始化数据"
},
{ "id": 84,
"name": "下载导入示例模版",
"type": 3,
"icon": null,
"order": 7,
"permission": "demo:example:download",
"route_name": null,
"route_path": null,
"component_path": null,
"parent_id": 77,
"status": true,
"keep_alive": true,
"hidden": false,
"always_show": false,
"title": "下载导入示例模版",
"params": null,
"affix": false,
"redirect": null,
"description": "初始化数据"
}
]
@@ -299,6 +299,42 @@
"role_id": 1,
"menu_id": 75
},
{
"role_id": 1,
"menu_id": 76
},
{
"role_id": 1,
"menu_id": 77
},
{
"role_id": 1,
"menu_id": 78
},
{
"role_id": 1,
"menu_id": 79
},
{
"role_id": 1,
"menu_id": 80
},
{
"role_id": 1,
"menu_id": 81
},
{
"role_id": 1,
"menu_id": 82
},
{
"role_id": 1,
"menu_id": 83
},
{
"role_id": 1,
"menu_id": 84
},
{
"role_id": 2,
"menu_id": 1