maintenance-statistics-routing.module.ts 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. import { NgModule } from '@angular/core';
  2. import { Routes, RouterModule } from '@angular/router';
  3. import { MaintenanceStatisticsComponent } from './maintenance-statistics.component';
  4. const routes: Routes = [
  5. {
  6. path: '',
  7. component: MaintenanceStatisticsComponent,
  8. children: [
  9. {
  10. // 综合统计
  11. path: 'synthesizeStatistics',
  12. loadChildren: () => import('./synthesize-statistics/synthesize-statistics.module').then(m => m.SynthesizeStatisticsModule),
  13. data: {
  14. reuse: true,
  15. title: '修-综合统计'
  16. }
  17. },
  18. {
  19. // 故障工单统计
  20. path: 'incidentStatistics',
  21. loadChildren: () => import('./incident-statistics/incident-statistics.module').then(m => m.IncidentStatisticsModule),
  22. data: {
  23. reuse: true,
  24. title: '修-故障工单统计'
  25. }
  26. },
  27. {
  28. // 一级故障现象
  29. path: 'categoryOneStatistics',
  30. loadChildren: () => import('./category-one-statistics/category-one-statistics.module').then(m => m.CategoryOneStatisticsModule),
  31. data: {
  32. reuse: true,
  33. title: '修-一级故障现象'
  34. }
  35. },
  36. {
  37. // 二级故障现象
  38. path: 'categoryTwoStatistics',
  39. loadChildren: () => import('./category-two-statistics/category-two-statistics.module').then(m => m.CategoryTwoStatisticsModule),
  40. data: {
  41. reuse: true,
  42. title: '修-二级故障现象'
  43. }
  44. },
  45. {
  46. // 三级故障现象
  47. path: 'categoryThreeStatistics',
  48. loadChildren: () => import('./category-three-statistics/category-three-statistics.module').then(m => m.CategoryThreeStatisticsModule),
  49. data: {
  50. reuse: true,
  51. title: '修-三级故障现象'
  52. }
  53. },
  54. {
  55. // 维修组统计
  56. path: 'groupStatistics',
  57. loadChildren: () => import('./group-statistics/group-statistics.module').then(m => m.GroupStatisticsModule),
  58. data: {
  59. reuse: true,
  60. title: '修-维修组统计'
  61. }
  62. },
  63. {
  64. // 维修人统计
  65. path: 'userStatistics',
  66. loadChildren: () => import('./user-statistics/user-statistics.module').then(m => m.UserStatisticsModule),
  67. data: {
  68. reuse: true,
  69. title: '修-维修人统计'
  70. }
  71. },
  72. {
  73. // 三方公司统计
  74. path: 'tripartiteCompanyStatistics',
  75. loadChildren: () => import('./tripartite-company-statistics/tripartite-company-statistics.module').then(m => m.TripartiteCompanyStatisticsModule),
  76. data: {
  77. reuse: true,
  78. title: '修-三方公司统计'
  79. }
  80. },
  81. {
  82. // 楼栋统计
  83. path: 'buildingStatistics',
  84. loadChildren: () => import('./building-statistics/building-statistics.module').then(m => m.BuildingStatisticsModule),
  85. data: {
  86. reuse: true,
  87. title: '修-楼栋统计'
  88. }
  89. },
  90. {
  91. // 楼层统计
  92. path: 'floorStatistics',
  93. loadChildren: () => import('./floor-statistics/floor-statistics.module').then(m => m.FloorStatisticsModule),
  94. data: {
  95. reuse: true,
  96. title: '修-楼层统计'
  97. }
  98. },
  99. {
  100. // 科室工单统计
  101. path: 'departmentIncidentStatistics',
  102. loadChildren: () => import('./department-incident-statistics/department-incident-statistics.module').then(m => m.DepartmentIncidentStatisticsModule),
  103. data: {
  104. reuse: true,
  105. title: '修-科室工单统计'
  106. }
  107. },
  108. {
  109. // 科室评价统计
  110. path: 'departmentEvaluateStatistics',
  111. loadChildren: () => import('./department-evaluate-statistics/department-evaluate-statistics.module').then(m => m.DepartmentEvaluateStatisticsModule),
  112. data: {
  113. reuse: true,
  114. title: '修-科室评价统计'
  115. }
  116. },
  117. {
  118. // 科室来源统计
  119. path: 'departmentSourceStatistics',
  120. loadChildren: () => import('./department-source-statistics/department-source-statistics.module').then(m => m.DepartmentSourceStatisticsModule),
  121. data: {
  122. reuse: true,
  123. title: '修-科室来源统计'
  124. }
  125. },
  126. {
  127. // 故障来源统计
  128. path: 'categorySourceStatistics',
  129. loadChildren: () => import('./category-source-statistics/category-source-statistics.module').then(m => m.CategorySourceStatisticsModule),
  130. data: {
  131. reuse: true,
  132. title: '修-故障来源统计'
  133. }
  134. },
  135. {
  136. // 耗材统计
  137. path: 'consumableStatistics',
  138. loadChildren: () => import('./consumable-statistics/consumable-statistics.module').then(m => m.ConsumableStatisticsModule),
  139. data: {
  140. reuse: true,
  141. title: '修-耗材统计'
  142. }
  143. },
  144. {
  145. // 工时小类统计
  146. path: 'workHourSmallStatistics',
  147. loadChildren: () => import('./work-hour-small-statistics/work-hour-small-statistics.module').then(m => m.WorkHourSmallStatisticsModule),
  148. data: {
  149. reuse: true,
  150. title: '修-工时小类统计'
  151. }
  152. },
  153. {
  154. // 工时大类统计
  155. path: 'workHourBigStatistics',
  156. loadChildren: () => import('./work-hour-big-statistics/work-hour-big-statistics.module').then(m => m.WorkHourBigStatisticsModule),
  157. data: {
  158. reuse: true,
  159. title: '修-工时大类统计'
  160. }
  161. },
  162. {
  163. // 人员效能统计
  164. path: 'personnelEffectivenessStatistics',
  165. loadChildren: () => import('./personnel-effectiveness-statistics/personnel-effectiveness-statistics.module').then(m => m.PersonnelEffectivenessStatisticsModule),
  166. data: {
  167. reuse: true,
  168. title: '修-人员效能统计'
  169. }
  170. },
  171. {
  172. // 优先级日期统计
  173. path: 'priorityDateStatistics',
  174. loadChildren: () => import('./priority-date-statistics/priority-date-statistics.module').then(m => m.PriorityDateStatisticsModule),
  175. data: {
  176. reuse: true,
  177. title: '修-优先级日期统计'
  178. }
  179. },
  180. {
  181. // 优先级质控统计
  182. path: 'priorityQualityControlStatistics',
  183. loadChildren: () => import('./priority-quality-control-statistics/priority-quality-control-statistics.module').then(m => m.PriorityQualityControlStatisticsModule),
  184. data: {
  185. reuse: true,
  186. title: '修-优先级质控统计'
  187. }
  188. },
  189. {
  190. // 人员评价统计
  191. path: 'userEvaluateStatistics',
  192. loadChildren: () => import('./user-evaluate-statistics/user-evaluate-statistics.module').then(m => m.UserEvaluateStatisticsModule),
  193. data: {
  194. reuse: true,
  195. title: '修-人员评价统计'
  196. }
  197. },
  198. {
  199. // 故障工单列表
  200. path: 'incidentList',
  201. loadChildren: () => import('./incident-list/incident-list.module').then(m => m.IncidentListModule),
  202. data: {
  203. reuse: true,
  204. title: '修-故障工单列表'
  205. }
  206. },
  207. ]
  208. }
  209. ];
  210. @NgModule({
  211. imports: [RouterModule.forChild(routes)],
  212. exports: [RouterModule]
  213. })
  214. export class MaintenanceStatisticsRoutingModule { }