Browse Source

(*)注释掉员工沟通统计相关代码,上个版本还未发布

master
Archer_cdm 2 years ago
parent
commit
235a874957
  1. 11
      web/client/src/layout/components/header/contant.js
  2. 4
      web/client/src/sections/humanAffairs/containers/index.js
  3. 20
      web/client/src/sections/humanAffairs/nav-item.jsx
  4. 26
      web/client/src/sections/humanAffairs/routes.js

11
web/client/src/layout/components/header/contant.js

@ -51,7 +51,7 @@ const headerItems = [{
itemKey: "trainFiles",
text: "培训档案",
to: "/humanAffairs/train/trainFiles/resourceRepository"
},{
}, {
fatherKey: "train",
itemKey: "trainingManagement",
text: "培训管理",
@ -79,7 +79,14 @@ const headerItems = [{
itemKey: "leaveManagement",
text: "假勤管理",
to: "/humanAffairs/employeeRelationship/leaveManagement/attendanceStatistics"
}]
},
// {
// fatherKey: "employeeRelationship",
// itemKey: "communication",
// text: "员工沟通",
// to: "/humanAffairs/employeeRelationship/communication/employeeCommunication"
// }
]
}, {
itemKey: "archivesCenter",
text: "档案中心",

4
web/client/src/sections/humanAffairs/containers/index.js

@ -7,7 +7,7 @@ import DeptArchives from './deptArchives';
import AttendanceStatistics from './attendanceStatistics';
import LeaveStatistics from './leaveStatistics';
import OvertimeStatistics from './overtimeStatistics';
import EmployeeCommunication from './communication/employeeCommunication';
// import EmployeeCommunication from './communication/employeeCommunication';
//招聘
import AppointmentRecords from './appointmentRecords';
import PersonnelDistribution from './salersDistribution/personnelDistribution';
@ -44,5 +44,5 @@ export {
EmployeeAuth, FormMaintenance,
PersonnelFilesDetail,
PersonalTrainRecord,
EmployeeCommunication
// EmployeeCommunication
};

20
web/client/src/sections/humanAffairs/nav-item.jsx

@ -38,15 +38,17 @@ export function getNavItem(user, dispatch) {
}, {
itemKey: 'overtimeStatistics', to: '/humanAffairs/employeeRelationship/leaveManagement/overtimeStatistics', text: '加班统计'
}]
}, {
itemKey: 'communication',
text: '员工沟通',
icon: <iconpark-icon style={{ width: 20, height: 20 }} name="iconcbbumen"></iconpark-icon>,
to: '/humanAffairs/employeeRelationship/communication/employeeCommunication',
items: [{
itemKey: 'employeeCommunication', to: '/humanAffairs/employeeRelationship/communication/employeeCommunication', text: '员工沟通统计'
}]
}, {
},
// {
// itemKey: 'communication',
// text: '',
// icon: <iconpark-icon style={{ width: 20, height: 20 }} name="iconcbbumen"></iconpark-icon>,
// to: '/humanAffairs/employeeRelationship/communication/employeeCommunication',
// items: [{
// itemKey: 'employeeCommunication', to: '/humanAffairs/employeeRelationship/communication/employeeCommunication', text: ''
// }]
// },
{
itemKey: 'recruitRecord',
text: '招聘记录',
icon: <iconpark-icon style={{ width: 20, height: 20 }} name="iconcbzhaopin"></iconpark-icon>,

26
web/client/src/sections/humanAffairs/routes.js

@ -11,7 +11,7 @@ import {
PersonnelFilesDetail,
PersonalTrainRecord,
DepartmentTrainRecord,
EmployeeCommunication
// EmployeeCommunication
} from './containers';
export default [{
@ -77,17 +77,19 @@ export default [{
component: OvertimeStatistics,
breadcrumb: '加班统计',
}]
}, {
path: '/communication',
key: 'communication',
breadcrumb: '员工沟通',
childRoutes: [{
path: '/employeeCommunication',
key: 'employeeCommunication',
component: EmployeeCommunication,
breadcrumb: '员工沟通统计',
}]
}]
},
// {
// path: '/communication',
// key: 'communication',
// breadcrumb: '员工沟通',
// childRoutes: [{
// path: '/employeeCommunication',
// key: 'employeeCommunication',
// component: EmployeeCommunication,
// breadcrumb: '员工沟通统计',
// }]
// }
]
}, {
path: '/recruit',
key: 'recruit',

Loading…
Cancel
Save