代码合并

This commit is contained in:
BianLzhaoMin 2024-08-06 14:28:51 +08:00
parent 4d1f452043
commit 9cecab50bd
2 changed files with 24 additions and 8 deletions

View File

@ -203,6 +203,13 @@
color: #FFF;
opacity: 0.5;
}
/** 去除百度地图的水印和logo */
.BMap_cpyCtrl,
.anchorBL {
display: none;
}
</style>
</head>

View File

@ -532,7 +532,12 @@
<!-- <el-button type="primary" @click="downloadCode"> </el-button> -->
</div>
</el-dialog>
<MapDialog ref="mapDialog" @getList="getList" />
<MapDialog
v-if="mapDialogVisible"
:deviceName="deviceName"
:deviceType="deviceType"
@handelCloseDialog="handelCloseDialog"
/>
</div>
<div v-else>
<BindIOT :props="props" />
@ -637,6 +642,9 @@ export default {
},
],
},
mapDialogVisible: false,
deviceName: '',
deviceType: '',
}
},
created() {
@ -833,13 +841,14 @@ export default {
},
//
handleMap(row) {
console.log('~ handleMap ~ 地图', row)
const params = {
deviceType: row.deviceType,
}
//
this.$refs.mapDialog.openMapDialog(true)
this.$refs.mapDialog.getEquipmentInfo(params)
this.deviceName = row.specificationType
this.deviceType = row.maStatusName
this.mapDialogVisible = true
},
/** 关闭地图弹框 */
handelCloseDialog() {
this.mapDialogVisible = false
},
},
}