|
@@ -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">{{predialysis.dry_weight}}</span>
|
|
30
|
+ <span class="text" id="txms">{{last_predialysis.dry_weight}}</span>
|
31
|
31
|
|
32
|
32
|
</div>
|
33
|
33
|
</div>
|
|
@@ -41,7 +41,7 @@
|
41
|
41
|
<div class="item">
|
42
|
42
|
<label class="name" for="txms">体重增加(kg)</label>
|
43
|
43
|
<div class="content">
|
44
|
|
- <span class="text" id="txms">{{predialysis.weight_before - predialysis.weight_after_last_transparency}}</span>
|
|
44
|
+ <span class="text" id="txms">{{add_weight}}</span>
|
45
|
45
|
|
46
|
46
|
</div>
|
47
|
47
|
</div>
|
|
@@ -76,12 +76,16 @@
|
76
|
76
|
export default {
|
77
|
77
|
name: 'LongAdviceSubMenu',
|
78
|
78
|
created () {
|
|
79
|
+ if (predialysis.weight_before > 0 && predialysis.weight_after_last_transparency > 0) {
|
|
80
|
+ add_weight = parseFloat(predialysis.weight_before - predialysis.weight_after_last_transparency).toFixed(2)
|
|
81
|
+ }
|
79
|
82
|
},
|
80
|
83
|
data () {
|
81
|
84
|
return {
|
82
|
85
|
result: [],
|
83
|
86
|
id: 0,
|
84
|
|
- selectName: ''
|
|
87
|
+ selectName: '',
|
|
88
|
+ add_weight:0
|
85
|
89
|
}
|
86
|
90
|
},
|
87
|
91
|
props: {
|