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:
@@ -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(已是正确值)✅
|
||||
|
||||
### 修复后验证
|
||||
- 菜单 295:menu_type=M, component=null → 侧边栏展开为子菜单树
|
||||
- 菜单 296(门户):component=`inpatientNurse/inpatientNurseStation/index` → 带10个标签的主页面
|
||||
- 菜单 297-2062:各子菜单 component 均指向正确的前端组件
|
||||
- 修复结果:✅ 成功,2行数据库改动
|
||||
- 菜单 295:menu_type=M, component=null → 侧边栏展开为子菜单树 ✅
|
||||
- 菜单 296(门户):component=`inpatientNurse/inpatientNurseStation/index` → 带10个标签的主页面 ✅
|
||||
- 菜单 297-2062:各子菜单 component 均指向正确的前端组件 ✅
|
||||
- 15个子菜单全部正常 ✅
|
||||
- 修复结果:✅ 成功,1行数据库改动(menu_id=295 C→M + component=NULL)
|
||||
|
||||
Reference in New Issue
Block a user