From efe936a73370a55d4c3336fb9973a92fcf87efff Mon Sep 17 00:00:00 2001
From: fengxiang <110431245@qq.com>
Date: Thu, 08 Mar 2018 09:22:09 +0800
Subject: [PATCH] ts语法修正,报表部分功能实现

---
 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