|
@@ -148,11 +148,7 @@
|
148
|
148
|
|
149
|
149
|
|
150
|
150
|
|
151
|
|
- <el-col :span="8" v-if="isShows('透析器/灌流器')">
|
152
|
|
- <el-form-item label="透析器/灌流器:">
|
153
|
|
- <el-input v-model="dialysisPrescription.dialyzer_perfusion_apparatus"></el-input>
|
154
|
|
- </el-form-item>
|
155
|
|
- </el-col>
|
|
151
|
+
|
156
|
152
|
|
157
|
153
|
<el-col :span="8" v-if="isShows('碳酸氢盐')">
|
158
|
154
|
<el-form-item label="碳酸氢盐(mmol/L):">
|
|
@@ -165,6 +161,11 @@
|
165
|
161
|
<el-input type="number" v-model="dialysisPrescription.glucose"></el-input>
|
166
|
162
|
</el-form-item>
|
167
|
163
|
</el-col>
|
|
164
|
+ <el-col :span="8" v-if="isShows('透析液流量')">
|
|
165
|
+ <el-form-item label="透析液流量(ml/min):">
|
|
166
|
+ <el-input type="number" v-model="dialysisPrescription.dialysate_flow"></el-input>
|
|
167
|
+ </el-form-item>
|
|
168
|
+ </el-col>
|
168
|
169
|
|
169
|
170
|
<el-col :span="8" v-if="isShows('透析液温度')">
|
170
|
171
|
<el-form-item label="透析液温度(°C):">
|
|
@@ -172,19 +173,21 @@
|
172
|
173
|
</el-form-item>
|
173
|
174
|
</el-col>
|
174
|
175
|
|
175
|
|
- <!-- </el-row>
|
176
|
176
|
|
177
|
|
- <el-row :gutter="20"> -->
|
178
|
|
- <el-col :span="8" v-if="isShows('透析液流量')">
|
179
|
|
- <el-form-item label="透析液流量(ml/min):">
|
180
|
|
- <el-input type="number" v-model="dialysisPrescription.dialysate_flow"></el-input>
|
181
|
|
- </el-form-item>
|
182
|
|
- </el-col>
|
|
177
|
+
|
183
|
178
|
<el-col :span="8" v-if="isShows('电导度')">
|
184
|
179
|
<el-form-item label="电导度(mS/m): ">
|
185
|
180
|
<el-input type="number" v-model="dialysisPrescription.conductivity"></el-input>
|
186
|
181
|
</el-form-item>
|
187
|
182
|
</el-col>
|
|
183
|
+
|
|
184
|
+ <el-col :span="8" v-if="isShows('透析器/灌流器')">
|
|
185
|
+ <el-form-item label="透析器/灌流器:">
|
|
186
|
+ <el-input v-model="dialysisPrescription.dialyzer_perfusion_apparatus"></el-input>
|
|
187
|
+ </el-form-item>
|
|
188
|
+ </el-col>
|
|
189
|
+
|
|
190
|
+
|
188
|
191
|
<el-col :span="8" v-if="isShows('体液过多症状')">
|
189
|
192
|
<el-form-item label="体液过多症状:">
|
190
|
193
|
<el-select v-model="dialysisPrescription.body_fluid" placeholder="请选择" style="width:100%;"
|
|
@@ -224,16 +227,23 @@
|
224
|
227
|
|
225
|
228
|
|
226
|
229
|
<el-col :span="8" v-if="isShows('透析前使用其他特殊药物')">
|
227
|
|
- <el-form-item label="使用其他特殊药物">
|
|
230
|
+ <el-form-item label="透析前使用其他特殊药物">
|
228
|
231
|
<el-input v-model="dialysisPrescription.special_medicine_other"></el-input>
|
229
|
232
|
</el-form-item>
|
230
|
233
|
</el-col>
|
231
|
234
|
|
|
235
|
+ <el-col :span="8" v-if="isShows('目标KT/V')">
|
|
236
|
+ <el-form-item label="目标KT/V">
|
|
237
|
+ <el-input v-model="dialysisPrescription.target_ktv"></el-input>
|
|
238
|
+ </el-form-item>
|
|
239
|
+ </el-col>
|
|
240
|
+
|
|
241
|
+
|
232
|
242
|
<!-- </el-row>
|
233
|
243
|
|
234
|
244
|
<el-row :gutter="20" > -->
|
235
|
245
|
<el-col :span="8">
|
236
|
|
- <el-form-item label="置换液:" v-if="isShows('置换液')&&this.$store.getters.xt_user.template_info.template_id != 6"
|
|
246
|
+ <el-form-item label="置换液:" v-if="isShows('置换液')"
|
237
|
247
|
v-show="huShow">
|
238
|
248
|
<el-select v-model="dialysisPrescription.displace_liqui_part" placeholder="请选择">
|
239
|
249
|
<el-option :key="0" label="请选择" :value="0"></el-option>
|
|
@@ -241,17 +251,6 @@
|
241
|
251
|
:label="option.name" :value="option.id"></el-option>
|
242
|
252
|
</el-select>
|
243
|
253
|
</el-form-item>
|
244
|
|
-
|
245
|
|
-
|
246
|
|
- <el-form-item label="置换方式:"
|
247
|
|
- v-if="isShows('置换液')&&this.$store.getters.xt_user.template_info.template_id == 6">
|
248
|
|
- <el-select v-model="dialysisPrescription.displace_liqui_part" placeholder="请选择">
|
249
|
|
- <el-option :key="0" label="请选择" :value="0"></el-option>
|
250
|
|
- <el-option v-for="(option, index) in displace_liqui_part_option" :key="index+1"
|
251
|
|
- :label="option.name" :value="option.id"></el-option>
|
252
|
|
- </el-select>
|
253
|
|
- </el-form-item>
|
254
|
|
-
|
255
|
254
|
</el-col>
|
256
|
255
|
|
257
|
256
|
<el-col :span="8" v-if="isShows('置换液总量')" v-show="totalShow">
|
|
@@ -281,12 +280,6 @@
|
281
|
280
|
</el-col>
|
282
|
281
|
|
283
|
282
|
|
284
|
|
- <el-col :span="8" v-if="isShows('目标KT/V')">
|
285
|
|
- <el-form-item label="目标KT/V">
|
286
|
|
- <el-input v-model="dialysisPrescription.target_ktv"></el-input>
|
287
|
|
- </el-form-item>
|
288
|
|
- </el-col>
|
289
|
|
-
|
290
|
283
|
|
291
|
284
|
<!--透析耗材-->
|
292
|
285
|
<el-col :span="8" v-if="isShows('血液透析干粉')&&config.is_open == 1">
|
|
@@ -537,7 +530,7 @@
|
537
|
530
|
</div>
|
538
|
531
|
<div class="newLine">
|
539
|
532
|
<span>上次透后体重(kg)</span>
|
540
|
|
- <span>{{last_record?last_record.weight_after:''}}</span>
|
|
533
|
+ <span>{{getLastAfterWeight(last_record)}}</span>
|
541
|
534
|
</div>
|
542
|
535
|
|
543
|
536
|
<span slot="footer" class="dialog-footer">
|
|
@@ -874,6 +867,19 @@
|
874
|
867
|
}
|
875
|
868
|
},
|
876
|
869
|
methods: {
|
|
870
|
+ getLastAfterWeight(record){
|
|
871
|
+ if(record != null&& record.id > 0){
|
|
872
|
+ if(record.weight_after > 0) {
|
|
873
|
+ let additional_weight = 0
|
|
874
|
+ if(this.predialysis.additional_weight != undefined){
|
|
875
|
+ additional_weight = this.predialysis.additional_weight
|
|
876
|
+ }
|
|
877
|
+ return parseFloat(record.weight_after - additional_weight).toFixed(1);
|
|
878
|
+ }else{
|
|
879
|
+ return ''
|
|
880
|
+ }
|
|
881
|
+ }
|
|
882
|
+ },
|
877
|
883
|
getBeforeWeight(predialysis){
|
878
|
884
|
if(predialysis.id > 0){
|
879
|
885
|
if(predialysis.weight_before > 0) {
|
|
@@ -1209,6 +1215,21 @@
|
1209
|
1215
|
}
|
1210
|
1216
|
this.anticoagulant = this.anticoagulantsConfit[thismode]
|
1211
|
1217
|
}, handleCommit: function() {
|
|
1218
|
+ if(this.dialysisPrescription.anticoagulant == 1){
|
|
1219
|
+ this.dialysisPrescription.anticoagulant_weichi = '0'
|
|
1220
|
+ this.dialysisPrescription.anticoagulant_shouji = '0'
|
|
1221
|
+ this.dialysisPrescription.anticoagulant_zongliang = '0'
|
|
1222
|
+ }
|
|
1223
|
+ if (this.$store.getters.xt_user.template_info.template_id == 6) {
|
|
1224
|
+ if (this.dialysisPrescription.mode_id == 2) {
|
|
1225
|
+ if (this.dialysisPrescription.displace_liqui_part == 0 || this.dialysisPrescription.displace_liqui_part == -2 || this.dialysisPrescription.displace_liqui_value == 0 || this.dialysisPrescription.displace_liqui_value == '') {
|
|
1226
|
+ this.$message.error('HDF模式下置换液和置换液总量不能为空!')
|
|
1227
|
+ return
|
|
1228
|
+ }
|
|
1229
|
+ }
|
|
1230
|
+ }
|
|
1231
|
+
|
|
1232
|
+
|
1212
|
1233
|
this.is_pre = 1
|
1213
|
1234
|
if (this.prescription.id == 0) {
|
1214
|
1235
|
if (this.is_open == 0) {
|
|
@@ -1562,8 +1583,21 @@
|
1562
|
1583
|
}, handleCancle: function() {
|
1563
|
1584
|
this.hide()
|
1564
|
1585
|
}, handleSolution: function() {
|
1565
|
|
- this.is_pre = 2
|
|
1586
|
+ if(this.dialysisPrescription.anticoagulant == 1){
|
|
1587
|
+ this.dialysisPrescription.anticoagulant_weichi = '0'
|
|
1588
|
+ this.dialysisPrescription.anticoagulant_shouji = '0'
|
|
1589
|
+ this.dialysisPrescription.anticoagulant_zongliang = '0'
|
|
1590
|
+ }
|
|
1591
|
+ if (this.$store.getters.xt_user.template_info.template_id == 6) {
|
|
1592
|
+ if (this.dialysisPrescription.mode_id == 2) {
|
|
1593
|
+ if (this.dialysisPrescription.displace_liqui_part == 0 || this.dialysisPrescription.displace_liqui_part == -2 || this.dialysisPrescription.displace_liqui_value == 0 || this.dialysisPrescription.displace_liqui_value == '') {
|
|
1594
|
+ this.$message.error('HDF模式下置换液和置换液总量不能为空!')
|
|
1595
|
+ return
|
|
1596
|
+ }
|
|
1597
|
+ }
|
|
1598
|
+ }
|
1566
|
1599
|
|
|
1600
|
+ this.is_pre = 2
|
1567
|
1601
|
if (this.prescription.id == 0) {
|
1568
|
1602
|
if (this.is_open == 0) {
|
1569
|
1603
|
if (this.patient.id <= 0) {
|