| | |
| | | |
| | | import { ForecastingWarningComponent } from './forecasting-warning/forecasting-warning.component'; |
| | | import { PollutionManagementComponent } from 'app/routes/pollution/management/management.component'; |
| | | import { MonitorpointComponent } from 'app/routes/statistics/monitorpoint/monitorpoint.component'; |
| | | import { CalendarComponent } from 'app/routes/statistics/calendar/calendar.component'; |
| | | import { AnalysisComponent } from 'app/routes/statistics/analysis/analysis.component'; |
| | | import { EnvironmentManagementComponent } from 'app/routes/environment/management/management.component'; |
| | | import { GridTraceComponent } from './grid-trace/grid-trace.component'; |
| | | import { SandTableComponent } from './sand-table/sand-table.component'; |
| | | import { RaiseDustComponent } from './raise-dust/raise-dust.component'; |
| | | |
| | | const routes: Routes = [ |
| | | { |
| | |
| | | path: "home-page", |
| | | loadChildren: "./home-page/home-page.module#HomePageModule" |
| | | }, |
| | | { path: 'dashboard', redirectTo: 'dashboard/v1', pathMatch: 'full' }, |
| | | { path: 'dashboard/v1', component: DashboardV1Component, data: { translate: 'dashboard_v1' } }, |
| | | { path: 'dashboard/analysis', component: DashboardAnalysisComponent, data: { translate: 'dashboard_analysis' } }, |
| | | { path: 'dashboard/monitor', component: DashboardMonitorComponent, data: { translate: 'dashboard_monitor' } }, |
| | | { path: 'dashboard/workplace', component: DashboardWorkplaceComponent, data: { translate: 'dashboard_workplace' } }, |
| | | { path: 'users', loadChildren: './users/users.module#UsersModule' }, |
| | | { path: 'devices', loadChildren: './devices/devices.module#DevicesModule' }, |
| | | { path: 'sensors', loadChildren: './sensors/sensors.module#SensorsModule' }, |
| | | { path: 'systems', loadChildren: './systems/systems.module#SystemsModule' }, |
| | | { path: 'reports', loadChildren: './reports/reports.module#ReportsModule' }, |
| | | |
| | | { |
| | | path: "enterprise-management", |
| | | loadChildren: "./enterprise-management/enterprise-management.module#EnterpriseManagementModule" |
| | | }, |
| | | { path: 'statistics', loadChildren: './statistics/statistics.module#StatisticsModule' }, |
| | | { path: 'forecasting-warning', component: ForecastingWarningComponent }, |
| | | { path: 'pollution/management', component: PollutionManagementComponent }, |
| | | |
| | | { path: 'statistics/monitorpoint', component: MonitorpointComponent }, |
| | | { path: 'statistics/calendar', component: CalendarComponent }, |
| | | { path: 'statistics/analysis', component: AnalysisComponent } |
| | | { path: 'environment/management', component: EnvironmentManagementComponent }, |
| | | { path: 'grid-trace', component: GridTraceComponent }, |
| | | { path: 'reports', loadChildren: './reports/reports.module#ReportsModule' }, |
| | | { |
| | | path: "operation", |
| | | loadChildren: "./operation/operation.module#OperationModule" |
| | | }, |
| | | { path: 'sand-table', component: SandTableComponent }, |
| | | { path: 'raise-dust', component: RaiseDustComponent }, |
| | | ] |
| | | }, // passport |
| | | { |