|
@@ -572,6 +572,8 @@ export default {
|
|
|
let that = this
|
|
|
//点击左侧地图落点
|
|
|
getResourcePointByDeptId(that.resourceTable, deptId).then(res => {
|
|
|
+ console.log("res.data.resourceList=", res.data.resourceList)
|
|
|
+ // alert(that.resourceTable)
|
|
|
that.markersList = []
|
|
|
if (res.data.resourceList != null && res.data.resourceList.length > 0) {
|
|
|
for (let i = 0; i < res.data.resourceList.length; i++) {
|
|
@@ -584,7 +586,7 @@ export default {
|
|
|
keepBindPopup: false,
|
|
|
isAggregation: false
|
|
|
}
|
|
|
- if (that.resourceTable == 'centerdata_t_forest_weatherstation') { //气象站
|
|
|
+ if (that.resourceTable == 'centerdata_t_resources_illegal_construction') { //违建信息
|
|
|
markersMap.icon = 'sj-icon-map-centerdata-t-forest-weatherstation'
|
|
|
markersMap.lng = res.data.resourceList[i].longitude
|
|
|
markersMap.lat = res.data.resourceList[i].latitude
|
|
@@ -600,7 +602,7 @@ export default {
|
|
|
'<span>' +
|
|
|
' <div class="d-l-con">' +
|
|
|
' <div class="d-l-l-text">' +
|
|
|
- ' <h4>地址:' + res.data.resourceList[i].weatherstationAddress +
|
|
|
+ ' <h4>名称:' + res.data.resourceList[i].name +
|
|
|
'</h4>' +
|
|
|
' </div>' +
|
|
|
' </div>' +
|
|
@@ -608,7 +610,7 @@ export default {
|
|
|
'<span>' +
|
|
|
' <div class="d-l-con">' +
|
|
|
' <div class="d-l-l-text">' +
|
|
|
- ' <h4>联系人:' + res.data.resourceList[i].weatherstationPerson +
|
|
|
+ ' <h4>违建处理负责人:' + res.data.resourceList[i].person +
|
|
|
'</h4>' +
|
|
|
' </div>' +
|
|
|
' </div>' +
|
|
@@ -616,12 +618,12 @@ export default {
|
|
|
'<span>' +
|
|
|
' <div class="d-l-con">' +
|
|
|
' <div class="d-l-l-text">' +
|
|
|
- ' <h4>电话:' + res.data.resourceList[i].weatherstationTel +
|
|
|
+ ' <h4>联系方式:' + res.data.resourceList[i].phone +
|
|
|
'</h4>' +
|
|
|
' </div>' +
|
|
|
' </div>' +
|
|
|
' </span></div>'
|
|
|
- } else if (that.resourceTable == 'centerdata_t_forest_farm') { //林场
|
|
|
+ } else if (that.resourceTable == 'centerdata_t_resources_deposit') { //矿产资源
|
|
|
markersMap.icon = 'sj-icon-map-centerdata-t-forest-farm'
|
|
|
markersMap.lng = res.data.resourceList[i].longitude
|
|
|
markersMap.lat = res.data.resourceList[i].latitude
|
|
@@ -637,25 +639,25 @@ export default {
|
|
|
'<span>' +
|
|
|
' <div class="d-l-con">' +
|
|
|
' <div class="d-l-l-text">' +
|
|
|
- ' <h4>林场名称:' + res.data.resourceList[i].farmName + '</h4>' +
|
|
|
+ ' <h4>名称:' + res.data.resourceList[i].name + '</h4>' +
|
|
|
' </div>' +
|
|
|
' </div>' +
|
|
|
' </span>' +
|
|
|
'<span>' +
|
|
|
' <div class="d-l-con">' +
|
|
|
' <div class="d-l-l-text">' +
|
|
|
- ' <h4>联系人:' + res.data.resourceList[i].farmPerson + '</h4>' +
|
|
|
+ ' <h4>联系人:' + res.data.resourceList[i].person + '</h4>' +
|
|
|
' </div>' +
|
|
|
' </div>' +
|
|
|
' </span>' +
|
|
|
'<span>' +
|
|
|
' <div class="d-l-con">' +
|
|
|
' <div class="d-l-l-text">' +
|
|
|
- ' <h4>电话:' + res.data.resourceList[i].farmTel + '</h4>' +
|
|
|
+ ' <h4>电话:' + res.data.resourceList[i].phone + '</h4>' +
|
|
|
' </div>' +
|
|
|
' </div>' +
|
|
|
' </span></div>'
|
|
|
- } else if (that.resourceTable == 'centerdata_t_forest_landing') { //起降点
|
|
|
+ } else if (that.resourceTable == 'centerdata_t_resources_forest') { //森林资源管理信息
|
|
|
markersMap.icon = 'sj-icon-map-centerdata-t-forest-landing'
|
|
|
markersMap.lng = res.data.resourceList[i].longitude
|
|
|
markersMap.lat = res.data.resourceList[i].latitude
|
|
@@ -671,7 +673,7 @@ export default {
|
|
|
'<span>' +
|
|
|
' <div class="d-l-con">' +
|
|
|
' <div class="d-l-l-text">' +
|
|
|
- ' <h4>起降点名称:' + res.data.resourceList[i].landingName +
|
|
|
+ ' <h4>名称:' + res.data.resourceList[i].name +
|
|
|
'</h4>' +
|
|
|
' </div>' +
|
|
|
' </div>' +
|
|
@@ -679,7 +681,7 @@ export default {
|
|
|
'<span>' +
|
|
|
' <div class="d-l-con">' +
|
|
|
' <div class="d-l-l-text">' +
|
|
|
- ' <h4>联系人:' + res.data.resourceList[i].landingPerson +
|
|
|
+ ' <h4>占地范围:' + res.data.resourceList[i].zdfw +
|
|
|
'</h4>' +
|
|
|
' </div>' +
|
|
|
' </div>' +
|
|
@@ -687,11 +689,11 @@ export default {
|
|
|
'<span>' +
|
|
|
' <div class="d-l-con">' +
|
|
|
' <div class="d-l-l-text">' +
|
|
|
- ' <h4>电话:' + res.data.resourceList[i].landingTel + '</h4>' +
|
|
|
+ ' <h4>占地面积(万公顷):' + res.data.resourceList[i].landArea + '</h4>' +
|
|
|
' </div>' +
|
|
|
' </div>' +
|
|
|
' </span></div>'
|
|
|
- } else if (that.resourceTable == 'centerdata_t_forest_channel') { //水源渠道
|
|
|
+ } else if (that.resourceTable == 'centerdata_t_resources_geologic_hazard') { //地质灾害易发区
|
|
|
markersMap.icon = 'sj-icon-map-centerdata-t-forest-channel'
|
|
|
markersMap.lng = res.data.resourceList[i].longitude
|
|
|
markersMap.lat = res.data.resourceList[i].latitude
|
|
@@ -707,7 +709,7 @@ export default {
|
|
|
'<span>' +
|
|
|
' <div class="d-l-con">' +
|
|
|
' <div class="d-l-l-text">' +
|
|
|
- ' <h4>渠道名称:' + res.data.resourceList[i].channelName +
|
|
|
+ ' <h4>名称:' + res.data.resourceList[i].name +
|
|
|
'</h4>' +
|
|
|
' </div>' +
|
|
|
' </div>' +
|
|
@@ -715,7 +717,7 @@ export default {
|
|
|
'<span>' +
|
|
|
' <div class="d-l-con">' +
|
|
|
' <div class="d-l-l-text">' +
|
|
|
- ' <h4>联系人:' + res.data.resourceList[i].channelPerson +
|
|
|
+ ' <h4>联系人:' + res.data.resourceList[i].person +
|
|
|
'</h4>' +
|
|
|
' </div>' +
|
|
|
' </div>' +
|
|
@@ -723,11 +725,11 @@ export default {
|
|
|
'<span>' +
|
|
|
' <div class="d-l-con">' +
|
|
|
' <div class="d-l-l-text">' +
|
|
|
- ' <h4>电话:' + res.data.resourceList[i].channelTel + '</h4>' +
|
|
|
+ ' <h4>电话:' + res.data.resourceList[i].phone + '</h4>' +
|
|
|
' </div>' +
|
|
|
' </div>' +
|
|
|
' </span></div>'
|
|
|
- } else if (that.resourceTable == 'centerdata_t_forest_checkpoint') { //防火检查站
|
|
|
+ } else if (that.resourceTable == 'centerdata_t_resources_hydroenergy') { //水能资源
|
|
|
markersMap.icon = 'sj-icon-map-centerdata-t-forest-checkpoint'
|
|
|
markersMap.lng = res.data.resourceList[i].longitude
|
|
|
markersMap.lat = res.data.resourceList[i].latitude
|
|
@@ -743,7 +745,7 @@ export default {
|
|
|
'<span>' +
|
|
|
' <div class="d-l-con">' +
|
|
|
' <div class="d-l-l-text">' +
|
|
|
- ' <h4>检查站名称:' + res.data.resourceList[i].checkpointName +
|
|
|
+ ' <h4>名称:' + res.data.resourceList[i].name +
|
|
|
'</h4>' +
|
|
|
' </div>' +
|
|
|
' </div>' +
|
|
@@ -751,7 +753,7 @@ export default {
|
|
|
'<span>' +
|
|
|
' <div class="d-l-con">' +
|
|
|
' <div class="d-l-l-text">' +
|
|
|
- ' <h4>地址:' + res.data.resourceList[i].checkpointAddress +
|
|
|
+ ' <h4>联系人:' + res.data.resourceList[i].person +
|
|
|
'</h4>' +
|
|
|
' </div>' +
|
|
|
' </div>' +
|
|
@@ -759,7 +761,7 @@ export default {
|
|
|
'<span>' +
|
|
|
' <div class="d-l-con">' +
|
|
|
' <div class="d-l-l-text">' +
|
|
|
- ' <h4>联系人:' + res.data.resourceList[i].checkpointPerson +
|
|
|
+ ' <h4>位置:' + res.data.resourceList[i].address +
|
|
|
'</h4>' +
|
|
|
' </div>' +
|
|
|
' </div>' +
|
|
@@ -767,12 +769,12 @@ export default {
|
|
|
'<span>' +
|
|
|
' <div class="d-l-con">' +
|
|
|
' <div class="d-l-l-text">' +
|
|
|
- ' <h4>电话:' + res.data.resourceList[i].checkpointTel +
|
|
|
+ ' <h4>电话:' + res.data.resourceList[i].phone +
|
|
|
'</h4>' +
|
|
|
' </div>' +
|
|
|
' </div>' +
|
|
|
' </span></div>'
|
|
|
- } else if (that.resourceTable == 'centerdata_t_forest_waterintake') { //取水口
|
|
|
+ } else if (that.resourceTable == 'centerdata_t_resources_land') { //土地资源管理信息
|
|
|
markersMap.icon = 'sj-icon-map-centerdata-t-forest-waterintake'
|
|
|
markersMap.lng = res.data.resourceList[i].longitude
|
|
|
markersMap.lat = res.data.resourceList[i].latitude
|
|
@@ -788,126 +790,7 @@ export default {
|
|
|
'<span>' +
|
|
|
' <div class="d-l-con">' +
|
|
|
' <div class="d-l-l-text">' +
|
|
|
- ' <h4>取水口名称:' + res.data.resourceList[i].waterintakeName +
|
|
|
- '</h4>' +
|
|
|
- ' </div>' +
|
|
|
- ' </div>' +
|
|
|
- ' </span>' +
|
|
|
- '<span>' +
|
|
|
- ' <div class="d-l-con">' +
|
|
|
- ' <div class="d-l-l-text">' +
|
|
|
- ' <h4>联系人:' + res.data.resourceList[i].waterintakePerson +
|
|
|
- '</h4>' +
|
|
|
- ' </div>' +
|
|
|
- ' </div>' +
|
|
|
- ' </span>' +
|
|
|
- '<span>' +
|
|
|
- ' <div class="d-l-con">' +
|
|
|
- ' <div class="d-l-l-text">' +
|
|
|
- ' <h4>电话:' + res.data.resourceList[i].waterintakeTel +
|
|
|
- '</h4>' +
|
|
|
- ' </div>' +
|
|
|
- ' </div>' +
|
|
|
- ' </span></div>'
|
|
|
- } else if (that.resourceTable == 'centerdata_t_forest_watercrane') { //水鹤
|
|
|
- markersMap.icon = 'sj-icon-map-centerdata-t-forest-watercrane'
|
|
|
- markersMap.lng = res.data.resourceList[i].longitude
|
|
|
- markersMap.lat = res.data.resourceList[i].latitude
|
|
|
- markersMap.bindPopupHtml = '<div class="map-tip">' +
|
|
|
- '<span>' +
|
|
|
- ' <div class="d-l-con">' +
|
|
|
- ' <div class="d-l-l-text">' +
|
|
|
- ' <h4>经纬度:' + res.data.resourceList[i].longitude + ',' + res
|
|
|
- .data.resourceList[i].latitude + '</h4>' +
|
|
|
- ' </div>' +
|
|
|
- ' </div>' +
|
|
|
- ' </span>' +
|
|
|
- '<span>' +
|
|
|
- ' <div class="d-l-con">' +
|
|
|
- ' <div class="d-l-l-text">' +
|
|
|
- ' <h4>水鹤名称:' + res.data.resourceList[i].watercraneName +
|
|
|
- '</h4>' +
|
|
|
- ' </div>' +
|
|
|
- ' </div>' +
|
|
|
- ' </span>' +
|
|
|
- '<span>' +
|
|
|
- ' <div class="d-l-con">' +
|
|
|
- ' <div class="d-l-l-text">' +
|
|
|
- ' <h4>联系人:' + res.data.resourceList[i].watercranePerson +
|
|
|
- '</h4>' +
|
|
|
- ' </div>' +
|
|
|
- ' </div>' +
|
|
|
- ' </span>' +
|
|
|
- '<span>' +
|
|
|
- ' <div class="d-l-con">' +
|
|
|
- ' <div class="d-l-l-text">' +
|
|
|
- ' <h4>电话:' + res.data.resourceList[i].watercraneTel +
|
|
|
- '</h4>' +
|
|
|
- ' </div>' +
|
|
|
- ' </div>' +
|
|
|
- ' </span></div>'
|
|
|
- } else if (that.resourceTable == 'centerdata_t_forest_firehydrant') { //消火栓
|
|
|
- markersMap.icon = 'sj-icon-map-centerdata-t-forest-firehydrant'
|
|
|
- markersMap.lng = res.data.resourceList[i].longitude
|
|
|
- markersMap.lat = res.data.resourceList[i].latitude
|
|
|
- markersMap.bindPopupHtml = '<div class="map-tip">' +
|
|
|
- '<span>' +
|
|
|
- ' <div class="d-l-con">' +
|
|
|
- ' <div class="d-l-l-text">' +
|
|
|
- ' <h4>经纬度:' + res.data.resourceList[i].longitude + ',' + res
|
|
|
- .data.resourceList[i].latitude + '</h4>' +
|
|
|
- ' </div>' +
|
|
|
- ' </div>' +
|
|
|
- ' </span>' +
|
|
|
- '<span>' +
|
|
|
- ' <div class="d-l-con">' +
|
|
|
- ' <div class="d-l-l-text">' +
|
|
|
- ' <h4>消火栓名称:' + res.data.resourceList[i].firehydrantName +
|
|
|
- '</h4>' +
|
|
|
- ' </div>' +
|
|
|
- ' </div>' +
|
|
|
- ' </span>' +
|
|
|
- '<span>' +
|
|
|
- ' <div class="d-l-con">' +
|
|
|
- ' <div class="d-l-l-text">' +
|
|
|
- ' <h4>地址:' + res.data.resourceList[i].firehydrantAddress +
|
|
|
- '</h4>' +
|
|
|
- ' </div>' +
|
|
|
- ' </div>' +
|
|
|
- ' </span>' +
|
|
|
- '<span>' +
|
|
|
- ' <div class="d-l-con">' +
|
|
|
- ' <div class="d-l-l-text">' +
|
|
|
- ' <h4>联系人:' + res.data.resourceList[i].firehydrantPerson +
|
|
|
- '</h4>' +
|
|
|
- ' </div>' +
|
|
|
- ' </div>' +
|
|
|
- ' </span>' +
|
|
|
- '<span>' +
|
|
|
- ' <div class="d-l-con">' +
|
|
|
- ' <div class="d-l-l-text">' +
|
|
|
- ' <h4>电话:' + res.data.resourceList[i].firehydrantTel +
|
|
|
- '</h4>' +
|
|
|
- ' </div>' +
|
|
|
- ' </div>' +
|
|
|
- ' </span></div>'
|
|
|
- } else if (that.resourceTable == 'centerdata_t_forest_fireteam') { //森林防火队
|
|
|
- markersMap.icon = 'sj-icon-map-centerdata-t-forest-fireteam'
|
|
|
- markersMap.lng = res.data.resourceList[i].longitude
|
|
|
- markersMap.lat = res.data.resourceList[i].latitude
|
|
|
- markersMap.bindPopupHtml = '<div class="map-tip">' +
|
|
|
- '<span>' +
|
|
|
- ' <div class="d-l-con">' +
|
|
|
- ' <div class="d-l-l-text">' +
|
|
|
- ' <h4>经纬度:' + res.data.resourceList[i].longitude + ',' + res
|
|
|
- .data.resourceList[i].latitude + '</h4>' +
|
|
|
- ' </div>' +
|
|
|
- ' </div>' +
|
|
|
- ' </span>' +
|
|
|
- '<span>' +
|
|
|
- ' <div class="d-l-con">' +
|
|
|
- ' <div class="d-l-l-text">' +
|
|
|
- ' <h4>森林防火队名称:' + res.data.resourceList[i].fireteamName +
|
|
|
+ ' <h4>名称:' + res.data.resourceList[i].name +
|
|
|
'</h4>' +
|
|
|
' </div>' +
|
|
|
' </div>' +
|
|
@@ -915,19 +798,356 @@ export default {
|
|
|
'<span>' +
|
|
|
' <div class="d-l-con">' +
|
|
|
' <div class="d-l-l-text">' +
|
|
|
- ' <h4>联系人:' + res.data.resourceList[i].fireteamPerson +
|
|
|
+ ' <h4>占地面积(万公顷):' + res.data.resourceList[i].landArea +
|
|
|
'</h4>' +
|
|
|
' </div>' +
|
|
|
' </div>' +
|
|
|
- ' </span>' +
|
|
|
- '<span>' +
|
|
|
- ' <div class="d-l-con">' +
|
|
|
- ' <div class="d-l-l-text">' +
|
|
|
- ' <h4>电话:' + res.data.resourceList[i].fireteamTel + '</h4>' +
|
|
|
- ' </div>' +
|
|
|
- ' </div>' +
|
|
|
' </span></div>'
|
|
|
}
|
|
|
+ // if (that.resourceTable == 'centerdata_t_forest_weatherstation') { //气象站
|
|
|
+ // markersMap.icon = 'sj-icon-map-centerdata-t-forest-weatherstation'
|
|
|
+ // markersMap.lng = res.data.resourceList[i].longitude
|
|
|
+ // markersMap.lat = res.data.resourceList[i].latitude
|
|
|
+ // markersMap.bindPopupHtml = '<div class="map-tip">' +
|
|
|
+ // '<span>' +
|
|
|
+ // ' <div class="d-l-con">' +
|
|
|
+ // ' <div class="d-l-l-text">' +
|
|
|
+ // ' <h4>经纬度:' + res.data.resourceList[i].longitude + ',' + res
|
|
|
+ // .data.resourceList[i].latitude + '</h4>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </span>' +
|
|
|
+ // '<span>' +
|
|
|
+ // ' <div class="d-l-con">' +
|
|
|
+ // ' <div class="d-l-l-text">' +
|
|
|
+ // ' <h4>地址:' + res.data.resourceList[i].weatherstationAddress +
|
|
|
+ // '</h4>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </span>' +
|
|
|
+ // '<span>' +
|
|
|
+ // ' <div class="d-l-con">' +
|
|
|
+ // ' <div class="d-l-l-text">' +
|
|
|
+ // ' <h4>联系人:' + res.data.resourceList[i].weatherstationPerson +
|
|
|
+ // '</h4>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </span>' +
|
|
|
+ // '<span>' +
|
|
|
+ // ' <div class="d-l-con">' +
|
|
|
+ // ' <div class="d-l-l-text">' +
|
|
|
+ // ' <h4>电话:' + res.data.resourceList[i].weatherstationTel +
|
|
|
+ // '</h4>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </span></div>'
|
|
|
+ // } else if (that.resourceTable == 'centerdata_t_forest_farm') { //林场
|
|
|
+ // markersMap.icon = 'sj-icon-map-centerdata-t-forest-farm'
|
|
|
+ // markersMap.lng = res.data.resourceList[i].longitude
|
|
|
+ // markersMap.lat = res.data.resourceList[i].latitude
|
|
|
+ // markersMap.bindPopupHtml = '<div class="map-tip">' +
|
|
|
+ // '<span>' +
|
|
|
+ // ' <div class="d-l-con">' +
|
|
|
+ // ' <div class="d-l-l-text">' +
|
|
|
+ // ' <h4>经纬度:' + res.data.resourceList[i].longitude + ',' + res
|
|
|
+ // .data.resourceList[i].latitude + '</h4>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </span>' +
|
|
|
+ // '<span>' +
|
|
|
+ // ' <div class="d-l-con">' +
|
|
|
+ // ' <div class="d-l-l-text">' +
|
|
|
+ // ' <h4>林场名称:' + res.data.resourceList[i].farmName + '</h4>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </span>' +
|
|
|
+ // '<span>' +
|
|
|
+ // ' <div class="d-l-con">' +
|
|
|
+ // ' <div class="d-l-l-text">' +
|
|
|
+ // ' <h4>联系人:' + res.data.resourceList[i].farmPerson + '</h4>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </span>' +
|
|
|
+ // '<span>' +
|
|
|
+ // ' <div class="d-l-con">' +
|
|
|
+ // ' <div class="d-l-l-text">' +
|
|
|
+ // ' <h4>电话:' + res.data.resourceList[i].farmTel + '</h4>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </span></div>'
|
|
|
+ // } else if (that.resourceTable == 'centerdata_t_forest_landing') { //起降点
|
|
|
+ // markersMap.icon = 'sj-icon-map-centerdata-t-forest-landing'
|
|
|
+ // markersMap.lng = res.data.resourceList[i].longitude
|
|
|
+ // markersMap.lat = res.data.resourceList[i].latitude
|
|
|
+ // markersMap.bindPopupHtml = '<div class="map-tip">' +
|
|
|
+ // '<span>' +
|
|
|
+ // ' <div class="d-l-con">' +
|
|
|
+ // ' <div class="d-l-l-text">' +
|
|
|
+ // ' <h4>经纬度:' + res.data.resourceList[i].longitude + ',' + res
|
|
|
+ // .data.resourceList[i].latitude + '</h4>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </span>' +
|
|
|
+ // '<span>' +
|
|
|
+ // ' <div class="d-l-con">' +
|
|
|
+ // ' <div class="d-l-l-text">' +
|
|
|
+ // ' <h4>起降点名称:' + res.data.resourceList[i].landingName +
|
|
|
+ // '</h4>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </span>' +
|
|
|
+ // '<span>' +
|
|
|
+ // ' <div class="d-l-con">' +
|
|
|
+ // ' <div class="d-l-l-text">' +
|
|
|
+ // ' <h4>联系人:' + res.data.resourceList[i].landingPerson +
|
|
|
+ // '</h4>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </span>' +
|
|
|
+ // '<span>' +
|
|
|
+ // ' <div class="d-l-con">' +
|
|
|
+ // ' <div class="d-l-l-text">' +
|
|
|
+ // ' <h4>电话:' + res.data.resourceList[i].landingTel + '</h4>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </span></div>'
|
|
|
+ // } else if (that.resourceTable == 'centerdata_t_forest_channel') { //水源渠道
|
|
|
+ // markersMap.icon = 'sj-icon-map-centerdata-t-forest-channel'
|
|
|
+ // markersMap.lng = res.data.resourceList[i].longitude
|
|
|
+ // markersMap.lat = res.data.resourceList[i].latitude
|
|
|
+ // markersMap.bindPopupHtml = '<div class="map-tip">' +
|
|
|
+ // '<span>' +
|
|
|
+ // ' <div class="d-l-con">' +
|
|
|
+ // ' <div class="d-l-l-text">' +
|
|
|
+ // ' <h4>经纬度:' + res.data.resourceList[i].longitude + ',' + res
|
|
|
+ // .data.resourceList[i].latitude + '</h4>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </span>' +
|
|
|
+ // '<span>' +
|
|
|
+ // ' <div class="d-l-con">' +
|
|
|
+ // ' <div class="d-l-l-text">' +
|
|
|
+ // ' <h4>渠道名称:' + res.data.resourceList[i].channelName +
|
|
|
+ // '</h4>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </span>' +
|
|
|
+ // '<span>' +
|
|
|
+ // ' <div class="d-l-con">' +
|
|
|
+ // ' <div class="d-l-l-text">' +
|
|
|
+ // ' <h4>联系人:' + res.data.resourceList[i].channelPerson +
|
|
|
+ // '</h4>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </span>' +
|
|
|
+ // '<span>' +
|
|
|
+ // ' <div class="d-l-con">' +
|
|
|
+ // ' <div class="d-l-l-text">' +
|
|
|
+ // ' <h4>电话:' + res.data.resourceList[i].channelTel + '</h4>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </span></div>'
|
|
|
+ // } else if (that.resourceTable == 'centerdata_t_forest_checkpoint') { //防火检查站
|
|
|
+ // markersMap.icon = 'sj-icon-map-centerdata-t-forest-checkpoint'
|
|
|
+ // markersMap.lng = res.data.resourceList[i].longitude
|
|
|
+ // markersMap.lat = res.data.resourceList[i].latitude
|
|
|
+ // markersMap.bindPopupHtml = '<div class="map-tip">' +
|
|
|
+ // '<span>' +
|
|
|
+ // ' <div class="d-l-con">' +
|
|
|
+ // ' <div class="d-l-l-text">' +
|
|
|
+ // ' <h4>经纬度:' + res.data.resourceList[i].longitude + ',' + res
|
|
|
+ // .data.resourceList[i].latitude + '</h4>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </span>' +
|
|
|
+ // '<span>' +
|
|
|
+ // ' <div class="d-l-con">' +
|
|
|
+ // ' <div class="d-l-l-text">' +
|
|
|
+ // ' <h4>检查站名称:' + res.data.resourceList[i].checkpointName +
|
|
|
+ // '</h4>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </span>' +
|
|
|
+ // '<span>' +
|
|
|
+ // ' <div class="d-l-con">' +
|
|
|
+ // ' <div class="d-l-l-text">' +
|
|
|
+ // ' <h4>地址:' + res.data.resourceList[i].checkpointAddress +
|
|
|
+ // '</h4>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </span>' +
|
|
|
+ // '<span>' +
|
|
|
+ // ' <div class="d-l-con">' +
|
|
|
+ // ' <div class="d-l-l-text">' +
|
|
|
+ // ' <h4>联系人:' + res.data.resourceList[i].checkpointPerson +
|
|
|
+ // '</h4>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </span>' +
|
|
|
+ // '<span>' +
|
|
|
+ // ' <div class="d-l-con">' +
|
|
|
+ // ' <div class="d-l-l-text">' +
|
|
|
+ // ' <h4>电话:' + res.data.resourceList[i].checkpointTel +
|
|
|
+ // '</h4>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </span></div>'
|
|
|
+ // } else if (that.resourceTable == 'centerdata_t_forest_waterintake') { //取水口
|
|
|
+ // markersMap.icon = 'sj-icon-map-centerdata-t-forest-waterintake'
|
|
|
+ // markersMap.lng = res.data.resourceList[i].longitude
|
|
|
+ // markersMap.lat = res.data.resourceList[i].latitude
|
|
|
+ // markersMap.bindPopupHtml = '<div class="map-tip">' +
|
|
|
+ // '<span>' +
|
|
|
+ // ' <div class="d-l-con">' +
|
|
|
+ // ' <div class="d-l-l-text">' +
|
|
|
+ // ' <h4>经纬度:' + res.data.resourceList[i].longitude + ',' + res
|
|
|
+ // .data.resourceList[i].latitude + '</h4>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </span>' +
|
|
|
+ // '<span>' +
|
|
|
+ // ' <div class="d-l-con">' +
|
|
|
+ // ' <div class="d-l-l-text">' +
|
|
|
+ // ' <h4>取水口名称:' + res.data.resourceList[i].waterintakeName +
|
|
|
+ // '</h4>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </span>' +
|
|
|
+ // '<span>' +
|
|
|
+ // ' <div class="d-l-con">' +
|
|
|
+ // ' <div class="d-l-l-text">' +
|
|
|
+ // ' <h4>联系人:' + res.data.resourceList[i].waterintakePerson +
|
|
|
+ // '</h4>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </span>' +
|
|
|
+ // '<span>' +
|
|
|
+ // ' <div class="d-l-con">' +
|
|
|
+ // ' <div class="d-l-l-text">' +
|
|
|
+ // ' <h4>电话:' + res.data.resourceList[i].waterintakeTel +
|
|
|
+ // '</h4>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </span></div>'
|
|
|
+ // } else if (that.resourceTable == 'centerdata_t_forest_watercrane') { //水鹤
|
|
|
+ // markersMap.icon = 'sj-icon-map-centerdata-t-forest-watercrane'
|
|
|
+ // markersMap.lng = res.data.resourceList[i].longitude
|
|
|
+ // markersMap.lat = res.data.resourceList[i].latitude
|
|
|
+ // markersMap.bindPopupHtml = '<div class="map-tip">' +
|
|
|
+ // '<span>' +
|
|
|
+ // ' <div class="d-l-con">' +
|
|
|
+ // ' <div class="d-l-l-text">' +
|
|
|
+ // ' <h4>经纬度:' + res.data.resourceList[i].longitude + ',' + res
|
|
|
+ // .data.resourceList[i].latitude + '</h4>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </span>' +
|
|
|
+ // '<span>' +
|
|
|
+ // ' <div class="d-l-con">' +
|
|
|
+ // ' <div class="d-l-l-text">' +
|
|
|
+ // ' <h4>水鹤名称:' + res.data.resourceList[i].watercraneName +
|
|
|
+ // '</h4>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </span>' +
|
|
|
+ // '<span>' +
|
|
|
+ // ' <div class="d-l-con">' +
|
|
|
+ // ' <div class="d-l-l-text">' +
|
|
|
+ // ' <h4>联系人:' + res.data.resourceList[i].watercranePerson +
|
|
|
+ // '</h4>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </span>' +
|
|
|
+ // '<span>' +
|
|
|
+ // ' <div class="d-l-con">' +
|
|
|
+ // ' <div class="d-l-l-text">' +
|
|
|
+ // ' <h4>电话:' + res.data.resourceList[i].watercraneTel +
|
|
|
+ // '</h4>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </span></div>'
|
|
|
+ // } else if (that.resourceTable == 'centerdata_t_forest_firehydrant') { //消火栓
|
|
|
+ // markersMap.icon = 'sj-icon-map-centerdata-t-forest-firehydrant'
|
|
|
+ // markersMap.lng = res.data.resourceList[i].longitude
|
|
|
+ // markersMap.lat = res.data.resourceList[i].latitude
|
|
|
+ // markersMap.bindPopupHtml = '<div class="map-tip">' +
|
|
|
+ // '<span>' +
|
|
|
+ // ' <div class="d-l-con">' +
|
|
|
+ // ' <div class="d-l-l-text">' +
|
|
|
+ // ' <h4>经纬度:' + res.data.resourceList[i].longitude + ',' + res
|
|
|
+ // .data.resourceList[i].latitude + '</h4>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </span>' +
|
|
|
+ // '<span>' +
|
|
|
+ // ' <div class="d-l-con">' +
|
|
|
+ // ' <div class="d-l-l-text">' +
|
|
|
+ // ' <h4>消火栓名称:' + res.data.resourceList[i].firehydrantName +
|
|
|
+ // '</h4>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </span>' +
|
|
|
+ // '<span>' +
|
|
|
+ // ' <div class="d-l-con">' +
|
|
|
+ // ' <div class="d-l-l-text">' +
|
|
|
+ // ' <h4>地址:' + res.data.resourceList[i].firehydrantAddress +
|
|
|
+ // '</h4>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </span>' +
|
|
|
+ // '<span>' +
|
|
|
+ // ' <div class="d-l-con">' +
|
|
|
+ // ' <div class="d-l-l-text">' +
|
|
|
+ // ' <h4>联系人:' + res.data.resourceList[i].firehydrantPerson +
|
|
|
+ // '</h4>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </span>' +
|
|
|
+ // '<span>' +
|
|
|
+ // ' <div class="d-l-con">' +
|
|
|
+ // ' <div class="d-l-l-text">' +
|
|
|
+ // ' <h4>电话:' + res.data.resourceList[i].firehydrantTel +
|
|
|
+ // '</h4>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </span></div>'
|
|
|
+ // } else if (that.resourceTable == 'centerdata_t_forest_fireteam') { //森林防火队
|
|
|
+ // markersMap.icon = 'sj-icon-map-centerdata-t-forest-fireteam'
|
|
|
+ // markersMap.lng = res.data.resourceList[i].longitude
|
|
|
+ // markersMap.lat = res.data.resourceList[i].latitude
|
|
|
+ // markersMap.bindPopupHtml = '<div class="map-tip">' +
|
|
|
+ // '<span>' +
|
|
|
+ // ' <div class="d-l-con">' +
|
|
|
+ // ' <div class="d-l-l-text">' +
|
|
|
+ // ' <h4>经纬度:' + res.data.resourceList[i].longitude + ',' + res
|
|
|
+ // .data.resourceList[i].latitude + '</h4>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </span>' +
|
|
|
+ // '<span>' +
|
|
|
+ // ' <div class="d-l-con">' +
|
|
|
+ // ' <div class="d-l-l-text">' +
|
|
|
+ // ' <h4>森林防火队名称:' + res.data.resourceList[i].fireteamName +
|
|
|
+ // '</h4>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </span>' +
|
|
|
+ // '<span>' +
|
|
|
+ // ' <div class="d-l-con">' +
|
|
|
+ // ' <div class="d-l-l-text">' +
|
|
|
+ // ' <h4>联系人:' + res.data.resourceList[i].fireteamPerson +
|
|
|
+ // '</h4>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </span>' +
|
|
|
+ // '<span>' +
|
|
|
+ // ' <div class="d-l-con">' +
|
|
|
+ // ' <div class="d-l-l-text">' +
|
|
|
+ // ' <h4>电话:' + res.data.resourceList[i].fireteamTel + '</h4>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </div>' +
|
|
|
+ // ' </span></div>'
|
|
|
+ // }
|
|
|
that.markersList.push(markersMap)
|
|
|
}
|
|
|
}
|