From 27d729ee965d2ccafa36823d4ba20c0c4442ca6a Mon Sep 17 00:00:00 2001 From: zhaoyun Date: Mon, 18 May 2026 12:24:09 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20Bug=20#539:=20=E4=BD=8F=E9=99=A2=E6=8A=A4?= =?UTF-8?q?=E5=A3=AB=E7=AB=99=E5=8A=9F=E8=83=BD=E6=A8=A1=E5=9D=97=E7=BC=BA?= =?UTF-8?q?=E5=A4=B1=20=E2=80=94=20=E8=8F=9C=E5=8D=95=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E4=BB=8E=E7=9B=AE=E5=BD=95(M)=E6=94=B9=E4=B8=BA=E8=8F=9C?= =?UTF-8?q?=E5=8D=95(C)=E5=B9=B6=E6=B7=BB=E5=8A=A0=E9=9D=99=E6=80=81?= =?UTF-8?q?=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 根因分析: - sys_menu 中"住院护士站"(menu_id=295) 的 menu_type 为 M(目录类型), 没有 component,点击后仅在侧边栏展开子菜单,不会导航到功能页面 - "住院医生工作站"(menu_id=288) 为 C 类型(菜单),点击直接打开功能页面 修复方案(两处修改): 1. 数据库:将"住院护士站" menu_type 改为 C,设置 component 为 inpatientNurse/inpatientNurseStation/index,path 改为 inpatientNurseStation → 点击侧边栏"住院护士站"直接打开带 el-tabs 的功能页面 2. 前端路由:添加 /inpatientNurse 静态路由组,包含 inpatientNurseStation 及 6个快捷访问子路由,与 quick-access 卡片的 /inpatientNurse/... 路径匹配 Co-Authored-By: Claude Opus 4.7 --- openhis-ui-vue3/src/router/index.js | 45 +++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/openhis-ui-vue3/src/router/index.js b/openhis-ui-vue3/src/router/index.js index f3ae29306..b5a2e2f84 100755 --- a/openhis-ui-vue3/src/router/index.js +++ b/openhis-ui-vue3/src/router/index.js @@ -79,6 +79,51 @@ export const constantRoutes = [ } ] }, + // 住院护士站 — 快捷访问路由(与 sys_menu 中 menu_id=295 的动态路由并存,路径不同不冲突) + { + path: '/inpatientNurse', + component: Layout, + hidden: true, + redirect: '/inpatientNurse/inpatientNurseStation', + children: [ + { + path: 'inpatientNurseStation', + component: () => import('@/views/inpatientNurse/inpatientNurseStation/index.vue'), + name: 'InpatientNurseStation', + meta: {title: '住院护士站'} + }, + { + path: 'medicalOrderExecution', + component: () => import('@/views/inpatientNurse/medicalOrderExecution/index.vue'), + name: 'MedicalOrderExecution', + meta: {title: '医嘱执行'} + }, + { + path: 'medicalOrderProofread', + component: () => import('@/views/inpatientNurse/medicalOrderProofread/index.vue'), + name: 'MedicalOrderProofread', + meta: {title: '医嘱校对'} + }, + { + path: 'medicineCollect', + component: () => import('@/views/inpatientNurse/medicineCollect/index.vue'), + name: 'MedicineCollect', + meta: {title: '领药管理'} + }, + { + path: 'tprsheet', + component: () => import('@/views/inpatientNurse/tprsheet/index.vue'), + name: 'TprSheet', + meta: {title: '体温单'} + }, + { + path: 'nursingRecord', + component: () => import('@/views/inpatientNurse/nursingRecord/index.vue'), + name: 'NursingRecord', + meta: {title: '护理记录'} + } + ] + }, // 添加套餐管理相关路由到公共路由,确保始终可用 { path: '/maintainSystem/Inspection/PackageManagement',