fengxiang
2018-07-17 feda1a3904098d7b11ce0dea324e7b8db6228828
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,11 @@
              path: "home-page",
              loadChildren: "./home-page/home-page.module#HomePageModule"
            },
            {
              path: "enterprise-management",
              loadChildren: "./enterprise-management/enterprise-management.module#EnterpriseManagementModule"
            },
            { 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 +44,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
    {