From 09d02da80ec5bd59836427007169fdd03738e393 Mon Sep 17 00:00:00 2001
From: fengxiang <110431245@qq.com>
Date: Mon, 16 Jul 2018 11:36:41 +0800
Subject: [PATCH] Merge branch 'master' of http://blit.7drlb.com:8888/r/screen_demo2

---
 src/app/routes/statistics/statistics.module.ts |   45 +++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 45 insertions(+), 0 deletions(-)

diff --git a/src/app/routes/statistics/statistics.module.ts b/src/app/routes/statistics/statistics.module.ts
new file mode 100644
index 0000000..1b617b1
--- /dev/null
+++ b/src/app/routes/statistics/statistics.module.ts
@@ -0,0 +1,45 @@
+import { NgModule } from '@angular/core';
+import { SharedModule } from '@shared/shared.module';
+import { PipeModule } from '@business/pipe/pipe.module';
+import { NzTreeModule } from 'ng-tree-antd';
+import { NgxEchartsModule } from 'ngx-echarts';
+import { CommonModule } from '@angular/common';
+import { RouterModule, Routes } from '@angular/router';
+import { AnalysisComponent } from './analysis/analysis.component';
+import { CalendarComponent } from './calendar/calendar.component';
+import { MonitorpointComponent } from './monitorpoint/monitorpoint.component';
+import { NzCalendarModule } from 'ng-zorro-antd';
+
+const routes: Routes = [
+  {
+    path: '',
+    children: [
+      { path: 'analysis', component: AnalysisComponent},
+      { path: 'calendar', component: CalendarComponent },
+      { path: 'monitorpoint', component: MonitorpointComponent }
+    ]
+  }
+];
+
+const COMPONENT_NOROUNT = [];
+
+@NgModule({
+  imports: [
+        // ������������������������������������
+        PipeModule,
+        NzTreeModule,
+        NgxEchartsModule,
+        CommonModule,
+        SharedModule,
+        NzCalendarModule,
+        RouterModule.forChild(routes)
+  ],
+  declarations: [
+      ...COMPONENT_NOROUNT,
+      AnalysisComponent,
+      CalendarComponent,
+      MonitorpointComponent
+  ],
+  entryComponents: COMPONENT_NOROUNT
+})
+export class StatisticsModule { }

--
Gitblit v1.8.0