Commit Graph

1671 Commits

Author SHA1 Message Date
Ray.Hao
62e0af68a6 feat: 新增租户切换组件和css目录优化 2025-12-15 08:04:05 +08:00
Ray.Hao
6e0597437e refactor: 枚举、常量和插件文件重构优化 2025-12-12 23:16:32 +08:00
Ray.Hao
f125473b93 refactor: 重命名 LoginResult 为 LoginResponse
- 重命名类型定义以符合 Request/Response 标准命名
- 删除 api/auth.ts 中的重复类型定义
- 统一使用 types/api 中的类型定义
- 提高代码一致性和可维护性
2025-12-12 14:31:39 +08:00
Ray.Hao
265f7b42e4 docs: 为 auth 类型定义添加详细注释
- 为每个字段添加 JSDoc 注释说明
- 为每个接口添加描述性注释
- 提高代码可读性和可维护性
2025-12-12 14:10:10 +08:00
Ray.Hao
715d70127d refactor: 删除 constants 目录,直接使用源路径
- 删除 src/constants/ 目录(仅为转发代理)
- 更新 8 个文件的导入路径:
  * STORAGE_KEYS  @/config/storage
  * VALIDATORS  @/utils/validators
  * ROLE_ROOT  @/enums
- 修复旧的枚举路径(settings/device-enum 等)
2025-12-12 14:04:35 +08:00
Ray.Hao
23b52872c5 refactor: 重命名 API 文件并更新引用路径
- 重命名 13 个 API 文件,去掉 -api 后缀
  * src/api/auth-api.ts  auth.ts
  * src/api/codegen-api.ts  codegen.ts
  * src/api/file-api.ts  file.ts
  * src/api/system/*.ts (9个文件)

- 批量更新 50+ 处 API 引用路径
- 修复 websocket 和枚举导入路径
- 确保零编码问题(使用 UTF-8 编码)
2025-12-12 14:02:07 +08:00
Ray.Hao
9fb1942619 refactor: 重构项目结构 - enums/config/types/plugins
- 重构 enums: 按业务域合并为 5 个文件
- 创建 config: storage.ts, vxe-table.ts
- 删除 plugins,功能迁移到 main.ts
- 创建完整 types 结构
- 新增 utils: validators, websocket, register-components
- 创建 router/guards/permission.ts
- 更新配置文件
2025-12-12 13:59:40 +08:00
Ray.Hao
add4237b1f refactor: 重构多租户 2025-12-12 08:17:32 +08:00
Ray.Hao
848824fbb4 Merge branch 'develop' of https://gitee.com/youlaiorg/vue3-element-admin into develop 2025-12-11 21:21:30 +08:00
Ray.Hao
888e17e405 refactor: 多租户适配调整 2025-12-11 21:19:02 +08:00
Ray.Hao
9176298b44 Merge branch 'develop' of https://gitee.com/youlaiorg/vue3-element-admin into develop 2025-12-11 10:11:22 +08:00
Ray.Hao
e9e9f86812 refactor: 权限标识修改同步调整 2025-12-11 09:18:34 +08:00
Ray.Hao
7e3466de0c refactor: 接口端口和路径调整 2025-12-08 08:01:41 +08:00
Ray.Hao
5ca52dd959 Merge branch 'develop' of https://gitee.com/youlaiorg/vue3-element-admin into develop 2025-12-07 17:15:45 +08:00
white
39912dfa88 fix(mock): 🐛 修复 首页头像压缩展示、导航栏头像压缩展示 2025-12-04 12:29:45 +08:00
Ray.Hao
c88fe50c65 refactor: 优化字典组件命名 2025-12-02 21:08:08 +08:00
Ray.Hao
d3f34c2789 fix: 移除 default-passive-events,避免强制设为 passive 的监听与组件内部 preventDefault 冲突,减少控制台警告输出 2025-12-02 13:51:01 +08:00
Ray.Hao
f8f194c13c refactor: decouple notification logic and align my notice endpoint 2025-11-27 22:07:07 +08:00
Ray.Hao
793dca66b1 refactor: unify system list layout with filter/table sections 2025-11-27 14:38:35 +08:00
Ray.Hao
b2ef3d1b1f chore: 合并分支 2025-11-27 13:36:11 +08:00
Ray.Hao
7dff18863d refactor(websocket): 移除打印日志 2025-11-27 13:32:27 +08:00
Ray.Hao
e9ce5c3e3b refactor(login): 登录界面样式优化 2025-11-27 11:15:06 +08:00
Coast
2857f4fc82 fix: 🐛 修复 CopyButton 组件的样式传值方式,从字符串改为对象 2025-11-25 11:19:09 +08:00
Ray.Hao
dc79401c13 feat(utils): add common utility functions and validation constants 2025-11-18 18:25:21 +08:00
Ray.Hao
a0b714999e refactor(ai): remove onInit callback from useAiAction and move data loading to component lifecycle 2025-11-18 09:24:57 +08:00
Ray.Hao
0ce931ee39 refactor(ai): optimize AI action initialization and user state handling 2025-11-18 00:18:25 +08:00
Ray.Hao
0fbd489e49 chore(deps): upgrade dependencies and refactor AI action handling 2025-11-17 21:43:20 +08:00
Ray.Hao
5aa6773cac refactor(ai): AI助手优化和移除MCP插件 2025-11-15 09:08:35 +08:00
Ray.Hao
a9f2697ef0 fix(dashboard): remove hardcoded user nickname modification 2025-11-10 10:49:18 +08:00
Ray.Hao
c16f089071 feat: 新增 AI 助手 2025-11-10 08:04:34 +08:00
Ray.Hao
05e3d1210a feat(websocket): add backward compatible aliases for dict and online count composables 2025-11-10 07:58:32 +08:00
Ray.Hao
8105432713 refactor(websocket): optimize STOMP connection and subscription management 2025-11-08 00:03:01 +08:00
Ray.Hao
1e90f234b8 fix(auth): 优化登录重定向异常处理,防止重定向失败 2025-11-04 10:05:03 +08:00
Ray.Hao
6cbfa08bae fix(dict): 修复字典请求失败后队列未清理导致永久阻塞 2025-11-04 10:03:32 +08:00
Ray.Hao
1d5544d2dd refactor(websocket): 优化计时器类型声明,避免使用 any 类型 2025-11-04 10:02:15 +08:00
Ray.Hao
b4276f58b2 fix(auth): 修复token刷新失败时请求泄漏导致内存泄漏的bug 2025-11-04 09:54:05 +08:00
cshaptx4869
30d56bb69a fix(UploadFile): 🐛 超出文件上限个数提示 2025-10-22 11:11:46 +08:00
theo
8e4b71d17b fix: 🐛 分页跳转问题修复
分页跳转问题修复
2025-09-29 10:14:50 +08:00
Ray.Hao
0e3550b5f8 refactor(permission): ♻️ 优化路由权限模块,简化命名和职责分离 2025-09-25 16:35:53 +08:00
Ray.Hao
3ddf428922 refactor(login): ♻️ 优化登录页样式 2025-09-25 16:33:13 +08:00
Ray.Hao
65d2466abc chore: 🔨 增加系统登录页面背景图供用户选择 2025-09-25 16:30:37 +08:00
Ray.Hao
ae6cb6e881 Merge branch 'master' of https://gitee.com/youlaiorg/vue3-element-admin 2025-09-23 15:56:19 +08:00
Ray.Hao
6979a175ee refactor(auth): ♻️ 重构认证逻辑,分离登录跳转与token刷新 2025-09-23 15:55:13 +08:00
Ray Hao
ace64367a4 Merge pull request #207 from cshaptx4869/patch-107
fix(Upload): 🐛 去除单图片上传无用的v-model绑定
2025-09-23 10:59:27 +08:00
cshaptx4869
9bfd3242f3 fix(Upload): 🐛 去除单图片上传无用的v-model绑定 2025-09-23 10:49:35 +08:00
Ray.Hao
9479feaba3 fix(enum): 🐛 同步调整枚举文件重命名导入路径 2025-09-22 16:52:26 +08:00
Ray.Hao
39f124ed61 refactor(enum): ♻️ 统一枚举命名规范 2025-09-21 10:00:25 +08:00
Ray.Hao
7bda1a7cc4 refactor: ♻️ 规范常量文件 2025-09-19 21:03:38 +08:00
Ray.Hao
4972173cf9 refactor: ♻️ 规范 directive 指令目录命名 2025-09-19 14:27:22 +08:00
cshaptx4869
fc6537d71b refactor(Upload): ♻️ 单图片支持点击预览 2025-09-18 15:00:39 +08:00