Commit Graph

2 Commits

Author SHA1 Message Date
a1e77e0962 fix: resolve login failure - fix Invalid path errors
Root causes:
1. Menu 2084 (门诊医生工作站) path='/' → getRouterPath() produces '//'
   which is an invalid Vue Router path. Disabled since doctor station
   routes are already hardcoded in router/index.js
2. Menu 4 (经创贺联官网) outer link at root level created conflicting
   route at path='/'. Disabled.
3. 38 orphaned menus (children of disabled parents) became unexpected
   top-level routes. Disabled all.
4. 16 name conflicts between API routes and hardcoded dynamicRoutes.
   Removed duplicate hardcoded routes (Monitor, Tool, DoctorStation,
   AppoinmentManage, ClinicManagement, ConsultationManagement,
   MedicationManagement, Inspection). Kept only unique parameterized
   routes (SetUser, SetContract, AuthRole, AuthUser, JobLog, GenEdit,
   HelpCenter, Todo, Features).
5. Fixed consultationapplication component path to correct location.
6. Created missing infection/antibiotic-usage/index.vue placeholder.
7. Disabled menus with missing Vue components (表单构建, 业务规则配置).

Database changes (via direct SQL):
- Disabled menus: 4, 115, 2073, 2084, 20211
- Fixed menu 2161 component path
- Disabled 38 orphaned child menus

Verification:
- Login: 200 
- GetRouters: 200 
- All 12 key APIs: 200 
- 0 path issues, 0 name conflicts, 0 missing components
- 342 total routes, 45 top-level directories
2026-06-07 15:04:28 +08:00
893cbf1fe0 refactor: 彻底清除所有openhis痕迹
- 重命名目录: openhis-server-new → healthlink-his-server
- 重命名目录: openhis-ui-vue3 → healthlink-his-ui
- 重命名Java类: OpenHisApplication → HealthLinkHisApplication
- 重命名Java类: OpenHisMiniApp → HealthLinkHisMiniApp
- 重命名组件目录: OpenHis → HealthLinkHis
- 重命名样式文件: openhis.scss → healthlink-his.scss
- 重命名配置: nginx-openhis.conf → nginx-healthlink-his.conf
- 更新所有源码引用 (0个残留)
- 更新所有文档/脚本/配置中的引用
2026-06-05 13:36:28 +08:00