|
@@ -34,7 +34,7 @@
|
34
|
34
|
{{ dialysisOrder && dialysisOrder.DeviceNumber && dialysisOrder.DeviceNumber.number.length > 0 ? dialysisOrder.DeviceNumber.number : patientInfo.DialysisSchedule.device_number.number }}
|
35
|
35
|
</div>
|
36
|
36
|
<div style="flex: 1;">
|
37
|
|
- 透析次数: {{ patientInfo.total_dialysis + patientInfo.user_sys_before_count ?
|
|
37
|
+ 透析次数: {{ patientInfo.total_dialysis + patientInfo.user_sys_before_count ?
|
38
|
38
|
patientInfo.total_dialysis + patientInfo.user_sys_before_count : "/" }}
|
39
|
39
|
</div>
|
40
|
40
|
</div>
|
|
@@ -59,7 +59,7 @@
|
59
|
59
|
{{ predialysis.systolic_blood_pressure ? predialysis.systolic_blood_pressure : ""}} /
|
60
|
60
|
{{ predialysis.diastolic_blood_pressure ? predialysis.diastolic_blood_pressure : ""}}mmHg
|
61
|
61
|
</div>
|
62
|
|
-
|
|
62
|
+
|
63
|
63
|
</td>
|
64
|
64
|
</tr>
|
65
|
65
|
|
|
@@ -122,7 +122,7 @@
|
122
|
122
|
<td colspan="3">
|
123
|
123
|
<div style="display: flex;flex-wrap: wrap;">
|
124
|
124
|
<div style="flex: 1;">
|
125
|
|
- 上次透后体重:{{predialysis.weight_after_last_transparency?predialysis.weight_after_last_transparency:'0' }}kg
|
|
125
|
+ 上次透后体重:{{lastWeight.weight_after?lastWeight.weight_after:'0' }}kg
|
126
|
126
|
</div>
|
127
|
127
|
<div style="flex: 1;">
|
128
|
128
|
本次透前体重:{{ predialysis.weight_before ? predialysis.weight_before : '0' }}kg
|
|
@@ -133,11 +133,11 @@
|
133
|
133
|
: ( predialysis.weight_before - lastWeight.weight_after).toFixed(2))
|
134
|
134
|
}}kg
|
135
|
135
|
</div>
|
136
|
|
-
|
|
136
|
+
|
137
|
137
|
</div>
|
138
|
138
|
</td>
|
139
|
139
|
</tr>
|
140
|
|
-
|
|
140
|
+
|
141
|
141
|
<tr>
|
142
|
142
|
<td colspan="3">
|
143
|
143
|
<div style="display: flex;flex-wrap: wrap;">
|
|
@@ -200,9 +200,9 @@
|
200
|
200
|
</td>
|
201
|
201
|
<td style="">
|
202
|
202
|
透析液:钾:
|
203
|
|
- <span style="">2.0</span>mmol/L
|
|
203
|
+ <span style="">2.0</span>mmol/L
|
204
|
204
|
钙:
|
205
|
|
- <span style="">1.5</span>mmol/L
|
|
205
|
+ <span style="">1.5</span>mmol/L
|
206
|
206
|
碳酸氢盐:
|
207
|
207
|
<span >32</span>mmol/L
|
208
|
208
|
钠:
|
|
@@ -217,7 +217,7 @@
|
217
|
217
|
血管通路:
|
218
|
218
|
{{ predialysis.blood_access_part_id ? predialysis.blood_access_part_id :'/' }}
|
219
|
219
|
{{ predialysis.blood_access_part_opera_name ? predialysis.blood_access_part_opera_name : '/' }}
|
220
|
|
-
|
|
220
|
+
|
221
|
221
|
</div>
|
222
|
222
|
<div style="display: inline-block;line-height: 30px;">
|
223
|
223
|
穿刺者:
|
|
@@ -544,111 +544,111 @@ export default {
|
544
|
544
|
},
|
545
|
545
|
methods: {
|
546
|
546
|
checkData(){
|
547
|
|
- if(this.receiverTreatmentAccess.sick_condition == 0){
|
548
|
|
- this.$message.error('病情评估未填')
|
549
|
|
- }else if(this.receiverTreatmentAccess.way == 0){
|
550
|
|
- this.$message.error('入科方式未填')
|
551
|
|
- }else if(this.prescription.mode_id == ""){
|
552
|
|
- this.$message.error('净化治疗方式未填')
|
553
|
|
- }else if(this.prescription.dialyzer_perfusion_apparatus == ""){
|
554
|
|
- this.$message.error('透析器或灌流器未填')
|
555
|
|
- }else if(this.predialysis.blood_access_part_opera_name == ''){
|
556
|
|
- this.$message.error('血管通路未填')
|
557
|
|
- }else if(this.predialysis.weight_before == 0){
|
558
|
|
- this.$message.error('透前体重未填')
|
559
|
|
- }else if(this.predialysis.dry_weight == 0){
|
560
|
|
- this.$message.error('干体重未填')
|
561
|
|
- }else if(this.prescription.target_ultrafiltration == 0){
|
562
|
|
- this.$message.error('预脱水量未填')
|
563
|
|
- }else if(this.prescription.dialysis_duration_hour == 0 && this.prescription.dialysis_duration_minute == 0){
|
564
|
|
- this.$message.error('透析时间未填')
|
565
|
|
- }else if(this.prescription.blood_flow_volume == 0){
|
566
|
|
- this.$message.error('血流量未填')
|
567
|
|
- }else if(this.prescription.displace_liqui_part == 0 && (this.prescription.mode_id == 2 || this.prescription.mode_id == 5 || this.prescription.mode_id == 12)){
|
568
|
|
- this.$message.error('置换方式未填')
|
569
|
|
- }else if(this.prescription.displace_liqui_value == 0 && (this.prescription.mode_id == 2 || this.prescription.mode_id == 5 || this.prescription.mode_id == 12)){
|
570
|
|
- this.$message.error('置换量未填')
|
571
|
|
- }else if(this.prescription.anticoagulant == 0){
|
572
|
|
- this.$message.error('抗凝剂未填')
|
573
|
|
- }else if(this.prescription.calcium == 0 && this.prescription.dialysate_formulation != 0){
|
574
|
|
- this.$message.error('钙未填')
|
575
|
|
- }else if(this.prescription.sodium == 0 && this.prescription.dialysate_formulation != 0){
|
576
|
|
- this.$message.error('钠未填')
|
577
|
|
- }else if(this.prescription.kalium == 0 && this.prescription.dialysate_formulation != 0){
|
578
|
|
- this.$message.error('钾未填')
|
579
|
|
- }else if(this.predialysis.complication == ''){
|
580
|
|
- this.$message.error('透前并发症未填')
|
581
|
|
- }else if(this.doctorForm.doctor == ""){
|
582
|
|
- this.$message.error('医生签名未填')
|
583
|
|
- }else if(this.orderForm.start_nurse == ""){
|
584
|
|
- this.$message.error('上机护士未填')
|
585
|
|
- }else if(this.check.modifier == 0){
|
586
|
|
- this.$message.error('核对护士未填')
|
587
|
|
- }else if(this.finshForm.finish_nurse == ""){
|
588
|
|
- this.$message.error('下机护士未填')
|
589
|
|
- }else if(this.afterdialysis.systolic_blood_pressure == 0 || this.afterdialysis.diastolic_blood_pressure == 0){
|
590
|
|
- this.$message.error('透后血压未填完整')
|
591
|
|
- }else if(this.afterdialysis.actual_treatment_hour == 0 && this.afterdialysis.actual_treatment_minute == 0){
|
592
|
|
- this.$message.error('实际治疗时间未填')
|
593
|
|
- }else if(this.afterdialysis.actual_ultrafiltration == 0){
|
594
|
|
- this.$message.error('实际超滤量未填')
|
595
|
|
- }else if(this.afterdialysis.puncture_point_oozing_blood == 0){
|
596
|
|
- this.$message.error('拔针后穿刺点渗血未填')
|
597
|
|
- }else if(this.afterdialysis.puncture_point_haematoma == 0){
|
598
|
|
- this.$message.error('穿刺处血肿未填')
|
599
|
|
- }else if(this.afterdialysis.internal_fistula == ""){
|
600
|
|
- this.$message.error('压迫后内瘘震颤未填')
|
601
|
|
- }else if(this.afterdialysis.complication == ''){
|
602
|
|
- this.$message.error('透后并发症未填')
|
603
|
|
- }else if(this.afterdialysis.cruor == ""){
|
604
|
|
- this.$message.error('透析器凝血未填')
|
605
|
|
- }else if(this.summary.dialysis_summary == ""){
|
606
|
|
- this.$message.error('透析小结未填')
|
607
|
|
- }else if(this.tableAdvice.length > 0){
|
|
547
|
+ var checkDate =[]
|
|
548
|
+ if(this.predialysis.symptom_before_dialysis_other == '' &&
|
|
549
|
+ this.predialysis.symptom_before_dialysis == ''
|
|
550
|
+ ){
|
|
551
|
+ const obj = "上机前病情"
|
|
552
|
+ checkDate.push(obj)
|
|
553
|
+ } if(this.predialysis.systolic_blood_pressure == '' &&
|
|
554
|
+ this.predialysis.diastolic_blood_pressure == ''
|
|
555
|
+ ){
|
|
556
|
+ const obj1 = "血压"
|
|
557
|
+ checkDate.push(obj1)
|
|
558
|
+ } if(this.prescription.mode == ""){
|
|
559
|
+ const obj2 = "治疗方式"
|
|
560
|
+ checkDate.push(obj2)
|
|
561
|
+ } if(this.prescription.displace_liqui_value == "" &&
|
|
562
|
+ (this.prescription.mode_id == 2 || this.prescription.mode_id == 5 || this.prescription.mode_id == 12)){
|
|
563
|
+ const obj3 = "置换量"
|
|
564
|
+ checkDate.push(obj3)
|
|
565
|
+ } if(this.afterdialysis.actual_treatment_hour == ''){
|
|
566
|
+ const obj4 = "治疗时间"
|
|
567
|
+ checkDate.push(obj4)
|
|
568
|
+ } if(this.prescription.anticoagulant == ''){
|
|
569
|
+ const obj5 = "抗凝剂未填"
|
|
570
|
+ checkDate.push(obj5)
|
|
571
|
+ } if(this.prescription.anticoagulant_shouji == 0 && this.prescription.anticoagulant=='普通肝素'){
|
|
572
|
+ const obj6 = "首剂"
|
|
573
|
+ checkDate.push(obj6)
|
|
574
|
+ } if(this.prescription.anticoagulant_weichi == 0 && this.prescription.anticoagulant=='普通肝素'){
|
|
575
|
+ const obj7 = "维持"
|
|
576
|
+ checkDate.push(obj7)
|
|
577
|
+ } if(this.prescription.anticoagulant_zongliang == 0 && this.prescription.anticoagulant=='普通肝素'){
|
|
578
|
+ const obj8 = "总量"
|
|
579
|
+ checkDate.push(obj8)
|
|
580
|
+ }
|
|
581
|
+ if(this.lastWeight.weight_after == 0){
|
|
582
|
+ const obj9 = "上次透后体重"
|
|
583
|
+ checkDate.push(obj9)
|
|
584
|
+ } if(this.predialysis.weight_before == 0){
|
|
585
|
+ const obj10 = "本次透前体重"
|
|
586
|
+ checkDate.push(obj10)
|
|
587
|
+ } if(this.predialysis.dry_weight == 0){
|
|
588
|
+ const obj11 = "干体重"
|
|
589
|
+ checkDate.push(obj11)
|
|
590
|
+ } if(this.afterdialysis.weight_after == 0){
|
|
591
|
+ const obj12 = "本次透后体重"
|
|
592
|
+ checkDate.push(obj12)
|
|
593
|
+ } if(this.prescription.target_ultrafiltration == 0){
|
|
594
|
+ const obj13 = "目标脱水量"
|
|
595
|
+ checkDate.push(obj13)
|
|
596
|
+ } if(this.prescription.prescription_water == 0){
|
|
597
|
+ const obj14 = "处方脱水量"
|
|
598
|
+ checkDate.push(obj14)
|
|
599
|
+ } if(this.prescription.creater == ""){
|
|
600
|
+ const obj15 = "医生签名"
|
|
601
|
+ checkDate.push(obj15)
|
|
602
|
+ } if(this.prescription.dialysate_flow == ''){
|
|
603
|
+ const obj16 = "透析液流量"
|
|
604
|
+ checkDate.push(obj16)
|
|
605
|
+ } if(this.prescription.blood_flow_volume == ''){
|
|
606
|
+ const obj17 = "血流量"
|
|
607
|
+ checkDate.push(obj17)
|
|
608
|
+ } if (this.predialysis.machine_type == '') {
|
|
609
|
+ const obj19 = "透析器"
|
|
610
|
+ checkDate.push(obj19)
|
|
611
|
+ } if (
|
|
612
|
+ this.prescription.dialysis_irrigation == '' &&
|
|
613
|
+ this.prescription.dialysis_dialyszers == '' &&
|
|
614
|
+ this.prescription.dialysis_strainer == ''
|
|
615
|
+ ){
|
|
616
|
+ const obj18 = "透析(滤)器"
|
|
617
|
+ checkDate.push(obj18)
|
|
618
|
+ } if (this.predialysis.blood_access_part_opera_name == ''){
|
|
619
|
+ const obj20 = "血管通路"
|
|
620
|
+ checkDate.push(obj20)
|
|
621
|
+ } if (this.dialysisOrder == null ||
|
|
622
|
+ this.dialysisOrder.puncture_nurse == 0
|
|
623
|
+ ) {
|
|
624
|
+ const obj21 = "穿刺者"
|
|
625
|
+ checkDate.push(obj21)
|
|
626
|
+ } if(this.summary.dialysis_summary == ""){
|
|
627
|
+ const obj22 = "透析小结"
|
|
628
|
+ checkDate.push(obj22)
|
|
629
|
+ } if (
|
|
630
|
+ this.dialysisOrder == null ||
|
|
631
|
+ this.dialysisOrder.start_nurse == 0
|
|
632
|
+ ) {
|
|
633
|
+ const obj23 = "护士签名"
|
|
634
|
+ checkDate.push(obj23)
|
|
635
|
+ }
|
|
636
|
+
|
|
637
|
+ if(this.tableAdvice.length > 0){
|
608
|
638
|
let num = 0
|
609
|
639
|
this.tableAdvice.map(item => {
|
610
|
640
|
if(item.id > 0 && (item.created_time || item.start_time)){
|
611
|
|
- this.users.map(it => {
|
612
|
|
- if(it.id == item.advice_doctor){
|
613
|
|
- if(it.user_type == 3){
|
614
|
|
- num++
|
615
|
|
- this.$message.closeAll()
|
616
|
|
- this.$message.error('存在不是医生保存的医嘱')
|
617
|
|
- }else if(it.id == item.execution_staff && item.execution_staff > 0){
|
618
|
|
- if(it.user_type == 2){
|
619
|
|
- num++
|
620
|
|
- this.$message.closeAll()
|
621
|
|
- this.$message.error('存在不是护士执行的医嘱')
|
622
|
|
- }
|
623
|
|
- }else if(it.id == item.checker && item.checker > 0){
|
624
|
|
- if(it.user_type == 2){
|
625
|
|
- num++
|
626
|
|
- this.$message.closeAll()
|
627
|
|
- this.$message.error('存在不是护士核对的医嘱')
|
628
|
|
- }
|
629
|
|
- }
|
630
|
|
- }else if(it.id == item.execution_staff && item.execution_staff > 0){
|
631
|
|
- if(it.user_type == 2){
|
632
|
|
- num++
|
633
|
|
- this.$message.closeAll()
|
634
|
|
- this.$message.error('存在不是护士执行的医嘱')
|
635
|
|
- }
|
636
|
|
- }else if(it.id == item.checker && item.checker > 0){
|
637
|
|
- if(it.user_type == 2){
|
638
|
|
- num++
|
639
|
|
- this.$message.closeAll()
|
640
|
|
- this.$message.error('存在不是护士核对的医嘱')
|
641
|
|
- }
|
642
|
|
- }
|
643
|
|
- })
|
|
641
|
+ if(item.execution_staff =='' || item.checker ==''){
|
|
642
|
+ const obj24 = '执行,核对'
|
|
643
|
+ checkDate.push(obj24)
|
|
644
|
+ }
|
644
|
645
|
}
|
645
|
646
|
})
|
646
|
647
|
if(num == 0){
|
647
|
|
- this.$message.success('核对完成')
|
|
648
|
+ this.$toast('核对完成')
|
648
|
649
|
}
|
649
|
|
- }else{
|
650
|
|
- this.$message.success('核对完成')
|
651
|
650
|
}
|
|
651
|
+ this.getcheckData(checkDate)
|
652
|
652
|
},
|
653
|
653
|
getUser() {
|
654
|
654
|
fetchAllAdminUsers().then(response => {
|
|
@@ -917,7 +917,7 @@ export default {
|
917
|
917
|
}
|
918
|
918
|
|
919
|
919
|
this.advices = response.data.data.advices;
|
920
|
|
-
|
|
920
|
+
|
921
|
921
|
console.log('response.data.data',response.data.data);
|
922
|
922
|
var DoctorAdvice = response.data.data.DoctorAdvice
|
923
|
923
|
var advices = response.data.data.advices;
|
|
@@ -971,9 +971,9 @@ export default {
|
971
|
971
|
if (tableAdvice.length === 3) {
|
972
|
972
|
|
973
|
973
|
var obj = { advice_name: "", start_time: "" };
|
974
|
|
-
|
|
974
|
+
|
975
|
975
|
var obj1 = { advice_name: "", start_time: "" };
|
976
|
|
-
|
|
976
|
+
|
977
|
977
|
// var obj2 = { advice_name: "", start_time: "" };
|
978
|
978
|
// var obj3 = { advice_name: "", start_time: "" };
|
979
|
979
|
tableAdvice.push(obj);
|
|
@@ -1003,13 +1003,6 @@ export default {
|
1003
|
1003
|
// tableAdvice.push(obj2);
|
1004
|
1004
|
this.tableAdvice = tableAdvice;
|
1005
|
1005
|
}
|
1006
|
|
- // if (tableAdvice.length === 6) {
|
1007
|
|
- // console.log('6666666',tableAdvice.length);
|
1008
|
|
- // var obj = { advice_name: "", start_time: "" };
|
1009
|
|
- // tableAdvice.push(obj);
|
1010
|
|
-
|
1011
|
|
- // this.tableAdvice = tableAdvice;
|
1012
|
|
- // }
|
1013
|
1006
|
|
1014
|
1007
|
if (tableAdvice.length >5) {
|
1015
|
1008
|
// var obj = { advice_name: "", start_time: "" };
|
|
@@ -1157,6 +1150,16 @@ export default {
|
1157
|
1150
|
return age
|
1158
|
1151
|
}
|
1159
|
1152
|
},
|
|
1153
|
+ getcheckData(val){
|
|
1154
|
+ if(val.length >0){
|
|
1155
|
+ const a = val.join(',')
|
|
1156
|
+ console.log('a',a);
|
|
1157
|
+ this.$toast(a +" 未填");
|
|
1158
|
+ return a
|
|
1159
|
+ }else{
|
|
1160
|
+ this.$toast('核对完成')
|
|
1161
|
+ }
|
|
1162
|
+ }
|
1160
|
1163
|
},
|
1161
|
1164
|
watch: {
|
1162
|
1165
|
"patientInfo.gender": function() {
|