fengxiang
2018-07-13 7047fc75d8d33ad7608c05f655e760f4e824808b
src/app/routes/routes-routing.module.ts
@@ -13,6 +13,8 @@
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';
const routes: Routes = [
    {
@@ -33,7 +35,10 @@
            { 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 }
        ]
    },    // passport
    {