123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218 |
- import { NgModule } from '@angular/core';
- import { Routes, RouterModule } from '@angular/router';
- import { MaintenanceStatisticsComponent } from './maintenance-statistics.component';
- const routes: Routes = [
- {
- path: '',
- component: MaintenanceStatisticsComponent,
- children: [
- {
- // 综合统计
- path: 'synthesizeStatistics',
- loadChildren: () => import('./synthesize-statistics/synthesize-statistics.module').then(m => m.SynthesizeStatisticsModule),
- data: {
- reuse: true,
- title: '修-综合统计'
- }
- },
- {
- // 故障工单统计
- path: 'incidentStatistics',
- loadChildren: () => import('./incident-statistics/incident-statistics.module').then(m => m.IncidentStatisticsModule),
- data: {
- reuse: true,
- title: '修-故障工单统计'
- }
- },
- {
- // 一级故障现象
- path: 'categoryOneStatistics',
- loadChildren: () => import('./category-one-statistics/category-one-statistics.module').then(m => m.CategoryOneStatisticsModule),
- data: {
- reuse: true,
- title: '修-一级故障现象'
- }
- },
- {
- // 二级故障现象
- path: 'categoryTwoStatistics',
- loadChildren: () => import('./category-two-statistics/category-two-statistics.module').then(m => m.CategoryTwoStatisticsModule),
- data: {
- reuse: true,
- title: '修-二级故障现象'
- }
- },
- {
- // 三级故障现象
- path: 'categoryThreeStatistics',
- loadChildren: () => import('./category-three-statistics/category-three-statistics.module').then(m => m.CategoryThreeStatisticsModule),
- data: {
- reuse: true,
- title: '修-三级故障现象'
- }
- },
- {
- // 维修组统计
- path: 'groupStatistics',
- loadChildren: () => import('./group-statistics/group-statistics.module').then(m => m.GroupStatisticsModule),
- data: {
- reuse: true,
- title: '修-维修组统计'
- }
- },
- {
- // 维修人统计
- path: 'userStatistics',
- loadChildren: () => import('./user-statistics/user-statistics.module').then(m => m.UserStatisticsModule),
- data: {
- reuse: true,
- title: '修-维修人统计'
- }
- },
- {
- // 三方公司统计
- path: 'tripartiteCompanyStatistics',
- loadChildren: () => import('./tripartite-company-statistics/tripartite-company-statistics.module').then(m => m.TripartiteCompanyStatisticsModule),
- data: {
- reuse: true,
- title: '修-三方公司统计'
- }
- },
- {
- // 楼栋统计
- path: 'buildingStatistics',
- loadChildren: () => import('./building-statistics/building-statistics.module').then(m => m.BuildingStatisticsModule),
- data: {
- reuse: true,
- title: '修-楼栋统计'
- }
- },
- {
- // 楼层统计
- path: 'floorStatistics',
- loadChildren: () => import('./floor-statistics/floor-statistics.module').then(m => m.FloorStatisticsModule),
- data: {
- reuse: true,
- title: '修-楼层统计'
- }
- },
- {
- // 科室工单统计
- path: 'departmentIncidentStatistics',
- loadChildren: () => import('./department-incident-statistics/department-incident-statistics.module').then(m => m.DepartmentIncidentStatisticsModule),
- data: {
- reuse: true,
- title: '修-科室工单统计'
- }
- },
- {
- // 科室评价统计
- path: 'departmentEvaluateStatistics',
- loadChildren: () => import('./department-evaluate-statistics/department-evaluate-statistics.module').then(m => m.DepartmentEvaluateStatisticsModule),
- data: {
- reuse: true,
- title: '修-科室评价统计'
- }
- },
- {
- // 科室来源统计
- path: 'departmentSourceStatistics',
- loadChildren: () => import('./department-source-statistics/department-source-statistics.module').then(m => m.DepartmentSourceStatisticsModule),
- data: {
- reuse: true,
- title: '修-科室来源统计'
- }
- },
- {
- // 故障来源统计
- path: 'categorySourceStatistics',
- loadChildren: () => import('./category-source-statistics/category-source-statistics.module').then(m => m.CategorySourceStatisticsModule),
- data: {
- reuse: true,
- title: '修-故障来源统计'
- }
- },
- {
- // 耗材统计
- path: 'consumableStatistics',
- loadChildren: () => import('./consumable-statistics/consumable-statistics.module').then(m => m.ConsumableStatisticsModule),
- data: {
- reuse: true,
- title: '修-耗材统计'
- }
- },
- {
- // 工时小类统计
- path: 'workHourSmallStatistics',
- loadChildren: () => import('./work-hour-small-statistics/work-hour-small-statistics.module').then(m => m.WorkHourSmallStatisticsModule),
- data: {
- reuse: true,
- title: '修-工时小类统计'
- }
- },
- {
- // 工时大类统计
- path: 'workHourBigStatistics',
- loadChildren: () => import('./work-hour-big-statistics/work-hour-big-statistics.module').then(m => m.WorkHourBigStatisticsModule),
- data: {
- reuse: true,
- title: '修-工时大类统计'
- }
- },
- {
- // 人员效能统计
- path: 'personnelEffectivenessStatistics',
- loadChildren: () => import('./personnel-effectiveness-statistics/personnel-effectiveness-statistics.module').then(m => m.PersonnelEffectivenessStatisticsModule),
- data: {
- reuse: true,
- title: '修-人员效能统计'
- }
- },
- {
- // 优先级日期统计
- path: 'priorityDateStatistics',
- loadChildren: () => import('./priority-date-statistics/priority-date-statistics.module').then(m => m.PriorityDateStatisticsModule),
- data: {
- reuse: true,
- title: '修-优先级日期统计'
- }
- },
- {
- // 优先级质控统计
- path: 'priorityQualityControlStatistics',
- loadChildren: () => import('./priority-quality-control-statistics/priority-quality-control-statistics.module').then(m => m.PriorityQualityControlStatisticsModule),
- data: {
- reuse: true,
- title: '修-优先级质控统计'
- }
- },
- {
- // 人员评价统计
- path: 'userEvaluateStatistics',
- loadChildren: () => import('./user-evaluate-statistics/user-evaluate-statistics.module').then(m => m.UserEvaluateStatisticsModule),
- data: {
- reuse: true,
- title: '修-人员评价统计'
- }
- },
- {
- // 故障工单列表
- path: 'incidentList',
- loadChildren: () => import('./incident-list/incident-list.module').then(m => m.IncidentListModule),
- data: {
- reuse: true,
- title: '修-故障工单列表'
- }
- },
- ]
- }
- ];
- @NgModule({
- imports: [RouterModule.forChild(routes)],
- exports: [RouterModule]
- })
- export class MaintenanceStatisticsRoutingModule { }
|