소스 검색

Merge branch 'web-v2' into web-v2-pro

dedsudiyu 1 년 전
부모
커밋
3d05ff40c3
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      src/views/safetyCheck/startInspection/index.vue

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

@@ -989,7 +989,7 @@
                 dataList[i].lookType=true;
                 for(let b=0;b<dataList[i].checkHazardDtoList.length;b++){
                   //把最外层的code填充到内层
-                  dataList[i].checkHazardDtoList[b].hazardCheckCode=dataList[i].code
+                  dataList[i].checkHazardDtoList[b].hazardCheckCode=dataList[i].hazardCheckCode
                 }
                 //判断新旧数据是否相等,如果相等旧数据填充新数据
                 console.log(this.addForm.checkHazardInfoVoList)
@@ -1064,9 +1064,9 @@
             if(response.data.checkHazardInfoVoList[0]){
               response.data.checkHazardInfoVoList.forEach(function(item) {
                 item.lookType = true;
-                item.checkHazardDtoList.forEach(function(item2) {
-                  item2.hazardCheckCode=item2.code
-                })
+                // item.checkHazardDtoList.forEach(function(item2) {
+                //   item2.hazardCheckCode=item2.code
+                // })
               })
             }
             this.pageType=2