xufenglei
2018-04-20 63ad97852c7db6df7f44185881a8c9c031a230c9
src/app/routes/reports/reports.module.ts
@@ -16,6 +16,7 @@
import { MonitorPointService } from '@business/services/http/monitor-point.service';
import { DeviceService } from '@business/services/http/device.service';
import { DateService } from '@business/services/util/date.service';
import { AlarmComponent } from './alarm/alarm.component';
const routes: Routes = [
  {
@@ -24,7 +25,7 @@
      { path: 'query', component: QueryComponent },
      { path: 'demo', component: DemoComponent },
      { path: 'excel', component: ExcelComponent },
      { path: 'alarm', component: AlarmComponent },
    ]
  }
];
@@ -45,6 +46,7 @@
    ...COMPONENTS_NOROUNT,
    DemoComponent,
    ExcelComponent,
    AlarmComponent,
    QueryComponent
  ],
  providers: [SensorsService, NzMessageService, AreacodeService,