From 97d51b5b848e74c905502f1ee14c833a2df75394 Mon Sep 17 00:00:00 2001
From: xufenglei <xufenglei>
Date: Mon, 16 Jul 2018 13:31:52 +0800
Subject: [PATCH] 预报预警
---
src/app/routes/routes-routing.module.ts | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/app/routes/routes-routing.module.ts b/src/app/routes/routes-routing.module.ts
index 7cec853..c2ea91b 100644
--- a/src/app/routes/routes-routing.module.ts
+++ b/src/app/routes/routes-routing.module.ts
@@ -15,6 +15,7 @@
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 = [
{
@@ -26,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' } },
@@ -38,7 +40,8 @@
{ path: 'reports', loadChildren: './reports/reports.module#ReportsModule' },
{ path: 'forecasting-warning', component: ForecastingWarningComponent },
- { path: 'pollution/management', component: PollutionManagementComponent }
+ { path: 'pollution/management', component: PollutionManagementComponent },
+ { path: 'environment/management', component: EnvironmentManagementComponent }
]
}, // passport
{
--
Gitblit v1.8.0