28169 пре 2 година
родитељ
комит
bbab7d4fdf
1 измењених фајлова са 4 додато и 2 уклоњено
  1. 4 2
      src/xt_pages/user/firstDisease.vue

+ 4 - 2
src/xt_pages/user/firstDisease.vue Прегледај датотеку

922
          if(this.projectIndate == undefined){
922
          if(this.projectIndate == undefined){
923
            this.projectIndate = ""
923
            this.projectIndate = ""
924
          }
924
          }
925
-         if(this.project_id == undefined){
925
+         if(this.projectStr == undefined){
926
             this.project_id = ""
926
             this.project_id = ""
927
          }
927
          }
928
 
928
 
984
           inspect_date:this.projectIndate,
984
           inspect_date:this.projectIndate,
985
          }
985
          }
986
          console.log("poarams2323322323",params)
986
          console.log("poarams2323322323",params)
987
-         
987
+         if(params.project_id!=undefined){
988
+            params.project_id = ""
989
+         }
988
         updateFirstDisease(params).then(response=>{
990
         updateFirstDisease(params).then(response=>{
989
           if(response.data.state == 1){
991
           if(response.data.state == 1){
990
             var detail = response.data.data.detail
992
             var detail = response.data.data.detail