|
@ -16,7 +16,7 @@ export function getNavItem(user, dispatch) { |
|
|
text: '人事管理', |
|
|
text: '人事管理', |
|
|
icon: <IconCode />, |
|
|
icon: <IconCode />, |
|
|
items: [ |
|
|
items: [ |
|
|
isAuthorized('PERSONNELFILEMANAGEMENT') ? { |
|
|
isAuthorized('PERSONNELFILES') || isAuthorized('EMPLOYEEINFORMATION') || isAuthorized('JOBRATING') ? { |
|
|
itemKey: 'personnelArchives', |
|
|
itemKey: 'personnelArchives', |
|
|
text: '人员档案', |
|
|
text: '人员档案', |
|
|
icon: <iconpark-icon style={{ width: 20, height: 20 }} name="iconcbrengongdangan"></iconpark-icon>, |
|
|
icon: <iconpark-icon style={{ width: 20, height: 20 }} name="iconcbrengongdangan"></iconpark-icon>, |
|
@ -42,7 +42,7 @@ export function getNavItem(user, dispatch) { |
|
|
itemKey: 'department', to: '/humanAffairs/archivesCenter/deptArchives/department', text: '部门档案' |
|
|
itemKey: 'department', to: '/humanAffairs/archivesCenter/deptArchives/department', text: '部门档案' |
|
|
} : {}] |
|
|
} : {}] |
|
|
} : {}, |
|
|
} : {}, |
|
|
isAuthorized('LEAVEMANAGEMENT') ? { |
|
|
isAuthorized('ATTENDANCESTATISTICS') || isAuthorized('LEAVESTATISTICS') || isAuthorized('OVERTIMESTATISTICS') ? { |
|
|
itemKey: 'leaveManagement', |
|
|
itemKey: 'leaveManagement', |
|
|
text: '假勤管理', |
|
|
text: '假勤管理', |
|
|
icon: <iconpark-icon style={{ width: 20, height: 20 }} name="iconcbjiaqinguanli"></iconpark-icon>, |
|
|
icon: <iconpark-icon style={{ width: 20, height: 20 }} name="iconcbjiaqinguanli"></iconpark-icon>, |
|
@ -102,7 +102,7 @@ export function getNavItem(user, dispatch) { |
|
|
} : {} |
|
|
} : {} |
|
|
] |
|
|
] |
|
|
} : {}, |
|
|
} : {}, |
|
|
isAuthorized('TRAININGMANAGEMENT') ? { |
|
|
isAuthorized('PERSONALTRAININGRECORDS') || isAuthorized('DEPARTMENTTRAININGRECORDS') ? { |
|
|
itemKey: 'trainingManagement', |
|
|
itemKey: 'trainingManagement', |
|
|
text: '培训管理', |
|
|
text: '培训管理', |
|
|
icon: <iconpark-icon style={{ width: 20, height: 20 }} name="peixgl"></iconpark-icon>, |
|
|
icon: <iconpark-icon style={{ width: 20, height: 20 }} name="peixgl"></iconpark-icon>, |
|
@ -115,7 +115,7 @@ export function getNavItem(user, dispatch) { |
|
|
itemKey: 'departmentTrainRecord', to: '/humanAffairs/train/trainingManagement/departmentTrainRecord', text: '部门培训记录' |
|
|
itemKey: 'departmentTrainRecord', to: '/humanAffairs/train/trainingManagement/departmentTrainRecord', text: '部门培训记录' |
|
|
} : {}] |
|
|
} : {}] |
|
|
} : {}, |
|
|
} : {}, |
|
|
isAuthorized('BASICACTIONMANAGEMENT') ? { |
|
|
isAuthorized('WEEKLYREPORTMANAGEMENT') || isAuthorized('SALESLOG') || isAuthorized('ENGINEERINGLOG') ? { |
|
|
itemKey: 'basicAction', |
|
|
itemKey: 'basicAction', |
|
|
text: '基本动作', |
|
|
text: '基本动作', |
|
|
icon: <iconpark-icon style={{ width: 20, height: 20 }} name="iconcbjiben"></iconpark-icon>, |
|
|
icon: <iconpark-icon style={{ width: 20, height: 20 }} name="iconcbjiben"></iconpark-icon>, |
|
@ -131,7 +131,7 @@ export function getNavItem(user, dispatch) { |
|
|
itemKey: 'pmLog', to: '/humanAffairs/achievements/basicAction/pmLog', text: '工程日志' |
|
|
itemKey: 'pmLog', to: '/humanAffairs/achievements/basicAction/pmLog', text: '工程日志' |
|
|
} : {}] |
|
|
} : {}] |
|
|
} : {}, |
|
|
} : {}, |
|
|
isAuthorized('EMPLOYEEASSESSMENT') ? { |
|
|
isAuthorized('EMPLOYEEASSESSMENTDURINGPROBATIONARYPERIOD') || isAuthorized('FORMALEMPLOYEEASSESSMENT') ? { |
|
|
itemKey: 'employeeKPI', |
|
|
itemKey: 'employeeKPI', |
|
|
text: '员工考核', |
|
|
text: '员工考核', |
|
|
icon: <iconpark-icon style={{ width: 20, height: 20 }} name="iconcbyuangongkaohe"></iconpark-icon>, |
|
|
icon: <iconpark-icon style={{ width: 20, height: 20 }} name="iconcbyuangongkaohe"></iconpark-icon>, |
|
@ -144,7 +144,7 @@ export function getNavItem(user, dispatch) { |
|
|
itemKey: 'regular', to: '/humanAffairs/achievements/employeeKPI/regular', text: '正式员工考核' |
|
|
itemKey: 'regular', to: '/humanAffairs/achievements/employeeKPI/regular', text: '正式员工考核' |
|
|
} : {}] |
|
|
} : {}] |
|
|
} : {}, |
|
|
} : {}, |
|
|
isAuthorized('MIDDLELEVELASSESSMENT') ? { |
|
|
isAuthorized('MIDDLELEVELMONTHLYPROCESSASSESSMENT') || isAuthorized('MIDLEVELQUARTERLYASSESSMENT') ? { |
|
|
itemKey: 'middleKPI', |
|
|
itemKey: 'middleKPI', |
|
|
text: '中层考核', |
|
|
text: '中层考核', |
|
|
icon: <iconpark-icon style={{ width: 20, height: 20 }} name="iconcbzhongceng"></iconpark-icon>, |
|
|
icon: <iconpark-icon style={{ width: 20, height: 20 }} name="iconcbzhongceng"></iconpark-icon>, |
|
@ -157,7 +157,7 @@ export function getNavItem(user, dispatch) { |
|
|
itemKey: 'quarter', to: '/humanAffairs/achievements/middleKPI/quarter', text: '季度考核' |
|
|
itemKey: 'quarter', to: '/humanAffairs/achievements/middleKPI/quarter', text: '季度考核' |
|
|
} : {}] |
|
|
} : {}] |
|
|
} : {}, |
|
|
} : {}, |
|
|
isAuthorized('SENIORASSESSMENT') ? { |
|
|
isAuthorized('MONTHLYPROCESSASSESSMENTFORSENIORMANAGEMENT') || isAuthorized('QUARTERLYASSESSMENTOFSENIORMANAGEMENT') ? { |
|
|
itemKey: 'highKPI', |
|
|
itemKey: 'highKPI', |
|
|
text: '高管考核', |
|
|
text: '高管考核', |
|
|
icon: <iconpark-icon style={{ width: 20, height: 20 }} name="iconcbgaojiguanli"></iconpark-icon>, |
|
|
icon: <iconpark-icon style={{ width: 20, height: 20 }} name="iconcbgaojiguanli"></iconpark-icon>, |
|
|