From c69ddde7828d777f04c6468c269aaa0aa03d72c9 Mon Sep 17 00:00:00 2001
From: fengxiang <110431245@qq.com>
Date: Thu, 02 Aug 2018 09:50:58 +0800
Subject: [PATCH] 文件修改
---
src/app/routes/routes-routing.module.ts | 49 ++++++++++++++++++++++++++-----------------------
1 files changed, 26 insertions(+), 23 deletions(-)
diff --git a/src/app/routes/routes-routing.module.ts b/src/app/routes/routes-routing.module.ts
index 549b3bc..58dce91 100644
--- a/src/app/routes/routes-routing.module.ts
+++ b/src/app/routes/routes-routing.module.ts
@@ -11,14 +11,17 @@
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';
+import { UserLoginComponent } from './passport/login/login.component';
import { ForecastingWarningComponent } from './forecasting-warning/forecasting-warning.component';
-import { PollutionManagementComponent } from 'app/routes/pollution/management/management.component';
-import { MonitorpointComponent } from 'app/routes/statistics/monitorpoint/monitorpoint.component';
-import { CalendarComponent } from 'app/routes/statistics/calendar/calendar.component';
-import { AnalysisComponent } from 'app/routes/statistics/analysis/analysis.component';
-import { EnvironmentManagementComponent } from 'app/routes/environment/management/management.component';
+import { PollutionManagementComponent } from './pollution/management/management.component';
+import { EnvironmentManagementComponent } from './environment/management/management.component';
+import { GridTraceComponent } from './grid-trace/grid-trace.component';
+import { ImageGrabbingComponent } from './raise-dust/image-grabbing/image-grabbing.component';
+import { SandTableComponent } from './sand-table/sand-table.component';
+import { RaiseDustComponent } from './raise-dust/raise-dust.component';
+import { RealTimeComponent } from './raise-dust/real-time/real-time.component';
+import { StatisticalQueryComponent } from './raise-dust/statistical-query/statistical-query.component';
const routes: Routes = [
{
@@ -30,25 +33,25 @@
path: "home-page",
loadChildren: "./home-page/home-page.module#HomePageModule"
},
- { path: 'dashboard', redirectTo: 'dashboard/v1', pathMatch: 'full' },
- { 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: '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: 'reports', loadChildren: './reports/reports.module#ReportsModule' },
-
+ {
+ path: "enterprise-management",
+ loadChildren: "./enterprise-management/enterprise-management.module#EnterpriseManagementModule"
+ },
+ { path: 'statistics', loadChildren: './statistics/statistics.module#StatisticsModule' },
{ path: 'forecasting-warning', component: ForecastingWarningComponent },
{ path: 'pollution/management', component: PollutionManagementComponent },
-
- { path: 'statistics/monitorpoint', component: MonitorpointComponent },
- { path: 'statistics/calendar', component: CalendarComponent },
- { path: 'statistics/analysis', component: AnalysisComponent },
-
- { path: 'environment/management', component: EnvironmentManagementComponent }
+ { path: 'environment/management', component: EnvironmentManagementComponent },
+ { path: 'grid-trace', component: GridTraceComponent },
+ { path: 'reports', loadChildren: './reports/reports.module#ReportsModule' },
+ {
+ path: "operation",
+ loadChildren: "./operation/operation.module#OperationModule"
+ },
+ { path: 'sand-table', component: SandTableComponent },
+ { path: 'raise-dust', component: RaiseDustComponent },
+ { path: 'raise-dust/real-time', component: RealTimeComponent },
+ { path: 'raise-dust/statistical-query', component: StatisticalQueryComponent },
+ { path: 'raise-dust/image-grabbing', component: ImageGrabbingComponent },
]
}, // passport
{
--
Gitblit v1.8.0