wenlele 2 years ago
parent
commit
ee00ae6152
  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: 'cyclePlan', to: '/service/maintenancePlan/cyclePlan', text: '周期计划'
}, { }, {
itemKey: 'temporaryResponse', to: '/service/maintenancePlan/temporaryResponse', text: '临时响应' itemKey: 'temporaryResponse', to: '/service/maintenancePlan/temporaryResponse', text: '临时响应'
}] },{
itemKey: 'serviceRecord1', to: '/service/serviceRecord/serviceRecord1', text: '响应记录',
},]
}, { }, {
itemKey: 'carrierPigeon', itemKey: 'carrierPigeon',
text: '信鸽服务', text: '信鸽服务',
@ -54,10 +56,7 @@ export function getNavItem (user, dispatch) {
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>,
to: '/service/serviceRecord/serviceRecord1', to: '/service/serviceRecord/serviceRecord1',
items: [{ items: [{ itemKey:'MaintenanceRecords',to:'/service/serviceRecord/MaintenanceRecords',text:'维护记录'}]
itemKey: 'serviceRecord1', to: '/service/serviceRecord/serviceRecord1', text: '服务记录',
},{ itemKey:'MaintenanceRecords',to:'/service/serviceRecord/MaintenanceRecords',text:'维护记录'}]
} }
] ]
}, },

Loading…
Cancel
Save