|
@@ -499,7 +499,7 @@
|
|
},
|
|
},
|
|
methods:{
|
|
methods:{
|
|
getRowKeys(row) {
|
|
getRowKeys(row) {
|
|
- return row.hazardId
|
|
|
|
|
|
+ return row.joinHazardId
|
|
},
|
|
},
|
|
//选中设备
|
|
//选中设备
|
|
deviceChange(val){
|
|
deviceChange(val){
|
|
@@ -752,7 +752,7 @@
|
|
if(list[0]){
|
|
if(list[0]){
|
|
self.deviceTableList.forEach(row => {
|
|
self.deviceTableList.forEach(row => {
|
|
list.forEach(function(item) {
|
|
list.forEach(function(item) {
|
|
- if(row.hazardId==item.hazardId){
|
|
|
|
|
|
+ if(row.joinHazardId==item.joinHazardId){
|
|
self.$refs.deviceTable.toggleRowSelection(row,true);
|
|
self.$refs.deviceTable.toggleRowSelection(row,true);
|
|
}
|
|
}
|
|
})
|
|
})
|