iot设备页面完善

This commit is contained in:
BianLzhaoMin 2024-08-05 17:52:00 +08:00
parent 177a61327c
commit bf54b5ce00
1 changed files with 2 additions and 1 deletions

View File

@ -190,7 +190,7 @@
> >
<div style="text-align: center"> <div style="text-align: center">
<div class="qrCodeImg"> <div class="qrCodeImg">
<div id="qrcode" class="qrcode" ref="codeItem"></div> <div ref="codeItem"></div>
</div> </div>
<div class="maCode">二维码编号{{ rowObj.qrCode }}</div> <div class="maCode">二维码编号{{ rowObj.qrCode }}</div>
</div> </div>
@ -292,6 +292,7 @@ export default {
this.dialogConfig.outerTitle = '添加设备' this.dialogConfig.outerTitle = '添加设备'
} else { } else {
this.dialogConfig.outerTitle = '修改设备' this.dialogConfig.outerTitle = '修改设备'
this.addDeviceParams.iotId = row.iotId
this.addDeviceParams.iotCode = row.iotCode this.addDeviceParams.iotCode = row.iotCode
this.addDeviceParams.iotType = parseInt(row.iotType) this.addDeviceParams.iotType = parseInt(row.iotType)
} }