You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
257 lines
9.9 KiB
257 lines
9.9 KiB
import {
|
|
PersonnelFiles, EmployeeInformation, PositionRating, //人员档案
|
|
DeptArchives, //部门档案
|
|
AttendanceStatistics, LeaveStatistics, OvertimeStatistics,
|
|
AppointmentRecords, PersonnelDistribution,
|
|
ResourceRepository,
|
|
WeeklyManagement, SaleLog, PMLog,
|
|
ProbationerKPI, RegularKPI,
|
|
MonthlyProcess, Quarter, HighMonthly, PenaltiesRecord,HighQuarter,
|
|
EmployeeAuth, FormMaintenance,
|
|
PersonnelFilesDetail,
|
|
PersonalTrainRecord,
|
|
DepartmentTrainRecord,
|
|
EmployeeCommunication
|
|
} from './containers';
|
|
|
|
export default [{
|
|
type: 'inner',
|
|
route: {
|
|
path: '/humanAffairs',
|
|
key: 'humanAffairs',
|
|
breadcrumb: '人事管理',
|
|
// 不设置 component 则面包屑禁止跳转
|
|
childRoutes: [
|
|
{
|
|
path: '/archivesCenter',
|
|
key: 'archivesCenter',
|
|
breadcrumb: '档案中心',
|
|
childRoutes: [{
|
|
path: '/personnelArchives',
|
|
key: 'personnelArchives',
|
|
component: PersonnelFiles,
|
|
breadcrumb: '人员档案',
|
|
childRoutes: [{
|
|
path: '/personnelFiles',
|
|
key: 'personnelFiles',
|
|
component: PersonnelFiles,
|
|
breadcrumb: '人员档案',
|
|
}, {
|
|
path: '/employeeInformation',
|
|
key: 'employeeInformation',
|
|
component: EmployeeInformation,
|
|
breadcrumb: '员工信息',
|
|
}, {
|
|
path: '/positionRating',
|
|
key: 'positionRating',
|
|
component: PositionRating,
|
|
breadcrumb: '岗位评级'
|
|
}]
|
|
}, {
|
|
path: '/deptArchives',
|
|
key: 'deptArchives',
|
|
breadcrumb: '部门档案',
|
|
childRoutes: [{
|
|
path: '/department',
|
|
key: 'department',
|
|
component: DeptArchives,
|
|
breadcrumb: '部门档案',
|
|
}]
|
|
}]
|
|
}, {
|
|
path: '/employeeRelationship',
|
|
key: 'employeeRelationship',
|
|
breadcrumb: '员工关系',
|
|
childRoutes: [{
|
|
path: '/leaveManagement',
|
|
key: 'leaveManagement',
|
|
breadcrumb: '假勤管理',
|
|
childRoutes: [{
|
|
path: '/attendanceStatistics',
|
|
key: 'attendanceStatistics',
|
|
component: AttendanceStatistics,
|
|
breadcrumb: '出勤统计',
|
|
}, {
|
|
path: '/leaveStatistics',
|
|
key: 'leaveStatistics',
|
|
component: LeaveStatistics,
|
|
breadcrumb: '请假统计',
|
|
}, {
|
|
path: '/overtimeStatistics',
|
|
key: 'overtimeStatistics',
|
|
component: OvertimeStatistics,
|
|
breadcrumb: '加班统计',
|
|
}]
|
|
}, {
|
|
path: '/communication',
|
|
key: 'communication',
|
|
breadcrumb: '员工沟通',
|
|
childRoutes: [{
|
|
path: '/employeeCommunication',
|
|
key: 'employeeCommunication',
|
|
component: EmployeeCommunication,
|
|
breadcrumb: '员工沟通统计',
|
|
}]
|
|
}]
|
|
}, {
|
|
path: '/recruit',
|
|
key: 'recruit',
|
|
breadcrumb: '招聘',
|
|
childRoutes: [{
|
|
path: '/recruitRecord',
|
|
key: 'recruitRecord',
|
|
breadcrumb: '招聘记录',
|
|
childRoutes: [{
|
|
path: '/appointmentRecords',
|
|
key: 'appointmentRecords',
|
|
component: AppointmentRecords,
|
|
breadcrumb: '任用记录',
|
|
}]
|
|
}, {
|
|
path: '/salesStatistics',
|
|
key: 'salesStatistics',
|
|
breadcrumb: '销售统计',
|
|
childRoutes: [{
|
|
path: '/personnelDistribution',
|
|
key: 'personnelDistribution',
|
|
component: PersonnelDistribution,
|
|
breadcrumb: '销售人员分布',
|
|
}]
|
|
}]
|
|
}, {
|
|
path: '/train',
|
|
key: 'train',
|
|
breadcrumb: '培训',
|
|
childRoutes: [{
|
|
path: '/trainFiles',
|
|
key: 'trainFiles',
|
|
breadcrumb: '培训档案',
|
|
childRoutes: [{
|
|
path: '/resourceRepository',
|
|
key: 'resourceRepository',
|
|
component: ResourceRepository,
|
|
breadcrumb: '培训资源储存库',
|
|
}]
|
|
}, {
|
|
path: '/trainingManagement',
|
|
key: 'trainingManagement',
|
|
breadcrumb: '培训管理',
|
|
childRoutes: [{
|
|
path: '/personalTrainRecord',
|
|
key: 'personalTrainRecord',
|
|
component: PersonalTrainRecord,
|
|
breadcrumb: '个人培训记录',
|
|
}, {
|
|
path: '/departmentTrainRecord',
|
|
key: 'departmentTrainRecord',
|
|
component: DepartmentTrainRecord,
|
|
breadcrumb: '部门培训记录',
|
|
}]
|
|
}]
|
|
},
|
|
{
|
|
path: '/achievements',
|
|
key: 'achievements',
|
|
breadcrumb: '绩效考核',
|
|
childRoutes: [{
|
|
path: '/basicAction',
|
|
key: 'basicAction',
|
|
breadcrumb: '基本动作',
|
|
childRoutes: [{
|
|
path: '/weeklyManagement',
|
|
key: 'weeklyManagement',
|
|
component: WeeklyManagement,
|
|
breadcrumb: '周报管理',
|
|
}, {
|
|
path: '/saleLog',
|
|
key: 'saleLog',
|
|
component: SaleLog,
|
|
breadcrumb: '销售日志',
|
|
}, {
|
|
path: '/pmLog',
|
|
key: 'pmLog',
|
|
component: PMLog,
|
|
breadcrumb: '工程日志',
|
|
}]
|
|
}, {
|
|
path: '/employeeKPI',
|
|
key: 'employeeKPI',
|
|
breadcrumb: '员工考核',
|
|
childRoutes: [{
|
|
path: '/probationer',
|
|
key: 'probationer',
|
|
component: ProbationerKPI,
|
|
breadcrumb: '试用期员工考核',
|
|
}, {
|
|
path: '/regular',
|
|
key: 'regular',
|
|
component: RegularKPI,
|
|
breadcrumb: '正式员工考核',
|
|
}]
|
|
}, {
|
|
path: '/middleKPI',
|
|
key: 'middleKPI',
|
|
breadcrumb: '中层考核',
|
|
childRoutes: [{
|
|
path: '/monthlyProcess',
|
|
key: 'monthlyProcess',
|
|
component: MonthlyProcess,
|
|
breadcrumb: '月度过程考核',
|
|
}, {
|
|
path: '/quarter',
|
|
key: 'quarter',
|
|
component: Quarter,
|
|
breadcrumb: '季度考核',
|
|
}]
|
|
}, {
|
|
path: '/highKPI',
|
|
key: 'highKPI',
|
|
breadcrumb: '高管考核',
|
|
childRoutes: [{
|
|
path: '/highMonthly',
|
|
key: 'highMonthly',
|
|
component: HighMonthly,
|
|
breadcrumb: '月度过程考核',
|
|
}, {
|
|
path: '/Highquarter',
|
|
key: 'Highquarter',
|
|
component: HighQuarter,
|
|
breadcrumb: '季度考核',
|
|
}]
|
|
}, {
|
|
path: '/penalties',
|
|
key: 'penalties',
|
|
breadcrumb: '奖惩信息',
|
|
childRoutes: [{
|
|
path: '/penaltiesRecord',
|
|
key: 'penaltiesRecord',
|
|
component: PenaltiesRecord,
|
|
breadcrumb: '奖惩信息',
|
|
}]
|
|
}]
|
|
}, {
|
|
path: '/authCenter',
|
|
key: 'authCenter',
|
|
breadcrumb: '权限中心',
|
|
childRoutes: [{
|
|
path: '/employeeAuth',
|
|
key: 'employeeAuth',
|
|
breadcrumb: '员工权限',
|
|
component: EmployeeAuth
|
|
}, {
|
|
path: '/formMaintenance',
|
|
key: 'formMaintenance',
|
|
component: FormMaintenance,
|
|
breadcrumb: '表单维护',
|
|
}]
|
|
}]
|
|
}
|
|
}, {
|
|
type: 'inner',
|
|
route: {
|
|
path: "/personnelFilesDetail",
|
|
key: 'personnelFilesDetail',
|
|
breadcrumb: '人员档案详情',
|
|
component: PersonnelFilesDetail
|
|
}
|
|
}];
|