diff --git a/sgzb-ui/public/index.html b/sgzb-ui/public/index.html index ef45e2f1..e0dcd345 100644 --- a/sgzb-ui/public/index.html +++ b/sgzb-ui/public/index.html @@ -203,6 +203,13 @@ color: #FFF; opacity: 0.5; } + + + /** 去除百度地图的水印和logo */ + .BMap_cpyCtrl, + .anchorBL { + display: none; + } diff --git a/sgzb-ui/src/views/warehouseManage/machinery/coding/index.vue b/sgzb-ui/src/views/warehouseManage/machinery/coding/index.vue index 2d77f719..cf61c275 100644 --- a/sgzb-ui/src/views/warehouseManage/machinery/coding/index.vue +++ b/sgzb-ui/src/views/warehouseManage/machinery/coding/index.vue @@ -532,7 +532,12 @@ - +
@@ -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 }, }, }