|
@@ -226,24 +226,11 @@ export default {
|
|
|
},
|
|
|
click: regionLocateCallBack,
|
|
|
style: {
|
|
|
- color: name[index] == "华漕镇处置网格二(纪王西片区)" ? "#2c6395" :
|
|
|
- name[index] == "华漕镇处置网格一(纪王东片区)" ? "#1b6cb6" :
|
|
|
- name[index] == "华漕镇处置网格四(诸翟北片区)" ? "#40a4ff" :
|
|
|
- name[index] == "华漕镇处置网格五(诸翟南片区)" ? "#8ac7ff" :
|
|
|
- name[index] == "华漕镇处置网格三(老华漕片区)" ? "#b1cce5" :
|
|
|
- name[index] == "新虹街道处置网格二(爱博)" ? "#a03523" :
|
|
|
- name[index] == "新虹街道处置网格三(华美)" ? "#d71e00" :
|
|
|
- name[index] == "新虹街道处置网格一(枢纽)" ? "#ffa192" :
|
|
|
- name[index] == "新虹街道处置网格四(航华)" ? "#dba197" :
|
|
|
- name[index] == "七宝镇处置网格一(七宝北片网格)" ? "#009081" :
|
|
|
- name[index] == "七宝镇处置网格二(七宝中片网格)" ? "#00ae9c" :
|
|
|
- name[index] == "七宝镇处置网格五(航华网格)" ? "#50ffed" :
|
|
|
- name[index] == "虹桥镇处置网格四(紫藤、红松区域)" ? "#b2ec0a" :
|
|
|
- name[index] == "虹桥镇处置网格二(虹梅区域)" ? "#b2ec4a" : "#729900",
|
|
|
+ color: name[index] == "华漕镇处置网格二(纪王西片区)" ? "#2c6395" : name[index] == "华漕镇处置网格一(纪王东片区)" ? "#1b6cb6" : name[index] == "华漕镇处置网格四(诸翟北片区)" ? "#40a4ff" : name[index] == "华漕镇处置网格五(诸翟南片区)" ? "#8ac7ff" : name[index] == "华漕镇处置网格三(老华漕片区)" ? "#b1cce5" : name[index] == "新虹街道处置网格二(爱博)" ? "#a03523" : name[index] == "新虹街道处置网格三(华美)" ? "#d71e00" : name[index] == "新虹街道处置网格一(枢纽)" ? "#ffa192" : name[index] == "新虹街道处置网格四(航华)" ? "#dba197" : name[index] == "七宝镇处置网格一(七宝北片网格)" ? "#009081" : name[index] == "七宝镇处置网格二(七宝中片网格)" ? "#00ae9c" : name[index] == "七宝镇处置网格五(航华网格)" ? "#50ffed" : name[index] == "虹桥镇处置网格四(紫藤、红松区域)" ? "#b2ec0a" : name[index] == "虹桥镇处置网格二(虹梅区域)" ? "#b2ec4a" : "#729900",
|
|
|
transparency: 0.6,
|
|
|
outline: true,
|
|
|
outlineColor: 'blue',
|
|
|
-
|
|
|
+
|
|
|
// "#4d6700",
|
|
|
// "#729900",
|
|
|
}
|
|
@@ -593,12 +580,12 @@ export default {
|
|
|
*/
|
|
|
addMarker(lnglats, pageType, type) {
|
|
|
console.log(lnglats, pageType, type)
|
|
|
- // if(pageType == "security-plan"){
|
|
|
+ // if(pageType == "security-plan"){
|
|
|
|
|
|
// }else{
|
|
|
- window.jMap.Locate.clearLocate();
|
|
|
+ window.jMap.Locate.clearLocate();
|
|
|
// }
|
|
|
-
|
|
|
+
|
|
|
let that = this
|
|
|
let icon = "";
|
|
|
let arr = []
|
|
@@ -671,7 +658,7 @@ export default {
|
|
|
|
|
|
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 : type == "物联网设备" ? this.stores.sadianIcon.dwxj : type == "监控视频" ? this.stores.sadianIcon.ssjq :
|
|
|
+ type == "单位巡检" ? this.stores.sadianIcon.dwxj : type == "物联网设备" ? this.stores.sadianIcon.dwxj : type == "监控视频" ? this.stores.sadianIcon.ssjq : type == "监督检查" ? this.stores.sadianIcon.jdjc :
|
|
|
|
|
|
|
|
|
this.stores.sadianIcon.trsy,
|
|
@@ -1020,14 +1007,14 @@ export default {
|
|
|
// if (val._attrbutes.type != "国家会展中心") {
|
|
|
// this.popup(val._attrbutes, arrayList, true)
|
|
|
// }
|
|
|
- if(type == "监控视频"){
|
|
|
- let arrayList = [{
|
|
|
+ if (type == "监控视频") {
|
|
|
+ let arrayList = [{
|
|
|
title: ["监控视频", true],
|
|
|
children: [
|
|
|
["监控名称:", val.attrbutes.name, 24],
|
|
|
["监控地址:", val.attrbutes.installPlace, 24],
|
|
|
],
|
|
|
- url:val.attrbutes.viewUrl,
|
|
|
+ url: val.attrbutes.viewUrl,
|
|
|
id: val.attrbutes.id
|
|
|
}, ];
|
|
|
that.stores.jkspChange(arrayList);
|
|
@@ -1036,6 +1023,31 @@ export default {
|
|
|
// this.popup(val._attrbutes, arrayList, true)
|
|
|
// }
|
|
|
}
|
|
|
+ console.log(type)
|
|
|
+ if (type == "监督检查") {
|
|
|
+ console.log(val.attrbutes)
|
|
|
+ let arrayList = [{
|
|
|
+ title: ["监督检查", true],
|
|
|
+ children: [
|
|
|
+ ["检查员名称:", val.attrbutes.checkName, 24],
|
|
|
+ ["检查人员所属单位:", val.attrbutes.subordinateCompany, 24],
|
|
|
+ ["检查时间:", val.attrbutes.checkTime, 24],
|
|
|
+ ["单位类型:", val.attrbutes.companyType, 24],
|
|
|
+ ["单位使用性质:", val.attrbutes.companyUseNature, 24],
|
|
|
+ ["单位法人:", val.attrbutes.companyName, 24],
|
|
|
+ ["单位(场所)实际名称:", val.attrbutes.companyActualName, 24],
|
|
|
+ ["网格号:", val.attrbutes.gridNum, 24],
|
|
|
+ ["所辖派出所:", val.attrbutes.subordinatePoliceStation, 24],
|
|
|
+ ["街镇:", val.attrbutes.street, 24],
|
|
|
+ ["单位地址:", val.attrbutes.companyAddress, 24],
|
|
|
+ ["消防安全责任人姓名:", val.attrbutes.fireDutyName, 24],
|
|
|
+ ["消防安全管理人姓名:", val.attrbutes.fireManageName, 24],
|
|
|
+ ["联系电话:", val.attrbutes.phone, 24],
|
|
|
+ // ["隐患图片:", val.attrbutes.hiddImage ? JSON.parse(val.attrbutes.hiddImage) : NULL, 24],
|
|
|
+ ],
|
|
|
+ }, ];
|
|
|
+ this.popup(val._attrbutes, arrayList, true)
|
|
|
+ }
|
|
|
}
|
|
|
//火灾数据分析
|
|
|
if (pageType == "fire-data-analysis") {
|
|
@@ -1657,12 +1669,13 @@ export default {
|
|
|
}
|
|
|
for (let i = 0; i < arrayList[0].children.length; i++) {
|
|
|
if (arrayList[0].children[i][1]) {
|
|
|
+
|
|
|
let textWrap = document.createElement('div');
|
|
|
textWrap.setAttribute('style', 'font-size:14px;color:#fff;line-height:25px;');
|
|
|
let p1 = document.createElement('span');
|
|
|
p1.setAttribute('style', 'color:#73fbfd;');
|
|
|
p1.innerHTML = arrayList[0].children[i][0]
|
|
|
-
|
|
|
+ // if()
|
|
|
let p2 = document.createElement('span');
|
|
|
p2.setAttribute('style', 'color:#fff;word-break:break-all !important');
|
|
|
p2.innerHTML = arrayList[0].children[i][1]
|