Browse Source

(*)增加培训管理/个人培训记录路由模块

master
Archer_cdm 2 years ago
parent
commit
8a63408471
  1. 5
      web/client/src/layout/components/header/contant.js
  2. 0
      web/client/src/sections/humanAffairs/containers/personalTrainRecord.jsx
  3. 8
      web/client/src/sections/humanAffairs/nav-item.jsx
  4. 11
      web/client/src/sections/humanAffairs/routes.js

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

@ -51,6 +51,11 @@ const headerItems = [{
itemKey: "trainFiles",
text: "培训档案",
to: "/humanAffairs/train/trainFiles/resourceRepository"
},{
fatherKey: "train",
itemKey: "trainingManagement",
text: "培训管理",
to: "/humanAffairs/train/trainingManagement/personalTrainRecord"
}]
}, {
itemKey: "recruit",

0
web/client/src/sections/humanAffairs/containers/personalTrainRecord.jsx

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

@ -62,6 +62,14 @@ export function getNavItem(user, dispatch) {
items: [{
itemKey: 'resourceRepository', to: '/humanAffairs/train/trainFiles/resourceRepository', text: '培训资源储存库'
}]
}, {
itemKey: 'trainingManagement',
text: '培训管理',
icon: <iconpark-icon style={{ width: 20, height: 20 }} name="iconcbpeixundangan"></iconpark-icon>,
to: '/humanAffairs/train/trainingManagement/personalTrainRecord',
items: [{
itemKey: 'personalTrainRecord', to: '/humanAffairs/train/trainingManagement/personalTrainRecord', text: '个人培训记录'
}]
}, {
itemKey: 'basicAction',
text: '基本动作',

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

@ -9,6 +9,7 @@ import {
MonthlyProcess, Quarter, HighMonthly, PenaltiesRecord,
EmployeeAuth, FormMaintenance,
PersonnelFilesDetail,
PersonalTrainRecord,
} from './containers';
export default [{
@ -114,6 +115,16 @@ export default [{
component: ResourceRepository,
breadcrumb: '培训资源储存库',
}]
}, {
path: '/trainingManagement',
key: 'trainingManagement',
breadcrumb: '培训管理',
childRoutes: [{
path: '/personalTrainRecord',
key: 'personalTrainRecord',
component: PersonalTrainRecord,
breadcrumb: '个人培训记录',
}]
}]
},
{

Loading…
Cancel
Save