csx 4 vuotta sitten
vanhempi
commit
9c89c4df14

+ 1 - 1
build/cdn.json Näytä tiedosto

@@ -1,3 +1,3 @@
1 1
 {
2
-  "version": "1.1.258"
2
+  "version": "1.1.335"
3 3
 }

+ 2 - 2
config/prod.env.js Näytä tiedosto

@@ -1,9 +1,9 @@
1 1
 "use strict";
2 2
 module.exports = {
3 3
   NODE_ENV: '"production"',
4
-  // BASE_API: '"https://api.xt.kuyicloud.com"'
4
+  BASE_API: '"https://api.xt.kuyicloud.com"'
5 5
 
6
-  BASE_API: '"http://api.xt.test.sgjyun.com"'
6
+  // BASE_API: '"http://api.xt.test.sgjyun.com"'
7 7
   // http://api.xt.test.sgjyun.com
8 8
   // '"http://api.xt.kuyicloud.com"', //'"http://api.xt.kuyicloud.com"','"http://api.xt.test.sgjyun.com"'
9 9
 };

+ 1 - 0
src/pages/main/dialog/PrescriptionDialog.vue Näytä tiedosto

@@ -531,6 +531,7 @@
531 531
       :predialysis="predialysis"
532 532
       :last_predialysis="last_predialysis"
533 533
       :record="record"
534
+      :dry_weight="dry_weight"
534 535
       :last_record="last_record"
535 536
       :patient_prop="patient"
536 537
       :prescription_prop="prescription_prop"

+ 15 - 2
src/pages/main/dialog/subMenu/MsgTip.vue Näytä tiedosto

@@ -27,7 +27,7 @@
27 27
       <div class="item">
28 28
         <label class="name" for="txms">干体重(kg)</label>
29 29
         <div class="content">
30
-          <span class="text" id="txms">{{ last_predialysis.dry_weight }}</span>
30
+          <span class="text" id="txms">{{ getDryWeight() }}</span>
31 31
         </div>
32 32
       </div>
33 33
       <div class="item">
@@ -115,7 +115,9 @@ export default {
115 115
     },
116 116
     prescription_prop: {
117 117
       type: Object
118
-    }
118
+    },dry_weight: {
119
+      type: Object
120
+    },
119 121
   },
120 122
   computed: {
121 123
     dialysis_date: function() {
@@ -123,6 +125,17 @@ export default {
123 125
     }
124 126
   },
125 127
   methods: {
128
+    getDryWeight() {
129
+      if (this.dry_weight != null && this.dry_weight.id > 0) {
130
+        return this.dry_weight.dry_weight
131
+      } else {
132
+        if (this.last_predialysis != null && this.last_predialysis.id > 0) {
133
+          return this.last_predialysis.dry_weight
134
+        } else {
135
+          return ''
136
+        }
137
+      }
138
+    },
126 139
     getBeforeWeight(predialysis){
127 140
       if(predialysis.id > 0){
128 141
         if(predialysis.weight_before > 0) {