|
@@ -8,7 +8,7 @@
|
|
|
<div class="box">
|
|
<div class="box">
|
|
|
<basicInfo />
|
|
<basicInfo />
|
|
|
<complaintInfo />
|
|
<complaintInfo />
|
|
|
- <matterInfo />
|
|
|
|
|
|
|
+ <matterInfo :addMarker="addMarker"/>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="box">
|
|
<div class="box">
|
|
|
<zhiFaInfo />
|
|
<zhiFaInfo />
|
|
@@ -63,7 +63,6 @@
|
|
|
<videoInfo />
|
|
<videoInfo />
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- <!-- 消防安全重点单位弹框 -->
|
|
|
|
|
<transition name="el-fade-in-linear">
|
|
<transition name="el-fade-in-linear">
|
|
|
<div class="tableTooltipwt2" v-if="tk">
|
|
<div class="tableTooltipwt2" v-if="tk">
|
|
|
<img src="~@a/img/icon/close.png" alt="" class="close" @click="closeTk" />
|
|
<img src="~@a/img/icon/close.png" alt="" class="close" @click="closeTk" />
|
|
@@ -270,7 +269,6 @@ export default {
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
created() {
|
|
created() {
|
|
|
-
|
|
|
|
|
},
|
|
},
|
|
|
mounted() {
|
|
mounted() {
|
|
|
this.initMap();
|
|
this.initMap();
|
|
@@ -410,32 +408,35 @@ export default {
|
|
|
})
|
|
})
|
|
|
)
|
|
)
|
|
|
.then((res) => {
|
|
.then((res) => {
|
|
|
- for (let i = 0; i < res.data.records.length; i++) {
|
|
|
|
|
- arr[i] = {};
|
|
|
|
|
- arr[i].address = res.data.records[i].mhBuild.address;
|
|
|
|
|
- arr[i].facilityName = res.data.records[i].mhCompany.companyName;
|
|
|
|
|
- arr[i].facilityType = res.data.records[i].mhCompany.companyStatus;
|
|
|
|
|
- arr[i].qrcode = res.data.records[i].mhCompany.qrcode;
|
|
|
|
|
- arr[i].creditCode = res.data.records[i].mhCompany.creditCode;
|
|
|
|
|
- arr[i].companyLegal = res.data.records[i].mhCompany.companyLegal;
|
|
|
|
|
- arr[i].safetyManager = res.data.records[i].mhCompany.safetyManager;
|
|
|
|
|
- arr[i].phone = res.data.records[i].mhCompany.phone;
|
|
|
|
|
- arr[i].safetyManager = res.data.records[i].mhCompany.safetyManager;
|
|
|
|
|
- arr[i].companyArea = res.data.records[i].mhCompany.companyArea;
|
|
|
|
|
- arr[i].street = res.data.records[i].mhCompany.street;
|
|
|
|
|
- arr[i].state = res.data.records[i].mhCompany.state;
|
|
|
|
|
- arr[i].isExamine = res.data.records[i].mhCompany.isExamine;
|
|
|
|
|
- arr[i].status = res.data.records[i].mhCompany.status;
|
|
|
|
|
- arr[i].height = res.data.records[i].mhBuild.height;
|
|
|
|
|
- arr[i].buildNature = res.data.records[i].mhBuild.buildNature;
|
|
|
|
|
- arr[i].latitude = res.data.records[i].mhBuild.lat;
|
|
|
|
|
- arr[i].longitude = res.data.records[i].mhBuild.lon;
|
|
|
|
|
- arr[i].type = "厂房、仓库";
|
|
|
|
|
- arr[i].type1 = "厂房、仓库";
|
|
|
|
|
|
|
+ var data = res.data.records;
|
|
|
|
|
+ for (let i = 0; i < data.length; i++) {
|
|
|
|
|
+ if(data[i].mhBuild.latitude && data[i].mhBuild.longitude){
|
|
|
|
|
+ arr.push({
|
|
|
|
|
+ address:data[i].mhBuild.address,
|
|
|
|
|
+ facilityName:data[i].mhCompany.companyName,
|
|
|
|
|
+ facilityType:data[i].mhCompany.companyStatus,
|
|
|
|
|
+ qrcode:data[i].mhCompany.qrcode,
|
|
|
|
|
+ creditCode:data[i].mhCompany.creditCode,
|
|
|
|
|
+ companyLegal:data[i].mhCompany.companyLegal,
|
|
|
|
|
+ safetyManager:data[i].mhCompany.safetyManager,
|
|
|
|
|
+ phone:data[i].mhCompany.phone,
|
|
|
|
|
+ companyArea:data[i].mhCompany.companyArea,
|
|
|
|
|
+ street:data[i].mhCompany.street,
|
|
|
|
|
+ state:data[i].mhCompany.state,
|
|
|
|
|
+ isExamine:data[i].mhCompany.isExamine,
|
|
|
|
|
+ status:data[i].mhCompany.status,
|
|
|
|
|
+ height:data[i].mhBuild.height,
|
|
|
|
|
+ buildNature:data[i].mhBuild.buildNature,
|
|
|
|
|
+ latitude:data[i].mhBuild.latitude,
|
|
|
|
|
+ longitude:data[i].mhBuild.longitude,
|
|
|
|
|
+ type:"厂房、仓库",
|
|
|
|
|
+ type1:"厂房、仓库"
|
|
|
|
|
+ })
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
axiosSub ++
|
|
axiosSub ++
|
|
|
if(axiosSub == this.axiosNum){
|
|
if(axiosSub == this.axiosNum){
|
|
|
- this.addMarker(arr, "index");
|
|
|
|
|
|
|
+ this.addMarker(arr, "index","厂房、仓库");
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
@@ -453,7 +454,6 @@ export default {
|
|
|
* @api接口请求
|
|
* @api接口请求
|
|
|
*/
|
|
*/
|
|
|
async zddwSd(val) {
|
|
async zddwSd(val) {
|
|
|
- console.log(val)
|
|
|
|
|
let res = await this.$axios.get(
|
|
let res = await this.$axios.get(
|
|
|
this.$api.selfManagement.scatterData +
|
|
this.$api.selfManagement.scatterData +
|
|
|
"?" +
|
|
"?" +
|