From 72120bbe920425f80d3beb08c08af24151246006 Mon Sep 17 00:00:00 2001
From: fengxiang <110431245@qq.com>
Date: Thu, 04 Jan 2018 14:00:46 +0800
Subject: [PATCH] 组织模块

---
 src/app/routes/systems/systems.module.ts |   20 ++++++++++++++++----
 1 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/src/app/routes/systems/systems.module.ts b/src/app/routes/systems/systems.module.ts
index 0418569..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';
@@ -6,20 +8,29 @@
 
 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 = [ AccountEditComponent ];
+const COMPONENTS_NOROUNT = [ AccountEditComponent, OrganizationEditComponent ];
 
 @NgModule({
   imports: [
+    // ������������������������������������
+    PipeModule,
     CommonModule,
     SharedModule,
     RouterModule.forChild(routes)
@@ -27,9 +38,10 @@
   declarations: [
     ...COMPONENTS_NOROUNT,
     AccountComponent,
-    AccountEditComponent
-
+    AccountEditComponent,
+    OrganizationComponent       
   ],
+  providers: [ToolsService, OrganizationService, _HttpClient, FormBuilder, AreacodeService],
   entryComponents: COMPONENTS_NOROUNT
 })
 export class SystemsModule { }

--
Gitblit v1.8.0