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