From 71371f81071a72eecd7d7a02ae3825943aae50d1 Mon Sep 17 00:00:00 2001
From: xufenglei <xufenglei>
Date: Wed, 18 Apr 2018 08:57:38 +0800
Subject: [PATCH] 报表展示  饼图功能

---
 src/app/routes/systems/systems.module.ts |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/src/app/routes/systems/systems.module.ts b/src/app/routes/systems/systems.module.ts
index 7404c54..dd8ad35 100644
--- a/src/app/routes/systems/systems.module.ts
+++ b/src/app/routes/systems/systems.module.ts
@@ -15,13 +15,17 @@
 import { AreacodeService } from '@business/services/http/areacode.service';
 import { OrganizationConfigComponent } from './organization/organization-config/organization-config.component';
 import { OrganizationListComponent } from './organization/organization-list/organization-list.component';
+import { RegistrationComponent } from './registration/registration.component';
+import { SensorsService } from '@business/services/http/sensors.service';
+import { BusinessModule } from '@business/business.module';
 
 const routes: Routes = [
   {
     path: '',
     children: [
       { path: 'account', component: AccountComponent },
-      { path: 'organization', component: OrganizationComponent }
+      { path: 'organization', component: OrganizationComponent },
+      { path: 'registration', component: RegistrationComponent }
     ]
   }
 ];
@@ -34,7 +38,8 @@
     PipeModule,
     CommonModule,
     SharedModule,
-    RouterModule.forChild(routes)
+    RouterModule.forChild(routes),
+    BusinessModule
   ],
   declarations: [
     ...COMPONENTS_NOROUNT,
@@ -42,9 +47,10 @@
     AccountEditComponent,
     OrganizationComponent,
     OrganizationConfigComponent,
-    OrganizationListComponent
+    OrganizationListComponent,
+    RegistrationComponent
   ],
-  providers: [ToolsService, OrganizationService, _HttpClient, FormBuilder, AreacodeService],
+  providers: [ToolsService, SensorsService, OrganizationService, _HttpClient, FormBuilder, AreacodeService],
   entryComponents: COMPONENTS_NOROUNT
 })
 export class SystemsModule { }

--
Gitblit v1.8.0