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) + }, }, }