From 9cecab50bdb2bb286e8ada3502dc978a9afffa46 Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Tue, 6 Aug 2024 14:28:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E5=90=88=E5=B9=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sgzb-ui/public/index.html | 7 ++++++ .../machinery/coding/index.vue | 25 +++++++++++++------ 2 files changed, 24 insertions(+), 8 deletions(-) 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 }, }, }