|
@@ -5,44 +5,105 @@
|
5
|
5
|
width="854px">
|
6
|
6
|
|
7
|
7
|
<el-form :inline="true" class="demo-form-inline" :model="doubleReview" label-width="110px">
|
|
8
|
+
|
8
|
9
|
<el-form-item label="透析物品核查 : ">
|
9
|
10
|
<el-radio v-model="doubleReview.dialysis_item_check" label="1">正确</el-radio>
|
10
|
|
- <el-radio v-model="doubleReview.dialysis_item_check" label="2">错误</el-radio>
|
|
11
|
+ <!-- <el-radio v-model="doubleReview.dialysis_item_check" label="2">错误</el-radio> -->
|
11
|
12
|
</el-form-item>
|
12
|
13
|
<el-form-item label="差错描述 : " label-width="80px">
|
13
|
14
|
<el-input v-model="doubleReview.dialysis_item_desc"></el-input>
|
14
|
15
|
</el-form-item>
|
15
|
16
|
</el-form>
|
|
17
|
+
|
|
18
|
+ <el-form :inline="true" class="demo-form-inline" :model="doubleReview" label-width="110px" style="magin-left:10px">
|
|
19
|
+ <el-checkbox-group v-model="checkList" @change="changeBox">
|
|
20
|
+ <el-row>
|
|
21
|
+ <el-col>
|
|
22
|
+ <el-checkbox :label="diazes"></el-checkbox>
|
|
23
|
+ </el-col>
|
|
24
|
+
|
|
25
|
+ </el-row>
|
|
26
|
+ <el-row>
|
|
27
|
+ <el-checkbox :label="puncture_needle"></el-checkbox>
|
|
28
|
+ </el-row>
|
|
29
|
+ <el-row>
|
|
30
|
+ <el-checkbox :label="dialysate_formulation"></el-checkbox>
|
|
31
|
+ </el-row>
|
|
32
|
+ <el-row>
|
|
33
|
+ <el-checkbox :label="kalium"></el-checkbox>
|
|
34
|
+ </el-row>
|
|
35
|
+ <el-row>
|
|
36
|
+ <el-checkbox :label="calcium"></el-checkbox>
|
|
37
|
+ </el-row>
|
|
38
|
+
|
|
39
|
+ </el-checkbox-group>
|
|
40
|
+ </el-form>
|
16
|
41
|
<el-form :inline="true" class="demo-form-inline" :model="doubleReview" label-width="110px">
|
17
|
42
|
<el-form-item label="透析参数核查 : ">
|
18
|
43
|
<el-radio v-model="doubleReview.dialysis_parameter_check" label="1">正确</el-radio>
|
19
|
|
- <el-radio v-model="doubleReview.dialysis_parameter_check" label="2">错误</el-radio>
|
|
44
|
+ <!-- <el-radio v-model="doubleReview.dialysis_parameter_check" label="2">错误</el-radio> -->
|
20
|
45
|
</el-form-item>
|
21
|
46
|
<el-form-item label="差错描述 : " label-width="80px">
|
22
|
47
|
<el-input v-model="doubleReview.dialysis_parameter_desc"></el-input>
|
23
|
48
|
</el-form-item>
|
24
|
49
|
</el-form>
|
|
50
|
+ <el-form>
|
|
51
|
+ <el-checkbox-group v-model="checkListOne" >
|
|
52
|
+ <el-checkbox label="透析模式:"></el-checkbox>
|
|
53
|
+ <el-checkbox label="透析时长:"></el-checkbox>
|
|
54
|
+ <el-checkbox label="目标超滤量:"></el-checkbox>
|
|
55
|
+ <el-checkbox label="抗凝剂:" ></el-checkbox>
|
|
56
|
+ <el-checkbox label="首剂:"></el-checkbox>
|
|
57
|
+ <el-checkbox label="维持:"></el-checkbox>
|
|
58
|
+ <el-checkbox label="总量:"></el-checkbox>
|
|
59
|
+ <el-checkbox label="置换液:"></el-checkbox>
|
|
60
|
+ <el-checkbox label="置换总量:"></el-checkbox>
|
|
61
|
+ <el-checkbox label="处方血流量:"></el-checkbox>
|
|
62
|
+ <el-checkbox label="透析液流量:"></el-checkbox>
|
|
63
|
+ </el-checkbox-group>
|
|
64
|
+ </el-form>
|
25
|
65
|
<el-form :inline="true" class="demo-form-inline" :model="doubleReview" label-width="110px">
|
26
|
66
|
<el-form-item label="血管通路核查 : ">
|
27
|
67
|
|
28
|
68
|
<el-radio v-model="doubleReview.vascular_access_verification" label="1">正确</el-radio>
|
29
|
|
- <el-radio v-model="doubleReview.vascular_access_verification" label="2">错误</el-radio>
|
|
69
|
+ <!-- <el-radio v-model="doubleReview.vascular_access_verification" label="2">错误</el-radio> -->
|
30
|
70
|
|
31
|
71
|
</el-form-item>
|
32
|
72
|
<el-form-item label="差错描述 : " label-width="80px">
|
33
|
73
|
<el-input v-model="doubleReview.vascular_access_desc"></el-input>
|
34
|
74
|
</el-form-item>
|
35
|
75
|
</el-form>
|
|
76
|
+ <el-form>
|
|
77
|
+ <el-checkbox-group v-model="checkListTwo">
|
|
78
|
+ <el-checkbox label="通路类型:"></el-checkbox>
|
|
79
|
+ <el-checkbox label="动静脉接错"></el-checkbox>
|
|
80
|
+ <el-checkbox label="渗血"></el-checkbox>
|
|
81
|
+ <el-checkbox label="压迫" ></el-checkbox>
|
|
82
|
+ <el-checkbox label="折叠"></el-checkbox>
|
|
83
|
+ <el-checkbox label="滑脱"></el-checkbox>
|
|
84
|
+ </el-checkbox-group>
|
|
85
|
+ </el-form>
|
36
|
86
|
<el-form :inline="true" class="demo-form-inline" :model="doubleReview" label-width="110px">
|
37
|
87
|
<el-form-item label="管道连接核查 : ">
|
38
|
88
|
<el-radio v-model="doubleReview.pipeline_connection_check" label="1">正确</el-radio>
|
39
|
|
- <el-radio v-model="doubleReview.pipeline_connection_check" label="2">错误</el-radio>
|
|
89
|
+ <!-- <el-radio v-model="doubleReview.pipeline_connection_check" label="2">错误</el-radio> -->
|
40
|
90
|
</el-form-item>
|
41
|
91
|
<el-form-item label="差错描述 : " label-width="80px">
|
42
|
92
|
<el-input v-model="doubleReview.pipeline_connection_desc"></el-input>
|
43
|
93
|
</el-form-item>
|
44
|
94
|
</el-form>
|
45
|
|
-
|
|
95
|
+ <el-form>
|
|
96
|
+ <el-checkbox-group v-model="checkListThree">
|
|
97
|
+ <el-checkbox label="泵前补液测管未夹"></el-checkbox>
|
|
98
|
+ <el-checkbox label="肝素管夹未开启"></el-checkbox>
|
|
99
|
+ <el-checkbox label="透析器连接错误"></el-checkbox>
|
|
100
|
+ <el-checkbox label="动静脉壶页面不标准" ></el-checkbox>
|
|
101
|
+ <el-checkbox label="静脉管路未卡入保护夹"></el-checkbox>
|
|
102
|
+ <el-checkbox label="压力传感器夹未打开"></el-checkbox>
|
|
103
|
+ <el-checkbox label="接口连接松动"></el-checkbox>
|
|
104
|
+ <el-checkbox label="管路打折"></el-checkbox>
|
|
105
|
+ </el-checkbox-group>
|
|
106
|
+ </el-form>
|
46
|
107
|
<el-form :inline="true" class="demo-form-inline" :model="doubleReview" label-width="120px">
|
47
|
108
|
<el-form-item label="第一核对时间:">
|
48
|
109
|
<el-time-picker
|
|
@@ -99,7 +160,7 @@
|
99
|
160
|
import { postDoubleCheck } from '@/api/dialysis'
|
100
|
161
|
import { uParseTime } from '@/utils/tools'
|
101
|
162
|
import { parseTime } from '@/utils'
|
102
|
|
-
|
|
163
|
+ import { getDataConfig } from '@/utils/data'
|
103
|
164
|
export default {
|
104
|
165
|
name: 'doubleCheckDialog',
|
105
|
166
|
data() {
|
|
@@ -128,8 +189,17 @@
|
128
|
189
|
check_time: 0,
|
129
|
190
|
first_check_time: 0
|
130
|
191
|
},
|
131
|
|
-
|
132
|
|
- record_date: ''
|
|
192
|
+ dialysate_formulation_options:[],
|
|
193
|
+ record_date: '',
|
|
194
|
+ checkList: [],
|
|
195
|
+ checkListOne:[],
|
|
196
|
+ checkListTwo:[],
|
|
197
|
+ checkListThree:[],
|
|
198
|
+ diazes:"透析器/灌流器:",
|
|
199
|
+ puncture_needle:"穿刺针:",
|
|
200
|
+ dialysate_formulation:"透析液配方:",
|
|
201
|
+ kalium:"钾:",
|
|
202
|
+ calcium:"钙:",
|
133
|
203
|
}
|
134
|
204
|
}, methods: {
|
135
|
205
|
show() {
|
|
@@ -464,6 +534,46 @@
|
464
|
534
|
}
|
465
|
535
|
}
|
466
|
536
|
},
|
|
537
|
+ changeBox(val){
|
|
538
|
+ console.log("val2222222",this.prescription)
|
|
539
|
+ console.log("3333333",this.predialysis_evaluation)
|
|
540
|
+ var arr = []
|
|
541
|
+ var str = val.join(';')
|
|
542
|
+ console.log("strw222222222",str)
|
|
543
|
+ if(str.indexOf('透析器/灌流器')!=-1 && this.prescription!=null){
|
|
544
|
+ arr.push("透析器/灌流器:"+this.prescription.dialyzer_perfusion_apparatus)
|
|
545
|
+ }
|
|
546
|
+ if(str.indexOf('透析器/灌流器')!=-1 && this.prescription==null){
|
|
547
|
+ arr.push("透析器/灌流器:")
|
|
548
|
+ }
|
|
549
|
+ if(str.indexOf('穿刺针')!=-1 && this.predialysis_evaluation.id!=0){
|
|
550
|
+ arr.push("穿刺针:"+this.predialysis_evaluation.puncture_needle)
|
|
551
|
+ }
|
|
552
|
+ if(str.indexOf('透析液配方')!=-1 && this.GetDialysateFormulationById(this.prescription.dialysate_formulation)!=null){
|
|
553
|
+ arr.push("透析液配方:"+this.GetDialysateFormulationById(this.prescription.dialysate_formulation))
|
|
554
|
+ }
|
|
555
|
+ if(str.indexOf('钾')!=-1 ){
|
|
556
|
+ arr.push("钾:"+this.prescription.kalium)
|
|
557
|
+ }
|
|
558
|
+ if(str.indexOf('钙')!=-1 ){
|
|
559
|
+ arr.push("钙:"+this.prescription.calcium)
|
|
560
|
+ }
|
|
561
|
+ console.log("arr",arr)
|
|
562
|
+ this.doubleReview.dialysis_item_desc = arr.join(";")
|
|
563
|
+ },
|
|
564
|
+ GetDialysateFormulationById(val) {
|
|
565
|
+ this.dialysate_formulation_options = getDataConfig('hemodialysis','dialysate_formulation')
|
|
566
|
+ console.log("透析液配方",this.dialysate_formulation_options)
|
|
567
|
+ let name = ''
|
|
568
|
+ let dfl = this.dialysate_formulation_options.length
|
|
569
|
+ for (let index = 0; index < dfl; index++) {
|
|
570
|
+ if (this.dialysate_formulation_options[index].id == val) {
|
|
571
|
+ name = this.dialysate_formulation_options[index].name
|
|
572
|
+ break
|
|
573
|
+ }
|
|
574
|
+ }
|
|
575
|
+ return name
|
|
576
|
+ },
|
467
|
577
|
},
|
468
|
578
|
|
469
|
579
|
props: {
|
|
@@ -485,13 +595,38 @@
|
485
|
595
|
default: () => {
|
486
|
596
|
return { id: 0 }
|
487
|
597
|
}
|
488
|
|
- }
|
|
598
|
+ },
|
|
599
|
+ predialysis_evaluation: { // 透前评估
|
|
600
|
+ type: Object,
|
|
601
|
+ default: () => {
|
|
602
|
+ return { id: 0 }
|
|
603
|
+ }
|
|
604
|
+ },
|
|
605
|
+ prescription: {
|
|
606
|
+ // 透析处方
|
|
607
|
+ type: Object,
|
|
608
|
+ default: () => {
|
|
609
|
+ return { id: 0 }
|
|
610
|
+ }
|
|
611
|
+ },
|
489
|
612
|
|
490
|
613
|
},
|
491
|
614
|
watch: {
|
492
|
615
|
isVisibility(val) {
|
493
|
|
-
|
494
|
|
- }, 'double_check.id': function() {
|
|
616
|
+ console.log("333333333",this.patient)
|
|
617
|
+ console.log("透前评估23455",this.predialysis_evaluation)
|
|
618
|
+ console.log("透析处方23567",this.prescription)
|
|
619
|
+ if(this.prescription=null && this.prescription.id!=0){
|
|
620
|
+ this.diazes = this.diazes + this.prescription.dialyzer_perfusion_apparatus
|
|
621
|
+ this.dialysate_formulation = this.dialysate_formulation + this.GetDialysateFormulationById(this.prescription.dialysate_formulation)
|
|
622
|
+ this.kalium = this.kalium + this.prescription.kalium
|
|
623
|
+ this.calcium = this.calcium + this.prescription.calcium
|
|
624
|
+ }
|
|
625
|
+ if(this.predialysis_evaluation!=null && this.predialysis_evaluation.id!=0){
|
|
626
|
+ this.puncture_needle = this.puncture_needle + this.predialysis_evaluation.puncture_needle
|
|
627
|
+ }
|
|
628
|
+ },
|
|
629
|
+ 'double_check.id': function() {
|
495
|
630
|
if (this.double_check.id > 0) {
|
496
|
631
|
for (var index in this.doubleReview) {
|
497
|
632
|
this.doubleReview[index] = this.double_check[index] + ''
|
|
@@ -558,6 +693,7 @@
|
558
|
693
|
|
559
|
694
|
},
|
560
|
695
|
created() {
|
|
696
|
+
|
561
|
697
|
var date = this.$route.query && this.$route.query.date
|
562
|
698
|
this.record_date = uParseTime(date, '{y}-{m}-{d}')
|
563
|
699
|
|
|
@@ -571,7 +707,7 @@
|
571
|
707
|
this.check_time = (nowHours < 10 ? '0' + nowHours : nowHours) + ':' + (nowMinutes < 10 ? '0' + nowMinutes : nowMinutes)
|
572
|
708
|
}
|
573
|
709
|
this.first_check_time = (nowHours < 10 ? '0' + nowHours : nowHours) + ':' + (nowMinutes < 10 ? '0' + nowMinutes : nowMinutes)
|
574
|
|
-
|
|
710
|
+
|
575
|
711
|
}
|
576
|
712
|
|
577
|
713
|
}
|