Browse Source

feat:服务记录菜单调整位置与名称

dev
zhaobing 2 years ago
parent
commit
1c0d811b5e
  1. 9
      web/client/src/sections/service/nav-item.jsx

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

@ -26,7 +26,9 @@ export function getNavItem (user, dispatch) {
itemKey: 'cyclePlan', to: '/service/maintenancePlan/cyclePlan', text: '周期计划'
}, {
itemKey: 'temporaryResponse', to: '/service/maintenancePlan/temporaryResponse', text: '临时响应'
}]
},{
itemKey: 'serviceRecord1', to: '/service/serviceRecord/serviceRecord1', text: '响应记录',
},]
}, {
itemKey: 'carrierPigeon',
text: '信鸽服务',
@ -54,10 +56,7 @@ export function getNavItem (user, dispatch) {
text: '服务记录',
icon: <iconpark-icon style={{ width: 20, height: 20 }} name="iconjianshezhong"></iconpark-icon>,
to: '/service/serviceRecord/serviceRecord1',
items: [{
itemKey: 'serviceRecord1', to: '/service/serviceRecord/serviceRecord1', text: '服务记录',
},{ itemKey:'MaintenanceRecords',to:'/service/serviceRecord/MaintenanceRecords',text:'维护记录'}]
items: [{ itemKey:'MaintenanceRecords',to:'/service/serviceRecord/MaintenanceRecords',text:'维护记录'}]
}
]
},

Loading…
Cancel
Save