Lewis_yan
025ddceb82
feat(i18n): restore framework menu i18n and fix login page i18n keys
...
- Restore init_menu.json with name_en/name_zh_tw for menu buttons (104 entries)
- Add data migration 0003 to populate menu item name_en/name_zh_tw
- Fix login page i18n key paths (message.account.* -> message.pages.login.account.*)
- Add missing login i18n keys: loginTitle, firstLoginTip, welcomeLogin, copyright
- Fix hardcoded Chinese strings in login page to use i18n
2026-04-08 23:22:42 +08:00
Lewis_yan
3913ac722e
feat(i18n): complete i18n adaptation across backend and frontend
...
Backend:
- Improve menu title language detection (query param, user lang, Accept-Language)
- Fix user language update to use correct update_datetime field
- Add menu i18n sync management command
- Add migrations for company/miscprocurement i18n fields
Frontend:
- Clear tagsView cache on language switch to reload titles in new language
2026-04-08 23:06:59 +08:00
Lewis_yan
0716cd293c
feat(i18n): 添加 Menu/MenuButton/Users i18n 字段迁移
2026-04-08 17:20:05 +08:00
Lewis_yan
231ac88c8b
feat(i18n): 合并 django-vue3-admin i18n 国际化功能
...
后端:
- 添加 LocaleMiddleware 和 Django i18n 配置 (LANGUAGES/LOCALE_PATHS)
- Users.language 字段支持用户语言偏好
- Menu/MenuButton name_en/name_zh_tw 多语言字段
- WebRouterSerializer get_title() 语言感知返回
- update_language API endpoint
前端:
- vue-i18n 升级为 deepMerge + fast-crud i18n 集成
- 新增 19 个模块的 3 种语言翻译 (zh-CN/en/zh-TW)
- 导航栏语言切换器: 刷新路由 + 后端持久化
- router/backEnd.ts 支持 language 参数和 refreshRoutesForI18n
2026-04-08 17:11:39 +08:00
nebula_chen
8259cd797a
refactor(system, pisadmin):修改供应商账号登录时角色标识的校验逻辑,暂时改为 supplier_*;同步修改仪表盘
2026-04-07 16:06:39 +08:00
lewis_yan
a90809c3fc
refactor(storage): rename MinIO to RustFS throughout backend
...
- Rename minio_storage.py to rustfs_storage.py
- Update all MINIO_* settings to RUSTFS_* in env.py
- Update file_list.py to import rustfs_upload_file
- Update test files and factory to use rustfs engine
2026-04-03 17:12:04 +08:00
lewis_yan
08a904ef2a
refactor(storage): remove aliyunoss and tencentcos storage engines
2026-04-03 16:42:14 +08:00
lewis_yan
076c3a5a43
feat(storage): simplify FileSerializer.create to use MinIO only
2026-04-03 16:41:50 +08:00
lewis_yan
c337707e05
feat(storage): add MinIO storage utility (boto3-based)
2026-04-03 16:41:04 +08:00
lewis_yan
74ab2caf29
feat(login): add /login/supplier/ route for supplier portal
2026-04-02 09:50:49 +08:00
lewis_yan
9d581dd5d3
feat(login): add SupplierLoginSerializer and SupplierLoginView for supplier portal
2026-04-02 09:48:46 +08:00
nebula_chen
11ee089689
修改部分前端效果并根据业务逻辑调整后端实现
2026-03-25 17:52:52 +08:00
allen_xiong
82f3f5303c
补充服务器migrations迁移文件
...
1. 取消后端.gitignore文件中migrations文件忽略配置
2. 补充服务器上已有迁移文件
2026-03-23 20:02:58 +08:00
allen_xiong
b7351d44cf
日常更新
...
1. 修改后端配置及路由中相关应用路径为 apps.pisadmin 和 apps.pissupplier
2. 添加询价业务逻辑
3. 其他优化
2026-03-23 09:28:12 +08:00
allen_xiong
896803dc64
1. 优化生成system接口地址问题; 2. 优化菜单按钮自动生成接口地址时,没有反斜杆问题
2026-03-20 15:10:57 +08:00
allen_xiong
6b8df09c23
功能优化
...
1. 新增供应商报价模块及相关功能
2. 重构询价单状态流转逻辑及字段处理
3. 其他优化
2026-03-20 15:02:33 +08:00
allen_xiong
884dab3fb1
初次提交PIS代码
2026-03-19 20:03:10 +08:00