Commit Graph

5 Commits

Author SHA1 Message Date
6184ed262f feat(emr): 病历修改留痕 — AppService/Controller/前端组件 2026-06-17 13:22:02 +08:00
b3800b7ae0 feat(anesthesia): 麻醉小结功能
- V63 Flyway migration: anes_summary table
- Entity, Mapper, Service, AppService, Controller
- POST /anesthesia/summary, GET /anesthesia/summary/{recordId}
- Frontend AnesthesiaSummary.vue with form and display
2026-06-17 12:53:11 +08:00
557263875b feat(anesthesia): 术中生命体征5min间隔监测 2026-06-17 12:48:18 +08:00
f444584908 feat(anesthesia): ASA麻醉评估 2026-06-17 12:35:45 +08:00
bc92620f66 fix: 修复前端路由名重复导致的404问题 + E2E测试20/20通过
根因分析:
- 后端菜单配置存在30+个重复路由名(如Record/Enhanced/Charge等)
- Vue Router不允许重名路由,addRoute抛出异常
- permission.js的catch直接调用logOut(),导致所有页面重定向到登录页

修复内容:
1. permission.js: addRoute时try-catch重名错误,跳过而非登出
2. permission store: filterAsyncRouter中添加路由名自动去重逻辑
3. 新增src/api/anesthesia.js: 麻醉模块API文件缺失修复
4. 修正test-data.ts中所有错误路由路径,匹配实际菜单配置

验证: workflow-full.spec.ts 20/20通过, login.spec.ts 4/4通过
2026-06-08 00:18:34 +08:00