From 8817852c0e01cb8f895be2173aea21b521ac6956 Mon Sep 17 00:00:00 2001 From: jiangxucong Date: Thu, 16 Oct 2025 18:29:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E5=A4=9A=E4=BD=99=E8=8F=9C?= =?UTF-8?q?=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/routes.js | 36 ------------------- .../BasicInformation.less | 10 +++--- .../nav_system_content/SystemContentList.js | 18 ---------- src/pages/topnavbar/TopNavBar.js | 25 ------------- 4 files changed, 5 insertions(+), 84 deletions(-) diff --git a/config/routes.js b/config/routes.js index 8f63b3d..23201b1 100644 --- a/config/routes.js +++ b/config/routes.js @@ -25,42 +25,6 @@ export default [ name: 'hrefficiency', component: './nav_system_content/SystemContentList', routes: [ - { - path: '/topnavbar00/hrefficiency/timesheet', - // icon: 'bank', - name: 'timesheet', - component: './hrefficiency_timesheet/TimeSheetList', - }, - // { - // path: '/topnavbar00/hrefficiency/staffsheet', - // // icon: 'bank', - // name: 'staffsheet', - // component: './safe_majorHazard/SafeMajorHazardList', - // }, - { - path: '/topnavbar00/hrefficiency/staffuph', - // icon: 'bank', - name: 'staffuph', - component: './hrefficiency_staffuph/StaffUPHList', - }, - { - path: '/topnavbar00/hrefficiency/deptuph', - // icon: 'bank', - name: 'deptuph', - component: './hrefficiency_deptuph/DeptUPHList', - }, - { - path: '/topnavbar00/hrefficiency/allstaffuph', - // icon: 'bank', - name: 'allstaffuph', - component: './hrefficiency_allstaffuph/AllStaffUPHList', - }, - { - path: '/topnavbar00/hrefficiency/workreport', - // icon: 'bank', - name: 'workreport', - component: './hrefficiency_workreport/WorkReport', - }, // 安全管理基础信息 { path:'/topnavbar00/hrefficiency/basicinformation', diff --git a/src/pages/hrefficiency_basicinformation/BasicInformation.less b/src/pages/hrefficiency_basicinformation/BasicInformation.less index a25c3d8..12b8a7a 100644 --- a/src/pages/hrefficiency_basicinformation/BasicInformation.less +++ b/src/pages/hrefficiency_basicinformation/BasicInformation.less @@ -368,7 +368,7 @@ overflow: hidden; background-image: url('~@/assets/basic_information/risk-area-bg.png'); background-repeat: no-repeat; - // background-size: cover; + background-size: cover; background-position: center; } @@ -700,14 +700,14 @@ .func-area-bg { background-image: url('~@/assets/basic_information/func-area-bg.png'); background-repeat: no-repeat; - // background-size: cover; + background-size: cover; background-position: center; } .organ-area-bg { background-image: url('~@/assets/basic_information/organ-area-bg.png'); background-repeat: no-repeat; - // background-size: cover; + background-size: cover; background-position: center; } @@ -758,14 +758,14 @@ .ryzz-area-bg { background-image: url('~@/assets/basic_information/ryzz-area-bg.png'); background-repeat: no-repeat; - // background-size: cover; + background-size: cover; background-position: center; } .dqtx-area-bg { background-image: url('~@/assets/basic_information/dqtx-area-bg.png'); background-repeat: no-repeat; - // background-size: cover; + background-size: cover; background-position: center; } diff --git a/src/pages/nav_system_content/SystemContentList.js b/src/pages/nav_system_content/SystemContentList.js index a63afc7..bd298ed 100644 --- a/src/pages/nav_system_content/SystemContentList.js +++ b/src/pages/nav_system_content/SystemContentList.js @@ -104,24 +104,6 @@ const SystemContentList = (props) => { "key": "/topnavbar00/hrefficiency/safeMajorHazard", "label": "重大危险源管理" }, - { - "path": "/topnavbar00/hrefficiency/staffuph", - icon: 工时仪表盘, - "key": "/topnavbar00/hrefficiency/staffuph", - "label": "员工效率监控" - }, - { - "path": "/topnavbar00/hrefficiency/deptuph", - icon: 工时仪表盘, - "key": "/topnavbar00/hrefficiency/deptuph", - "label": "部门效率监控" - }, - { - "path": "/topnavbar00/hrefficiency/allstaffuph", - icon: 工时仪表盘, - "key": "/topnavbar00/hrefficiency/allstaffuph", - "label": "全员效率监控" - }, { "path": "/topnavbar00/hrefficiency/hiddentrouble", icon: 工时仪表盘, diff --git a/src/pages/topnavbar/TopNavBar.js b/src/pages/topnavbar/TopNavBar.js index 008ed3c..1f5cbfe 100644 --- a/src/pages/topnavbar/TopNavBar.js +++ b/src/pages/topnavbar/TopNavBar.js @@ -13,31 +13,6 @@ const menuItem = [ key: '/topnavbar00/hrefficiency', // icon: , children: [ - // { - // label: '工时仪表盘', - // key: '/topnavbar00/hrefficiency/timesheet', - // // icon: , - // }, - // { - // label: '员工仪表盘', - // key: '/topnavbar00/hrefficiency/staffsheet', - // // icon: , - // }, - // { - // label: '员工效率监控', - // key: '/topnavbar00/hrefficiency/staffuph', - // // icon: , - // }, - // { - // label: '部门效率监控', - // key: '/topnavbar00/hrefficiency/deptuph', - // // icon: , - // }, - // { - // label: '全员效率监控', - // key: '/topnavbar00/hrefficiency/allstaffuph', - // // icon: , - // }, { label: '安全管理基础信息', key: '/topnavbar00/hrefficiency/basicinformation',