|
@@ -15,11 +15,15 @@ export default {
|
|
|
window.jmapQuery = null;
|
|
|
},
|
|
|
methods: {
|
|
|
+ streetTownMap(name) {
|
|
|
+ return name
|
|
|
+ },
|
|
|
/**
|
|
|
*地图初始化
|
|
|
*
|
|
|
*/
|
|
|
async initMap() {
|
|
|
+
|
|
|
window.vue = this;
|
|
|
window.jMap = null;
|
|
|
window.jmapQuery = null;
|
|
@@ -44,6 +48,7 @@ export default {
|
|
|
};
|
|
|
|
|
|
let res = await this.$axios.get(this.$api.dt);
|
|
|
+
|
|
|
// 加载地图
|
|
|
window.jMap.createMap("mapF", res.data, window.location.origin, map_params, {});
|
|
|
// 地图背景样式
|
|
@@ -78,7 +83,9 @@ export default {
|
|
|
var _this = this;
|
|
|
|
|
|
function addLayerCallBack(obj) {
|
|
|
- _this.stores.streetTown(obj._name);
|
|
|
+ // _this.streetTownMap(obj._name)
|
|
|
+ _this.stores.streetTownSet(obj._name)
|
|
|
+
|
|
|
}
|
|
|
|
|
|
// 街镇标题
|
|
@@ -86,6 +93,7 @@ export default {
|
|
|
queryMapService: "mh_dyn_district",
|
|
|
queryMapLayers: [1],
|
|
|
outFields: ["code", "name", "center_x", "center_y"],
|
|
|
+ queryWhere: "name like '%莘庄镇%' ",
|
|
|
callBack: (res) => {
|
|
|
|
|
|
res.features.forEach(async(val) => {
|
|
@@ -298,7 +306,17 @@ export default {
|
|
|
|
|
|
type == "社区消防" && val.facilityType == 15 ? this.stores.sadianIcon.zddw : type == "社区消防" && val.facilityType == 16 ? this.stores.sadianIcon.ybdw :
|
|
|
|
|
|
- type == "三合一" ? this.stores.sadianIcon.shy : this.stores.sadianIcon.trsy,
|
|
|
+ type == "一级微型消防站" ? this.stores.sadianIcon.yjxfz : type == "街镇专职消防队" ? this.stores.sadianIcon.jzzzxfd : type == "中小学" ? this.stores.sadianIcon.zs : type == "幼儿园" ? this.stores.sadianIcon.yey : type == "其他学校" ? this.stores.sadianIcon.qtxx :
|
|
|
+
|
|
|
+ type == "三合一" ? this.stores.sadianIcon.shy : type == "实时警情" ? this.stores.sadianIcon.ssjq :
|
|
|
+
|
|
|
+ type == "本年度重点事项推进情况" && val.status == 1 ? this.stores.sadianIcon.ywc : type == "本年度重点事项推进情况" && val.status == 2 ? this.stores.sadianIcon.jxz : type == "本年度重点事项推进情况" && val.status == 3 ? this.stores.sadianIcon.zbz :
|
|
|
+
|
|
|
+ type == "高风险" ? this.stores.sadianIcon.gfx : type == "较高风险" ? this.stores.sadianIcon.jgfx : type == "一般风险" ? this.stores.sadianIcon.ybfx : type == "低风险" ? this.stores.sadianIcon.dfx :
|
|
|
+
|
|
|
+ type == "单位巡检" ? this.stores.sadianIcon.dwxj :
|
|
|
+
|
|
|
+ this.stores.sadianIcon.trsy,
|
|
|
|
|
|
// this.jqzhczIcon3 : val.type == "4" ?
|
|
|
// this.jqzhczIcon4 : val.type == "5" ?
|
|
@@ -307,8 +325,8 @@ export default {
|
|
|
// this.jqzhczIcon51 : val.type == "天然水源" ?
|
|
|
// this.jqzhczIcon7 : this.xfzfdtIcon4,
|
|
|
|
|
|
- width: val.type == "国家会展中心" ? 83 : type == "高层建筑覆盖" && val.stationType == 111 ? 7 : 19.5,
|
|
|
- height: val.type == "国家会展中心" ? 59 : type == "高层建筑覆盖" && val.stationType == 111 ? 7 : 25,
|
|
|
+ width: val.type == "国家会展中心" ? 83 : type == "高层建筑覆盖" && val.stationType == 111 ? 7 : type == 111 ? 74 : 19.5,
|
|
|
+ height: val.type == "国家会展中心" ? 59 : type == "高层建筑覆盖" && val.stationType == 111 ? 7 : type == 111 ? 66 : 25,
|
|
|
},
|
|
|
};
|
|
|
if (type == "高层建筑覆盖" && val.stationType == 1) {
|
|
@@ -357,357 +375,467 @@ export default {
|
|
|
}
|
|
|
// this.bufferL(arr)
|
|
|
}
|
|
|
- //撒点类型
|
|
|
- window.jMap.Locate.pointLocate(target, {
|
|
|
- //撒点
|
|
|
- isZoom: false,
|
|
|
- //animate: { "show": true },
|
|
|
- scaleByDistance: {
|
|
|
- minScaling: 1,
|
|
|
- maxScaling: 1,
|
|
|
- minDistance: 50, //最小距离
|
|
|
- maxDistance: 120000 //最大距离
|
|
|
- },
|
|
|
- click: (val) => {
|
|
|
- //消防执法
|
|
|
- if (pageType == "enforcement-dynamic") {
|
|
|
- if (type == "安全检查单位" || type == "双随机执法单位") {
|
|
|
- this.$axios
|
|
|
- .get(
|
|
|
- this.$api.siaeall.one +
|
|
|
- "?" +
|
|
|
- this.$qs.stringify({
|
|
|
- companyId: val.attrbutes.number,
|
|
|
- companyName: val.attrbutes.name,
|
|
|
- })
|
|
|
- )
|
|
|
- .then((res) => {
|
|
|
- res.data[0].company = val._attrbutes.name;
|
|
|
- res.data[0].streetTown = val._attrbutes.streetTown;
|
|
|
- let arrayList = [{
|
|
|
- title: [res.data[0].company, res.data[0].company ? true : false],
|
|
|
- children: [
|
|
|
- ["单位地址:", res.data[0].companyAddress, 24],
|
|
|
- ["负责人:", res.data[0].linkPerson, 10],
|
|
|
- ["联系电话:", res.data[0].linkPhone, 14],
|
|
|
- ["历史火灾次数:", res.data[0].fireCount, 12],
|
|
|
-
|
|
|
- ],
|
|
|
- },
|
|
|
- {
|
|
|
- title: ["行政许可情况", res.data[0].processDate && res.data[0].carefullyCheckDate && res.data[0].securityCheckDates],
|
|
|
- children: [
|
|
|
- ["审核时间:", res.data[0].processDate, 12],
|
|
|
- ["验收时间:", res.data[0].carefullyCheckDate, 12],
|
|
|
- ["安检时间:", res.data[0].securityCheckDates, 12],
|
|
|
- ],
|
|
|
- },
|
|
|
- {
|
|
|
- title: ["历史检查情况", res.data[0].inspectCompany && res.data[0].fireHazard && res.data[0].rectificateFireHazard && res.data[0].punishmentDecision && res.data[0].orderThreeStops && res.data[0].correctionNotice && res.data[0].temporarySeizure && res.data[0].penaltyAmount],
|
|
|
- children: [
|
|
|
- ["检查:", res.data[0].inspectCompany + "(家)", 8],
|
|
|
- ["隐患:", res.data[0].fireHazard + "(起)", 8],
|
|
|
- ["整改:", res.data[0].rectificateFireHazard + "(起)", 8],
|
|
|
- ["行罚:", res.data[0].punishmentDecision + "(份)", 8],
|
|
|
- ["三停:", res.data[0].orderThreeStops + "(家)", 8],
|
|
|
- ["责改:", res.data[0].correctionNotice + "(份)", 8],
|
|
|
- ["临封:", res.data[0].temporarySeizure + "(份)", 8],
|
|
|
- ["罚金:", res.data[0].penaltyAmount + "(万元)", 8],
|
|
|
- ],
|
|
|
- },
|
|
|
- {
|
|
|
- title: ["相关火灾情况", res.data[0].fireTime && res.data[0].disposalDuration && res.data[0].burnedArea && res.data[0].fireGrade && res.data[0].mobilizeVehicles && res.data[0].squadron && res.data[0].status && res.data[0].initialFuelType1],
|
|
|
- children: [
|
|
|
- ["报警时间:", res.data[0].fireTime, 12],
|
|
|
- ["处置时长:", res.data[0].disposalDuration, 12],
|
|
|
- ["过火面积:", res.data[0].burnedArea, 12],
|
|
|
- ["火灾等级:", res.data[0].fireGrade, 12],
|
|
|
- ["调动车辆:", res.data[0].mobilizeVehicles + "(辆)", 12],
|
|
|
- ["所属中队:", res.data[0].squadron, 12],
|
|
|
- ["状况:", res.data[0].status, 12],
|
|
|
- ["起火物:", res.data[0].initialFuelType1, 12],
|
|
|
- ],
|
|
|
- },
|
|
|
- ];
|
|
|
- this.popup(val._attrbutes, arrayList, true)
|
|
|
- });
|
|
|
- } else if (type == "举报投诉") {
|
|
|
- let arrayList = [{
|
|
|
- title: [val._attrbutes.name, true],
|
|
|
- children: [
|
|
|
+ //消防水源
|
|
|
+ if (pageType == "water-sources") {
|
|
|
+ var array = {
|
|
|
+ clusterId: 100001,
|
|
|
+ clusterData: []
|
|
|
+ }
|
|
|
+ var target1 = lnglats.map((val, ind) => {
|
|
|
+ var wgs84 = CoordUtil.gcj02towgs84(Number(val.gisX) || Number(val.longitude), Number(val.gisY) || Number(val.latitude))
|
|
|
+ var x = wgs84[0]
|
|
|
+ var y = wgs84[1]
|
|
|
+ val.type2 = type
|
|
|
+ var array1 = {
|
|
|
+ attributes: val,
|
|
|
+ position: {
|
|
|
+ x: x,
|
|
|
+ y: y,
|
|
|
+ z: 0,
|
|
|
+ },
|
|
|
+ image: {
|
|
|
+ url: type == "消火栓可用" ? this.stores.sadianIcon.xhs : type == "消火栓不可用" ? this.stores.sadianIcon.xhsH : type == "天然水源" ? this.stores.sadianIcon.trsy : this.stores.sadianIcon.trsy,
|
|
|
+ width: 19.5,
|
|
|
+ height: 25,
|
|
|
+ }
|
|
|
+ }
|
|
|
+ array.clusterData.push(array1)
|
|
|
+ })
|
|
|
+ var options = {
|
|
|
+ style: { pixelRange: 60 },
|
|
|
+ isZoom: true,
|
|
|
+ click: this.clusterMapCallBack
|
|
|
|
|
|
- ],
|
|
|
- }]
|
|
|
- this.popup(val._attrbutes, arrayList, true)
|
|
|
+ };
|
|
|
+ window.jMap.ClusterMap.show(array, options)
|
|
|
+ } else {
|
|
|
+ //撒点类型
|
|
|
+ window.jMap.Locate.pointLocate(target, {
|
|
|
+ //撒点
|
|
|
+ isZoom: false,
|
|
|
+ //animate: { "show": true },
|
|
|
+ scaleByDistance: {
|
|
|
+ minScaling: 1,
|
|
|
+ maxScaling: 1,
|
|
|
+ minDistance: 50, //最小距离
|
|
|
+ maxDistance: 120000 //最大距离
|
|
|
+ },
|
|
|
+ click: (val) => {
|
|
|
+ //消防执法
|
|
|
+ if (pageType == "enforcement-dynamic") {
|
|
|
+ if (type == "安全检查单位" || type == "双随机执法单位") {
|
|
|
+ this.$axios
|
|
|
+ .get(
|
|
|
+ this.$api.siaeall.one +
|
|
|
+ "?" +
|
|
|
+ this.$qs.stringify({
|
|
|
+ companyId: val.attrbutes.number,
|
|
|
+ companyName: val.attrbutes.name,
|
|
|
+ })
|
|
|
+ )
|
|
|
+ .then((res) => {
|
|
|
+ res.data[0].company = val._attrbutes.name;
|
|
|
+ res.data[0].streetTown = val._attrbutes.streetTown;
|
|
|
+ let arrayList = [{
|
|
|
+ title: [res.data[0].company, res.data[0].company ? true : false],
|
|
|
+ children: [
|
|
|
+ ["单位地址:", res.data[0].companyAddress, 24],
|
|
|
+ ["负责人:", res.data[0].linkPerson, 10],
|
|
|
+ ["联系电话:", res.data[0].linkPhone, 14],
|
|
|
+ ["历史火灾次数:", res.data[0].fireCount, 12],
|
|
|
+
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: ["行政许可情况", res.data[0].processDate && res.data[0].carefullyCheckDate && res.data[0].securityCheckDates],
|
|
|
+ children: [
|
|
|
+ ["审核时间:", res.data[0].processDate, 12],
|
|
|
+ ["验收时间:", res.data[0].carefullyCheckDate, 12],
|
|
|
+ ["安检时间:", res.data[0].securityCheckDates, 12],
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: ["历史检查情况", res.data[0].inspectCompany && res.data[0].fireHazard && res.data[0].rectificateFireHazard && res.data[0].punishmentDecision && res.data[0].orderThreeStops && res.data[0].correctionNotice && res.data[0].temporarySeizure && res.data[0].penaltyAmount],
|
|
|
+ children: [
|
|
|
+ ["检查:", res.data[0].inspectCompany + "(家)", 8],
|
|
|
+ ["隐患:", res.data[0].fireHazard + "(起)", 8],
|
|
|
+ ["整改:", res.data[0].rectificateFireHazard + "(起)", 8],
|
|
|
+ ["行罚:", res.data[0].punishmentDecision + "(份)", 8],
|
|
|
+ ["三停:", res.data[0].orderThreeStops + "(家)", 8],
|
|
|
+ ["责改:", res.data[0].correctionNotice + "(份)", 8],
|
|
|
+ ["临封:", res.data[0].temporarySeizure + "(份)", 8],
|
|
|
+ ["罚金:", res.data[0].penaltyAmount + "(万元)", 8],
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: ["相关火灾情况", res.data[0].fireTime && res.data[0].disposalDuration && res.data[0].burnedArea && res.data[0].fireGrade && res.data[0].mobilizeVehicles && res.data[0].squadron && res.data[0].status && res.data[0].initialFuelType1],
|
|
|
+ children: [
|
|
|
+ ["报警时间:", res.data[0].fireTime, 12],
|
|
|
+ ["处置时长:", res.data[0].disposalDuration, 12],
|
|
|
+ ["过火面积:", res.data[0].burnedArea, 12],
|
|
|
+ ["火灾等级:", res.data[0].fireGrade, 12],
|
|
|
+ ["调动车辆:", res.data[0].mobilizeVehicles + "(辆)", 12],
|
|
|
+ ["所属中队:", res.data[0].squadron, 12],
|
|
|
+ ["状况:", res.data[0].status, 12],
|
|
|
+ ["起火物:", res.data[0].initialFuelType1, 12],
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ ];
|
|
|
+ this.popup(val._attrbutes, arrayList, true)
|
|
|
+ });
|
|
|
+ } else if (type == "举报投诉") {
|
|
|
+ let arrayList = [{
|
|
|
+ title: [val._attrbutes.name, true],
|
|
|
+ children: [
|
|
|
|
|
|
- } else if (type == "执法记录仪") {
|
|
|
- let arrayList = [{
|
|
|
- title: [val._attrbutes.groupName, true],
|
|
|
+ ],
|
|
|
+ }]
|
|
|
+ this.popup(val._attrbutes, arrayList, true)
|
|
|
+
|
|
|
+ } else if (type == "执法记录仪") {
|
|
|
+ let arrayList = [{
|
|
|
+ title: [val._attrbutes.groupName, true],
|
|
|
+ children: [
|
|
|
+ ["执法人:", val._attrbutes.name, 12],
|
|
|
+ ],
|
|
|
+ type: type,
|
|
|
+ url: val._attrbutes.url,
|
|
|
+ },
|
|
|
+
|
|
|
+ ]
|
|
|
+ this.popup(val._attrbutes, arrayList, true)
|
|
|
+ } else if (type == "重大火灾隐患") {
|
|
|
+ let msgParse = JSON.parse(val.attrbutes.extendData)
|
|
|
+ let arrayList = [{
|
|
|
+ title: [val.attrbutes.facilityName, true],
|
|
|
children: [
|
|
|
- ["执法人:", val._attrbutes.name, 12],
|
|
|
+ ["地址:", val.attrbutes.address, 24],
|
|
|
+ ["分类等级:", val.attrbutes.address, 24],
|
|
|
+ ["基础信息:", msgParse.test1, 24],
|
|
|
+ ["消防安全隐患情况:", msgParse.test2, 24],
|
|
|
+
|
|
|
],
|
|
|
- type: type,
|
|
|
- url: val._attrbutes.url,
|
|
|
- },
|
|
|
-
|
|
|
- ]
|
|
|
- this.popup(val._attrbutes, arrayList, true)
|
|
|
- } else if (type == "重大火灾隐患") {
|
|
|
- let msgParse = JSON.parse(val.attrbutes.extendData)
|
|
|
- let arrayList = [{
|
|
|
- title: [val.attrbutes.facilityName, true],
|
|
|
- children: [
|
|
|
- ["地址:", val.attrbutes.address, 24],
|
|
|
- ["分类等级:", val.attrbutes.address, 24],
|
|
|
- ["基础信息:", msgParse.test1, 24],
|
|
|
- ["消防安全隐患情况:", msgParse.test2, 24],
|
|
|
+ }, ];
|
|
|
+ this.popup(val._attrbutes, arrayList, true)
|
|
|
+ } else if (type == "三合一") {
|
|
|
+ let msgParse = JSON.parse(val.attrbutes.extendData)
|
|
|
+ let arrayList = [{
|
|
|
+ title: [val.attrbutes.facilityName, true],
|
|
|
+ children: [
|
|
|
+ ["单位地址:", val.attrbutes.address.replace("\t", ""), 24],
|
|
|
+ ["单位类别:", "三合一九小场所", 24],
|
|
|
+ ["单位法人:", val.attrbutes.facilityName.replace("\t", ""), 24],
|
|
|
+
|
|
|
+ ["检查人员姓名:", msgParse.test1, 24],
|
|
|
+ ["检查时间:", msgParse.test3, 24],
|
|
|
+ ["单位使用性质:", msgParse.test4, 24],
|
|
|
+ ["单位所属街道:", msgParse.test8, 24],
|
|
|
+ ["消消防安全责任人:", msgParse.test10, 24],
|
|
|
+ ["消防安全管理人(联系人):", msgParse.test11, 24],
|
|
|
+ ["联系电话(手机):", msgParse.test12, 24],
|
|
|
+ ["单位(场所)面积(m²):", msgParse.test17, 24],
|
|
|
+ ["地上:", msgParse.test18, 24],
|
|
|
+ ["地下:", msgParse.test19, 24],
|
|
|
+ ["建筑性质:", msgParse.test21, 24],
|
|
|
+ ["建筑结构:", msgParse.test22, 24],
|
|
|
|
|
|
- ],
|
|
|
- }, ];
|
|
|
- this.popup(val._attrbutes, arrayList, true)
|
|
|
- } else if (type == "三合一") {
|
|
|
- console.log(val.attrbutes)
|
|
|
- let msgParse = JSON.parse(val.attrbutes.extendData)
|
|
|
- let arrayList = [{
|
|
|
- title: [val.attrbutes.facilityName, true],
|
|
|
- children: [
|
|
|
- ["单位地址:", val.attrbutes.address.replace("\t", ""), 24],
|
|
|
- ["单位类别:", "三合一九小场所", 24],
|
|
|
- ["单位法人:", val.attrbutes.facilityName.replace("\t", ""), 24],
|
|
|
-
|
|
|
- ["检查人员姓名:", msgParse.test1, 24],
|
|
|
- ["检查时间:", msgParse.test3, 24],
|
|
|
- ["单位使用性质:", msgParse.test4, 24],
|
|
|
- ["单位所属街道:", msgParse.test8, 24],
|
|
|
- ["消消防安全责任人:", msgParse.test10, 24],
|
|
|
- ["消防安全管理人(联系人):", msgParse.test11, 24],
|
|
|
- ["联系电话(手机):", msgParse.test12, 24],
|
|
|
- ["单位(场所)面积(m²):", msgParse.test17, 24],
|
|
|
- ["地上:", msgParse.test18, 24],
|
|
|
- ["地下:", msgParse.test19, 24],
|
|
|
- ["建筑性质:", msgParse.test21, 24],
|
|
|
- ["建筑结构:", msgParse.test22, 24],
|
|
|
+ ],
|
|
|
+ }, ];
|
|
|
+ this.popup(val._attrbutes, arrayList, true)
|
|
|
+ } else if (type == "本年度重点事项推进情况") {
|
|
|
+ let msgParse = JSON.parse(val.attrbutes.extendData)
|
|
|
+ let arrayList = [{
|
|
|
+ title: [val.attrbutes.facilityName, true],
|
|
|
+ children: [
|
|
|
+ ["街道名称:", val.attrbutes.streetTown, 24],
|
|
|
+ ["地址:", val.attrbutes.address, 24],
|
|
|
+ ["状态:", val.attrbutes.status == 1 ? "已完成" : val.attrbutes.status == 2 ? "施工中" : val.attrbutes.status == 3 ? "招标中" : "", 24],
|
|
|
|
|
|
- ],
|
|
|
- }, ];
|
|
|
- this.popup(val._attrbutes, arrayList, true)
|
|
|
- }
|
|
|
- }
|
|
|
- //消防水源
|
|
|
- if (pageType == "water-sources") {
|
|
|
- if (type == "消火栓可用" || type == "消火栓不可用") {
|
|
|
- let arrayList = [{
|
|
|
- title: ["消火栓", true],
|
|
|
- children: [
|
|
|
- ["水源位置:", val.attrbutes.address, 24],
|
|
|
- ["电话:", val.attrbutes.phone, 12],
|
|
|
- ["责任人:", val.attrbutes.dutyPerson, 12],
|
|
|
- ["支队名称:", val.attrbutes.detachmentName, 24],
|
|
|
- ["管辖机构:", val.attrbutes.jurisdictionalAgency, 12],
|
|
|
- ["水源类型:", val.attrbutes.type, 12],
|
|
|
- ["取水形式:", val.attrbutes.getWaterType, 12],
|
|
|
- ["水源性质:", val.attrbutes.waterAdministrative, 12],
|
|
|
- ["供水单位:", val.attrbutes.waterUnit, 24],
|
|
|
- ["水压(Mpa):", val.attrbutes.waterGage, 24],
|
|
|
- ["状态:", val.attrbutes.status == 1 ? "可用" : "不可用", 12],
|
|
|
- ],
|
|
|
- }, ];
|
|
|
- this.popup(val._attrbutes, arrayList, true)
|
|
|
- } else if (type == "天然水源") {
|
|
|
- let arrayList = [{
|
|
|
- title: [val.attrbutes.facilityName, true],
|
|
|
- children: [
|
|
|
- ["水源位置:", val.attrbutes.address, 24],
|
|
|
- ],
|
|
|
- }, ];
|
|
|
- this.popup(val._attrbutes, arrayList, true)
|
|
|
+ ],
|
|
|
+ }, ];
|
|
|
+ this.popup(val._attrbutes, arrayList, true)
|
|
|
+ }
|
|
|
}
|
|
|
- }
|
|
|
- //企业自主
|
|
|
- if (pageType == "self-management") {
|
|
|
- if (val.attrbutes.type == "重点单位") {
|
|
|
- this.elementInfo(val.attrbutes, "重点单位")
|
|
|
- } else if (val.attrbutes.type == "大型综合体") {
|
|
|
- let msgParse = JSON.parse(val.attrbutes.extendData)
|
|
|
- let arrayList = [{
|
|
|
- title: [val.attrbutes.facilityName, true],
|
|
|
- children: [
|
|
|
- ["地址:", val.attrbutes.address, 24],
|
|
|
- ["类型:", val.attrbutes.facilityType == 2 ? "5W平大型商业综合体" : val.attrbutes.facilityType == 3 ? "3-5万平大型商业综合体" : "", 24],
|
|
|
- ["平面布局:", msgParse.planeLayout, 24],
|
|
|
- ["用火用电用气管理:", msgParse.fireGasManage, 24],
|
|
|
- ["油烟管道管理:", msgParse.oilFumeManage, 24],
|
|
|
- ["消防设施:", msgParse.fireFacility, 24],
|
|
|
- ["其他安全管理:", msgParse.otherSecurityManage, 24],
|
|
|
- ["合计汇总:", msgParse.totalSummary, 24],
|
|
|
- ],
|
|
|
- }, ];
|
|
|
- this.popup(val._attrbutes, arrayList, true)
|
|
|
|
|
|
- } else {
|
|
|
- let arrayList = [{
|
|
|
- title: ["单位详情", val.attrbutes.companyName ? true : false],
|
|
|
- children: [
|
|
|
- ["单位名称:", val.attrbutes.companyName, 24],
|
|
|
- ["单位类型:", val.attrbutes.companyTypeName, 24],
|
|
|
- ["联系电话:", val.attrbutes.linkPhone, 24],
|
|
|
- ["地址:", val.attrbutes.address, 24],
|
|
|
- ],
|
|
|
- }, ];
|
|
|
- this.popup(val._attrbutes, arrayList, true)
|
|
|
- }
|
|
|
+ //企业自主
|
|
|
+ if (pageType == "self-management") {
|
|
|
+ if (val.attrbutes.type == "重点单位") {
|
|
|
+ this.elementInfo(val.attrbutes, "重点单位")
|
|
|
+ } else if (val.attrbutes.type == "大型综合体") {
|
|
|
+ let msgParse = JSON.parse(val.attrbutes.extendData)
|
|
|
+ let arrayList = [{
|
|
|
+ title: [val.attrbutes.facilityName, true],
|
|
|
+ children: [
|
|
|
+ ["地址:", val.attrbutes.address, 24],
|
|
|
+ ["类型:", val.attrbutes.facilityType == 2 ? "5W平大型商业综合体" : val.attrbutes.facilityType == 3 ? "3-5万平大型商业综合体" : "", 24],
|
|
|
+ ["平面布局:", msgParse.planeLayout, 24],
|
|
|
+ ["用火用电用气管理:", msgParse.fireGasManage, 24],
|
|
|
+ ["油烟管道管理:", msgParse.oilFumeManage, 24],
|
|
|
+ ["消防设施:", msgParse.fireFacility, 24],
|
|
|
+ ["其他安全管理:", msgParse.otherSecurityManage, 24],
|
|
|
+ ["合计汇总:", msgParse.totalSummary, 24],
|
|
|
+ ],
|
|
|
+ }, ];
|
|
|
+ this.popup(val._attrbutes, arrayList, true)
|
|
|
+ } else if (val.attrbutes.type == "中小学" || val.attrbutes.type == "幼儿园" || val.attrbutes.type == "其他学校") {
|
|
|
+ let msgParse = JSON.parse(val.attrbutes.extendData)
|
|
|
+ let phone = val.attrbutes.contactPhone
|
|
|
+ let arrayList = [{
|
|
|
+ title: [val.attrbutes.facilityName, true],
|
|
|
+ children: [
|
|
|
+ ["机构简称:", msgParse.test1, 24],
|
|
|
+ // ["学校办别:", val.attrbutes.facilityType, 24],
|
|
|
+ ["学校类型:", val.attrbutes.type, 24],
|
|
|
+ ["所在街镇:", val.attrbutes.streetTown, 24],
|
|
|
+ ["地址:", msgParse.address, 24],
|
|
|
+ ["法人代表:", val.attrbutes.contact, 24],
|
|
|
+ ["手机:", phone.length > 8 ? phone.substring(0, 3) + '****' + phone.substring(phone.length - 3, phone.length) : phone.substring(0, 2) + '***' + phone.substring(phone.length - 3, phone.length), 24],
|
|
|
+ ],
|
|
|
+ }, ];
|
|
|
+ this.popup(val._attrbutes, arrayList, true)
|
|
|
+ }else if (val.attrbutes.facilityType == "22") {
|
|
|
+ let msgParse = JSON.parse(val.attrbutes.extendData)
|
|
|
+ let arrayList = [{
|
|
|
+ title: [val.attrbutes.facilityName, true],
|
|
|
+ children: [
|
|
|
+ ["单位地址:", msgParse.address, 24],
|
|
|
+ ["单位负责人:", val.attrbutes.contact, 24],
|
|
|
+ ["负责人电话:", val.attrbutes.contactPhone, 24],
|
|
|
+ ["巡检部位:", msgParse.test1, 24],
|
|
|
+ ["巡检人员:", msgParse.test2, 24],
|
|
|
+ ["巡检情况:", msgParse.test3, 24],
|
|
|
+
|
|
|
+ ],
|
|
|
+ }, ];
|
|
|
+ this.popup(val._attrbutes, arrayList, true)
|
|
|
+
|
|
|
+ } else {
|
|
|
+ let arrayList = [{
|
|
|
+ title: ["单位详情", val.attrbutes.companyName ? true : false],
|
|
|
+ children: [
|
|
|
+ ["单位名称:", val.attrbutes.companyName, 24],
|
|
|
+ ["单位类型:", val.attrbutes.companyTypeName, 24],
|
|
|
+ ["联系电话:", val.attrbutes.linkPhone, 24],
|
|
|
+ ["地址:", val.attrbutes.address, 24],
|
|
|
+ ],
|
|
|
+ }, ];
|
|
|
+ this.popup(val._attrbutes, arrayList, true)
|
|
|
+ }
|
|
|
|
|
|
- }
|
|
|
- //大型安保 、火灾数据分析
|
|
|
- if (pageType == "security-plan" || pageType == "fire-data-analysis") {
|
|
|
- let arrayList = [{
|
|
|
- title: ["案件详情", true],
|
|
|
- children: [
|
|
|
- ["案件编号:", val.attrbutes.ajbh, 24],
|
|
|
- ["案件描述:", val.attrbutes.bcxx, 24],
|
|
|
- ["报警时间:", val.attrbutes.tzsj, 24],
|
|
|
- ["案件类型:", val.attrbutes.ajlx, 24],
|
|
|
- ["警情类别:", type, 24],
|
|
|
- ["警情等级:", val.attrbutes.ajdj, 24],
|
|
|
- ["调动车辆:", val.attrbutes.cdcl, 24],
|
|
|
- ["处置对象:", val.attrbutes.czdx, 24],
|
|
|
- ["主责中队:", val.attrbutes.zhongdui, 24],
|
|
|
- ["案件状态:", val.attrbutes.ajzt, 24],
|
|
|
- ["到场时间:", val.attrbutes.cssj, 24],
|
|
|
- ["控制时间:", val.attrbutes.kzsj, 24],
|
|
|
- ["熄灭时间:", val.attrbutes.xmsj, 24],
|
|
|
- ["返队时间:", val.attrbutes.fdsj, 24],
|
|
|
- ["所属街道:", val.attrbutes.streettown, 24],
|
|
|
- ],
|
|
|
- }, ];
|
|
|
- if (val._attrbutes.type != "国家会展中心") {
|
|
|
- this.popup(val._attrbutes, arrayList, true)
|
|
|
}
|
|
|
- }
|
|
|
- //消防救援站点
|
|
|
- if (pageType == "rescue-station") {
|
|
|
- if (type == "科普教育基地") {
|
|
|
+ //大型安保 、火灾数据分析
|
|
|
+ if (pageType == "security-plan" || pageType == "fire-data-analysis") {
|
|
|
let arrayList = [{
|
|
|
- title: [val.attrbutes.type, true],
|
|
|
+ title: ["案件详情", true],
|
|
|
children: [
|
|
|
- ["成立时间/联系人:", val.attrbutes.policeTime, 24],
|
|
|
- ["站点地址:", val.attrbutes.alertLevel, 24],
|
|
|
- ["预约电话:", val.attrbutes.address, 24],
|
|
|
+ ["案件编号:", val.attrbutes.ajbh, 24],
|
|
|
+ ["案件描述:", val.attrbutes.bcxx, 24],
|
|
|
+ ["报警时间:", val.attrbutes.tzsj, 24],
|
|
|
+ ["案件类型:", val.attrbutes.ajlx, 24],
|
|
|
+ ["警情类别:", type, 24],
|
|
|
+ ["警情等级:", val.attrbutes.ajdj, 24],
|
|
|
+ ["调动车辆:", val.attrbutes.cdcl, 24],
|
|
|
+ ["处置对象:", val.attrbutes.czdx, 24],
|
|
|
+ ["主责中队:", val.attrbutes.zhongdui, 24],
|
|
|
+ ["案件状态:", val.attrbutes.ajzt, 24],
|
|
|
+ ["到场时间:", val.attrbutes.cssj, 24],
|
|
|
+ ["控制时间:", val.attrbutes.kzsj, 24],
|
|
|
+ ["熄灭时间:", val.attrbutes.xmsj, 24],
|
|
|
+ ["返队时间:", val.attrbutes.fdsj, 24],
|
|
|
+ ["所属街道:", val.attrbutes.streettown, 24],
|
|
|
],
|
|
|
}, ];
|
|
|
- this.popup(val._attrbutes, arrayList, true)
|
|
|
+ if (val._attrbutes.type != "国家会展中心") {
|
|
|
+ this.popup(val._attrbutes, arrayList, true)
|
|
|
+ }
|
|
|
}
|
|
|
- if (type == "消防站" || type == "专职队" || type == "高层建筑覆盖" || type == "高层建筑" || type == "微型消防站") {
|
|
|
- if (val.attrbutes.stationType == 1 || val.attrbutes.stationType == 2 || val.attrbutes.stationType == 3 || val.attrbutes.stationType == 4) {
|
|
|
+ //消防救援站点
|
|
|
+ if (pageType == "rescue-station") {
|
|
|
+ if (type == "科普教育基地") {
|
|
|
let arrayList = [{
|
|
|
- title: [val.attrbutes.stationName, true],
|
|
|
+ title: [val.attrbutes.type, true],
|
|
|
children: [
|
|
|
- ["消防站地址:", val.attrbutes.stationAddress, 24],
|
|
|
- ["消防站类型:", val.attrbutes.stationType == 1 ? "一级消防站" : val.attrbutes.stationType == 2 ? "二级消防站" : val.attrbutes.stationType == 3 ? "三级消防站" : val.attrbutes.stationType == 4 ? "专职队" : "", 24],
|
|
|
+ ["成立时间/联系人:", val.attrbutes.policeTime, 24],
|
|
|
+ ["站点地址:", val.attrbutes.alertLevel, 24],
|
|
|
+ ["预约电话:", val.attrbutes.address, 24],
|
|
|
],
|
|
|
}, ];
|
|
|
this.popup(val._attrbutes, arrayList, true)
|
|
|
}
|
|
|
- if (val.attrbutes.stationType == 5) {
|
|
|
+ if (type == "消防站" || type == "专职队" || type == "高层建筑覆盖" || type == "高层建筑" || type == "微型消防站" || type == "一级微型消防站" || type == "街镇专职消防队") {
|
|
|
+ if (val.attrbutes.stationType == 1 || val.attrbutes.stationType == 2 || val.attrbutes.stationType == 3 || val.attrbutes.stationType == 4) {
|
|
|
+ let arrayList = [{
|
|
|
+ title: [val.attrbutes.stationName, true],
|
|
|
+ children: [
|
|
|
+ ["消防站地址:", val.attrbutes.stationAddress, 24],
|
|
|
+ ["消防站类型:", val.attrbutes.stationType == 1 ? "一级消防站" : val.attrbutes.stationType == 2 ? "二级消防站" : val.attrbutes.stationType == 3 ? "三级消防站" : val.attrbutes.stationType == 4 ? "专职队" : "", 24],
|
|
|
+ ],
|
|
|
+ }, ];
|
|
|
+ this.popup(val._attrbutes, arrayList, true)
|
|
|
+ }
|
|
|
+ if (val.attrbutes.stationType == 5) {
|
|
|
+ let arrayList = [{
|
|
|
+ title: [val.attrbutes.streetTown + "微型消防站(" + val.attrbutes.stationCode + '号)', true],
|
|
|
+ children: [
|
|
|
+ ["地址:", val.attrbutes.stationAddress, 24],
|
|
|
+ ["编号:", val.attrbutes.stationCode, 24],
|
|
|
+ ["距消防站直线距离:", val.attrbutes.stationAddress, 24],
|
|
|
+ ["距消防站行驶距离:", val.attrbutes.driveDistance, 24],
|
|
|
+ ["交通拥堵行驶时间:", val.attrbutes.jamDrive, 24],
|
|
|
+ ["交通畅通行驶时间:", val.attrbutes.unimpededDrive, 24],
|
|
|
+ // ["点位情况:", val.attrbutes.pointSituation, 24],
|
|
|
+ ["建筑情况:", val.attrbutes.buildSituation, 24],
|
|
|
+ ["车辆停放:", val.attrbutes.vehiclePark, 24],
|
|
|
+ ["是否有产证:", val.attrbutes.birthCert, 24],
|
|
|
+ ["产证情况:", val.attrbutes.birthCertSituation, 24],
|
|
|
+ ],
|
|
|
+ }, ];
|
|
|
+ this.popup(val._attrbutes, arrayList, true)
|
|
|
+ }
|
|
|
+ if (val.attrbutes.stationType == 111 || val.attrbutes.stationType == 112) {
|
|
|
+ let arrayList = [{
|
|
|
+ title: [val.attrbutes.buildName, true],
|
|
|
+ children: [
|
|
|
+ ["建筑地址:", val.attrbutes.address, 24],
|
|
|
+ ["主要产权人:", val.attrbutes.principalPropertyOwner, 24],
|
|
|
+ ["统一社会信用代码:", val.attrbutes.creditCode, 24],
|
|
|
+ ["物业服务企业名称:", val.attrbutes.propertyServiceName, 24],
|
|
|
+ ["建成年份:", val.attrbutes.completeYear, 24],
|
|
|
+ ["建筑高度:", val.attrbutes.buildHigh, 24],
|
|
|
+ ["地上建筑层数:", val.attrbutes.aboveFloor, 24],
|
|
|
+ ["地下建筑层数:", val.attrbutes.underFloor, 24],
|
|
|
+ ["建筑类型:", val.attrbutes.buildType, 24],
|
|
|
+ ["功能用途:", val.attrbutes.functionalPurpose, 24],
|
|
|
+ ],
|
|
|
+ }, ];
|
|
|
+ this.popup(val._attrbutes, arrayList, true)
|
|
|
+ }
|
|
|
+ if (val.attrbutes.stationType == 17 || val.attrbutes.stationType == 18) {
|
|
|
+ let bianhao = JSON.parse(val.attrbutes.extendData).test1
|
|
|
+ let arrayList = [{
|
|
|
+ title: [val.attrbutes.facilityName, true],
|
|
|
+ children: [
|
|
|
+ ["编号:", bianhao, 24],
|
|
|
+ ["消防站地址:", val.attrbutes.address, 24],
|
|
|
+ ["消防站类型:", val.attrbutes.stationType == 17 ? "一级微型消防站" : val.attrbutes.stationType == 18 ? "街镇专职消防队" : "", 24],
|
|
|
+ ],
|
|
|
+ }, ];
|
|
|
+ this.popup(val._attrbutes, arrayList, true)
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (type == "企业消防" || type == "社区消防") {
|
|
|
let arrayList = [{
|
|
|
- title: [val.attrbutes.streetTown + "微型消防站(" + val.attrbutes.stationCode + '号)', true],
|
|
|
+ title: [val.attrbutes.facilityName, true],
|
|
|
children: [
|
|
|
- ["地址:", val.attrbutes.stationAddress, 24],
|
|
|
- ["编号:", val.attrbutes.stationCode, 24],
|
|
|
- ["距消防站直线距离:", val.attrbutes.stationAddress, 24],
|
|
|
- ["距消防站行驶距离:", val.attrbutes.driveDistance, 24],
|
|
|
- ["交通拥堵行驶时间:", val.attrbutes.jamDrive, 24],
|
|
|
- ["交通畅通行驶时间:", val.attrbutes.unimpededDrive, 24],
|
|
|
- // ["点位情况:", val.attrbutes.pointSituation, 24],
|
|
|
- ["建筑情况:", val.attrbutes.buildSituation, 24],
|
|
|
- ["车辆停放:", val.attrbutes.vehiclePark, 24],
|
|
|
- ["是否有产证:", val.attrbutes.birthCert, 24],
|
|
|
- ["产证情况:", val.attrbutes.birthCertSituation, 24],
|
|
|
+
|
|
|
+ ["站点地址:", val.attrbutes.address, 24],
|
|
|
+ ["站点类型:", val.attrbutes.facilityType == 13 ? "重点单位微站" :
|
|
|
+ val.attrbutes.facilityType == 14 ? "一般单位微站" : val.attrbutes.facilityType == 15 ? "居委会微站" : val.attrbutes.facilityType == 16 ? "村委会微站" : "", 24
|
|
|
+ ],
|
|
|
+ ["街镇:", val.attrbutes.streetTown, 24],
|
|
|
],
|
|
|
}, ];
|
|
|
this.popup(val._attrbutes, arrayList, true)
|
|
|
}
|
|
|
- if (val.attrbutes.stationType == 111 || val.attrbutes.stationType == 112) {
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ //警情综合处置
|
|
|
+ if (pageType == "comprehensive-disposal") {
|
|
|
+ if (type == "实时警情") {
|
|
|
let arrayList = [{
|
|
|
- title: [val.attrbutes.buildName, true],
|
|
|
+ title: ["案件详情", true],
|
|
|
children: [
|
|
|
- ["建筑地址:", val.attrbutes.address, 24],
|
|
|
- ["主要产权人:", val.attrbutes.principalPropertyOwner, 24],
|
|
|
- ["统一社会信用代码:", val.attrbutes.creditCode, 24],
|
|
|
- ["物业服务企业名称:", val.attrbutes.propertyServiceName, 24],
|
|
|
- ["建成年份:", val.attrbutes.completeYear, 24],
|
|
|
- ["建筑高度:", val.attrbutes.buildHigh, 24],
|
|
|
- ["地上建筑层数:", val.attrbutes.aboveFloor, 24],
|
|
|
- ["地下建筑层数:", val.attrbutes.underFloor, 24],
|
|
|
- ["建筑类型:", val.attrbutes.buildType, 24],
|
|
|
- ["功能用途:", val.attrbutes.functionalPurpose, 24],
|
|
|
+ ["案件编号:", val.attrbutes.ajbh, 24],
|
|
|
+ ["案件描述:", val.attrbutes.bcxx, 24],
|
|
|
+ ["报警时间:", val.attrbutes.tzsj, 24],
|
|
|
+ ["案件类型:", val.attrbutes.ajlx, 24],
|
|
|
+ ["警情类别:", val.attrbutes.type, 24],
|
|
|
+ ["警情等级:", val.attrbutes.ajdj, 24],
|
|
|
+ ["案发地址:", val.attrbutes.afdz, 24],
|
|
|
+ ["调动车辆:", val.attrbutes.cdcl, 24],
|
|
|
+ ["处置对象:", val.attrbutes.czdx, 24],
|
|
|
+ ["主责中队:", val.attrbutes.zhongdui, 24],
|
|
|
+ ["案件状态:", val.attrbutes.cssj, 24],
|
|
|
+ ["到场时间:", val.attrbutes.dcsj, 24],
|
|
|
+ ["出水时间:", val.attrbutes.cssj, 24],
|
|
|
+ ["控制时间:", val.attrbutes.kzsj, 24],
|
|
|
+ ["熄灭时间:", val.attrbutes.xmsj, 24],
|
|
|
+ ["所属街道:", val.attrbutes.streettown, 24],
|
|
|
],
|
|
|
}, ];
|
|
|
this.popup(val._attrbutes, arrayList, true)
|
|
|
}
|
|
|
- }
|
|
|
- if (type == "企业消防" || type == "社区消防") {
|
|
|
- let arrayList = [{
|
|
|
- title: [val.attrbutes.facilityName, true],
|
|
|
- children: [
|
|
|
|
|
|
- ["站点地址:", val.attrbutes.address, 24],
|
|
|
- ["站点类型:", val.attrbutes.facilityType == 13 ? "重点单位微站" :
|
|
|
- val.attrbutes.facilityType == 14 ? "一般单位微站" : val.attrbutes.facilityType == 15 ? "居委会微站" : val.attrbutes.facilityType == 16 ? "村委会微站" : "", 24
|
|
|
+ }
|
|
|
+ //城市消防体征
|
|
|
+ if (pageType == "fire-signs") {
|
|
|
+ if (type == "仓库") {
|
|
|
+ let arrayList = [{
|
|
|
+ title: [val.attrbutes.companyName, true],
|
|
|
+ children: [
|
|
|
+ ["单位地址:", val.attrbutes.address, 24],
|
|
|
+ ["单位类别:", val.attrbutes.companyType, 24],
|
|
|
+ ["单位使用性质:", val.attrbutes.companyNature, 24],
|
|
|
+ ["单位(法人)名称:", val.attrbutes.delegateName, 24],
|
|
|
+ ["统一社会信用代码:", val.attrbutes.socialCode, 24],
|
|
|
+ ["所辖派出所:", val.attrbutes.policeStation, 24],
|
|
|
+ ["消防安全责任人:", val.attrbutes.fireDutyName, 24],
|
|
|
+ ["消防安全管理人:", val.attrbutes.fireManageName, 24],
|
|
|
+ ["联系电话(手机):", val.attrbutes.linkPhone, 24],
|
|
|
+ ["是否自主消防安全管理:", val.attrbutes.fireSafetyManage, 24],
|
|
|
+ ["单位(场所)面积(㎡):", val.attrbutes.companyArea, 24],
|
|
|
+ ["行业类别:", val.attrbutes.industryType, 24],
|
|
|
+ ["是否为洁净厂房:", val.attrbutes.cleanRoom, 24],
|
|
|
+ ["生产经营组织形式:", val.attrbutes.organizationForm, 24],
|
|
|
+ ["网格号:", val.attrbutes.gridNo, 24],
|
|
|
+ ["年份:", val.attrbutes.particularYear, 24],
|
|
|
+ ["提交时间:", val.attrbutes.submitTime, 24],
|
|
|
+ ["经度:", val.attrbutes.longitude, 24],
|
|
|
+ ["纬度:", val.attrbutes.latitude, 24],
|
|
|
],
|
|
|
- ["街镇:", val.attrbutes.streetTown, 24],
|
|
|
- ],
|
|
|
- }, ];
|
|
|
- this.popup(val._attrbutes, arrayList, true)
|
|
|
+ }, ];
|
|
|
+ this.popup(val._attrbutes, arrayList, true)
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
- }
|
|
|
-
|
|
|
- //警情综合处置
|
|
|
- if (pageType == "comprehensive-disposal") {
|
|
|
-
|
|
|
- let arrayList = [{
|
|
|
- title: [val.attrbutes.stationName, true],
|
|
|
- children: [
|
|
|
-
|
|
|
- ],
|
|
|
- }, ];
|
|
|
- this.popup(val._attrbutes, arrayList, true)
|
|
|
- }
|
|
|
- //城市消防体征
|
|
|
- if (pageType == "fire-signs") {
|
|
|
- if (type == "仓库") {
|
|
|
- let arrayList = [{
|
|
|
- title: [val.attrbutes.companyName, true],
|
|
|
- children: [
|
|
|
- ["单位地址:", val.attrbutes.address, 24],
|
|
|
- ["单位类别:", val.attrbutes.companyType, 24],
|
|
|
- ["单位使用性质:", val.attrbutes.companyNature, 24],
|
|
|
- ["单位(法人)名称:", val.attrbutes.delegateName, 24],
|
|
|
- ["统一社会信用代码:", val.attrbutes.socialCode, 24],
|
|
|
- ["所辖派出所:", val.attrbutes.policeStation, 24],
|
|
|
- ["消防安全责任人:", val.attrbutes.fireDutyName, 24],
|
|
|
- ["消防安全管理人:", val.attrbutes.fireManageName, 24],
|
|
|
- ["联系电话(手机):", val.attrbutes.linkPhone, 24],
|
|
|
- ["是否自主消防安全管理:", val.attrbutes.fireSafetyManage, 24],
|
|
|
- ["单位(场所)面积(㎡):", val.attrbutes.companyArea, 24],
|
|
|
- ["行业类别:", val.attrbutes.industryType, 24],
|
|
|
- ["是否为洁净厂房:", val.attrbutes.cleanRoom, 24],
|
|
|
- ["生产经营组织形式:", val.attrbutes.organizationForm, 24],
|
|
|
- ["网格号:", val.attrbutes.gridNo, 24],
|
|
|
- ["年份:", val.attrbutes.particularYear, 24],
|
|
|
- ["提交时间:", val.attrbutes.submitTime, 24],
|
|
|
- ["经度:", val.attrbutes.longitude, 24],
|
|
|
- ["纬度:", val.attrbutes.latitude, 24],
|
|
|
- ],
|
|
|
- }, ];
|
|
|
- this.popup(val._attrbutes, arrayList, true)
|
|
|
- }
|
|
|
- }
|
|
|
+ },
|
|
|
+ });
|
|
|
+ }
|
|
|
|
|
|
- },
|
|
|
- });
|
|
|
},
|
|
|
+ //聚合点击事件
|
|
|
+ clusterMapCallBack(clusterPointArr, clickPoint) {
|
|
|
+ let val = clusterPointArr.attributes
|
|
|
+ if (val.type2 == "消火栓可用" || val.type2 == "消火栓不可用") {
|
|
|
+ let arrayList = [{
|
|
|
+ title: ["消火栓", true],
|
|
|
+ children: [
|
|
|
+ ["水源位置:", val.address, 24],
|
|
|
+ ["电话:", val.phone, 12],
|
|
|
+ ["责任人:", val.dutyPerson, 12],
|
|
|
+ ["支队名称:", val.detachmentName, 24],
|
|
|
+ ["管辖机构:", val.jurisdictionalAgency, 12],
|
|
|
+ ["水源类型:", val.type, 12],
|
|
|
+ ["取水形式:", val.getWaterType, 12],
|
|
|
+ ["水源性质:", val.waterAdministrative, 12],
|
|
|
+ ["供水单位:", val.waterUnit, 24],
|
|
|
+ ["水压(Mpa):", val.waterGage, 24],
|
|
|
+ ["状态:", val.status == 1 ? "可用" : "不可用", 12],
|
|
|
+ ],
|
|
|
+ }, ];
|
|
|
+ this.popup(val, arrayList, true)
|
|
|
+ } else if (type == "天然水源") {
|
|
|
+ let arrayList = [{
|
|
|
+ title: [val.facilityName, true],
|
|
|
+ children: [
|
|
|
+ ["水源位置:", val.address, 24],
|
|
|
+ ],
|
|
|
+ }, ];
|
|
|
+ this.popup(val, arrayList, true)
|
|
|
+ }
|
|
|
+ },
|
|
|
+
|
|
|
heatMap(data) {
|
|
|
let target = []
|
|
|
if (data.length > 0) {
|