From 4aee2b1fe5f537bd8bb72f2544d00be76deb6434 Mon Sep 17 00:00:00 2001 From: zlwu <704541015@qq.com> Date: Thu, 12 Nov 2026 15:47:03 +0800 Subject: [PATCH] =?UTF-8?q?fix(web-admin):=20=E6=81=A2=E5=A4=8D=E5=AE=9E?= =?UTF-8?q?=E9=AA=8C=E5=AE=A4=E6=A0=B7=E6=9C=AC=E5=A4=84=E7=90=86=E4=B8=89?= =?UTF-8?q?=E8=A1=A8=E5=89=8D=E7=AB=AF=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 合入 #100 后静态路由缺失导致刷新后顶级菜单与页面不可达,补回 hsc/ubmc/msc 路由注册。 Co-authored-by: Cursor --- web-admin/src/router/modules/sqxp.ts | 53 ++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/web-admin/src/router/modules/sqxp.ts b/web-admin/src/router/modules/sqxp.ts index c2cabbaa..6039dff1 100644 --- a/web-admin/src/router/modules/sqxp.ts +++ b/web-admin/src/router/modules/sqxp.ts @@ -1335,6 +1335,59 @@ export const sqxpAdminRoutes: AppRouteRecord[] = [ ] }, + // ═══════════════════════════════════════════════════════════════════════════ + // 3b. 实验室样本处理数据 (menu:lab-sample-processing) + // ═══════════════════════════════════════════════════════════════════════════ + { + id: 'TOP0000000000000000000000000000L1', + name: 'LabSampleProcessing', + path: '/lab-sample-processing', + component: '/index/index', + meta: { + title: '实验室样本处理数据', + icon: 'ri:test-tube-line', + keepAlive: false, + isTopMenu: true, + menuCode: 'menu:lab-sample-processing', + roles: ['admin'] + }, + children: [ + { + id: 'LAB00000000000000000000000000001', + name: 'LabSampleProcessingHsc', + path: 'hsc', + component: '/lab-sample-processing/hsc/index', + meta: { + title: '造血干细胞数据', + keepAlive: true, + menuCode: 'lab:sample-processing:list' + } + }, + { + id: 'LAB00000000000000000000000000002', + name: 'LabSampleProcessingUbmc', + path: 'ubmc', + component: '/lab-sample-processing/ubmc/index', + meta: { + title: '单个核数据', + keepAlive: true, + menuCode: 'lab:sample-processing:list' + } + }, + { + id: 'LAB00000000000000000000000000003', + name: 'LabSampleProcessingMsc', + path: 'msc', + component: '/lab-sample-processing/msc/index', + meta: { + title: '脐带间充质干细胞数据', + keepAlive: true, + menuCode: 'lab:sample-processing:list' + } + } + ] + }, + // ═══════════════════════════════════════════════════════════════════════════ // 4. 运营支撑 (menu:operations) // 二级菜单:系统基础信息、运营支撑