|
@@ -241,8 +241,8 @@
|
241
|
241
|
<span></span>
|
242
|
242
|
<span>
|
243
|
243
|
责任护士:
|
244
|
|
- <span
|
245
|
|
- v-if="setAdminUserES(dialysisorder == null ? 0 : dialysisorder.start_nurse) == ''">{{ getAdminUser(dialysisorder == null ? 0 : dialysisorder.start_nurse) }}</span>
|
|
244
|
+ <span v-if="setAdminUserES(dialysisorder == null ? 0 : dialysisorder.start_nurse) == ''">{{
|
|
245
|
+ getAdminUser(dialysisorder == null ? 0 : dialysisorder.start_nurse) }}</span>
|
246
|
246
|
<img style="height:20px;" :src="setAdminUserES(dialysisorder == null ? 0 : dialysisorder.start_nurse)"
|
247
|
247
|
alt="" srcset="" v-else>
|
248
|
248
|
</span>
|
|
@@ -251,8 +251,8 @@
|
251
|
251
|
<td style="text-align:left;" colspan="1">
|
252
|
252
|
<span style="display:inline-block;margin-left:15px;">
|
253
|
253
|
<span>上机护士:
|
254
|
|
- <span
|
255
|
|
- v-if="setAdminUserES(dialysisorder == null ? 0 : dialysisorder.start_nurse) == ''">{{ getAdminUser(dialysisorder == null ? 0 : dialysisorder.start_nurse) }}</span>
|
|
254
|
+ <span v-if="setAdminUserES(dialysisorder == null ? 0 : dialysisorder.start_nurse) == ''">{{
|
|
255
|
+ getAdminUser(dialysisorder == null ? 0 : dialysisorder.start_nurse) }}</span>
|
256
|
256
|
<img style="height:20px;" :src="setAdminUserES(dialysisorder == null ? 0 : dialysisorder.start_nurse)"
|
257
|
257
|
alt="" srcset="" v-else>
|
258
|
258
|
</span>
|
|
@@ -261,8 +261,8 @@
|
261
|
261
|
<td style="text-align:left;" colspan="3">
|
262
|
262
|
<span style="display:inline-block;margin-left:15px;">
|
263
|
263
|
<span>抗凝剂执行护士:
|
264
|
|
- <span
|
265
|
|
- v-if="setAdminUserES(dialysisorder == null ? 0 : dialysisorder.start_nurse) == ''">{{ getAdminUser(dialysisorder == null ? 0 : dialysisorder.start_nurse) }}</span>
|
|
264
|
+ <span v-if="setAdminUserES(dialysisorder == null ? 0 : dialysisorder.start_nurse) == ''">{{
|
|
265
|
+ getAdminUser(dialysisorder == null ? 0 : dialysisorder.start_nurse) }}</span>
|
266
|
266
|
<img style="height:20px;" :src="setAdminUserES(dialysisorder == null ? 0 : dialysisorder.start_nurse)"
|
267
|
267
|
alt="" srcset="" v-else>
|
268
|
268
|
</span>
|
|
@@ -273,7 +273,10 @@
|
273
|
273
|
<span style="display:inline-block;margin-left:15px;">
|
274
|
274
|
<span>医生签名:
|
275
|
275
|
<span
|
276
|
|
- v-if="setAdminUserES(prescription == null ? 0 : (prescription.prescription_doctor ? prescription.prescription_doctor : prescription.creater)) == ''">{{ getAdminUser(prescription == null ? 0 : (prescription.prescription_doctor ? prescription.prescription_doctor : prescription.creater)) }}</span>
|
|
276
|
+ v-if="setAdminUserES(prescription == null ? 0 : (prescription.prescription_doctor ? prescription.prescription_doctor : prescription.creater)) == ''">{{
|
|
277
|
+ getAdminUser(prescription == null ? 0 : (prescription.prescription_doctor ?
|
|
278
|
+ prescription.prescription_doctor :
|
|
279
|
+ prescription.creater)) }}</span>
|
277
|
280
|
<img v-else class="es-img" style="height:30px;"
|
278
|
281
|
:src="setAdminUserES(prescription == null ? 0 : (prescription.prescription_doctor ? prescription.prescription_doctor : prescription.creater))"
|
279
|
282
|
alt="" srcset="">
|
|
@@ -285,31 +288,31 @@
|
285
|
288
|
<td style="text-align:left;" colspan="4">
|
286
|
289
|
<span style="display:inline-block;margin-left:15px;">
|
287
|
290
|
透前评估: 入科方式:
|
288
|
|
- <span v-for="(item,index) in way_arr" :key="index">
|
|
291
|
+ <span v-for="(item, index) in way_arr" :key="index">
|
289
|
292
|
<label-box :isChecked="receiverTreatmentAccess.way == item.id ? true : false"
|
290
|
|
- :showValue="item.name"></label-box>
|
|
293
|
+ :showValue="item.name"></label-box>
|
291
|
294
|
</span>
|
292
|
295
|
</span>
|
293
|
296
|
</td>
|
294
|
297
|
<td style="text-align:left;" colspan="4">
|
295
|
298
|
<span style="display:inline-block;margin-left:15px;">
|
296
|
299
|
意识:
|
297
|
|
- <span v-for="(item,index) in consciousness_arr" :key="index">
|
|
300
|
+ <span v-for="(item, index) in consciousness_arr" :key="index">
|
298
|
301
|
<label-box :isChecked="receiverTreatmentAccess.consciousness == item.id ? true : false"
|
299
|
|
- :showValue="item.name"></label-box>
|
|
302
|
+ :showValue="item.name"></label-box>
|
300
|
303
|
</span>
|
301
|
|
-
|
|
304
|
+
|
302
|
305
|
</span>
|
303
|
306
|
</td>
|
304
|
307
|
</tr>
|
305
|
308
|
<tr>
|
306
|
309
|
<td colspan="2" style="text-align:left;">
|
307
|
310
|
<span style="display:inline-block;margin-left:15px;">食欲:</span>
|
308
|
|
- <span v-for="(item,index) in appetite_arr" :key="index">
|
|
311
|
+ <span v-for="(item, index) in appetite_arr" :key="index">
|
309
|
312
|
<label-box :isChecked="receiverTreatmentAccess.appetite == item.id ? true : false"
|
310
|
|
- :showValue="item.name"></label-box>
|
|
313
|
+ :showValue="item.name"></label-box>
|
311
|
314
|
</span>
|
312
|
|
-
|
|
315
|
+
|
313
|
316
|
</td>
|
314
|
317
|
<td colspan="2" style="text-align:left;">
|
315
|
318
|
<span style="display:inline-block;margin-left:15px;">体温:{{
|
|
@@ -331,24 +334,22 @@
|
331
|
334
|
<span style="display:inline-block;margin-left:15px;">
|
332
|
335
|
血管通路:内瘘波动及震颤:
|
333
|
336
|
(
|
334
|
|
- <label-box
|
335
|
|
- :isChecked="predialysis.internal_fistula.indexOf('震颤-存在') > -1 ? true : false"
|
|
337
|
+ <label-box :isChecked="predialysis.internal_fistula.indexOf('震颤-存在') > -1 ? true : false"
|
336
|
338
|
showValue="存在"></label-box>
|
337
|
|
- <label-box
|
338
|
|
- :isChecked="predialysis.internal_fistula.indexOf('震颤-减弱') > -1 ? true : false"
|
|
339
|
+ <label-box :isChecked="predialysis.internal_fistula.indexOf('震颤-减弱') > -1 ? true : false"
|
339
|
340
|
showValue="减弱"></label-box>
|
340
|
|
- <label-box
|
341
|
|
- :isChecked="predialysis.internal_fistula.indexOf('震颤-无') > -1 ? true : false"
|
|
341
|
+ <label-box :isChecked="predialysis.internal_fistula.indexOf('震颤-无') > -1 ? true : false"
|
342
|
342
|
showValue="消失"></label-box>
|
343
|
343
|
)
|
344
|
|
- <span style="display:inline-block;" v-if="org_id!=10293 && org_id !=0">
|
|
344
|
+ <span style="display:inline-block;" v-if="org_id != 10293 && org_id != 0">
|
345
|
345
|
<label-box v-for="(item, index) in arrtwo" :key="index" :isChecked="predialysis.blood_access_part_opera_id == item.id
|
346
|
|
- ? true
|
347
|
|
- : false
|
|
346
|
+ ? true
|
|
347
|
+ : false
|
348
|
348
|
" :showValue="item.name"></label-box>
|
349
|
349
|
</span>
|
350
|
|
- <span v-if="org_id==10293||org_id==0">
|
351
|
|
- <span>{{ predialysis.blood_access_part_id }} </span>{{predialysis.blood_access_part_opera_name}}
|
|
350
|
+ <span v-if="org_id == 10293 || org_id == 0">
|
|
351
|
+ <span>{{ predialysis.blood_access_part_id
|
|
352
|
+ }} </span>{{ predialysis.blood_access_part_opera_name }}
|
352
|
353
|
</span>
|
353
|
354
|
<!-- <label-box v-for="(item, h) in arrtwo" :key="h"
|
354
|
355
|
:isChecked="predialysis.blood_access_part_opera_id == item.id ? true : false" :showValue="item.name">
|
|
@@ -387,20 +388,20 @@
|
387
|
388
|
<span style="display:inline-block;margin-left:15px;">
|
388
|
389
|
血管通路皮肤情况:
|
389
|
390
|
<label-box :isChecked="predialysis.internal_fistula_skin.indexOf('正常') > -1
|
390
|
|
- ? true
|
391
|
|
- : false
|
|
391
|
+ ? true
|
|
392
|
+ : false
|
392
|
393
|
" showValue="正常"></label-box>
|
393
|
394
|
<label-box :isChecked="predialysis.internal_fistula_skin.indexOf('淤血') > -1
|
394
|
|
- ? true
|
395
|
|
- : false
|
|
395
|
+ ? true
|
|
396
|
+ : false
|
396
|
397
|
" showValue="淤血"></label-box>
|
397
|
398
|
<label-box :isChecked="predialysis.internal_fistula_skin.indexOf('红') > -1
|
398
|
|
- ? true
|
399
|
|
- : false
|
|
399
|
+ ? true
|
|
400
|
+ : false
|
400
|
401
|
" showValue="红"></label-box>
|
401
|
402
|
<label-box :isChecked="predialysis.internal_fistula_skin.indexOf('肿') > -1
|
402
|
|
- ? true
|
403
|
|
- : false
|
|
403
|
+ ? true
|
|
404
|
+ : false
|
404
|
405
|
" showValue="肿"></label-box>
|
405
|
406
|
<!-- 其他: -->
|
406
|
407
|
</span>
|
|
@@ -427,24 +428,24 @@
|
427
|
428
|
<label-box showValue="无" :isChecked="predialysis.is_hemorrhage == 2 ? true : false"></label-box>
|
428
|
429
|
<label-box showValue="异常" :isChecked="predialysis.is_hemorrhage == 1 ? true : false"></label-box>
|
429
|
430
|
<label-box showValue="穿刺点渗血" :isChecked="predialysis.is_hemorrhage == 1 &&
|
430
|
|
- predialysis.hemorrhage.indexOf('穿刺点渗血') > -1
|
431
|
|
- ? true
|
432
|
|
- : false
|
|
431
|
+ predialysis.hemorrhage.indexOf('穿刺点渗血') > -1
|
|
432
|
+ ? true
|
|
433
|
+ : false
|
433
|
434
|
"></label-box>
|
434
|
435
|
<label-box showValue="牙龈出血" :isChecked="predialysis.is_hemorrhage == 1 &&
|
435
|
|
- predialysis.hemorrhage.indexOf('牙龈出血') > -1
|
436
|
|
- ? true
|
437
|
|
- : false
|
|
436
|
+ predialysis.hemorrhage.indexOf('牙龈出血') > -1
|
|
437
|
+ ? true
|
|
438
|
+ : false
|
438
|
439
|
"></label-box>
|
439
|
440
|
<label-box showValue="消化道出血" :isChecked="predialysis.is_hemorrhage == 1 &&
|
440
|
|
- predialysis.hemorrhage.indexOf('消化道出血') > -1
|
441
|
|
- ? true
|
442
|
|
- : false
|
|
441
|
+ predialysis.hemorrhage.indexOf('消化道出血') > -1
|
|
442
|
+ ? true
|
|
443
|
+ : false
|
443
|
444
|
"></label-box>
|
444
|
445
|
<label-box showValue="女性经期" :isChecked="predialysis.is_hemorrhage == 1 &&
|
445
|
|
- predialysis.hemorrhage.indexOf('女性经期') > -1
|
446
|
|
- ? true
|
447
|
|
- : false
|
|
446
|
+ predialysis.hemorrhage.indexOf('女性经期') > -1
|
|
447
|
+ ? true
|
|
448
|
+ : false
|
448
|
449
|
"></label-box>其他:
|
449
|
450
|
<span>{{ predialysis.hemorrhage_other }}</span>
|
450
|
451
|
</td>
|
|
@@ -485,20 +486,20 @@
|
485
|
486
|
">
|
486
|
487
|
</label-box><span> </span>跌倒风险预防措施:
|
487
|
488
|
<label-box showValue="镇定剂" :isChecked="receiverTreatmentAccess.precaution.indexOf('镇定剂') > -1
|
488
|
|
- ? true
|
489
|
|
- : false
|
|
489
|
+ ? true
|
|
490
|
+ : false
|
490
|
491
|
"></label-box>
|
491
|
492
|
<label-box showValue="约束带" :isChecked="receiverTreatmentAccess.precaution.indexOf('约束带') > -1
|
492
|
|
- ? true
|
493
|
|
- : false
|
|
493
|
+ ? true
|
|
494
|
+ : false
|
494
|
495
|
"></label-box>
|
495
|
496
|
<label-box showValue="床栏" :isChecked="receiverTreatmentAccess.precaution.indexOf('床栏') > -1
|
496
|
|
- ? true
|
497
|
|
- : false
|
|
497
|
+ ? true
|
|
498
|
+ : false
|
498
|
499
|
"></label-box>
|
499
|
500
|
<label-box showValue="加强宣教" :isChecked="receiverTreatmentAccess.precaution.indexOf('加强宣教') > -1
|
500
|
|
- ? true
|
501
|
|
- : false
|
|
501
|
+ ? true
|
|
502
|
+ : false
|
502
|
503
|
"></label-box>
|
503
|
504
|
</td>
|
504
|
505
|
</tr>
|
|
@@ -626,10 +627,10 @@
|
626
|
627
|
</td>
|
627
|
628
|
<td style="text-align:left;" colspan="3">
|
628
|
629
|
下机护士:
|
629
|
|
- <span
|
630
|
|
- v-if="setAdminUserES(dialysisorder == null ? 0 : dialysisorder.finish_nurse) == ''">{{ getAdminUser(dialysisorder == null ? 0 : dialysisorder.finish_nurse) }}</span>
|
631
|
|
- <img style="height:20px;" :src="setAdminUserES(dialysisorder == null ? 0 : dialysisorder.finish_nurse)" alt=""
|
632
|
|
- srcset="" v-else>
|
|
630
|
+ <span v-if="setAdminUserES(dialysisorder == null ? 0 : dialysisorder.finish_nurse) == ''">{{
|
|
631
|
+ getAdminUser(dialysisorder == null ? 0 : dialysisorder.finish_nurse) }}</span>
|
|
632
|
+ <img style="height:20px;" :src="setAdminUserES(dialysisorder == null ? 0 : dialysisorder.finish_nurse)"
|
|
633
|
+ alt="" srcset="" v-else>
|
633
|
634
|
|
634
|
635
|
</td>
|
635
|
636
|
</tr>
|
|
@@ -682,7 +683,8 @@
|
682
|
683
|
</tr>
|
683
|
684
|
<tr>
|
684
|
685
|
<td style="text-align:left;" colspan="6">
|
685
|
|
- <span style="display:inline-block;margin-left:15px;">特殊记录:{{ summary.mission }} {{ summary.dialysis_summary }}
|
|
686
|
+ <span style="display:inline-block;margin-left:15px;">特殊记录:{{ summary.mission }} {{
|
|
687
|
+ summary.dialysis_summary }}
|
686
|
688
|
</span>
|
687
|
689
|
</td>
|
688
|
690
|
</tr>
|
|
@@ -709,6 +711,7 @@ import { getDataConfig } from '@/utils/data'
|
709
|
711
|
import { jsGetAge, uParseTime } from '@/utils/tools'
|
710
|
712
|
import LabelBox from '../printItem/LabelBox'
|
711
|
713
|
import { fetchAllAdminUsers } from '@/api/doctor'
|
|
714
|
+import { Toast, Dialog } from 'vant'
|
712
|
715
|
// import BreadCrumb from 'bread-crumb'
|
713
|
716
|
// import DialysisPrintOrderOne from './template/dialysisPrintOrderOne'
|
714
|
717
|
// import DialysisPrintOrderTwo from './template/dialysisPrintOrderTwo'
|
|
@@ -829,168 +832,186 @@ export default {
|
829
|
832
|
precautions: [],
|
830
|
833
|
nursing_record: '',
|
831
|
834
|
special_record: '',
|
832
|
|
- org_id:'',
|
|
835
|
+ org_id: '',
|
833
|
836
|
}
|
834
|
837
|
},
|
835
|
838
|
methods: {
|
836
|
839
|
checkData() {
|
837
|
|
- if (this.receiverTreatmentAccess.condition == 0) {
|
838
|
|
- this.$message.error('门诊或住院未填')
|
839
|
|
- } else if (this.receiverTreatmentAccess.condition == 1 && this.receiverTreatmentAccess.admission_number == '') {
|
840
|
|
- this.$message.error('住院号未填')
|
841
|
|
- } else if (this.receiverTreatmentAccess.condition == 2 && this.patientInfo.admission_number == '') {
|
842
|
|
- this.$message.error('门诊号未填')
|
843
|
|
- } else if (this.prescription.mode_id == '') {
|
844
|
|
- this.$message.error('治疗方式未填')
|
845
|
|
- } else if (this.predialysis.dry_weight == 0) {
|
846
|
|
- this.$message.error('干体重未填')
|
847
|
|
- } else if (this.prescription.conductivity == 0) {
|
848
|
|
- this.$message.error('电导率未填')
|
849
|
|
- } else if (this.prescription.calcium == 0) {
|
850
|
|
- this.$message.error('钙未填')
|
851
|
|
- } else if (this.prescription.dialysate_temperature == 0) {
|
852
|
|
- this.$message.error('透析液温度未填')
|
853
|
|
- } else if (this.predialysis.weight_before == 0) {
|
854
|
|
- this.$message.error('透前体重未填')
|
855
|
|
- } else if (this.prescription.target_ultrafiltration == 0) {
|
856
|
|
- this.$message.error('设定脱水量未填')
|
857
|
|
- } else if (this.prescription.anticoagulant == 0) {
|
858
|
|
- this.$message.error('抗凝剂未填')
|
859
|
|
- } else if (this.afterdialysis.weight_after == 0) {
|
860
|
|
- this.$message.error('透后体重未填')
|
861
|
|
- } else if (this.afterdialysis.actual_ultrafiltration == 0) {
|
862
|
|
- this.$message.error('实际脱水量未填')
|
863
|
|
- } else if (this.prescription.dialysis_duration_hour == 0 && this.prescription.dialysis_duration_minute == 0) {
|
864
|
|
- this.$message.error('透析时间未填')
|
865
|
|
- } else if (this.prescription.dialyzer_perfusion_apparatus == '') {
|
866
|
|
- this.$message.error('透析器型号未填')
|
867
|
|
- } else if (this.prescription.displace_liqui_part == 0 && (this.prescription.mode_id == 2 || this.prescription.mode_id == 5 || this.prescription.mode_id == 12)) {
|
868
|
|
- this.$message.error('置换方式未填')
|
869
|
|
- } else if (this.prescription.displace_liqui_value == 0 && (this.prescription.mode_id == 2 || this.prescription.mode_id == 5 || this.prescription.mode_id == 12)) {
|
870
|
|
- this.$message.error('置换量未填')
|
871
|
|
- } else if (this.orderForm.start_nurse == '') {
|
872
|
|
- this.$message.error('责任护士未填')
|
873
|
|
- } else if (this.orderForm.start_nurse == '') {
|
874
|
|
- this.$message.error('上机护士未填')
|
875
|
|
- } else if (this.orderForm.start_nurse == '') {
|
876
|
|
- this.$message.error('抗凝剂执行护士未填')
|
877
|
|
- } else if (this.prescription.prescription_doctor == 0 && this.prescription.creater == 0) {
|
878
|
|
- this.$message.error('医生签名未填')
|
879
|
|
- } else if (this.receiverTreatmentAccess.way == 0) {
|
880
|
|
- this.$message.error('入科方式未填')
|
881
|
|
- } else if (this.receiverTreatmentAccess.consciousness == 0) {
|
882
|
|
- this.$message.error('意识未填')
|
883
|
|
- } else if (this.receiverTreatmentAccess.appetite == 0) {
|
884
|
|
- this.$message.error('食欲未填')
|
885
|
|
- } else if (this.predialysis.temperature == 0) {
|
886
|
|
- this.$message.error('透前体温未填')
|
887
|
|
- } else if (this.receiverTreatmentAccess.posture == 0) {
|
888
|
|
- this.$message.error('体位未填')
|
889
|
|
- } else if (this.predialysis.blood_access_part_opera_name == '') {
|
890
|
|
- this.$message.error('内瘘波动及震颤未填')
|
891
|
|
- } else if (this.predialysis.blood_access_part_id == 0) {
|
892
|
|
- this.$message.error('中心静脉导管部位未填')
|
893
|
|
- } else if (this.predialysis.venous_catheterization == 0) {
|
894
|
|
- this.$message.error('中心静脉导管未填')
|
895
|
|
- } else if (this.predialysis.catheter == '') {
|
896
|
|
- this.$message.error('中心静脉导管感染未填')
|
897
|
|
- } else if (this.predialysis.internal_fistula_skin == '') {
|
898
|
|
- this.$message.error('血管通路皮肤情况未填')
|
899
|
|
- } else if (this.predialysis.skin == '') {
|
900
|
|
- this.$message.error('皮肤未填')
|
901
|
|
- } else if (this.predialysis.is_hemorrhage == 0) {
|
902
|
|
- this.$message.error('是否出血未填')
|
903
|
|
- } else if (this.predialysis.is_hemorrhage == 1 && this.predialysis.hemorrhage == '') {
|
904
|
|
- this.$message.error('出血影响因素未填')
|
905
|
|
- } else if (this.predialysis.special_medicine_other == '') {
|
906
|
|
- this.$message.error('使用特殊药物未填')
|
907
|
|
- } else if (this.receiverTreatmentAccess.danger_level == 0) {
|
908
|
|
- this.$message.error('跌倒风险未填')
|
909
|
|
- } else if (this.receiverTreatmentAccess.precaution == '') {
|
910
|
|
- this.$message.error('跌倒风险预防措施未填')
|
911
|
|
- } else if (this.nursing_record == '') {
|
912
|
|
- this.$message.error('透析护理记录未填')
|
913
|
|
- } else if (this.afterdialysis.dialysis_process == 0) {
|
914
|
|
- this.$message.error('透析过程未填')
|
915
|
|
- } else if (this.afterdialysis.complication == '') {
|
916
|
|
- this.$message.error('透后并发症未填')
|
917
|
|
- } else if (this.afterdialysis.actual_displacement == 0) {
|
918
|
|
- this.$message.error('实际置换量未填')
|
919
|
|
- } else if (this.afterdialysis.internal_fistula == '') {
|
920
|
|
- this.$message.error('内瘘搏动及震颤音未填')
|
921
|
|
- } else if (this.afterdialysis.cruor == '') {
|
922
|
|
- this.$message.error('透析器及管路凝血情况未填')
|
923
|
|
- } else if (this.afterdialysis.is_eat == 0) {
|
924
|
|
- this.$message.error('透析中进食未填')
|
925
|
|
- } else if (this.afterdialysis.patient_gose == 0) {
|
926
|
|
- this.$message.error('患者去向未填')
|
927
|
|
- } else if (this.finshForm.finish_nurse == '') {
|
928
|
|
- this.$message.error('下机护士未填')
|
929
|
|
- } else if (this.special_record == '') {
|
930
|
|
- this.$message.error('特殊记录未填')
|
931
|
|
- } else if (this.tableAdvice.length > 0 || this.monitors.length > 0) {
|
932
|
|
- let num = 0
|
933
|
|
- if (this.monitors.length > 0) {
|
934
|
|
- this.monitors.map(item => {
|
935
|
|
- if (item.id > 0 && item.operate_time) {
|
936
|
|
- this.users.map(it => {
|
937
|
|
- if (it.id == item.monitoring_nurse) {
|
938
|
|
- if (it.user_type == 2) {
|
939
|
|
- num++
|
940
|
|
- this.$message.closeAll()
|
941
|
|
- this.$message.error('存在不是护士保存的监测')
|
942
|
|
- }
|
943
|
|
- }
|
944
|
|
- })
|
945
|
|
- }
|
946
|
|
- })
|
|
840
|
+ var checkdata = []
|
|
841
|
+ if (this.prescription.mode_id == "") {
|
|
842
|
+ const obj = '治疗方式'
|
|
843
|
+ checkdata.push(obj)
|
|
844
|
+ } if (this.predialysis.dry_weight == 0) {
|
|
845
|
+ const obj1 = '干体重'
|
|
846
|
+ checkdata.push(obj1)
|
|
847
|
+ } if (this.prescription.conductivity == 0) {
|
|
848
|
+ const obj2 = '电导率'
|
|
849
|
+ checkdata.push(obj2)
|
|
850
|
+ } if (this.prescription.calcium == 0) {
|
|
851
|
+ const obj3 = '钙'
|
|
852
|
+ checkdata.push(obj3)
|
|
853
|
+ } if (this.prescription.dialysate_temperature == 0) {
|
|
854
|
+ const obj4 = '透析液温度'
|
|
855
|
+ checkdata.push(obj4)
|
|
856
|
+ } if (this.predialysis.weight_before == 0) {
|
|
857
|
+ const obj5 = '透前体重'
|
|
858
|
+ checkdata.push(obj5)
|
|
859
|
+ } if (this.prescription.target_ultrafiltration == 0) {
|
|
860
|
+ const obj6 = '设定脱水量'
|
|
861
|
+ checkdata.push(obj6)
|
|
862
|
+ } if (this.prescription.anticoagulant == 0) {
|
|
863
|
+ const obj7 = '抗凝剂'
|
|
864
|
+ checkdata.push(obj7)
|
|
865
|
+ } if (this.afterdialysis.weight_after == 0) {
|
|
866
|
+ const obj8 = '透后体重'
|
|
867
|
+ checkdata.push(obj8)
|
|
868
|
+ } if (this.afterdialysis.actual_ultrafiltration == 0) {
|
|
869
|
+ const obj9 = '实际脱水量'
|
|
870
|
+ checkdata.push(obj9)
|
|
871
|
+ } if (this.prescription.dialysis_duration_hour == 0 && this.prescription.dialysis_duration_minute == 0) {
|
|
872
|
+ const obj10 = '透析时间'
|
|
873
|
+ checkdata.push(obj10)
|
|
874
|
+ } if (this.prescription.dialyzer_perfusion_apparatus == "") {
|
|
875
|
+ const obj11 = '透析器型号'
|
|
876
|
+ checkdata.push(obj11)
|
|
877
|
+ } if (this.prescription.displace_liqui_part == 0 && (this.prescription.mode_id == 2 || this.prescription.mode_id == 5 || this.prescription.mode_id == 12)) {
|
|
878
|
+ const obj12 = '置换方式'
|
|
879
|
+ checkdata.push(obj12)
|
|
880
|
+ } if (this.prescription.displace_liqui_value == 0 && (this.prescription.mode_id == 2 || this.prescription.mode_id == 5 || this.prescription.mode_id == 12)) {
|
|
881
|
+ const obj13 = '置换量'
|
|
882
|
+ checkdata.push(obj13)
|
|
883
|
+ } if (this.dialysisorder == null ||this.dialysisorder.start_nurse == "") {
|
|
884
|
+ const obj14 = '责任护士'
|
|
885
|
+ checkdata.push(obj14)
|
|
886
|
+ } if (this.dialysisorder == null ||this.dialysisorder.start_nurse == "") {
|
|
887
|
+ const obj15 = '上机护士'
|
|
888
|
+ checkdata.push(obj15)
|
|
889
|
+ } if (this.dialysisorder == null ||this.dialysisorder.start_nurse == "") {
|
|
890
|
+ const obj16 = '抗凝剂执行护士'
|
|
891
|
+ checkdata.push(obj16)
|
|
892
|
+ } if (this.prescription.prescription_doctor == 0 && this.prescription.creater == 0) {
|
|
893
|
+ const obj17 = '医生签名'
|
|
894
|
+ checkdata.push(obj17)
|
|
895
|
+ } if (this.receiverTreatmentAccess.way == 0) {
|
|
896
|
+ const obj18 = '入科方式'
|
|
897
|
+ checkdata.push(obj18)
|
|
898
|
+ } if (this.receiverTreatmentAccess.consciousness == 0) {
|
|
899
|
+ const obj19 = '意识'
|
|
900
|
+ checkdata.push(obj19)
|
|
901
|
+ } if (this.receiverTreatmentAccess.appetite == 0) {
|
|
902
|
+ const obj20 = '食欲'
|
|
903
|
+ checkdata.push(obj20)
|
|
904
|
+ } if (this.predialysis.temperature == 0) {
|
|
905
|
+ const obj21 = '透前体温'
|
|
906
|
+ checkdata.push(obj21)
|
|
907
|
+ } if (this.receiverTreatmentAccess.posture == 0) {
|
|
908
|
+ const obj22 = '体位'
|
|
909
|
+ checkdata.push(obj22)
|
|
910
|
+ } if (this.predialysis.blood_access_part_opera_name == '') {
|
|
911
|
+ const obj23 = '内瘘波动及震颤'
|
|
912
|
+ checkdata.push(obj23)
|
|
913
|
+ } if (this.predialysis.blood_access_part_id == 0) {
|
|
914
|
+ const obj24 = '中心静脉导管部位'
|
|
915
|
+ checkdata.push(obj24)
|
|
916
|
+ } if (this.predialysis.venous_catheterization == 0) {
|
|
917
|
+ const obj25 = '中心静脉导管'
|
|
918
|
+ checkdata.push(obj25)
|
|
919
|
+ } if (this.predialysis.catheter == '') {
|
|
920
|
+ const obj26 = '中心静脉导管感染'
|
|
921
|
+ checkdata.push(obj26)
|
|
922
|
+ } if (this.predialysis.internal_fistula_skin == '') {
|
|
923
|
+ const obj27 = '血管通路皮肤情况'
|
|
924
|
+ checkdata.push(obj27)
|
|
925
|
+ } if (this.predialysis.skin == '') {
|
|
926
|
+ const obj28 = '皮肤'
|
|
927
|
+ checkdata.push(obj28)
|
|
928
|
+ } if (this.predialysis.is_hemorrhage == 0) {
|
|
929
|
+ const obj29 = '是否出血'
|
|
930
|
+ checkdata.push(obj29)
|
|
931
|
+ } if (this.predialysis.is_hemorrhage == 1 && this.predialysis.hemorrhage == "") {
|
|
932
|
+ const obj30 = '出血影响因素'
|
|
933
|
+ checkdata.push(obj30)
|
|
934
|
+ } if (this.predialysis.special_medicine_other == '') {
|
|
935
|
+ const obj31 = '使用特殊药物'
|
|
936
|
+ checkdata.push(obj31)
|
|
937
|
+ } if (this.receiverTreatmentAccess.danger_level == 0) {
|
|
938
|
+ const obj32 = '跌倒风险'
|
|
939
|
+ checkdata.push(obj32)
|
|
940
|
+ } if (this.receiverTreatmentAccess.precaution == '') {
|
|
941
|
+ const obj33 = '跌倒风险预防措施'
|
|
942
|
+ checkdata.push(obj33)
|
|
943
|
+ } if (this.nursing_record == '') {
|
|
944
|
+ const obj34 = '透析护理记录'
|
|
945
|
+ checkdata.push(obj34)
|
|
946
|
+ } if (this.afterdialysis.dialysis_process == 0) {
|
|
947
|
+ const obj35 = '透析过程'
|
|
948
|
+ checkdata.push(obj35)
|
|
949
|
+ } if (this.afterdialysis.complication == "") {
|
|
950
|
+ const obj36 = '透后并发症'
|
|
951
|
+ checkdata.push(obj36)
|
|
952
|
+ } if (this.afterdialysis.actual_displacement == 0) {
|
|
953
|
+ const obj37 = '实际置换量'
|
|
954
|
+ checkdata.push(obj37)
|
|
955
|
+ } if (this.afterdialysis.internal_fistula == "") {
|
|
956
|
+ const obj38 = '内瘘搏动及震颤音'
|
|
957
|
+ checkdata.push(obj38)
|
|
958
|
+ } if (this.afterdialysis.cruor == "") {
|
|
959
|
+ const obj39 = '透析器及管路凝血情况'
|
|
960
|
+ checkdata.push(obj39)
|
|
961
|
+ } if (this.afterdialysis.is_eat == 0) {
|
|
962
|
+ const obj40 = '透析中进食'
|
|
963
|
+ checkdata.push(obj40)
|
|
964
|
+ } if (this.afterdialysis.patient_gose == 0) {
|
|
965
|
+ const obj41 = '患者去向'
|
|
966
|
+ checkdata.push(obj41)
|
|
967
|
+ } if (this.dialysisorder ==null ||this.dialysisorder.finish_nurse == "") {
|
|
968
|
+ const obj42 = '下机护士'
|
|
969
|
+ checkdata.push(obj42)
|
|
970
|
+ } if (this.special_record == "") {
|
|
971
|
+ const obj43 = '特殊记录'
|
|
972
|
+ checkdata.push(obj43)
|
|
973
|
+ }
|
|
974
|
+ if (this.monitors.length > 0) {
|
|
975
|
+ for(let i in this.monitors){
|
|
976
|
+ if(this.monitors[i].systolic_blood_pressure ==0 ||
|
|
977
|
+ this.monitors.diastolic_blood_pressure==0){
|
|
978
|
+ const obj44 = '监测第'+((i*1)+1)+'行血压'
|
|
979
|
+ checkdata.push(obj44)
|
|
980
|
+ } if(this.monitors[i].pulse_frequency ==0){
|
|
981
|
+ const obj45 = '监测第'+((i*1)+1)+'行心率'
|
|
982
|
+ checkdata.push(obj45)
|
|
983
|
+ } if(this.monitors[i].blood_flow_volume ==0){
|
|
984
|
+ const obj46 = '监测第'+((i*1)+1)+'行血流量'
|
|
985
|
+ checkdata.push(obj46)
|
|
986
|
+ } if(this.monitors[i].venous_pressure ==0){
|
|
987
|
+ const obj47 = '监测第'+((i*1)+1)+'行静脉压'
|
|
988
|
+ checkdata.push(obj47)
|
|
989
|
+ } if(this.monitors[i].transmembrane_pressure ==0){
|
|
990
|
+ const obj48 = '监测第'+((i*1)+1)+'行跨膜压'
|
|
991
|
+ checkdata.push(obj48)
|
|
992
|
+ } if(this.monitors[i].ultrafiltration_volume ==0){
|
|
993
|
+ const obj49 = '监测第'+((i*1)+1)+'行超滤量'
|
|
994
|
+ checkdata.push(obj49)
|
|
995
|
+ } if(this.monitors[i].ultrafiltration_rate == 0){
|
|
996
|
+ const obj50 = '监测第'+((i*1)+1)+'行超滤率'
|
|
997
|
+ checkdata.push(obj50)
|
|
998
|
+ } if(this.monitors[i].sodium_concentration == 0){
|
|
999
|
+ const obj51= '监测第'+((i*1)+1)+'行NA⁺'
|
|
1000
|
+ checkdata.push(obj51)
|
|
1001
|
+ }
|
947
|
1002
|
}
|
948
|
|
- if (this.tableAdvice.length > 0) {
|
949
|
|
- this.tableAdvice.map(item => {
|
950
|
|
- if (item.id > 0 && (item.created_time || item.start_time)) {
|
951
|
|
- this.users.map(it => {
|
952
|
|
- if (it.id == item.advice_doctor) {
|
953
|
|
- if (it.user_type == 3) {
|
954
|
|
- num++
|
955
|
|
- this.$message.closeAll()
|
956
|
|
- this.$message.error('存在不是医生保存的医嘱')
|
957
|
|
- } else if (it.id == item.execution_staff && item.execution_staff > 0) {
|
958
|
|
- if (it.user_type == 2) {
|
959
|
|
- num++
|
960
|
|
- this.$message.closeAll()
|
961
|
|
- this.$message.error('存在不是护士执行的医嘱')
|
962
|
|
- }
|
963
|
|
- } else if (it.id == item.checker && item.checker > 0) {
|
964
|
|
- if (it.user_type == 2) {
|
965
|
|
- num++
|
966
|
|
- this.$message.closeAll()
|
967
|
|
- this.$message.error('存在不是护士核对的医嘱')
|
968
|
|
- }
|
969
|
|
- }
|
970
|
|
- } else if (it.id == item.execution_staff && item.execution_staff > 0) {
|
971
|
|
- if (it.user_type == 2) {
|
972
|
|
- num++
|
973
|
|
- this.$message.closeAll()
|
974
|
|
- this.$message.error('存在不是护士执行的医嘱')
|
975
|
|
- }
|
976
|
|
- } else if (it.id == item.checker && item.checker > 0) {
|
977
|
|
- if (it.user_type == 2) {
|
978
|
|
- num++
|
979
|
|
- this.$message.closeAll()
|
980
|
|
- this.$message.error('存在不是护士核对的医嘱')
|
981
|
|
- }
|
982
|
|
- }
|
983
|
|
- })
|
|
1003
|
+ }
|
|
1004
|
+ if (this.tableAdvice.length > 0) {
|
|
1005
|
+ this.tableAdvice.map((item) =>{
|
|
1006
|
+ if(item.id > 0 && (item.created_time || item.start_time)){
|
|
1007
|
+ if(item.execution_staff ==0 || item.checker ==0){
|
|
1008
|
+ const obj57 = '执行人员,核对签名'
|
|
1009
|
+ checkdata.push(obj57)
|
984
|
1010
|
}
|
985
|
|
- })
|
986
|
|
- }
|
987
|
|
-
|
988
|
|
- if (num == 0) {
|
989
|
|
- this.$message.success('核对完成')
|
990
|
|
- }
|
991
|
|
- } else {
|
992
|
|
- this.$message.success('核对完成')
|
|
1011
|
+ }
|
|
1012
|
+ })
|
993
|
1013
|
}
|
|
1014
|
+ this.getcheckData(checkdata)
|
994
|
1015
|
},
|
995
|
1016
|
getUser() {
|
996
|
1017
|
fetchAllAdminUsers().then(response => {
|
|
@@ -1483,6 +1504,24 @@ export default {
|
1483
|
1504
|
// checker: 0,
|
1484
|
1505
|
}
|
1485
|
1506
|
)
|
|
1507
|
+ },
|
|
1508
|
+ getcheckData(val) {
|
|
1509
|
+ if (val.length > 0) {
|
|
1510
|
+ let message = `记录单未填数据:\n${val.join("\n")}`;
|
|
1511
|
+ Dialog.confirm({
|
|
1512
|
+ allowHtml: true,
|
|
1513
|
+ message: message,
|
|
1514
|
+ }).then(() => {
|
|
1515
|
+
|
|
1516
|
+ })
|
|
1517
|
+ .catch(() => {
|
|
1518
|
+
|
|
1519
|
+ });
|
|
1520
|
+
|
|
1521
|
+ return message
|
|
1522
|
+ } else {
|
|
1523
|
+ this.$toast('核对完成');
|
|
1524
|
+ }
|
1486
|
1525
|
}
|
1487
|
1526
|
},
|
1488
|
1527
|
watch: {
|
|
@@ -1520,8 +1559,8 @@ export default {
|
1520
|
1559
|
this.precaution_arr = getDataConfig('hemodialysis', 'precaution')
|
1521
|
1560
|
this.intake_arr = getDataConfig('hemodialysis', 'intake')
|
1522
|
1561
|
this.nutrition_arr = getDataConfig('hemodialysis', 'nutrition')
|
1523
|
|
- console.log('appetite_arr',this.appetite_arr);
|
1524
|
|
-
|
|
1562
|
+ console.log('appetite_arr', this.appetite_arr);
|
|
1563
|
+
|
1525
|
1564
|
var xtuser = this.$store.getters.user
|
1526
|
1565
|
this.org_id = xtuser.org.id
|
1527
|
1566
|
this.orgname = xtuser.org.org_name
|