fengxiang
2018-04-17 39ea49edce74ae063ca0afd9b2966f861e256a3e
src/app/routes/systems/systems.module.ts
@@ -1,4 +1,3 @@
import { EqualValidator } from '@business/validators/equal-validator.directive';
import { FormBuilder } from '@angular/forms';
import { _HttpClient } from '@delon/theme';
import { Component, OnInit } from '@angular/core';
@@ -16,6 +15,7 @@
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';
@@ -24,7 +24,8 @@
    path: '',
    children: [
      { path: 'account', component: AccountComponent },
      { path: 'organization', component: OrganizationComponent }
      { path: 'organization', component: OrganizationComponent },
      { path: 'registration', component: RegistrationComponent }
    ]
  }
];
@@ -46,9 +47,10 @@
    AccountEditComponent,
    OrganizationComponent,
    OrganizationConfigComponent,
    OrganizationListComponent
    OrganizationListComponent,
    RegistrationComponent
  ],
  providers: [ToolsService, SensorsService,OrganizationService, _HttpClient, FormBuilder, AreacodeService],
  providers: [ToolsService, SensorsService, OrganizationService, _HttpClient, FormBuilder, AreacodeService],
  entryComponents: COMPONENTS_NOROUNT
})
export class SystemsModule { }