From f0b742d34e95811b6874bcaedbc7a06451d39da1 Mon Sep 17 00:00:00 2001
From: fengxiang <110431245@qq.com>
Date: Fri, 12 Jan 2018 21:07:08 +0800
Subject: [PATCH] 组织配置

---
 src/app/routes/systems/systems.module.ts |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/app/routes/systems/systems.module.ts b/src/app/routes/systems/systems.module.ts
index 7404c54..257790b 100644
--- a/src/app/routes/systems/systems.module.ts
+++ b/src/app/routes/systems/systems.module.ts
@@ -1,3 +1,4 @@
+import { EqualValidator } from '@business/validators/equal-validator.directive';
 import { FormBuilder } from '@angular/forms';
 import { _HttpClient } from '@delon/theme';
 import { Component, OnInit } from '@angular/core';
@@ -15,6 +16,8 @@
 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 { SensorsService } from '@business/services/http/sensors.service';
+import { BusinessModule } from '@business/business.module';
 
 const routes: Routes = [
   {
@@ -34,7 +37,8 @@
     PipeModule,
     CommonModule,
     SharedModule,
-    RouterModule.forChild(routes)
+    RouterModule.forChild(routes),
+    BusinessModule
   ],
   declarations: [
     ...COMPONENTS_NOROUNT,
@@ -44,7 +48,7 @@
     OrganizationConfigComponent,
     OrganizationListComponent
   ],
-  providers: [ToolsService, OrganizationService, _HttpClient, FormBuilder, AreacodeService],
+  providers: [ToolsService, SensorsService,OrganizationService, _HttpClient, FormBuilder, AreacodeService],
   entryComponents: COMPONENTS_NOROUNT
 })
 export class SystemsModule { }

--
Gitblit v1.8.0