dedsudiyu 4 months ago
parent
commit
b2236cc514
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/views/safetyCheck/components/snapshotInfo.vue

+ 5 - 0
src/views/safetyCheck/components/snapshotInfo.vue

@@ -333,6 +333,11 @@
       securityCheckOptionList(){
         securityCheckOptionList({}).then( response => {
           this.$set(this,'options',this.listChildrenDel(response.data));
+          for(let i=0;i<response.data.length;i++){
+            if(response.data[i].code == '6'){
+              this.$set(this.addForm,'hazardCheckId',response.data[i].id);
+            }
+          }
           this.getCascaderData(this.options)
         });
       },