From 695427d24a6c2c1f2dc6a246a15f0830ff622523 Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Mon, 5 Aug 2024 15:13:06 +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 --- .../machinery/coding/index.vue | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/sgzb-ui/src/views/warehouseManage/machinery/coding/index.vue b/sgzb-ui/src/views/warehouseManage/machinery/coding/index.vue index e74b29b6..ae3912af 100644 --- a/sgzb-ui/src/views/warehouseManage/machinery/coding/index.vue +++ b/sgzb-ui/src/views/warehouseManage/machinery/coding/index.vue @@ -788,6 +788,26 @@ export default { // ...this.queryParams // }, `type_${new Date().getTime()}.xlsx`) }, + + // iot设备绑定 + handleBindIOT(row) { + console.log('🚀 ~ handleBindIOT ~ row:', row) + this.props = { + isShow: true, + typeId: row.typeId, + maCode: row.maCode, + } + }, + // 查看设备地图 + handleMap(row) { + console.log('~ handleMap ~ 地图', row) + const params = { + deviceType: row.deviceType, + } + // 点击打开弹框 + this.$refs.mapDialog.openMapDialog(true) + this.$refs.mapDialog.getEquipmentInfo(params) + }, }, }