| | |
| | | import { UserLoginComponent } from './passport/login/login.component'; |
| | | import { DateService } from '@business/services/util/date.service'; |
| | | import { _HttpClient } from '@delon/theme'; |
| | | import { NgModule } from '@angular/core'; |
| | | import { RouterModule } from '@angular/router'; |
| | | import { SharedModule } from '@shared/shared.module'; |
| | | import { PagesModule } from './pages/pages.module'; |
| | | import { environment } from '../../environments/environment'; |
| | | |
| | | import { routes } from './routes'; |
| | | import { SharedModule } from '@shared/shared.module'; |
| | | import { RouteRoutingModule } from './routes-routing.module'; |
| | | import { environment } from '@env/environment'; |
| | | // dashboard pages |
| | | import { DashboardV1Component } from './dashboard/v1/v1.component'; |
| | | import { DashboardAnalysisComponent } from './dashboard/analysis/analysis.component'; |
| | | import { DashboardMonitorComponent } from './dashboard/monitor/monitor.component'; |
| | | import { DashboardWorkplaceComponent } from './dashboard/workplace/workplace.component'; |
| | | import { CallbackComponent } from './callback/callback.component'; |
| | | import { ForecastingWarningComponent } from './forecasting-warning/forecasting-warning.component'; |
| | | import { ReportComponent } from './report/report.component'; |
| | | import { PollutionManagementComponent } from './pollution/management/management.component'; |
| | | // import { MonitorpointComponent } from './statistics/monitorpoint/monitorpoint.component'; |
| | | // import { CalendarComponent } from './statistics/calendar/calendar.component'; |
| | | // import { AnalysisComponent } from './statistics/analysis/analysis.component'; |
| | | import { EnvironmentManagementComponent } from './environment/management/management.component'; |
| | | |
| | | // pro |
| | | import { ProUserLoginComponent } from './pro/user/login/login.component'; |
| | | import { ProUserRegisterComponent } from './pro/user/register/register.component'; |
| | | import { ProUserRegisterResultComponent } from './pro/user/register-result/register-result.component'; |
| | | // Statics |
| | | import 'rxjs/add/observable/throw'; |
| | | |
| | | // Operators |
| | | import 'rxjs/add/operator/catch'; |
| | | import 'rxjs/add/operator/debounceTime'; |
| | | import 'rxjs/add/operator/distinctUntilChanged'; |
| | | import 'rxjs/add/operator/map'; |
| | | import 'rxjs/add/operator/switchMap'; |
| | | import 'rxjs/add/operator/toPromise'; |
| | | import 'rxjs/add/operator/filter'; |
| | | import 'rxjs/add/operator/last'; |
| | | import 'rxjs/add/operator/delay'; |
| | | |
| | | @NgModule({ |
| | | imports: [ |
| | | SharedModule, |
| | | RouterModule.forRoot(routes, { useHash: environment.useHash }), |
| | | PagesModule |
| | | ], |
| | | imports: [ SharedModule, RouteRoutingModule ], |
| | | declarations: [ |
| | | DashboardV1Component, |
| | | DashboardAnalysisComponent, |
| | | DashboardMonitorComponent, |
| | | DashboardWorkplaceComponent, |
| | | CallbackComponent, |
| | | // pro |
| | | ProUserLoginComponent, |
| | | ProUserRegisterComponent, |
| | | ProUserRegisterResultComponent |
| | | UserLoginComponent, |
| | | ReportComponent, |
| | | ForecastingWarningComponent, |
| | | PollutionManagementComponent, |
| | | // MonitorpointComponent, |
| | | // CalendarComponent, |
| | | // AnalysisComponent, |
| | | EnvironmentManagementComponent |
| | | ], |
| | | exports: [ |
| | | RouterModule |
| | | providers: [ |
| | | _HttpClient, |
| | | DateService |
| | | ] |
| | | }) |
| | | |