Fix Bug #539: 实际执行数据库SQL修复 — 将menu_id=295的menu_type从C改为M并清空component,使住院护士站侧边栏展开子菜单(15个子菜单:入出转管理、护理记录、三测单等);menu_id=2062的component已是正确值无需更新

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-18 12:24:36 +08:00
parent a751e33530
commit 8156fc2e8f

View File

@@ -32,14 +32,15 @@
## 修复结果
### 已执行操作
### 已执行操作2026-05-18 实际执行确认)
1. `UPDATE hisdev.sys_menu SET menu_type = 'M', component = NULL, route_name = NULL WHERE menu_id = 295;`
- 将住院护士站从菜单类型改为目录类型,清空 component
2. `UPDATE hisdev.sys_menu SET component = 'inpatientNurse/medicineCollect/index' WHERE menu_id = 2062;`
- 修复住院领药菜单的 component 路径错误`indexon/``index`
- 将住院护士站从菜单类型改为目录类型,清空 component — UPDATE 1 ✅
2. `UPDATE hisdev.sys_menu SET component = 'inpatientNurse/medicineCollect/index' WHERE menu_id = 2062 AND component LIKE '%indexon%';`
- 修复住院领药菜单的 component 路径错误 — UPDATE 0已是正确值
### 修复后验证
- 菜单 295menu_type=M, component=null → 侧边栏展开为子菜单树
- 菜单 296门户component=`inpatientNurse/inpatientNurseStation/index` → 带10个标签的主页面
- 菜单 297-2062各子菜单 component 均指向正确的前端组件
- 修复结果:✅ 成功2行数据库改动
- 菜单 295menu_type=M, component=null → 侧边栏展开为子菜单树
- 菜单 296门户component=`inpatientNurse/inpatientNurseStation/index` → 带10个标签的主页面
- 菜单 297-2062各子菜单 component 均指向正确的前端组件
- 15个子菜单全部正常 ✅
- 修复结果:✅ 成功1行数据库改动menu_id=295 C→M + component=NULL