import { PersonnelFiles, PersonnelFilesDetail, EmployeeInformation,LeaveStatistics } from './containers'; export default [{ type: 'inner', route: { path: '/humanAffairs', key: 'humanAffairs', breadcrumb: '人事管理', // 不设置 component 则面包屑禁止跳转 childRoutes: [{ path: '/archivesCenter', key: 'archivesCenter', breadcrumb: '档案中心', childRoutes: [{ path: '/personnelFiles', key: 'personnelFiles', component: PersonnelFiles, breadcrumb: '人员档案', }] }, { path: '/employeeRelations', key: 'employeeRelations', breadcrumb: '员工关系', childRoutes: [{ path: '/employeeInformation', key: 'employeeInformation', component: EmployeeInformation, breadcrumb: '员工信息', }] },{ path: '/leaveManagement', key: 'leaveManagement', breadcrumb: '假勤管理', childRoutes: [{ path: '/leaveStatistics', key: 'leaveStatistics', component: LeaveStatistics, breadcrumb: '请假统计', }] }] } }, { type: 'inner', route: { path: "/personnelFilesDetail", key: 'personnelFilesDetail', breadcrumb: '人员档案详情', component: PersonnelFilesDetail } }];