|
|
@ -391,7 +391,7 @@ import { Circle as CircleStyle, Icon, Fill, Stroke, Style, Text } from 'ol/style |
|
|
|
import nextTick from 'dai-js/tools/nextTick' |
|
|
|
import { mapGetters } from "vuex"; |
|
|
|
import { Loading } from 'element-ui'; //引入Loading服务 |
|
|
|
import { requestPost } from "@/js/dai/request"; |
|
|
|
import { requestPost, requestGet } from "@/js/dai/request"; |
|
|
|
|
|
|
|
|
|
|
|
import cptTb from "@/views/modules/visual/cpts/tb"; |
|
|
@ -1030,6 +1030,7 @@ const vueGis = { |
|
|
|
|
|
|
|
this.selInfo = JSON.parse(JSON.stringify(data)) |
|
|
|
this.handleShowPopup(coordinate) |
|
|
|
|
|
|
|
} else { |
|
|
|
this.$message.error(msg) |
|
|
|
} |
|
|
@ -1125,12 +1126,17 @@ const vueGis = { |
|
|
|
this.getMapTable(); |
|
|
|
}, |
|
|
|
handleSearch () { |
|
|
|
|
|
|
|
this.demand.pageNo = 1 |
|
|
|
this.getTable(); |
|
|
|
this.getMapTable(); |
|
|
|
}, |
|
|
|
// |
|
|
|
handleClickRow (index) { |
|
|
|
let selData = this.tableList[index] |
|
|
|
mapView.setCenter([selData.longitude, selData.latitude]); |
|
|
|
if (selData.longitude && selData.latitude) { |
|
|
|
mapView.setCenter([selData.longitude, selData.latitude]); |
|
|
|
} |
|
|
|
|
|
|
|
this.clickMapVolunteer(selData) |
|
|
|
|
|
|
|
// alert(index) |
|
|
|