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

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

@ -7,7 +7,7 @@ import DeptArchives from './deptArchives';
import AttendanceStatistics from './attendanceStatistics'; import AttendanceStatistics from './attendanceStatistics';
import LeaveStatistics from './leaveStatistics'; import LeaveStatistics from './leaveStatistics';
import OvertimeStatistics from './overtimeStatistics'; import OvertimeStatistics from './overtimeStatistics';
import EmployeeCommunication from './communication/employeeCommunication'; // import EmployeeCommunication from './communication/employeeCommunication';
//招聘 //招聘
import AppointmentRecords from './appointmentRecords'; import AppointmentRecords from './appointmentRecords';
import PersonnelDistribution from './salersDistribution/personnelDistribution'; import PersonnelDistribution from './salersDistribution/personnelDistribution';
@ -44,5 +44,5 @@ export {
EmployeeAuth, FormMaintenance, EmployeeAuth, FormMaintenance,
PersonnelFilesDetail, PersonnelFilesDetail,
PersonalTrainRecord, 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: 'overtimeStatistics', to: '/humanAffairs/employeeRelationship/leaveManagement/overtimeStatistics', text: '加班统计'
}] }]
}, { },
itemKey: 'communication', // {
text: '员工沟通', // itemKey: 'communication',
icon: <iconpark-icon style={{ width: 20, height: 20 }} name="iconcbbumen"></iconpark-icon>, // text: '',
to: '/humanAffairs/employeeRelationship/communication/employeeCommunication', // icon: <iconpark-icon style={{ width: 20, height: 20 }} name="iconcbbumen"></iconpark-icon>,
items: [{ // to: '/humanAffairs/employeeRelationship/communication/employeeCommunication',
itemKey: 'employeeCommunication', to: '/humanAffairs/employeeRelationship/communication/employeeCommunication', text: '员工沟通统计' // items: [{
}] // itemKey: 'employeeCommunication', to: '/humanAffairs/employeeRelationship/communication/employeeCommunication', text: ''
}, { // }]
// },
{
itemKey: 'recruitRecord', itemKey: 'recruitRecord',
text: '招聘记录', text: '招聘记录',
icon: <iconpark-icon style={{ width: 20, height: 20 }} name="iconcbzhaopin"></iconpark-icon>, 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, PersonnelFilesDetail,
PersonalTrainRecord, PersonalTrainRecord,
DepartmentTrainRecord, DepartmentTrainRecord,
EmployeeCommunication // EmployeeCommunication
} from './containers'; } from './containers';
export default [{ export default [{
@ -77,17 +77,19 @@ export default [{
component: OvertimeStatistics, component: OvertimeStatistics,
breadcrumb: '加班统计', breadcrumb: '加班统计',
}] }]
}, { },
path: '/communication', // {
key: 'communication', // path: '/communication',
breadcrumb: '员工沟通', // key: 'communication',
childRoutes: [{ // breadcrumb: '员工沟通',
path: '/employeeCommunication', // childRoutes: [{
key: 'employeeCommunication', // path: '/employeeCommunication',
component: EmployeeCommunication, // key: 'employeeCommunication',
breadcrumb: '员工沟通统计', // component: EmployeeCommunication,
}] // breadcrumb: '员工沟通统计',
}] // }]
// }
]
}, { }, {
path: '/recruit', path: '/recruit',
key: 'recruit', key: 'recruit',

Loading…
Cancel
Save