safetyAssessment.ts 4.9 KB

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