|
@@ -64,16 +64,22 @@
|
64
|
64
|
<div class="item" v-if="anticoagulant.shouji != -1&&isShow('首剂')">
|
65
|
65
|
<label class="name" for="sj">首剂({{anticoagulant.shouji_unit}})</label>
|
66
|
66
|
<div class="content">
|
67
|
|
- <input type="tel" @focus="inputFocus" id="sj" v-model="dialysisPrescription.anticoagulant_shouji"
|
|
67
|
+ <input v-if="dialysisPrescription.anticoagulant != 1" type="tel" @focus="inputFocus" id="sj" v-model="dialysisPrescription.anticoagulant_shouji"
|
|
68
|
+ :disabled="anticoagulant.shouji==1?false:true"/>
|
|
69
|
+
|
|
70
|
+ <input v-if="dialysisPrescription.anticoagulant == 1" type="tel" @focus="inputFocus" id="sj" v-model="dialysisPrescription.no_anticoagulant_shouji"
|
68
|
71
|
:disabled="anticoagulant.shouji==1?false:true"/>
|
69
|
72
|
</div>
|
70
|
73
|
</div>
|
71
|
74
|
<div class="item" v-if="anticoagulant.weichi != -1&&isShow('维持')">
|
72
|
75
|
<label class="name" for="wz">维持({{anticoagulant.weichi_unit}})</label>
|
73
|
76
|
<div class="content">
|
74
|
|
- <input type="tel" @focus="inputFocus" id="wz" class="inputBox"
|
|
77
|
+ <input v-if="dialysisPrescription.anticoagulant != 1" type="tel" @focus="inputFocus" id="wz" class="inputBox"
|
75
|
78
|
v-model="dialysisPrescription.anticoagulant_weichi"
|
76
|
79
|
:disabled="anticoagulant.weichi==1?false:true">
|
|
80
|
+
|
|
81
|
+ <input v-if="dialysisPrescription.anticoagulant == 1" type="tel" @focus="inputFocus" id="sj" v-model="dialysisPrescription.no_anticoagulant_weichi"
|
|
82
|
+ :disabled="anticoagulant.shouji==1?false:true"/>
|
77
|
83
|
</div>
|
78
|
84
|
</div>
|
79
|
85
|
<div class="item" v-if="anticoagulant.zongliang != -1 && isShow('总量')">
|
|
@@ -85,9 +91,12 @@
|
85
|
91
|
|
86
|
92
|
|
87
|
93
|
<div class="content">
|
88
|
|
- <input type="tel" @focus="inputFocus" id="zl" class="inputBox"
|
|
94
|
+ <input v-if="dialysisPrescription.anticoagulant != 1" type="tel" @focus="inputFocus" id="zl" class="inputBox"
|
89
|
95
|
v-model="dialysisPrescription.anticoagulant_zongliang"
|
90
|
96
|
:disabled="anticoagulant.zongliang==1?false:true">
|
|
97
|
+
|
|
98
|
+ <input v-if="dialysisPrescription.anticoagulant == 1" type="tel" @focus="inputFocus" id="sj" v-model="dialysisPrescription.no_anticoagulant_zongliang"
|
|
99
|
+ :disabled="anticoagulant.shouji==1?false:true"/>
|
91
|
100
|
</div>
|
92
|
101
|
</div>
|
93
|
102
|
|
|
@@ -478,6 +487,12 @@
|
478
|
487
|
anticoagulant_gaimingcheng: '',
|
479
|
488
|
anticoagulant_gaijiliang: '',
|
480
|
489
|
dialyzer_perfusion_apparatus: '',
|
|
490
|
+
|
|
491
|
+ no_anticoagulant_shouji: '0',
|
|
492
|
+ no_anticoagulant_weichi: '0',
|
|
493
|
+ no_anticoagulant_zongliang: '0',
|
|
494
|
+
|
|
495
|
+
|
481
|
496
|
kalium: '',
|
482
|
497
|
sodium: '',
|
483
|
498
|
calcium: '',
|
|
@@ -998,6 +1013,23 @@
|
998
|
1013
|
}
|
999
|
1014
|
}
|
1000
|
1015
|
}
|
|
1016
|
+
|
|
1017
|
+ console.log(this.dialysisPrescription.dialysis_duration_hour)
|
|
1018
|
+ console.log(this.dialysisPrescription.dialysis_duration_minute)
|
|
1019
|
+ console.log(this.dialysisPrescription.dialysis_duration_hour == '')
|
|
1020
|
+ console.log(this.dialysisPrescription.dialysis_duration_minute == 0)
|
|
1021
|
+
|
|
1022
|
+
|
|
1023
|
+
|
|
1024
|
+ if (this.dialysisPrescription.dialysis_duration_hour === '' || this.dialysisPrescription.dialysis_duration_minute === '') {
|
|
1025
|
+ this.timeValue = ''
|
|
1026
|
+ this.time = '03:00'
|
|
1027
|
+
|
|
1028
|
+ } else {
|
|
1029
|
+
|
|
1030
|
+ this.timeValue = this.dialysisPrescription.dialysis_duration_hour + '小时' + this.dialysisPrescription.dialysis_duration_minute + '分钟'
|
|
1031
|
+ this.time = (this.dialysisPrescription.dialysis_duration_hour > 10 ? this.dialysisPrescription.dialysis_duration_hour : '0' + this.dialysisPrescription.dialysis_duration_hour) + ':' + (this.dialysisPrescription.dialysis_duration_minute > 10 ? this.dialysisPrescription.dialysis_duration_minute : '0' + this.dialysisPrescription.dialysis_duration_minute)
|
|
1032
|
+ }
|
1001
|
1033
|
})
|
1002
|
1034
|
break
|
1003
|
1035
|
case 2:
|
|
@@ -1120,6 +1152,11 @@
|
1120
|
1152
|
return anticoagulan_name
|
1121
|
1153
|
},
|
1122
|
1154
|
commitInfo: function () {
|
|
1155
|
+ if(this.dialysisPrescription.anticoagulant == 1){
|
|
1156
|
+ this.dialysisPrescription.anticoagulant_weichi = '0'
|
|
1157
|
+ this.dialysisPrescription.anticoagulant_shouji = '0'
|
|
1158
|
+ this.dialysisPrescription.anticoagulant_zongliang = '0'
|
|
1159
|
+ }
|
1123
|
1160
|
if (this.$store.getters.user.template_info.template_id == 6) {
|
1124
|
1161
|
if (this.dialysisPrescription.mode_id == 2) {
|
1125
|
1162
|
if (this.dialysisPrescription.displace_liqui_part == 0 || this.dialysisPrescription.displace_liqui_part == -2 || this.dialysisPrescription.displace_liqui_value == 0 || this.dialysisPrescription.displace_liqui_value == '') {
|
|
@@ -1416,7 +1453,7 @@
|
1416
|
1453
|
if (this.$store.getters.user.template_info.template_id == 6) {
|
1417
|
1454
|
if (this.dialysisPrescription.mode_id == 2) {
|
1418
|
1455
|
if (this.dialysisPrescription.displace_liqui_part == 0 || this.dialysisPrescription.displace_liqui_part == -2 || this.dialysisPrescription.displace_liqui_value == 0 || this.dialysisPrescription.displace_liqui_value == '') {
|
1419
|
|
- Toast.fail('HDF模式下置换方式和置换量不能为空!')
|
|
1456
|
+ Toast.fail('HDF模式下置换方式和置换液总量不能为空!')
|
1420
|
1457
|
return
|
1421
|
1458
|
}
|
1422
|
1459
|
}
|
|
@@ -1906,11 +1943,15 @@
|
1906
|
1943
|
}
|
1907
|
1944
|
} else if (this.solution_prop != null && typeof this.solution_prop.id != 'undefined' && this.solution_prop.id) {
|
1908
|
1945
|
for (const key in this.solution_prop) {
|
1909
|
|
- this.dialysisPrescription[key] = this.solution_prop[key]
|
|
1946
|
+ if(key != "target_ultrafiltration") {
|
|
1947
|
+ this.dialysisPrescription[key] = this.solution_prop[key]
|
|
1948
|
+ }
|
1910
|
1949
|
}
|
1911
|
1950
|
} else if (this.last_prescription != null && typeof this.last_prescription.id != 'undefined' && this.last_prescription.id) {
|
1912
|
1951
|
for (const key in this.last_prescription) {
|
1913
|
|
- this.dialysisPrescription[key] = this.last_prescription[key]
|
|
1952
|
+ if(key != "target_ultrafiltration") {
|
|
1953
|
+ this.dialysisPrescription[key] = this.last_prescription[key]
|
|
1954
|
+ }
|
1914
|
1955
|
}
|
1915
|
1956
|
} else {
|
1916
|
1957
|
this.dialysisPrescription.mode_id = this.schedual.mode_id
|