From f320f1970e5d80a423f377fb3253628bd1e7f5bf Mon Sep 17 00:00:00 2001
From: 沈斌 <bluelazysb@hotmail.com>
Date: Thu, 08 Mar 2018 15:10:46 +0800
Subject: [PATCH] Merge branch 'develop' of ssh://121.40.92.176:29418/screen-frontend into develop
---
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