From a73dea1555a2c4f9688d344a07cbc79c1b9e058c Mon Sep 17 00:00:00 2001
From: fengxiang <110431245@qq.com>
Date: Sat, 24 Feb 2018 11:45:17 +0800
Subject: [PATCH] 添加 coockie

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

diff --git a/src/app/routes/routes-routing.module.ts b/src/app/routes/routes-routing.module.ts
index 9138cfb..016b94a 100644
--- a/src/app/routes/routes-routing.module.ts
+++ b/src/app/routes/routes-routing.module.ts
@@ -10,6 +10,7 @@
 import { DashboardAnalysisComponent } from './dashboard/analysis/analysis.component';
 import { DashboardMonitorComponent } from './dashboard/monitor/monitor.component';
 import { DashboardWorkplaceComponent } from './dashboard/workplace/workplace.component';
+import { ReportComponent } from './report/report.component';
 import { UserLoginComponent } from 'app/routes/passport/login/login.component';
 
 
@@ -29,6 +30,7 @@
             { 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' },
         ]
     },    // passport
     {
@@ -37,6 +39,10 @@
         children: [
             { path: 'login', component: UserLoginComponent }
         ]
+    },    // passport
+    {
+      path: 'report',
+      component: ReportComponent
     },
     { path: '**', redirectTo: 'passport/login' }
 ];

--
Gitblit v1.8.0