fengxiang
2018-01-16 928d55a8fde33200bb1ca4016ce5b86e9a1118a8
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 { }