| | |
| | | import { ReportComponent } from './report/report.component'; |
| | | import { UserLoginComponent } from 'app/routes/passport/login/login.component'; |
| | | |
| | | 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'; |
| | | |
| | | const routes: Routes = [ |
| | | { |
| | | path: '', |
| | | component: LayoutDefaultComponent, |
| | | children: [ |
| | | { path: '', redirectTo: 'dashboard/workplace', pathMatch: 'full' }, |
| | | { path: "", redirectTo: "home-page", pathMatch: "full" }, |
| | | { |
| | | 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: 'systems', loadChildren: './systems/systems.module#SystemsModule' }, |
| | | { path: 'reports', loadChildren: './reports/reports.module#ReportsModule' }, |
| | | |
| | | { path: 'pollution/management', component: PollutionManagementComponent } |
| | | { 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 } |
| | | ] |
| | | }, // passport |
| | | { |