From 008baf1470f2aaf6fe388a20b9a61069270a1471 Mon Sep 17 00:00:00 2001 From: fengxiang <110431245@qq.com> Date: Tue, 15 May 2018 17:19:11 +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