|
@@ -1228,7 +1228,7 @@ export default {
|
|
|
dutysystemDeptName: '',
|
|
|
depteventId: '',
|
|
|
dutysystemTableData: [],
|
|
|
- radius: 50,//资源搜索半径
|
|
|
+ radius: 5000,//资源搜索半径
|
|
|
// resourcesList: [
|
|
|
// {
|
|
|
// resourceName: '取水口',
|
|
@@ -1372,7 +1372,7 @@ export default {
|
|
|
// 消防资源落点
|
|
|
let param = { longitude: this.longitude, latitude: this.latitude, type: type, radius: this.radius }
|
|
|
if (type != 'sxt') {
|
|
|
- fireControlViewPoint(type).then(res => {
|
|
|
+ fireControlViewPoint(param).then(res => {
|
|
|
if (res.data != null && res.data.pointList.length > 0) {
|
|
|
this.resourcesListCheck.push(type)
|
|
|
var markersList = []
|
|
@@ -2076,7 +2076,8 @@ export default {
|
|
|
}
|
|
|
setTimeout(() => {
|
|
|
that.$refs.supermapDialog1.dynamicPlotting()//弹出动态绘制窗口,防止截图位置改变
|
|
|
- that.$refs.supermapDialog1.clearM(false)
|
|
|
+ that.$refs.supermapDialog.clearM(false)
|
|
|
+ that.$refs.supermapDialog.clearM(true)
|
|
|
that.$refs.supermapDialog1.setMarkersRadius([markersMap])
|
|
|
that.$refs.supermapDialog1.dropLocation10(res.data.catalogue.latitude, res.data.catalogue.longitude)
|
|
|
}, 2000)
|
|
@@ -2106,6 +2107,8 @@ export default {
|
|
|
markersMap.lng = res.data.centermonitorTCamera.longitude
|
|
|
markersMap.lat = res.data.centermonitorTCamera.latitude
|
|
|
setTimeout(() => {
|
|
|
+ that.$refs.supermapDialog.clearM(false)
|
|
|
+ that.$refs.supermapDialog.clearM(true)
|
|
|
that.$refs.supermapDialog1.setMarkers([markersMap])
|
|
|
|
|
|
}, 2000)
|
|
@@ -2168,7 +2171,8 @@ export default {
|
|
|
markersMap.radius = res.data.eventdetail[0].fireRadius
|
|
|
}
|
|
|
setTimeout(() => {
|
|
|
- that.$refs.supermapDialog1.clearM(false)
|
|
|
+ that.$refs.supermapDialog.clearM(false)
|
|
|
+ that.$refs.supermapDialog.clearM(true)
|
|
|
if (res.data.eventdetail != null && res.data.eventdetail.length > 0 && res.data.eventdetail[0].fireRadius != null && res.data.eventdetail[0].fireRadius != '' && res.data.eventdetail[0].fireRadius > 0) {
|
|
|
that.$refs.supermapDialog1.setMarkersRadius([markersMap])
|
|
|
} else {
|