From b8b94e846dcde8680deff869ea65caee23c3bc89 Mon Sep 17 00:00:00 2001
From: xufenglei <xufenglei>
Date: Tue, 03 Apr 2018 10:56:14 +0800
Subject: [PATCH] 报表优化

---
 src/app/routes/devices/monitor-point/monitor-point.component.ts |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/app/routes/devices/monitor-point/monitor-point.component.ts b/src/app/routes/devices/monitor-point/monitor-point.component.ts
index 2b2d1c4..a724ad9 100644
--- a/src/app/routes/devices/monitor-point/monitor-point.component.ts
+++ b/src/app/routes/devices/monitor-point/monitor-point.component.ts
@@ -57,7 +57,7 @@
     this.grid.pageSize = 10;
   }
   constructor(
-    private coorPickerService:CoorPickerService,
+    private coorPickerService: CoorPickerService,
     private monitorPointService: MonitorPointService,
 
     private confirmServ: NzModalService,
@@ -179,7 +179,7 @@
   }
   configCoord(record: MonitorPoint): void {
     Object.assign(this.coorPickerService.data, record);
-    let _data = this.coorPickerService.data;
+    const _data = this.coorPickerService.data;
     const areaNames = record.areaNames;
     let adress = null;
     if (areaNames != null) {
@@ -193,7 +193,7 @@
           id: record.id,
           longitude: _data.longitude,
           latitude: _data.latitude,
-        }
+        };
         this.monitorPointService.save(data).subscribe(
           (res: any) => {
             if (res.code === 1) {

--
Gitblit v1.8.0