Commit Graph

8 Commits

Author SHA1 Message Date
jayhgq
677d8a53b5 build(frontend): update frontend build artifacts for new deploy
update the hashed asset filenames in index.html, replace old deleted assets with new built ones, add all latest dist assets to the project bundle
2026-07-20 17:16:38 +08:00
jayhgq
0545d68018 feat(settings):增加系统Logo系统设置项,并支持根据上传的图片显示系统logo
1. 系统设置中增加系统Logo设置项
2. 系统标题增加logo的显示,并可自动判断,是否上传logo,若上传则显示
3. 完善系统设置功能,支持上传图片,支持设置值为布尔值或列表
4. 增加上传和获取图片的接口
5. 完善nginx,支持图片的接口代理
2026-06-19 23:17:13 +08:00
jayhgq
66096e7a04 Stop tracking pyc files and dist directories 2026-05-27 13:53:16 +08:00
jayhgq
c4aac6979a feat(auth,admin): 修复角色权限菜单显示问题
1.  后端添加获取当前用户权限接口
2.  前端增加权限校验和动态菜单渲染
3.  优化表单验证错误处理
4.  完善gitignore和项目配置更新
2026-05-27 11:42:23 +08:00
jayhgq
6620aec5a2 fix(roles): 隐藏默认查看按钮并优化角色管理功能
- 在role-crud.ts中隐藏默认的查看按钮(view: { show: false })
- 优化RoleManage.vue的axios导入,仅导入isAxiosError
- 更新用户管理中的角色显示逻辑,确保正确显示角色名称
- 添加错误处理逻辑,显示友好的中文错误提示
- 更新相关构建文件和文档说明
2026-05-10 22:06:37 +08:00
jayhgq
6f4ace886f fix(roles): 修复角色创建时 model_dump 错误
修复角色创建时出现的 AttributeError: 'dict' object has no attribute 'model_dump' 错误,将 role_data.model_dump() 改为 dict(role_data) 以兼容 Pydantic v1 和 v2。

同时优化了搜索布局和样式,确保查询条件和按钮在同一行显示:

1. 修改 admin-crud.css 添加搜索区域不换行样式
2. 调整 role-crud.ts 中的 search 配置
3. 将 GET 查询接口改为 POST /search 方式
4. 修复角色权限分配时的权限加载问题
2026-05-09 17:59:10 +08:00
jayhgq
83d84254f5 feat: 增强用户、角色和权限管理功能
- 在用户、角色和权限的API中添加模糊查询支持
- 更新CRUD选项以支持查询参数的转换
- 优化前端管理页面,提升用户体验
- 删除不再使用的旧资产文件以减小包体积
2026-05-09 13:13:45 +08:00
jayhgq
5a3fdfe295 feat(frontend):实现前端管理页面,添加用户、角色、权限的CRUD 2026-05-08 18:04:30 +08:00