From 5ff530eac57e2abcc3cf3f3672121d0edaa9996c Mon Sep 17 00:00:00 2001 From: wangyunfei <1224056307@qq,com> Date: Sun, 28 Sep 2025 15:41:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/routes.js | 18 ++++++++++++------ .../nav_system_content/SystemContentList.js | 6 +++--- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/config/routes.js b/config/routes.js index 0694538..ce3fc6c 100644 --- a/config/routes.js +++ b/config/routes.js @@ -31,12 +31,12 @@ export default [ name: 'timesheet', component: './hrefficiency_timesheet/TimeSheetList', }, - { - path: '/topnavbar00/hrefficiency/staffsheet', - // icon: 'bank', - name: 'staffsheet', - component: './safe_majorHazard/SafeMajorHazardList', - }, + // { + // path: '/topnavbar00/hrefficiency/staffsheet', + // // icon: 'bank', + // name: 'staffsheet', + // component: './safe_majorHazard/SafeMajorHazardList', + // }, { path: '/topnavbar00/hrefficiency/staffuph', // icon: 'bank', @@ -67,6 +67,12 @@ export default [ name: 'basicinformation', component: './hrefficiency_basicinformation/BasicInformation', }, + // 重大危险源管理 + { + path: '/topnavbar00/hrefficiency/safeMajorHazard', + name: 'safeMajorHazard', + component: './safe_majorHazard/SafeMajorHazardList', + }, // 系统管理 { path: '/topnavbar00/hrefficiency/system', diff --git a/src/pages/nav_system_content/SystemContentList.js b/src/pages/nav_system_content/SystemContentList.js index 2f96260..243e774 100644 --- a/src/pages/nav_system_content/SystemContentList.js +++ b/src/pages/nav_system_content/SystemContentList.js @@ -95,9 +95,9 @@ const SystemContentList = (props) => { "label": "安全管理基础信息" }, { - "path": "/topnavbar00/hrefficiency/staffsheet", - icon: 工时仪表盘, - "key": "/topnavbar00/hrefficiency/staffsheet", + "path": "/topnavbar00/hrefficiency/safeMajorHazard", + icon: 重大危险源管理, + "key": "/topnavbar00/hrefficiency/safeMajorHazard", "label": "重大危险源管理" }, {