heyang 1 rok pred
rodič
commit
4108afac0e

+ 2 - 2
src/views/safetyCheck/startInspection/index.vue

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