From 521e90a01a6249834e12e68a930e4d3e239b0a2d Mon Sep 17 00:00:00 2001 From: 沈斌 <bluelazysb@hotmail.com> Date: Thu, 08 Feb 2018 13:11:18 +0800 Subject: [PATCH] BUGFIX-176 --- src/app/routes/systems/systems.module.ts | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/app/routes/systems/systems.module.ts b/src/app/routes/systems/systems.module.ts index 7404c54..eae0bff 100644 --- a/src/app/routes/systems/systems.module.ts +++ b/src/app/routes/systems/systems.module.ts @@ -15,6 +15,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 +36,8 @@ PipeModule, CommonModule, SharedModule, - RouterModule.forChild(routes) + RouterModule.forChild(routes), + BusinessModule ], declarations: [ ...COMPONENTS_NOROUNT, @@ -44,7 +47,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