safetyAssessment.ts 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. // === 安全奖惩与考核 ===
  2. const safetyAssessmentRoutes = {
  3. id: 9002,
  4. parentId: 9000,
  5. name: 'safetyAssessment',
  6. path: 'safety-assessment', // 建议使用 kebab-case 保持一致性
  7. redirect: '/work-safety/safety-assessment/inventory',
  8. meta: {
  9. title: '安全奖惩与考核',
  10. icon: 'OverviewIcon',
  11. isRoot: false,
  12. hidden: false,
  13. noCache: false,
  14. },
  15. children: [
  16. {
  17. id: 90020,
  18. parentId: 9002,
  19. name: 'Inventory',
  20. path: 'inventory',
  21. component: '/production-safety/safetyAssessment/inventory/inventory',
  22. meta: {
  23. title: '物品库存管理',
  24. icon: 'OverviewIcon',
  25. isRoot: false,
  26. hidden: false,
  27. noCache: false,
  28. },
  29. },
  30. {
  31. id: 9002001,
  32. parentId: 90020,
  33. name: 'InventoryItem',
  34. path: 'inventory-item',
  35. component: '/production-safety/safetyAssessment/inventory/InventoryItem',
  36. meta: {
  37. title: '物品库存详情',
  38. icon: 'OverviewIcon',
  39. isRoot: false,
  40. hidden: true,
  41. noCache: false,
  42. },
  43. },
  44. {
  45. id: 90021,
  46. parentId: 9002,
  47. name: 'ReceiptRecord',
  48. path: 'receipt-record',
  49. component: '/production-safety/safetyAssessment/receiptRecord/receiptRecord',
  50. meta: {
  51. title: '物品领取记录管理',
  52. icon: 'OverviewIcon',
  53. isRoot: false,
  54. hidden: false,
  55. noCache: false,
  56. },
  57. },
  58. {
  59. id: 9002101,
  60. parentId: 90021,
  61. name: 'ReceiptRecordItem',
  62. path: 'receipt-record-item',
  63. component: '/production-safety/safetyAssessment/receiptRecord/receiptRecordItem',
  64. meta: {
  65. title: '物品领取记录详情',
  66. icon: 'OverviewIcon',
  67. isRoot: false,
  68. hidden: true,
  69. noCache: false,
  70. },
  71. },
  72. {
  73. id: 90022,
  74. parentId: 9002,
  75. name: 'PointDeduction',
  76. path: 'point-deduction',
  77. component: '/production-safety/safetyAssessment/pointDeduction/pointDeduction',
  78. meta: {
  79. title: '月度扣分管理',
  80. icon: 'OverviewIcon',
  81. isRoot: false,
  82. hidden: false,
  83. noCache: false,
  84. },
  85. },
  86. {
  87. id: 9002201,
  88. parentId: 90022,
  89. name: 'PointDeductionItem',
  90. path: 'point-deduction-item',
  91. component: '/production-safety/safetyAssessment/pointDeduction/PointDeductionItem',
  92. meta: {
  93. title: '月度扣分详情',
  94. icon: 'OverviewIcon',
  95. isRoot: false,
  96. hidden: true,
  97. noCache: false,
  98. },
  99. },
  100. {
  101. id: 90023,
  102. parentId: 9002,
  103. name: 'EvaluationDepartment',
  104. path: 'evaluation-department',
  105. component: '/production-safety/safetyAssessment/evaluationDepartment/evaluationDepartment',
  106. meta: {
  107. title: '安全考核管理(部)',
  108. icon: 'OverviewIcon',
  109. isRoot: false,
  110. hidden: false,
  111. noCache: false,
  112. },
  113. },
  114. {
  115. id: 9002301,
  116. parentId: 90023,
  117. name: 'EvaluationDepartmentItem',
  118. path: 'evaluation-department-item',
  119. component: '/production-safety/safetyAssessment/evaluationDepartment/EvaluationDepartmentItem',
  120. meta: {
  121. title: '安全考核管理(部)详情',
  122. icon: 'OverviewIcon',
  123. isRoot: false,
  124. hidden: true,
  125. activeMenu: '/work-safety/safety-assessment/evaluation-department',
  126. noCache: false,
  127. },
  128. },
  129. {
  130. id: 90024,
  131. parentId: 9002,
  132. name: 'EvaluationSystem',
  133. path: 'evaluation-system',
  134. component: '/production-safety/safetyAssessment/evaluationSystem/evaluationSystem',
  135. meta: {
  136. title: '安全考核管理(管)',
  137. icon: 'OverviewIcon',
  138. isRoot: false,
  139. hidden: false,
  140. noCache: false,
  141. },
  142. },
  143. {
  144. id: 9002401,
  145. parentId: 90024,
  146. name: 'EvaluationSystemItem',
  147. path: 'evaluation-system-item',
  148. component: '/production-safety/safetyAssessment/evaluationSystem/EvaluationSystemItem',
  149. meta: {
  150. title: '安全考核管理(管)详情',
  151. icon: 'OverviewIcon',
  152. isRoot: false,
  153. hidden: true,
  154. noCache: false,
  155. },
  156. },
  157. ],
  158. };
  159. export default safetyAssessmentRoutes;