safetyTrainingAndEducation.ts 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. // === 安全教育培训 ===
  2. import { RouteComponent } from "vue-router";
  3. const safetyTrainingAndEducationRoutes: RouteComponent[] = [{
  4. id: 9006,
  5. parentId: 9000,
  6. name: 'safetyTrainingAndEducation',
  7. path: 'safety-training-and-education',
  8. redirect: '/work-safety/safety-training-and-education/education-training-plan-management',
  9. meta: {
  10. title: '安全教育培训',
  11. icon: 'BookOpenText',
  12. isRoot: false,
  13. hidden: false,
  14. noCache: false,
  15. },
  16. children: [
  17. {
  18. id: 900601,
  19. parentId: 9006,
  20. name: 'educationTrainingPlanManagement',
  21. path: 'education-training-plan-management',
  22. component: '/production-safety/safetyTrainingAndEducation/educationTrainingPlanManagement/educationTrainingPlanManagement',
  23. meta: {
  24. title: '教育培训计划管理(管理员)',
  25. icon: 'OverviewIcon',
  26. isRoot: false,
  27. hidden: false,
  28. noCache: false,
  29. },
  30. },
  31. {
  32. id: 90060101,
  33. parentId: 900601,
  34. name: 'educationTrainingPlanManagementItem',
  35. path: 'education-training-plan-management-item',
  36. component: '/production-safety/safetyTrainingAndEducation/educationTrainingPlanManagement/educationTrainingPlanManagementItem',
  37. meta: {
  38. title: '教育培训计划管理(管理员)详情',
  39. icon: 'OverviewIcon',
  40. isRoot: false,
  41. hidden: true,
  42. noCache: false,
  43. },
  44. },
  45. {
  46. id: 900602,
  47. parentId: 9006,
  48. name: 'educationTrainingPlanManagementDept',
  49. path: 'education-training-plan-management-dept',
  50. component: '/production-safety/safetyTrainingAndEducation/educationTrainingPlanManagementDept/educationTrainingPlanManagementDept',
  51. meta: {
  52. title: '教育培训计划管理(部门)',
  53. icon: 'OverviewIcon',
  54. isRoot: false,
  55. hidden: false,
  56. noCache: false,
  57. },
  58. },
  59. {
  60. id: 90060201,
  61. parentId: 900602,
  62. name: 'educationTrainingPlanManagementDeptItem',
  63. path: 'education-training-plan-management-dept-item',
  64. component: '/production-safety/safetyTrainingAndEducation/educationTrainingPlanManagementDept/educationTrainingPlanManagementDeptItem',
  65. meta: {
  66. title: '教育培训计划管理(部门)详情',
  67. icon: 'OverviewIcon',
  68. isRoot: false,
  69. hidden: true,
  70. noCache: false,
  71. },
  72. },
  73. {
  74. id: 90060202,
  75. parentId: 9006,
  76. name: 'employeeTrainingRecordCardManagement',
  77. path: 'employee-training-record-card-management',
  78. component: '/production-safety/safetyTrainingAndEducation/employeeTrainingRecordCardManagement/employeeTrainingRecordCardManagement',
  79. meta: {
  80. title: '员工培训记录卡管理',
  81. icon: 'OverviewIcon',
  82. isRoot: false,
  83. hidden: false,
  84. noCache: false,
  85. },
  86. },
  87. {
  88. id: 90060203,
  89. parentId: 90060202,
  90. name: 'employeeTrainingRecordCardManagementItem',
  91. path: 'employee-training-record-card-management-item',
  92. component: '/production-safety/safetyTrainingAndEducation/employeeTrainingRecordCardManagement/employeeTrainingRecordCardManagementItem',
  93. meta: {
  94. title: '员工培训记录卡管理详情',
  95. icon: 'OverviewIcon',
  96. isRoot: false,
  97. hidden: true,
  98. noCache: false,
  99. },
  100. },
  101. ],
  102. }];
  103. export default safetyTrainingAndEducationRoutes;