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/organization/organization-list/organization-list.component.ts |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/src/app/routes/systems/organization/organization-list/organization-list.component.ts b/src/app/routes/systems/organization/organization-list/organization-list.component.ts
index eb79a20..38ced8b 100644
--- a/src/app/routes/systems/organization/organization-list/organization-list.component.ts
+++ b/src/app/routes/systems/organization/organization-list/organization-list.component.ts
@@ -93,8 +93,8 @@
     public msgSrv: NzMessageService,
     private modalHelper: ModalHelper,
     private router: Router,
-    private sensorsService:SensorsService,
-    private alarmConfigService:AlarmConfigService,
+    private sensorsService: SensorsService,
+    private alarmConfigService: AlarmConfigService,
   ) {}
 
   ngOnInit() {
@@ -216,15 +216,19 @@
           this.grid.loading = true;
          }, 1);
     zip(
-      this.sensorsService.getPagingList({pageIndex:0,pageSize:0}, null),
+      this.sensorsService.getPagingList({pageIndex: 0, pageSize: 0}, null),
       this.alarmConfigService.getByOid( row.id )
     ).subscribe(([pageBean, resultBean]) => {
       console.log(pageBean);
       this.grid.loading = false;
       this.organizationService.handle = 'config' ;
       this.organizationService.data = row;
-      this.organizationService.config = {pageBean,resultBean};
+      this.organizationService.config = {pageBean, resultBean};
       this.organizationService.title = '������������';
     });
   }
+  
+  registration(row) {
+      sessionStorage.setItem('organization', JSON.stringify(row));
+  }
 }

--
Gitblit v1.8.0