From 0e184df30a1d07a30d412e2d5fd91bc37711455d Mon Sep 17 00:00:00 2001 From: xufenglei <xufenglei> Date: Wed, 10 Jan 2018 10:04:33 +0800 Subject: [PATCH] 安装用户 管理 --- src/app/routes/systems/systems.module.ts | 21 ++++++++++++++++++--- 1 files changed, 18 insertions(+), 3 deletions(-) diff --git a/src/app/routes/systems/systems.module.ts b/src/app/routes/systems/systems.module.ts index d645b78..7c14ab3 100644 --- a/src/app/routes/systems/systems.module.ts +++ b/src/app/routes/systems/systems.module.ts @@ -1,3 +1,5 @@ +import { FormBuilder } from '@angular/forms'; +import { _HttpClient } from '@delon/theme'; import { Component, OnInit } from '@angular/core'; import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; @@ -5,28 +7,41 @@ import { SharedModule } from '@shared/shared.module'; import { AccountComponent } from './account/account.component'; +import { AccountEditComponent } from './account/account-edit/account-edit.component'; +import { OrganizationComponent } from './organization/organization.component'; +import { PipeModule } from '@core/pipe/pipe.module'; +import { OrganizationEditComponent } from './organization/organization-edit/organization-edit.component'; +import { ToolsService } from '@core/services/tools.service'; +import { OrganizationService } from 'app/routes/systems/organization/organization.service'; +import { AreacodeService } from '@core/services/areacode.service'; const routes: Routes = [ { path: '', children: [ - { path: 'account', component: AccountComponent } + { path: 'account', component: AccountComponent }, + { path: 'organization', component: OrganizationComponent } ] } ]; -const COMPONENTS_NOROUNT = [ ]; +const COMPONENTS_NOROUNT = [ AccountEditComponent, OrganizationEditComponent ]; @NgModule({ imports: [ + // ������������������������������������ + PipeModule, CommonModule, SharedModule, RouterModule.forChild(routes) ], declarations: [ ...COMPONENTS_NOROUNT, - AccountComponent + AccountComponent, + AccountEditComponent, + OrganizationComponent ], + providers: [ToolsService, OrganizationService, _HttpClient, FormBuilder, AreacodeService], entryComponents: COMPONENTS_NOROUNT }) export class SystemsModule { } -- Gitblit v1.8.0