|
@@ -332,7 +332,7 @@ export default {
|
|
|
keepBindPopup: false,
|
|
|
isAggregation: false
|
|
|
}
|
|
|
- if (resourceTable == 'centerdata_t_forest_weatherstation') { //气象站
|
|
|
+ if (resourceTable == 'centerdata_t_hydraulic_battlefield') { //沙场资源
|
|
|
markersMap.icon = 'sj-icon-map-centerdata-t-forest-weatherstation'
|
|
|
markersMap.lng = res.data.resourceList[i].longitude
|
|
|
markersMap.lat = res.data.resourceList[i].latitude
|
|
@@ -348,7 +348,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].address +
|
|
|
'</h4>' +
|
|
|
' </div>' +
|
|
|
' </div>' +
|
|
@@ -356,7 +356,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].legalPerson +
|
|
|
'</h4>' +
|
|
|
' </div>' +
|
|
|
' </div>' +
|
|
@@ -364,12 +364,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].contactsPhone +
|
|
|
'</h4>' +
|
|
|
' </div>' +
|
|
|
' </div>' +
|
|
|
' </span></div>'
|
|
|
- } else if (resourceTable == 'centerdata_t_forest_farm') { //林场
|
|
|
+ } else if (resourceTable == 'centerdata_t_hydraulic_channel_blueline') { //蓝线河道
|
|
|
markersMap.icon = 'sj-icon-map-centerdata-t-forest-farm'
|
|
|
markersMap.lng = res.data.resourceList[i].longitude
|
|
|
markersMap.lat = res.data.resourceList[i].latitude
|
|
@@ -385,25 +385,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].riverLeader + '</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].contactsPhone + '</h4>' +
|
|
|
' </div>' +
|
|
|
' </div>' +
|
|
|
' </span></div>'
|
|
|
- } else if (resourceTable == 'centerdata_t_forest_landing') { //起降点
|
|
|
+ } else if (resourceTable == 'centerdata_t_hydraulic_garbage_station') { //垃圾站
|
|
|
markersMap.icon = 'sj-icon-map-centerdata-t-forest-landing'
|
|
|
markersMap.lng = res.data.resourceList[i].longitude
|
|
|
markersMap.lat = res.data.resourceList[i].latitude
|
|
@@ -419,7 +419,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>' +
|
|
@@ -427,7 +427,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].principal +
|
|
|
'</h4>' +
|
|
|
' </div>' +
|
|
|
' </div>' +
|
|
@@ -435,11 +435,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].contactsPhone + '</h4>' +
|
|
|
' </div>' +
|
|
|
' </div>' +
|
|
|
' </span></div>'
|
|
|
- } else if (resourceTable == 'centerdata_t_forest_channel') { //水源渠道
|
|
|
+ } else if (resourceTable == 'centerdata_t_hydraulic_outlet_sewage') { //排污口
|
|
|
markersMap.icon = 'sj-icon-map-centerdata-t-forest-channel'
|
|
|
markersMap.lng = res.data.resourceList[i].longitude
|
|
|
markersMap.lat = res.data.resourceList[i].latitude
|
|
@@ -455,7 +455,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].联系电话 +
|
|
|
'</h4>' +
|
|
|
' </div>' +
|
|
|
' </div>' +
|
|
@@ -463,7 +463,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].sewageAmount +
|
|
|
'</h4>' +
|
|
|
' </div>' +
|
|
|
' </div>' +
|
|
@@ -471,11 +471,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].sewageThreshold + '</h4>' +
|
|
|
' </div>' +
|
|
|
' </div>' +
|
|
|
' </span></div>'
|
|
|
- } else if (resourceTable == 'centerdata_t_forest_checkpoint') { //防火检查站
|
|
|
+ } else if (resourceTable == 'centerdata_t_hydraulic_reach') { //河段
|
|
|
markersMap.icon = 'sj-icon-map-centerdata-t-forest-checkpoint'
|
|
|
markersMap.lng = res.data.resourceList[i].longitude
|
|
|
markersMap.lat = res.data.resourceList[i].latitude
|
|
@@ -491,7 +491,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].river +
|
|
|
'</h4>' +
|
|
|
' </div>' +
|
|
|
' </div>' +
|
|
@@ -499,7 +499,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].startpoint +
|
|
|
'</h4>' +
|
|
|
' </div>' +
|
|
|
' </div>' +
|
|
@@ -507,7 +507,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].destination +
|
|
|
'</h4>' +
|
|
|
' </div>' +
|
|
|
' </div>' +
|
|
@@ -515,12 +515,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].riverLeader +
|
|
|
'</h4>' +
|
|
|
' </div>' +
|
|
|
' </div>' +
|
|
|
' </span></div>'
|
|
|
- } else if (resourceTable == 'centerdata_t_forest_waterintake') { //取水口
|
|
|
+ } else if (resourceTable == 'centerdata_t_hydraulic_reservoir') { //水库
|
|
|
markersMap.icon = 'sj-icon-map-centerdata-t-forest-waterintake'
|
|
|
markersMap.lng = res.data.resourceList[i].longitude
|
|
|
markersMap.lat = res.data.resourceList[i].latitude
|
|
@@ -536,7 +536,7 @@ export default {
|
|
|
'<span>' +
|
|
|
' <div class="d-l-con">' +
|
|
|
' <div class="d-l-l-text">' +
|
|
|
- ' <h4>取水口名称:' + res.data.resourceList[i].waterintakeName +
|
|
|
+ ' <h4>水库资源名称:' + res.data.resourceList[i].name +
|
|
|
'</h4>' +
|
|
|
' </div>' +
|
|
|
' </div>' +
|
|
@@ -544,7 +544,7 @@ export default {
|
|
|
'<span>' +
|
|
|
' <div class="d-l-con">' +
|
|
|
' <div class="d-l-l-text">' +
|
|
|
- ' <h4>联系人:' + res.data.resourceList[i].waterintakePerson +
|
|
|
+ ' <h4>联系人:' + res.data.resourceList[i].principal +
|
|
|
'</h4>' +
|
|
|
' </div>' +
|
|
|
' </div>' +
|
|
@@ -552,12 +552,12 @@ export default {
|
|
|
'<span>' +
|
|
|
' <div class="d-l-con">' +
|
|
|
' <div class="d-l-l-text">' +
|
|
|
- ' <h4>电话:' + res.data.resourceList[i].waterintakeTel +
|
|
|
+ ' <h4>电话:' + res.data.resourceList[i].contactsPhone +
|
|
|
'</h4>' +
|
|
|
' </div>' +
|
|
|
' </div>' +
|
|
|
' </span></div>'
|
|
|
- } else if (resourceTable == 'centerdata_t_forest_watercrane') { //水鹤
|
|
|
+ } else if (resourceTable == 'centerdata_t_hydraulic_river') { //河流
|
|
|
markersMap.icon = 'sj-icon-map-centerdata-t-forest-watercrane'
|
|
|
markersMap.lng = res.data.resourceList[i].longitude
|
|
|
markersMap.lat = res.data.resourceList[i].latitude
|
|
@@ -573,7 +573,7 @@ export default {
|
|
|
'<span>' +
|
|
|
' <div class="d-l-con">' +
|
|
|
' <div class="d-l-l-text">' +
|
|
|
- ' <h4>水鹤名称:' + res.data.resourceList[i].watercraneName +
|
|
|
+ ' <h4>河流名称:' + res.data.resourceList[i].name +
|
|
|
'</h4>' +
|
|
|
' </div>' +
|
|
|
' </div>' +
|
|
@@ -594,7 +594,7 @@ export default {
|
|
|
' </div>' +
|
|
|
' </div>' +
|
|
|
' </span></div>'
|
|
|
- } else if (resourceTable == 'centerdata_t_forest_firehydrant') { //消火栓
|
|
|
+ } else if (resourceTable == 'centerdata_t_hydraulic_wade_bridge_culvert') { //涉水桥涵
|
|
|
markersMap.icon = 'sj-icon-map-centerdata-t-forest-firehydrant'
|
|
|
markersMap.lng = res.data.resourceList[i].longitude
|
|
|
markersMap.lat = res.data.resourceList[i].latitude
|
|
@@ -610,7 +610,7 @@ export default {
|
|
|
'<span>' +
|
|
|
' <div class="d-l-con">' +
|
|
|
' <div class="d-l-l-text">' +
|
|
|
- ' <h4>消火栓名称:' + res.data.resourceList[i].firehydrantName +
|
|
|
+ ' <h4>涉水桥涵名称:' + res.data.resourceList[i].name +
|
|
|
'</h4>' +
|
|
|
' </div>' +
|
|
|
' </div>' +
|
|
@@ -639,7 +639,7 @@ export default {
|
|
|
' </div>' +
|
|
|
' </div>' +
|
|
|
' </span></div>'
|
|
|
- } else if (resourceTable == 'centerdata_t_forest_fireteam') { //森林防火队
|
|
|
+ } else if (resourceTable == 'centerdata_t_hydraulic_water_gate') { //闸门
|
|
|
markersMap.icon = 'sj-icon-map-centerdata-t-forest-fireteam'
|
|
|
markersMap.lng = res.data.resourceList[i].longitude
|
|
|
markersMap.lat = res.data.resourceList[i].latitude
|
|
@@ -655,7 +655,7 @@ export default {
|
|
|
'<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>' +
|
|
@@ -663,7 +663,7 @@ 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].address +
|
|
|
'</h4>' +
|
|
|
' </div>' +
|
|
|
' </div>' +
|
|
@@ -671,7 +671,43 @@ export default {
|
|
|
'<span>' +
|
|
|
' <div class="d-l-con">' +
|
|
|
' <div class="d-l-l-text">' +
|
|
|
- ' <h4>电话:' + res.data.resourceList[i].fireteamTel + '</h4>' +
|
|
|
+ ' <h4>闸口高度:' + res.data.resourceList[i].heightMouth + '</h4>' +
|
|
|
+ ' </div>' +
|
|
|
+ ' </div>' +
|
|
|
+ ' </span></div>'
|
|
|
+ } else if (resourceTable == 'centerdata_t_hydraulic_water_project') { //水利工程
|
|
|
+ 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].name +
|
|
|
+ '</h4>' +
|
|
|
+ ' </div>' +
|
|
|
+ ' </div>' +
|
|
|
+ ' </span>' +
|
|
|
+ '<span>' +
|
|
|
+ ' <div class="d-l-con">' +
|
|
|
+ ' <div class="d-l-l-text">' +
|
|
|
+ ' <h4>负责人:' + res.data.resourceList[i].principal +
|
|
|
+ '</h4>' +
|
|
|
+ ' </div>' +
|
|
|
+ ' </div>' +
|
|
|
+ ' </span>' +
|
|
|
+ '<span>' +
|
|
|
+ ' <div class="d-l-con">' +
|
|
|
+ ' <div class="d-l-l-text">' +
|
|
|
+ ' <h4>联系方式:' + res.data.resourceList[i].contactsPhone + '</h4>' +
|
|
|
' </div>' +
|
|
|
' </div>' +
|
|
|
' </span></div>'
|