diff --git a/web/client/src/layout/components/header/contant.js b/web/client/src/layout/components/header/contant.js index ff043a0..fc9cba6 100644 --- a/web/client/src/layout/components/header/contant.js +++ b/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: "档案中心", diff --git a/web/client/src/sections/humanAffairs/containers/index.js b/web/client/src/sections/humanAffairs/containers/index.js index a9e9ae4..2c160d0 100644 --- a/web/client/src/sections/humanAffairs/containers/index.js +++ b/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 }; \ No newline at end of file diff --git a/web/client/src/sections/humanAffairs/nav-item.jsx b/web/client/src/sections/humanAffairs/nav-item.jsx index c359b66..fc06084 100644 --- a/web/client/src/sections/humanAffairs/nav-item.jsx +++ b/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: , - to: '/humanAffairs/employeeRelationship/communication/employeeCommunication', - items: [{ - itemKey: 'employeeCommunication', to: '/humanAffairs/employeeRelationship/communication/employeeCommunication', text: '员工沟通统计' - }] - }, { + }, + // { + // itemKey: 'communication', + // text: '员工沟通', + // icon: , + // to: '/humanAffairs/employeeRelationship/communication/employeeCommunication', + // items: [{ + // itemKey: 'employeeCommunication', to: '/humanAffairs/employeeRelationship/communication/employeeCommunication', text: '员工沟通统计' + // }] + // }, + { itemKey: 'recruitRecord', text: '招聘记录', icon: , diff --git a/web/client/src/sections/humanAffairs/routes.js b/web/client/src/sections/humanAffairs/routes.js index 8887c81..a91bfcc 100644 --- a/web/client/src/sections/humanAffairs/routes.js +++ b/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',