28169 1 gadu atpakaļ
vecāks
revīzija
7f49ab5587

+ 6 - 1
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue Parādīt failu

1147
         console.log(" this.assessmentBeforeDislysis.pathway_formation_time", moment(new Date()).format('YYYY-MM-DD'))
1147
         console.log(" this.assessmentBeforeDislysis.pathway_formation_time", moment(new Date()).format('YYYY-MM-DD'))
1148
         console.log("hhahhahahah",assessment)
1148
         console.log("hhahhahahah",assessment)
1149
         if(assessment!=null){
1149
         if(assessment!=null){
1150
-          this.assessmentBeforeDislysis.pathway_formation_time =  this.getTimeOne(assessment.pathway_formation_time)
1150
+          if(assessment.pathway_formation_time >0){
1151
+            this.assessmentBeforeDislysis.pathway_formation_time =  this.getTimeOne(assessment.pathway_formation_time)
1152
+          }else{
1153
+            this.assessmentBeforeDislysis.pathway_formation_time = ""
1154
+          }
1155
+         
1151
           if(assessment.whether_unobstructed >0){
1156
           if(assessment.whether_unobstructed >0){
1152
             this.assessmentBeforeDislysis.whether_unobstructed = assessment.whether_unobstructed.toString()
1157
             this.assessmentBeforeDislysis.whether_unobstructed = assessment.whether_unobstructed.toString()
1153
           } 
1158
           }