|
@@ -272,14 +272,14 @@
|
|
|
this.list.forEach(o => {
|
|
this.list.forEach(o => {
|
|
|
if (o.deviceId && f.id == o.deviceId && this.deviceList.length > 1) {
|
|
if (o.deviceId && f.id == o.deviceId && this.deviceList.length > 1) {
|
|
|
o.extInfo.heatNumber = f.extInfo.heatNumber
|
|
o.extInfo.heatNumber = f.extInfo.heatNumber
|
|
|
- o['workstationName'] = f.workstationName
|
|
|
|
|
|
|
+ o['workstationName'] = f.workstationName
|
|
|
} else if (this.deviceList.length == 1) {
|
|
} else if (this.deviceList.length == 1) {
|
|
|
o['deviceName'] = this.deviceList[0].name
|
|
o['deviceName'] = this.deviceList[0].name
|
|
|
o['deviceId'] = this.deviceList[0].id
|
|
o['deviceId'] = this.deviceList[0].id
|
|
|
- o['workstationName'] = this.deviceList[0].workstationName
|
|
|
|
|
|
|
+ o['workstationName'] = this.deviceList[0].workstationName
|
|
|
o.extInfo.heatNumber = this.deviceList[0].extInfo.heatNumber
|
|
o.extInfo.heatNumber = this.deviceList[0].extInfo.heatNumber
|
|
|
-
|
|
|
|
|
- this.$forceUpdate()
|
|
|
|
|
|
|
+
|
|
|
|
|
+ this.$forceUpdate()
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
})
|
|
})
|