diff --git a/web/client/src/sections/service/nav-item.jsx b/web/client/src/sections/service/nav-item.jsx index c43d9f4..610ba83 100644 --- a/web/client/src/sections/service/nav-item.jsx +++ b/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: , 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:'维护记录'}] } ] },