csx преди 5 години
родител
ревизия
458d0435e9
променени са 1 файла, в които са добавени 10 реда и са изтрити 6 реда
  1. 10 6
      src/pages/main/dialog/AssessmentDialog.vue

+ 10 - 6
src/pages/main/dialog/AssessmentDialog.vue Целия файл

@@ -232,7 +232,7 @@
232 232
         setTimeout(function () {
233 233
           input.scrollIntoView()
234 234
         }, 0);
235
-        
235
+
236 236
         if (input.setSelectionRange) {
237 237
           setTimeout(function () {
238 238
               input.setSelectionRange(0, input.value.length);
@@ -279,7 +279,7 @@
279 279
             } else {
280 280
               this.propForm.result = []
281 281
             }
282
-            
282
+
283 283
             this.propForm.click_ref = "last_post_dialysis"
284 284
 
285 285
             break
@@ -346,7 +346,7 @@
346 346
             } else {
347 347
               this.propForm.result = []
348 348
             }
349
-            
349
+
350 350
             this.propForm.click_ref = "catheter"
351 351
 
352 352
             break
@@ -370,7 +370,7 @@
370 370
             } else {
371 371
               this.propForm.result = []
372 372
             }
373
-            
373
+
374 374
             this.propForm.click_ref = "complication"
375 375
             break
376 376
 
@@ -570,6 +570,7 @@
570 570
       },
571 571
       commitInfo:function () {
572 572
         Toast.loading({forbidClick: true, duration: 0})
573
+        console.log(this.formValue)
573 574
         EditAssessmentBeforeDislysis(this.$route.query.patient_id,  this.record_date, this.formValue).then(response=>{
574 575
           if (response.data.state == 0) {
575 576
             Toast(response.data.msg);
@@ -614,12 +615,15 @@
614 615
       // console.log(this.predialysis)
615 616
       this.formValue = this.predialysis
616 617
       if (this.predialysis.id == undefined && this.last_predialysis.id != undefined) {
617
-        this.$set(this.formValue, "dry_weight", this.last_predialysis["dry_weight"])
618
+
619
+
620
+        this.$set(this.formValue, "dry_weight", this.last_predialysis["dry_weight"].toString())
618 621
         this.$set(this.formValue, "internal_fistula", this.last_predialysis["internal_fistula"])
619 622
         this.$set(this.formValue, "internal_fistula_skin", this.last_predialysis["internal_fistula_skin"])
620 623
         this.$set(this.formValue, "blood_access_part_id", this.last_predialysis["blood_access_part_id"])
621 624
         this.$set(this.formValue, "blood_access_part_opera_id", this.last_predialysis["blood_access_part_opera_id"])
622 625
       }
626
+      console.log(this.formValue)
623 627
       this.hemorrhage_state = this.formValue.is_hemorrhage == 1
624 628
     }
625 629
   };
@@ -636,6 +640,6 @@
636 640
   border: none;
637 641
   border-bottom: 1px #e5e5e5 solid;
638 642
   }
639
- 
643
+
640 644
 </style>
641 645