|
@@ -1217,6 +1217,80 @@ export default {
|
|
|
}, ];
|
|
|
this.popup(val._attrbutes, arrayList, true)
|
|
|
}
|
|
|
+ if (type.indexOf(' ')!=-1) {
|
|
|
+ console.log(val.attrbutes)
|
|
|
+ let arrayList = [{
|
|
|
+ title: [type, true],
|
|
|
+ children: [
|
|
|
+ ["单位名称:", val.attrbutes.facilityName, 24],
|
|
|
+ // ["设施类型:", val.attrbutes.facilityType, 24],
|
|
|
+ ["地址:", val.attrbutes.address, 24],
|
|
|
+ ["所属街镇:", val.attrbutes.streetTown, 24],
|
|
|
+ ],
|
|
|
+ }, ];
|
|
|
+ this.popup(val._attrbutes, arrayList, true)
|
|
|
+ }
|
|
|
+ if (type.indexOf('镇')!=-1||type.indexOf('街道')!=-1 ){
|
|
|
+ let arrayList = [{
|
|
|
+ title: [type, true],
|
|
|
+ children: [
|
|
|
+ ["单位名称:", val.attrbutes.facilityName, 24],
|
|
|
+ // ["设施类型:", val.attrbutes.facilityType, 24],
|
|
|
+ ["地址:", val.attrbutes.address, 24],
|
|
|
+ ["所属街镇:", val.attrbutes.streetTown, 24],
|
|
|
+ ],
|
|
|
+ }, ];
|
|
|
+ this.popup(val._attrbutes, arrayList, true)
|
|
|
+ }
|
|
|
+ if (type == "七宝镇") {
|
|
|
+ alert(typeof(type))
|
|
|
+ let arrayList = [{
|
|
|
+ title: ["七宝镇", true],
|
|
|
+ children: [
|
|
|
+ ["单位名称:", val.attrbutes.facilityName, 24],
|
|
|
+ // ["设施类型:", val.attrbutes.facilityType, 24],
|
|
|
+ ["地址:", val.attrbutes.address, 24],
|
|
|
+ ["所属街镇:", val.attrbutes.streetTown, 24],
|
|
|
+ ],
|
|
|
+ }, ];
|
|
|
+ this.popup(val._attrbutes, arrayList, true)
|
|
|
+ }
|
|
|
+ // if (type == "华漕镇") {
|
|
|
+ // let arrayList = [{
|
|
|
+ // title: ["华漕镇", true],
|
|
|
+ // children: [
|
|
|
+ // ["单位名称:", val.attrbutes.facilityName, 24],
|
|
|
+ // // ["设施类型:", val.attrbutes.facilityType, 24],
|
|
|
+ // ["地址:", val.attrbutes.address, 24],
|
|
|
+ // ["所属街镇:", val.attrbutes.streetTown, 24],
|
|
|
+ // ],
|
|
|
+ // }, ];
|
|
|
+ // this.popup(val._attrbutes, arrayList, true)
|
|
|
+ // }
|
|
|
+ // if (type == "新虹街道") {
|
|
|
+ // let arrayList = [{
|
|
|
+ // title: ["新虹街道", true],
|
|
|
+ // children: [
|
|
|
+ // ["单位名称:", val.attrbutes.facilityName, 24],
|
|
|
+ // // ["设施类型:", val.attrbutes.facilityType, 24],
|
|
|
+ // ["地址:", val.attrbutes.address, 24],
|
|
|
+ // ["所属街镇:", val.attrbutes.streetTown, 24],
|
|
|
+ // ],
|
|
|
+ // }, ];
|
|
|
+ // this.popup(val._attrbutes, arrayList, true)
|
|
|
+ // }
|
|
|
+ // if (type == "虹桥镇") {
|
|
|
+ // let arrayList = [{
|
|
|
+ // title: ["虹桥镇", true],
|
|
|
+ // children: [
|
|
|
+ // ["单位名称:", val.attrbutes.facilityName, 24],
|
|
|
+ // // ["设施类型:", val.attrbutes.facilityType, 24],
|
|
|
+ // ["地址:", val.attrbutes.address, 24],
|
|
|
+ // ["所属街镇:", val.attrbutes.streetTown, 24],
|
|
|
+ // ],
|
|
|
+ // }, ];
|
|
|
+ // this.popup(val._attrbutes, arrayList, true)
|
|
|
+ // }
|
|
|
}
|
|
|
//火灾数据分析
|
|
|
if (pageType == "fire-data-analysis") {
|
|
@@ -1259,7 +1333,7 @@ export default {
|
|
|
["受伤人数:", val.attrbutes.injuredNumber + "人", 24],
|
|
|
["起火经过:", val.attrbutes.fireProcess, 24],
|
|
|
],
|
|
|
- }, ];
|
|
|
+ }, ];
|
|
|
this.popup(val._attrbutes, arrayList, true)
|
|
|
}
|
|
|
}
|