| | |
| | | width: '300px' |
| | | } |
| | | }; |
| | | this.grid.title = '监控点'; |
| | | this.grid.title = '监控站点'; |
| | | this.grid.setColumns(this.monitorPoint); |
| | | this.grid.pageSize = 10; |
| | | } |
| | |
| | | Object.assign(this.coorPickerService.data, record); |
| | | const _data = this.coorPickerService.data; |
| | | const areaNames = record.areaNames; |
| | | let adress = null; |
| | | let adress = ''; |
| | | if (areaNames != null) { |
| | | adress = areaNames.provinceName + areaNames.cityName + areaNames.areaName + record.address; |
| | | adress += !!areaNames.provinceName ? areaNames.provinceName : ''; |
| | | adress += ' '; |
| | | adress += !!areaNames.cityName ? areaNames.cityName : ''; |
| | | adress += ' '; |
| | | adress += !!areaNames.areaName ? areaNames.areaName : ''; |
| | | adress += ' '; |
| | | adress += !!record.address ? record.address : ''; |
| | | } |
| | | this.coorPickerService.data.address = adress; |
| | | this.coorPickerService.data['describe'] = '监控点名称'; |
| | | this.coorPickerService.data['describe'] = '监控站点名称'; |
| | | this.modalHelper.static(CoordinatesPickerComponent).subscribe( |
| | | (staticComp) => { |
| | | const data: MonitorPoint = { |