| | |
| | | this.grid.pageSize = 10; |
| | | } |
| | | constructor( |
| | | private coorPickerService:CoorPickerService, |
| | | private coorPickerService: CoorPickerService, |
| | | private monitorPointService: MonitorPointService, |
| | | |
| | | private confirmServ: NzModalService, |
| | |
| | | } |
| | | 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) { |
| | |
| | | id: record.id, |
| | | longitude: _data.longitude, |
| | | latitude: _data.latitude, |
| | | } |
| | | }; |
| | | this.monitorPointService.save(data).subscribe( |
| | | (res: any) => { |
| | | if (res.code === 1) { |