去掉多余菜单

main
jiangxucong 2 weeks ago
parent 0cce72ecd8
commit 8817852c0e

@ -25,42 +25,6 @@ export default [
name: 'hrefficiency', name: 'hrefficiency',
component: './nav_system_content/SystemContentList', component: './nav_system_content/SystemContentList',
routes: [ 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', path:'/topnavbar00/hrefficiency/basicinformation',

@ -368,7 +368,7 @@
overflow: hidden; overflow: hidden;
background-image: url('~@/assets/basic_information/risk-area-bg.png'); background-image: url('~@/assets/basic_information/risk-area-bg.png');
background-repeat: no-repeat; background-repeat: no-repeat;
// background-size: cover; background-size: cover;
background-position: center; background-position: center;
} }
@ -700,14 +700,14 @@
.func-area-bg { .func-area-bg {
background-image: url('~@/assets/basic_information/func-area-bg.png'); background-image: url('~@/assets/basic_information/func-area-bg.png');
background-repeat: no-repeat; background-repeat: no-repeat;
// background-size: cover; background-size: cover;
background-position: center; background-position: center;
} }
.organ-area-bg { .organ-area-bg {
background-image: url('~@/assets/basic_information/organ-area-bg.png'); background-image: url('~@/assets/basic_information/organ-area-bg.png');
background-repeat: no-repeat; background-repeat: no-repeat;
// background-size: cover; background-size: cover;
background-position: center; background-position: center;
} }
@ -758,14 +758,14 @@
.ryzz-area-bg { .ryzz-area-bg {
background-image: url('~@/assets/basic_information/ryzz-area-bg.png'); background-image: url('~@/assets/basic_information/ryzz-area-bg.png');
background-repeat: no-repeat; background-repeat: no-repeat;
// background-size: cover; background-size: cover;
background-position: center; background-position: center;
} }
.dqtx-area-bg { .dqtx-area-bg {
background-image: url('~@/assets/basic_information/dqtx-area-bg.png'); background-image: url('~@/assets/basic_information/dqtx-area-bg.png');
background-repeat: no-repeat; background-repeat: no-repeat;
// background-size: cover; background-size: cover;
background-position: center; background-position: center;
} }

@ -104,24 +104,6 @@ const SystemContentList = (props) => {
"key": "/topnavbar00/hrefficiency/safeMajorHazard", "key": "/topnavbar00/hrefficiency/safeMajorHazard",
"label": "重大危险源管理" "label": "重大危险源管理"
}, },
{
"path": "/topnavbar00/hrefficiency/staffuph",
icon: <img src={book} alt="工时仪表盘" style={{ width: '16px', height: '16px' }} />,
"key": "/topnavbar00/hrefficiency/staffuph",
"label": "员工效率监控"
},
{
"path": "/topnavbar00/hrefficiency/deptuph",
icon: <img src={license} alt="工时仪表盘" style={{ width: '16px', height: '16px' }} />,
"key": "/topnavbar00/hrefficiency/deptuph",
"label": "部门效率监控"
},
{
"path": "/topnavbar00/hrefficiency/allstaffuph",
icon: <img src={people} alt="工时仪表盘" style={{ width: '16px', height: '16px' }} />,
"key": "/topnavbar00/hrefficiency/allstaffuph",
"label": "全员效率监控"
},
{ {
"path": "/topnavbar00/hrefficiency/hiddentrouble", "path": "/topnavbar00/hrefficiency/hiddentrouble",
icon: <img src={risk} alt="工时仪表盘" style={{ width: '16px', height: '16px' }} />, icon: <img src={risk} alt="工时仪表盘" style={{ width: '16px', height: '16px' }} />,

@ -13,31 +13,6 @@ const menuItem = [
key: '/topnavbar00/hrefficiency', key: '/topnavbar00/hrefficiency',
// icon: <SettingOutlined />, // icon: <SettingOutlined />,
children: [ children: [
// {
// label: '工时仪表盘',
// key: '/topnavbar00/hrefficiency/timesheet',
// // icon: <SettingOutlined />,
// },
// {
// label: '员工仪表盘',
// key: '/topnavbar00/hrefficiency/staffsheet',
// // icon: <SettingOutlined />,
// },
// {
// label: '员工效率监控',
// key: '/topnavbar00/hrefficiency/staffuph',
// // icon: <SettingOutlined />,
// },
// {
// label: '部门效率监控',
// key: '/topnavbar00/hrefficiency/deptuph',
// // icon: <SettingOutlined />,
// },
// {
// label: '全员效率监控',
// key: '/topnavbar00/hrefficiency/allstaffuph',
// // icon: <SettingOutlined />,
// },
{ {
label: '安全管理基础信息', label: '安全管理基础信息',
key: '/topnavbar00/hrefficiency/basicinformation', key: '/topnavbar00/hrefficiency/basicinformation',

Loading…
Cancel
Save