From 820cc14842e73c9980b87002eae127af626622fd Mon Sep 17 00:00:00 2001
From: xufenglei <xufenglei>
Date: Mon, 14 May 2018 15:59:45 +0800
Subject: [PATCH] 报表展示 增加行业筛选

---
 src/app/routes/reports/reports.module.ts |   27 ++++++++++++++++++++++++---
 1 files changed, 24 insertions(+), 3 deletions(-)

diff --git a/src/app/routes/reports/reports.module.ts b/src/app/routes/reports/reports.module.ts
index 4cb1096..d5c29d7 100644
--- a/src/app/routes/reports/reports.module.ts
+++ b/src/app/routes/reports/reports.module.ts
@@ -6,22 +6,39 @@
 
 import { DemoComponent } from './demo/demo.component';
 import { ExcelComponent } from './excel/excel.component';
+import { QueryComponent } from './query/query.component';
+import { PipeModule } from '@business/pipe/pipe.module';
+import { NzTreeModule } from 'ng-tree-antd';
+import { NgxEchartsModule } from 'ngx-echarts';
+import { SensorsService } from '@business/services/http/sensors.service';
+import { NzMessageService } from 'ng-zorro-antd';
+import { AreacodeService } from '@business/services/http/areacode.service';
+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 = [
   {
     path: '',
     children: [
+      { path: 'query', component: QueryComponent },
       { path: 'demo', component: DemoComponent },
-      { path: 'excel', component: ExcelComponent }
-
+      { path: 'excel', component: ExcelComponent },
+      { path: 'alarm', component: AlarmComponent },
     ]
   }
 ];
+
 
 const COMPONENTS_NOROUNT = [  ];
 
 @NgModule({
   imports: [
+    // ������������������������������������
+    PipeModule,
+    NzTreeModule,
+    NgxEchartsModule,
     CommonModule,
     SharedModule,
     RouterModule.forChild(routes)
@@ -29,8 +46,12 @@
   declarations: [
     ...COMPONENTS_NOROUNT,
     DemoComponent,
-    ExcelComponent
+    ExcelComponent,
+    AlarmComponent,
+    QueryComponent
   ],
+  providers: [SensorsService, NzMessageService, AreacodeService,
+     MonitorPointService, DeviceService, DateService],
   entryComponents: COMPONENTS_NOROUNT
 })
 export class ReportsModule { }

--
Gitblit v1.8.0