From 72120bbe920425f80d3beb08c08af24151246006 Mon Sep 17 00:00:00 2001
From: fengxiang <110431245@qq.com>
Date: Thu, 04 Jan 2018 14:00:46 +0800
Subject: [PATCH] 组织模块
---
src/app/routes/routes.ts | 14 +++-----------
1 files changed, 3 insertions(+), 11 deletions(-)
diff --git a/src/app/routes/routes.ts b/src/app/routes/routes.ts
index 0ece7a8..f5f7144 100644
--- a/src/app/routes/routes.ts
+++ b/src/app/routes/routes.ts
@@ -10,26 +10,18 @@
path: '',
component: LayoutComponent,
children: [
- { path: '', redirectTo: 'dashboard/v1', pathMatch: 'full' },
+ { path: '', redirectTo: 'dashboard/analysis', pathMatch: 'full' },
{ path: 'dashboard', redirectTo: 'dashboard/v1', pathMatch: 'full' },
-
{ path: 'users', loadChildren: './users/users.module#UsersModule' },
{ path: 'devices', loadChildren: './devices/devices.module#DevicesModule' },
+ { path: 'sensors', loadChildren: './sensors/sensors.module#SensorsModule' },
+ { path: 'systems', loadChildren: './systems/systems.module#SystemsModule' },
{ path: 'dashboard/v1', component: DashboardV1Component, data: { translate: 'dashboard_v1' } },
{ path: 'dashboard/analysis', component: DashboardAnalysisComponent, data: { translate: 'dashboard_analysis' } },
{ path: 'dashboard/monitor', component: DashboardMonitorComponent, data: { translate: 'dashboard_monitor' } },
{ path: 'dashboard/workplace', component: DashboardWorkplaceComponent, data: { translate: 'dashboard_workplace' } }
-
- ]
- },
- // ������������
- {
- path: 'data-v',
- component: LayoutFullScreenComponent,
- children: [
- { path: '', loadChildren: './data-v/data-v.module#DataVModule' }
]
},
{ path: '**', redirectTo: 'dashboard' }
--
Gitblit v1.8.0