From ac15da5faadd28ece3c3878ce3030f9eb8d44e72 Mon Sep 17 00:00:00 2001 From: xufenglei <xufenglei> Date: Mon, 16 Jul 2018 16:06:27 +0800 Subject: [PATCH] 更新 --- src/app/routes/routes-routing.module.ts | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/src/app/routes/routes-routing.module.ts b/src/app/routes/routes-routing.module.ts index ae052a2..c2ea91b 100644 --- a/src/app/routes/routes-routing.module.ts +++ b/src/app/routes/routes-routing.module.ts @@ -13,6 +13,9 @@ 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 { EnvironmentManagementComponent } from 'app/routes/environment/management/management.component'; const routes: Routes = [ { @@ -24,6 +27,7 @@ path: "home-page", loadChildren: "./home-page/home-page.module#HomePageModule" }, + { path: 'statistics', loadChildren: './statistics/statistics.module#StatisticsModule' }, { 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' } }, @@ -33,7 +37,11 @@ { 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: 'reports', loadChildren: './reports/reports.module#ReportsModule' }, + + { path: 'forecasting-warning', component: ForecastingWarningComponent }, + { path: 'pollution/management', component: PollutionManagementComponent }, + { path: 'environment/management', component: EnvironmentManagementComponent } ] }, // passport { -- Gitblit v1.8.0