|
@@ -304,8 +304,12 @@ export default {
|
|
|
let val = this.tableExample.colToProp(row.col);
|
|
|
//设备二维码图片
|
|
|
if (val == "EquipQRCode") {
|
|
|
- this.myDialog.qrcode = true;
|
|
|
- this.$refs.qrcode.getCanvas(1111);
|
|
|
+ this.qrcodeUrl = this.tableData[row.row].EquipQRCode
|
|
|
+ if (!!this.qrcodeUrl) {
|
|
|
+ this.myDialog.qrcode = true;
|
|
|
+ } else {
|
|
|
+ this.$message("此设备没有设备二维码")
|
|
|
+ }
|
|
|
}
|
|
|
//关联系统
|
|
|
if (val == "linkSystem") {
|