Your Name 2 rokov pred
rodič
commit
a4d5cfd363
1 zmenil súbory, kde vykonal 4 pridanie a 1 odobranie
  1. 4 1
      src/components/DiagCalc.vue

+ 4 - 1
src/components/DiagCalc.vue

@@ -243,7 +243,8 @@
           cxsjt1: '',
           cxsjt2: '',
           cxsjt3: '',
-          mczsjl: null
+          mczsjl: null,
+          lyl:0.0
         },
         mczsjl: null,
         slots1: [{
@@ -560,6 +561,7 @@
           this.$api.getPatientCaseInfo({id:case_id}).then(res=>{
             this.form = res.data.data
             this.mczsjl = res.data.data.mczsjl
+            this.form.lyl = this.form.lyl*100
           })
         }else{
           this.$api.getPatientDoingCase({
@@ -568,6 +570,7 @@
             if (res.data.code == 0 && res.data.data.id) {
               this.form = res.data.data
               this.mczsjl = res.data.data.mczsjl
+              this.form.lyl = this.form.lyl*100
             }
           })
         }