Browse Source

隐藏几个菜单

dev
巴林闲侠 2 years ago
parent
commit
7919a76dce
  1. 3
      api/.vscode/launch.json
  2. 17
      web/client/src/sections/facility/nav-item.jsx
  3. 17
      web/client/src/sections/install/nav-item.jsx
  4. 20
      web/client/src/sections/service/nav-item.jsx

3
api/.vscode/launch.json

@ -16,7 +16,8 @@
"-p 4600", "-p 4600",
"-f http://localhost:4600", "-f http://localhost:4600",
// //
"-g postgres://postgres:123@10.8.30.32:5432/orational_service", // "-g postgres://postgres:123@10.8.30.32:5432/orational_service",
"-g postgres://postgres:123@10.8.30.166:5432/POMS_2306",
// //
// "-g postgres://FashionAdmin:123456@10.8.30.156:5432/POMS", // "-g postgres://FashionAdmin:123456@10.8.30.156:5432/POMS",
"-k 10.8.30.72:29092,10.8.30.73:29092,10.8.30.74:29092", "-k 10.8.30.72:29092,10.8.30.73:29092,10.8.30.74:29092",

17
web/client/src/sections/facility/nav-item.jsx

@ -9,15 +9,16 @@ export function getNavItem (user, dispatch) {
text: '设备', text: '设备',
icon: <IconCode />, icon: <IconCode />,
items: [ items: [
// {
// itemKey: 'deviceQuery',
// text: '',
// icon: <iconpark-icon style={{ width: 20, height: 20 }} name="iconjianshezhong"></iconpark-icon>,
// to: '/facility/deviceQuery/maintenanceRecords1',
// items: [{
// itemKey: 'maintenanceRecords1', to: '/facility/deviceQuery/maintenanceRecords1', text: ''
// }]
// },
{ {
itemKey: 'deviceQuery',
text: '设备查询',
icon: <iconpark-icon style={{ width: 20, height: 20 }} name="iconjianshezhong"></iconpark-icon>,
to: '/facility/deviceQuery/maintenanceRecords1',
items: [{
itemKey: 'maintenanceRecords1', to: '/facility/deviceQuery/maintenanceRecords1', text: '维护记录'
}]
}, {
itemKey: 'serverInformation', itemKey: 'serverInformation',
text: '服务器信息', text: '服务器信息',
icon: <iconpark-icon style={{ width: 20, height: 20 }} name="iconjianshezhong"></iconpark-icon>, icon: <iconpark-icon style={{ width: 20, height: 20 }} name="iconjianshezhong"></iconpark-icon>,

17
web/client/src/sections/install/nav-item.jsx

@ -33,15 +33,16 @@ export function getNavItem (user, dispatch) {
items: [{ items: [{
itemKey: 'setup', to: '/install/order/setup', text: '工单设置' itemKey: 'setup', to: '/install/order/setup', text: '工单设置'
}] }]
}, {
itemKey: 'relation',
text: '容差管理',
icon: <iconpark-icon style={{ width: 20, height: 20 }} name="iconjianshezhong"></iconpark-icon>,
to: '/install/relation/set',
items: [{
itemKey: 'set', to: '/install/relation/set', text: '容差设置'
}]
}, },
// {
// itemKey: 'relation',
// text: '',
// icon: <iconpark-icon style={{ width: 20, height: 20 }} name="iconjianshezhong"></iconpark-icon>,
// to: '/install/relation/set',
// items: [{
// itemKey: 'set', to: '/install/relation/set', text: ''
// }]
// },
] ]
}, },
] ]

20
web/client/src/sections/service/nav-item.jsx

@ -37,15 +37,17 @@ export function getNavItem (user, dispatch) {
}, { }, {
itemKey: 'appPush', to: '/service/carrierPigeon/appPush', text: '应用推送' itemKey: 'appPush', to: '/service/carrierPigeon/appPush', text: '应用推送'
}] }]
},{ },
itemKey: 'preventiveMaintenance', // {
text: '预防性维保', // itemKey: 'preventiveMaintenance',
icon: <iconpark-icon style={{ width: 20, height: 20 }} name="iconjianshezhong"></iconpark-icon>, // text: '',
to: '/service/preventiveMaintenance/maintenanceModel', // icon: <iconpark-icon style={{ width: 20, height: 20 }} name="iconjianshezhong"></iconpark-icon>,
items: [{ // to: '/service/preventiveMaintenance/maintenanceModel',
itemKey: 'maintenanceModel', to: '/service/preventiveMaintenance/maintenanceModel', text: '维保模型' // items: [{
}] // itemKey: 'maintenanceModel', to: '/service/preventiveMaintenance/maintenanceModel', text: ''
},{ // }]
// },
{
itemKey: 'serviceRecord', itemKey: 'serviceRecord',
text: '服务记录', text: '服务记录',
icon: <iconpark-icon style={{ width: 20, height: 20 }} name="iconjianshezhong"></iconpark-icon>, icon: <iconpark-icon style={{ width: 20, height: 20 }} name="iconjianshezhong"></iconpark-icon>,

Loading…
Cancel
Save