XMLWAN 4 년 전
부모
커밋
bf98a02d1b
2개의 변경된 파일603개의 추가작업 그리고 29개의 파일을 삭제
  1. 2 2
      config/index.js
  2. 601 27
      src/xt_pages/dialysis/details/dialog/doubleCheckDialog.vue

+ 2 - 2
config/index.js 파일 보기

@@ -29,8 +29,8 @@ module.exports = {
29 29
 
30 30
      // host: 'xt.test.sgjyun.com',
31 31
     //  host: 'xt.kuyicloud.com',
32
-    // host: 'xt.test.sgjyun.com',
33
-    host: 'localhost',
32
+    host: 'xt.test.sgjyun.com',
33
+    // host: 'localhost',
34 34
     port: 9528, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
35 35
     autoOpenBrowser: true,
36 36
     errorOverlay: true,

+ 601 - 27
src/xt_pages/dialysis/details/dialog/doubleCheckDialog.vue 파일 보기

@@ -4,45 +4,94 @@
4 4
              :modal-append-to-body="false"
5 5
              width="854px">
6 6
 
7
-    <el-form :inline="true" class="demo-form-inline" :model="doubleReview" label-width="110px">
7
+    <el-form :inline="true" class="demo-form-inline newInline" :model="doubleReview" label-width="105px">
8
+      
8 9
       <el-form-item label="透析物品核查 : ">
9
-        <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>
10
+        <el-radio v-model="doubleReview.dialysis_item_check" label="1" @change="changeRadio">正确</el-radio>
11
+        <!-- <el-radio v-model="doubleReview.dialysis_item_check" label="2">错误</el-radio> -->
11 12
       </el-form-item>
12
-      <el-form-item label="差错描述 : " label-width="80px">
13
+      <el-form-item class="newItem" label="差错描述 : " label-width="90px">
13 14
         <el-input v-model="doubleReview.dialysis_item_desc"></el-input>
14 15
       </el-form-item>
15 16
     </el-form>
16
-    <el-form :inline="true" class="demo-form-inline" :model="doubleReview" label-width="110px">
17
+   
18
+   <el-form :inline="true" class="demo-form-inline newCheckBox" :model="doubleReview" label-width="110px">
19
+       <el-checkbox-group v-model="checkList" @change="changeBox">
20
+          <el-checkbox :label="diazes"></el-checkbox>
21
+          <el-checkbox :label="puncture_needle"></el-checkbox>
22
+          <el-checkbox :label="dialysate_formulation"></el-checkbox>
23
+          <el-checkbox :label="kalium"></el-checkbox>
24
+          <el-checkbox :label="calcium"></el-checkbox>
25
+       </el-checkbox-group>
26
+    </el-form>
27
+    <el-form :inline="true" class="demo-form-inline newInline" :model="doubleReview" label-width="105px">
17 28
       <el-form-item label="透析参数核查 : ">
18
-        <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>
29
+        <el-radio v-model="doubleReview.dialysis_parameter_check" label="1" @change="changeRadioTwo">正确</el-radio>
30
+        <!-- <el-radio v-model="doubleReview.dialysis_parameter_check" label="2">错误</el-radio> -->
20 31
       </el-form-item>
21
-      <el-form-item label="差错描述 : " label-width="80px">
32
+      <el-form-item class="newItem" label="差错描述 : " label-width="90px">
22 33
         <el-input v-model="doubleReview.dialysis_parameter_desc"></el-input>
23 34
       </el-form-item>
24 35
     </el-form>
25
-    <el-form :inline="true" class="demo-form-inline" :model="doubleReview" label-width="110px">
36
+    <el-form class="newCheckBox">
37
+     <el-checkbox-group v-model="checkListOne" @change="changeBoxOne" >
38
+        <el-checkbox :label="dialys_mode"></el-checkbox>
39
+        <el-checkbox :label="long_time"></el-checkbox>
40
+        <el-checkbox :label="target_ultrafiltration"></el-checkbox>
41
+        <el-checkbox :label="anticoagulant" ></el-checkbox>
42
+        <el-checkbox :label="anticoagulant_shouji"></el-checkbox>
43
+        <el-checkbox :label="anticoagulant_weichi"></el-checkbox>
44
+        <el-checkbox :label="anticoagulant_zongliang"></el-checkbox>
45
+        <el-checkbox :label="displace_liqui_part"></el-checkbox>
46
+        <el-checkbox :label="replacement_total"></el-checkbox>
47
+        <el-checkbox :label="blood_flow_volume"></el-checkbox>
48
+        <el-checkbox :label="dialysate_flow"></el-checkbox>
49
+     </el-checkbox-group>
50
+    </el-form>
51
+    <el-form :inline="true" class="demo-form-inline newInline" :model="doubleReview" label-width="105px">
26 52
       <el-form-item label="血管通路核查 : ">
27 53
 
28
-        <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>
54
+        <el-radio v-model="doubleReview.vascular_access_verification" label="1" @change="changeRadioThree">正确</el-radio>
55
+        <!-- <el-radio v-model="doubleReview.vascular_access_verification" label="2">错误</el-radio> -->
30 56
 
31 57
       </el-form-item>
32
-      <el-form-item label="差错描述 : " label-width="80px">
58
+      <el-form-item class="newItem" label="差错描述 : " label-width="90px">
33 59
         <el-input v-model="doubleReview.vascular_access_desc"></el-input>
34 60
       </el-form-item>
35 61
     </el-form>
36
-    <el-form :inline="true" class="demo-form-inline" :model="doubleReview" label-width="110px">
62
+    <el-form class="newCheckBox">
63
+       <el-checkbox-group v-model="checkListTwo" @change="changeBoxTwo">
64
+        <el-checkbox :label="blood_access_part_opera_id">
65
+
66
+        </el-checkbox>
67
+        <el-checkbox label="动静脉接错"></el-checkbox>
68
+        <el-checkbox label="渗血"></el-checkbox>
69
+        <el-checkbox label="压迫" ></el-checkbox>
70
+        <el-checkbox label="折叠"></el-checkbox>
71
+        <el-checkbox label="滑脱"></el-checkbox>
72
+     </el-checkbox-group>
73
+    </el-form>
74
+    <el-form :inline="true" class="demo-form-inline newInline" :model="doubleReview" label-width="105px">
37 75
       <el-form-item label="管道连接核查 : ">
38
-        <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>
76
+        <el-radio v-model="doubleReview.pipeline_connection_check" label="1" @change="changeRadioFour">正确</el-radio>
77
+        <!-- <el-radio v-model="doubleReview.pipeline_connection_check" label="2">错误</el-radio> -->
40 78
       </el-form-item>
41
-      <el-form-item label="差错描述 : " label-width="80px">
79
+      <el-form-item class="newItem" label="差错描述 : " label-width="90px">
42 80
         <el-input v-model="doubleReview.pipeline_connection_desc"></el-input>
43 81
       </el-form-item>
44 82
     </el-form>
45
-
83
+    <el-form class="newCheckBox">
84
+      <el-checkbox-group v-model="checkListThree" @change="changeBoxThree">
85
+        <el-checkbox label="泵前补液测管未夹"></el-checkbox>
86
+        <el-checkbox label="肝素管夹未开启"></el-checkbox>
87
+        <el-checkbox label="透析器连接错误"></el-checkbox>
88
+        <el-checkbox label="动静脉壶页面不标准" ></el-checkbox>
89
+        <el-checkbox label="静脉管路未卡入保护夹"></el-checkbox>
90
+        <el-checkbox label="压力传感器夹未打开"></el-checkbox>
91
+        <el-checkbox label="接口连接松动"></el-checkbox>
92
+        <el-checkbox label="管路打折"></el-checkbox>
93
+     </el-checkbox-group>
94
+    </el-form>
46 95
     <el-form :inline="true" class="demo-form-inline" :model="doubleReview" label-width="120px">
47 96
       <el-form-item label="第一核对时间:">
48 97
         <el-time-picker
@@ -99,7 +148,7 @@
99 148
   import { postDoubleCheck } from '@/api/dialysis'
100 149
   import { uParseTime } from '@/utils/tools'
101 150
   import { parseTime } from '@/utils'
102
-
151
+  import { getDataConfig } from '@/utils/data'
103 152
   export default {
104 153
     name: 'doubleCheckDialog',
105 154
     data() {
@@ -128,8 +177,29 @@
128 177
           check_time: 0,
129 178
           first_check_time: 0
130 179
         },
131
-
132
-        record_date: ''
180
+        dialysate_formulation_options:[],
181
+        record_date: '',
182
+        checkList: [],
183
+        checkListOne:[],
184
+        checkListTwo:[],
185
+        checkListThree:[],
186
+        diazes:"透析器/灌流器:",
187
+        puncture_needle:"穿刺针:",
188
+        dialysate_formulation:"透析液配方:",
189
+        kalium:"钾:",
190
+        calcium:"钙:",
191
+        dialys_mode:"透析模式:",
192
+        long_time:"透析时长:",
193
+        target_ultrafiltration:"目标超滤量:",
194
+        anticoagulant:"抗凝剂:",
195
+        anticoagulant_shouji:"首剂:",
196
+        anticoagulant_weichi:"维持:",
197
+        anticoagulant_zongliang:"总量:",
198
+        displace_liqui_part:"置换液:",
199
+        replacement_total:"置换总量:",
200
+        blood_flow_volume:"处方血流量:",
201
+        dialysate_flow:"透析液流量:",
202
+        blood_access_part_opera_id:"通路类型:"
133 203
       }
134 204
     }, methods: {
135 205
       show() {
@@ -187,7 +257,8 @@
187 257
       handleCancle: function() {
188 258
         this.isVisibility = false
189 259
 
190
-      }, handleComfirm: function() {
260
+      }, 
261
+      handleComfirm: function() {
191 262
 
192 263
         if (this.patient.id <= 0) {
193 264
           this.$message.error('没有选择患者')
@@ -259,6 +330,7 @@
259 330
             // }
260 331
 
261 332
             let doublecheck_resp = response.data.data.doubleCheck
333
+         
262 334
             var doubleCheck = this.double_check
263 335
             for (var index in doublecheck_resp) {
264 336
               // doubleCheck[index] = doublecheck_resp[index];
@@ -464,6 +536,355 @@
464 536
           }
465 537
         }
466 538
       },
539
+      changeBox(val){
540
+         
541
+         var arr = []
542
+         var str = val.join(';')
543
+         console.log("strw222222222",str)
544
+        if(str.indexOf('透析器/灌流器')!=-1 && this.prescription!=null){
545
+            arr.push("透析器/灌流器:"+(this.prescription.dialyzer_perfusion_apparatus?this.prescription.dialyzer_perfusion_apparatus:""))
546
+        }
547
+
548
+       if(str.indexOf('透析器/灌流器')!=-1 && this.prescription==null){
549
+            arr.push("透析器/灌流器:")
550
+        }
551
+       
552
+        if(str.indexOf('穿刺针')!=-1 && this.predialysis_evaluation.id!=0){
553
+           arr.push("穿刺针:"+this.predialysis_evaluation.puncture_needle)
554
+        }
555
+
556
+         if(str.indexOf('穿刺针')!=-1 && this.predialysis_evaluation.id==0){
557
+           arr.push("穿刺针:")
558
+        }
559
+        
560
+        if(str.indexOf('透析液配方')!=-1 && this.prescription!=null){
561
+           arr.push("透析液配方:"+this.GetDialysateFormulationById(this.prescription.dialysate_formulation))
562
+        }
563
+
564
+       if(str.indexOf('透析液配方')!=-1 && this.prescription==null){
565
+           arr.push("透析液配方:")
566
+        }
567
+        if(str.indexOf('钾')!=-1 && this.prescription!=null ){
568
+          arr.push("钾:"+this.prescription.kalium)
569
+        }
570
+        if(str.indexOf('钾')!=-1 && this.prescription==null ){
571
+          arr.push("钾:")
572
+        }
573
+        if(str.indexOf('钙')!=-1 && this.prescription!=null ){
574
+          arr.push("钙:"+this.prescription.calcium)
575
+        }
576
+        if(str.indexOf('钙')!=-1 && this.prescription==null ){
577
+          arr.push("钙:")
578
+        }
579
+        console.log("arr",arr)
580
+        this.doubleReview.dialysis_item_desc = arr.join(";")
581
+        if(val.length > 0){
582
+          this.doubleReview.dialysis_item_check = 2
583
+        }else{
584
+          this.doubleReview.dialysis_item_check = "1"
585
+        }
586
+      },
587
+      changeBoxOne(val){
588
+         var arr = []
589
+         var str = val.join(';')
590
+         console.log("strw222222222",str)
591
+        if(str.indexOf('透析模式')!=-1 && this.prescription!=null){
592
+            arr.push("透析模式:"+(this.getMode(this.prescription.mode_id)?this.getMode(this.prescription.mode_id):""))
593
+        }
594
+         if(str.indexOf('透析模式')!=-1 && this.prescription==null){
595
+            arr.push("透析模式:")
596
+         } 
597
+
598
+         if(str.indexOf('透析时长')!=-1 && this.prescription!=null){
599
+            arr.push("透析时长:"+this.prescription.dialysis_duration)
600
+         }
601
+
602
+        if(str.indexOf('透析时长')!=-1 && this.prescription==null){
603
+            arr.push("透析时长:")
604
+         }
605
+        
606
+        if(str.indexOf("目标超滤量")!=-1 && this.prescription!=null){
607
+           arr.push("目标超滤量:"+this.prescription.target_ultrafiltration)
608
+        }
609
+        if(str.indexOf("目标超滤量")!=-1 && this.prescription==null){
610
+           arr.push("目标超滤量:")
611
+        }
612
+        if(str.indexOf("抗凝剂")!=-1 && this.prescription!=null){
613
+           arr.push("抗凝剂:"+this.prescription.anticoagulant)
614
+        }
615
+       if(str.indexOf("抗凝剂")!=-1 && this.prescription==null){
616
+           arr.push("抗凝剂:")
617
+        }
618
+        if(str.indexOf("首剂")!=-1 && this.prescription!=null){
619
+           arr.push("首剂:"+this.prescription.anticoagulant_shouji)
620
+        }
621
+        if(str.indexOf("首剂")!=-1 && this.prescription==null){
622
+           arr.push("首剂:")
623
+        }
624
+       if(str.indexOf("维持")!=-1 && this.prescription!=null){
625
+           arr.push("维持:"+this.prescription.anticoagulant_weichi)
626
+        }
627
+
628
+        if(str.indexOf("维持")!=-1 && this.prescription==null){
629
+           arr.push("维持:")
630
+        }
631
+
632
+        if(str.indexOf("总量")!=-1 && this.prescription!=null){
633
+           arr.push("总量:"+this.prescription.anticoagulant_zongliang)
634
+        }
635
+        
636
+        if(str.indexOf("总量")!=-1 && this.prescription==null){
637
+           arr.push("总量:")
638
+        }
639
+
640
+       if(str.indexOf("置换液")!=-1 && this.prescription!=null){
641
+           arr.push("置换液:"+this.prescription.displace_liqui_part)
642
+        } 
643
+
644
+       if(str.indexOf("置换液")!=-1 && this.prescription==null){
645
+           arr.push("置换液:")
646
+        } 
647
+      
648
+       if(str.indexOf("置换总量")!=-1 && this.prescription!=null){
649
+           arr.push("置换总量:"+this.prescription.replacement_total)
650
+        } 
651
+
652
+        if(str.indexOf("置换总量")!=-1 && this.prescription==null){
653
+           arr.push("置换总量:")
654
+        } 
655
+
656
+       if(str.indexOf("处方血流量")!=-1 && this.prescription!=null){
657
+           arr.push("处方血流量:"+this.prescription.blood_flow_volume)
658
+        } 
659
+
660
+       if(str.indexOf("处方血流量")!=-1 && this.prescription==null){
661
+           arr.push("处方血流量:")
662
+        } 
663
+       
664
+       if(str.indexOf("透析液流量")!=-1 && this.prescription!=null){
665
+           arr.push("透析液流量:"+this.prescription.dialysate_flow)
666
+        } 
667
+
668
+       if(str.indexOf("透析液流量")!=-1 && this.prescription==null){
669
+           arr.push("透析液流量:")
670
+        } 
671
+        console.log("arr",arr)
672
+        this.doubleReview.dialysis_parameter_desc = arr.join(";")
673
+        if(val.length>0){
674
+          this.doubleReview.dialysis_parameter_check = 2
675
+        }else{
676
+          this.doubleReview.dialysis_parameter_check = "1"
677
+        }
678
+      },
679
+      changeBoxTwo(val){
680
+         var arr = []
681
+         var str = val.join(';')
682
+         console.log("strw222222222",str)
683
+ 
684
+          if(str.indexOf('通路类型')!=-1 && this.predialysis_evaluation.id!=0){
685
+            arr.push("通路类型:"+this.getBloodAccess(this.predialysis_evaluation.blood_access_part_opera_id))
686
+          
687
+          }
688
+
689
+          if(str.indexOf('通路类型')!=-1 && this.predialysis_evaluation.id==0){
690
+            arr.push("通路类型:")
691
+          }
692
+          if(str.indexOf('动静脉接错')!=-1){
693
+             arr.push("动静脉接错:")
694
+          }
695
+          if(str.indexOf('渗血')!=-1){
696
+             arr.push("渗血:")
697
+          }
698
+         if(str.indexOf('压迫')!=-1){
699
+             arr.push("压迫:")
700
+          }
701
+          if(str.indexOf('折叠')!=-1){
702
+             arr.push("折叠:")
703
+          }
704
+          if(str.indexOf('滑脱')!=-1){
705
+             arr.push("滑脱:")
706
+          }
707
+        console.log("arr",arr)
708
+        this.doubleReview.vascular_access_desc = arr.join(";")
709
+        if(val.length>0){
710
+          this.doubleReview.vascular_access_verification = 2
711
+        }else{
712
+          this.doubleReview.vascular_access_verification = "1"
713
+        }
714
+      },
715
+      changeBoxThree(val){
716
+         var arr = []
717
+         var str = val.join(';')
718
+         console.log("strw222222222",str)
719
+         if(str.indexOf('泵前补液测管未夹')!=-1){
720
+           arr.push("泵前补液测管未夹:")
721
+         }
722
+         if(str.indexOf('肝素管夹未开启')!=-1){
723
+           arr.push("肝素管夹未开启:")
724
+         }
725
+         if(str.indexOf('透析器连接错误')!=-1){
726
+           arr.push("透析器连接错误:")
727
+         }
728
+        if(str.indexOf('动静脉壶页面不标准')!=-1){
729
+           arr.push("动静脉壶页面不标准:")
730
+         }
731
+          if(str.indexOf('静脉管路未卡入保护夹')!=-1){
732
+           arr.push("静脉管路未卡入保护夹:")
733
+         }
734
+         if(str.indexOf("压力传感器夹未打开")!=-1){
735
+           arr.push("压力传感器夹未打开")
736
+         }
737
+         if(str.indexOf('接口连接松动')!=-1){
738
+            arr.push("接口连接松动")
739
+         }
740
+         if(str.indexOf("管路打折")!=-1){
741
+           arr.push("管路打折")
742
+         }
743
+         this.doubleReview.pipeline_connection_desc = arr.join(";")
744
+         if(val.length > 0){
745
+          this.doubleReview.pipeline_connection_check = 2
746
+         }else{
747
+           this.doubleReview.pipeline_connection_check = "1"
748
+         }
749
+      },
750
+
751
+      changeRadio(val){
752
+        if(val == 1){
753
+         this.doubleReview.dialysis_item_desc = ""
754
+         this.checkList =[]
755
+        }
756
+      },
757
+      changeRadioTwo(val){
758
+        if(val == 1){
759
+          this.doubleReview.dialysis_parameter_desc = ""
760
+          this.checkListOne = []
761
+        }
762
+      },
763
+      changeRadioThree(val){
764
+         if(val == 1){
765
+           this.doubleReview.vascular_access_desc = ""
766
+           this.checkListTwo = []
767
+         }
768
+      },
769
+      changeRadioFour(val){
770
+         if(val == 1){
771
+           this.doubleReview.pipeline_connection_desc = ""
772
+           this.checkListThree = [] 
773
+         }
774
+      },
775
+
776
+      GetDialysateFormulationById(val) {
777
+         this.dialysate_formulation_options = getDataConfig('hemodialysis','dialysate_formulation')
778
+         console.log("透析液配方",this.dialysate_formulation_options)
779
+        let name = ''
780
+        let dfl = this.dialysate_formulation_options.length
781
+        for (let index = 0; index < dfl; index++) {
782
+          if (this.dialysate_formulation_options[index].id == val) {
783
+            name = this.dialysate_formulation_options[index].name
784
+            break
785
+          }
786
+        }
787
+        return name
788
+     },
789
+      getMode(id){
790
+       var name = ""
791
+        if(id == 1){
792
+          name = "HD"
793
+        }
794
+        if(id == 2){
795
+          name = "HDF"
796
+        }
797
+
798
+        if(id == 3){
799
+          name = "HD+HP"
800
+        }
801
+
802
+        if(id == 4){
803
+          name = "HP"
804
+        }
805
+        if(id == 5){
806
+          name = "HF"
807
+        }
808
+       if(id == 6){
809
+          name = "SCUF"
810
+        }
811
+       if(id == 7){
812
+          name = "IUF"
813
+        }
814
+       if(id == 8){
815
+          name = "HFHD"
816
+        }
817
+
818
+       if(id == 9){
819
+          name = "HFHD+HP"
820
+        }
821
+       if(id == 10){
822
+          name = "PHF"
823
+        }
824
+
825
+       if(id == 11){
826
+          name = "HFR"
827
+        }
828
+
829
+        if(id == 12){
830
+          name = "HDF+HP"
831
+        }
832
+
833
+        if(id == 13){
834
+          name = "CRRT"
835
+        }
836
+
837
+        if(id == 14){
838
+          name = "腹水回输"
839
+        }
840
+        if(id == 19){
841
+          name = "IUF+HD"
842
+        }
843
+        if(id == 20){
844
+          name = "UF"
845
+        }
846
+        return name
847
+     },
848
+
849
+     getAnticoagulant(id){
850
+       var name = ""
851
+       if(id == 1){
852
+         name = "无肝素"
853
+       }
854
+       if(id == 2){
855
+         name = "普通肝素"
856
+       }
857
+       if(id == 3){
858
+         name = "低分子肝素"
859
+       }
860
+       if(id == 4){
861
+         name = "阿加曲班"
862
+       }
863
+       if(id == 5){
864
+         name = "枸橼酸钠"
865
+       }
866
+       if(id == 6){
867
+         name ="低分子肝素钙"
868
+       }
869
+       if(id == 7){
870
+         name = "低分子肝素钠"
871
+       }
872
+       return name
873
+     },
874
+     getBloodAccess(id){
875
+       
876
+        let vascular_access_desc = getDataConfig(
877
+          'hemodialysis',
878
+          'vascular_access_desc'
879
+        )
880
+        var name = ""
881
+        for(let i=0;i<vascular_access_desc.length;i++){
882
+          if(vascular_access_desc[i].id == id){
883
+             name = vascular_access_desc[i].name
884
+          }
885
+        }
886
+        return name
887
+     }
467 888
     },
468 889
 
469 890
     props: {
@@ -485,13 +906,149 @@
485 906
         default: () => {
486 907
           return { id: 0 }
487 908
         }
488
-      }
909
+      },
910
+      predialysis_evaluation: { // 透前评估
911
+        type: Object,
912
+        default: () => {
913
+          return { id: 0 }
914
+        }
915
+      },
916
+      prescription: {
917
+        // 透析处方
918
+        type: Object,
919
+        default: () => {
920
+          return { id: 0 }
921
+        }
922
+      },
489 923
 
490 924
     },
491 925
     watch: {
492 926
       isVisibility(val) {
493
-
494
-      }, 'double_check.id': function() {
927
+         console.log("333333333",this.patient)
928
+        console.log("透前评估23455",this.predialysis_evaluation)
929
+        console.log("透析处方23567",this.prescription)
930
+        console.log("双人核对",this.double_check)
931
+        if(this.prescription!=null && this.prescription.id!=0){
932
+          this.diazes = this.diazes + this.prescription.dialyzer_perfusion_apparatus
933
+          this.dialysate_formulation = this.dialysate_formulation + this.GetDialysateFormulationById(this.prescription.dialysate_formulation)
934
+         
935
+          this.kalium = this.kalium + (this.prescription.kalium?this.prescription.kalium:"")
936
+         
937
+          this.calcium = this.calcium + (this.prescription.calcium?this.prescription.calcium:"")
938
+          this.dialys_mode = this.dialys_mode + this.getMode(this.prescription.mode_id)
939
+          this.long_time = this.long_time + (this.prescription.dialysis_duration?this.prescription.dialysate_formulation:"")
940
+          this.target_ultrafiltration = this.target_ultrafiltration + (this.prescription.target_ultrafiltration?this.prescription.target_ultrafiltration:"")
941
+          this.anticoagulant = this.anticoagulant + this.getAnticoagulant(this.prescription.anticoagulant)
942
+          this.anticoagulant_shouji = this.anticoagulant_shouji + (this.prescription.anticoagulant_shouji?this.prescription.anticoagulant_shouji:"")
943
+          this.anticoagulant_weichi = this.anticoagulant_weichi + (this.prescription.anticoagulant_weichi?this.prescription.anticoagulant_weichi:"")
944
+          this.anticoagulant_zongliang = this.anticoagulant_zongliang+(this.prescription.anticoagulant_zongliang?this.prescription.anticoagulant_zongliang:"")
945
+          this.displace_liqui_part = this.displace_liqui_part + (this.prescription.displace_liqui_part?this.prescription.displace_liqui_part:"")
946
+          this.replacement_total = this.replacement_total + (this.prescription.replacement_total?this.prescription.replacement_total:"")
947
+          this.dialysate_flow = this.dialysate_flow + (this.prescription.dialysate_flow?this.prescription.dialysate_flow:"")
948
+        }
949
+        if(this.predialysis_evaluation!=null && this.predialysis_evaluation.id!=0){
950
+          this.puncture_needle = this.puncture_needle + this.predialysis_evaluation.puncture_needle
951
+          this.blood_access_part_opera_id = this.blood_access_part_opera_id + this.getBloodAccess(this.predialysis_evaluation.blood_access_part_opera_id)
952
+        } 
953
+        if(this.double_check !=null && this.double_check.id!=0){
954
+           console.log("双人核对",this.double_check)
955
+           if(this.double_check.dialysis_item_desc.indexOf("透析器/灌流器")!=-1){
956
+             this.checkList.push("透析器/灌流器:"+this.prescription.dialyzer_perfusion_apparatus)
957
+             console.log("222222",this.checkList)
958
+           }
959
+           if(this.double_check.dialysis_item_desc.indexOf("穿刺针")!=-1){
960
+              this.checkList.push("穿刺针:"+this.predialysis_evaluation.puncture_needle)
961
+           }
962
+           if(this.double_check.dialysis_item_desc.indexOf("透析液配方:")!=-1){
963
+              this.checkList.push("透析液配方:"+this.GetDialysateFormulationById(this.prescription.dialysate_formulation))
964
+           }
965
+           if(this.double_check.dialysis_item_desc.indexOf("钾:")!=-1){
966
+              this.checkList.push("钾:"+this.prescription.kalium)
967
+           }
968
+           if(this.double_check.dialysis_item_desc.indexOf("钙:")!=-1){
969
+               this.checkList.push("钙:"+this.prescription.calcium)
970
+           }
971
+           if(this.double_check.dialysis_parameter_desc.indexOf("透析模式:")!=-1){
972
+              this.checkListOne.push("透析模式:"+this.getMode(this.prescription.mode_id))
973
+           }
974
+           if(this.double_check.dialysis_parameter_desc.indexOf("透析时长")!=-1){
975
+              this.checkListOne.push("透析时长:"+this.prescription.dialysis_duration)
976
+           }
977
+           if(this.double_check.dialysis_parameter_desc.indexOf("目标超滤量")!=-1){
978
+              this.checkListOne.push("目标超滤量:"+this.prescription.target_ultrafiltration)
979
+           }
980
+           if(this.double_check.dialysis_parameter_desc.indexOf("抗凝剂")!=-1){
981
+              this.checkListOne.push("抗凝剂:"+this.getAnticoagulant(this.prescription.anticoagulant))
982
+           }
983
+           if(this.double_check.dialysis_parameter_desc.indexOf("首剂")!=-1){
984
+              this.checkListOne.push("首剂:"+this.prescription.anticoagulant_shouji)
985
+           }
986
+           if(this.double_check.dialysis_parameter_desc.indexOf("维持")!=-1){
987
+              this.checkListOne.push("维持:"+this.prescription.anticoagulant_weichi)
988
+           }
989
+          if(this.double_check.dialysis_parameter_desc.indexOf("总量")!=-1){
990
+              this.checkListOne.push("总量:"+this.prescription.anticoagulant_zongliang)
991
+           }
992
+          if(this.double_check.dialysis_parameter_desc.indexOf("置换液")!=-1){
993
+              this.checkListOne.push("置换液:"+this.prescription.displace_liqui_part)
994
+           }
995
+           if(this.double_check.dialysis_parameter_desc.indexOf("置换总量")!=-1){
996
+             this.checkListOne.push("置换总量:"+this.prescription.replacement_total)
997
+           }
998
+           if(this.double_check.dialysis_parameter_desc.indexOf("处方血流量")!=-1){
999
+             this.checkListOne.push("处方血流量:"+this.prescription.blood_flow_volume)
1000
+           }
1001
+           if(this.double_check.dialysis_parameter_desc.indexOf("透析液流量")!=-1){
1002
+             this.checkListOne.push("透析液流量:"+this.prescription.dialysate_flow)
1003
+           }
1004
+           if(this.double_check.vascular_access_desc.indexOf("通路类型")!=-1){
1005
+             this.checkListTwo.push("通路类型:"+this.getBloodAccess(this.predialysis_evaluation.blood_access_part_opera_id))
1006
+           }
1007
+
1008
+           if(this.double_check.vascular_access_desc.indexOf("动静脉接错")!=-1){
1009
+             this.checkListTwo.push("动静脉接错")
1010
+           }
1011
+           if(this.double_check.vascular_access_desc.indexOf("渗血")!=-1){
1012
+             this.checkListTwo.push("渗血")
1013
+           }
1014
+           if(this.double_check.vascular_access_desc.indexOf("压迫")!=-1){
1015
+             this.checkListTwo.push("压迫")
1016
+           }
1017
+          if(this.double_check.vascular_access_desc.indexOf("折叠")!=-1){
1018
+             this.checkListTwo.push("折叠")
1019
+           }
1020
+          if(this.double_check.vascular_access_desc.indexOf("滑脱")!=-1){
1021
+             this.checkListTwo.push("滑脱")
1022
+           }
1023
+
1024
+           if(this.double_check.pipeline_connection_desc.indexOf("泵前补液测管未夹")!=-1){
1025
+             this.checkListThree.push("泵前补液测管未夹")
1026
+           }
1027
+           if(this.double_check.pipeline_connection_desc.indexOf("肝素管夹未开启")!=-1){
1028
+             this.checkListThree.push("肝素管夹未开启")
1029
+           }
1030
+           if(this.double_check.pipeline_connection_desc.indexOf("透析器连接错误")!=-1){
1031
+             this.checkListThree.push("透析器连接错误")
1032
+           }
1033
+           if(this.double_check.pipeline_connection_desc.indexOf("动静脉壶页面不标准")!=-1){
1034
+             this.checkListThree.push("动静脉壶页面不标准")
1035
+           }
1036
+           if(this.double_check.pipeline_connection_desc.indexOf("静脉管路未卡入保护夹")!=-1){
1037
+             this.checkListThree.push("静脉管路未卡入保护夹")
1038
+           }
1039
+           if(this.double_check.pipeline_connection_desc.indexOf("压力传感器夹未打开")){
1040
+              this.checkListThree.push("压力传感器夹未打开")
1041
+           }
1042
+           if(this.double_check.pipeline_connection_desc.indexOf("接口连接松动")){
1043
+              this.checkListThree.push("接口连接松动")
1044
+           }
1045
+           if(this.double_check.pipeline_connection_desc.indexOf("管路打折")){
1046
+             this.checkListThree.push("管路打折")
1047
+           }
1048
+           console.log("hhh",this.checkListOne)
1049
+        }
1050
+      }, 
1051
+      'double_check.id': function() {
495 1052
         if (this.double_check.id > 0) {
496 1053
           for (var index in this.doubleReview) {
497 1054
             this.doubleReview[index] = this.double_check[index] + ''
@@ -558,6 +1115,7 @@
558 1115
 
559 1116
     },
560 1117
     created() {
1118
+     
561 1119
       var date = this.$route.query && this.$route.query.date
562 1120
       this.record_date = uParseTime(date, '{y}-{m}-{d}')
563 1121
 
@@ -571,12 +1129,28 @@
571 1129
         this.check_time = (nowHours < 10 ? '0' + nowHours : nowHours) + ':' + (nowMinutes < 10 ? '0' + nowMinutes : nowMinutes)
572 1130
       }
573 1131
       this.first_check_time = (nowHours < 10 ? '0' + nowHours : nowHours) + ':' + (nowMinutes < 10 ? '0' + nowMinutes : nowMinutes)
574
-
1132
+     
575 1133
     }
576 1134
 
577 1135
   }
578 1136
 </script>
579 1137
 
580
-<style scoped>
581
-
1138
+<style lang="scss">
1139
+.newInline{
1140
+  display: flex;
1141
+}
1142
+.newItem{
1143
+  flex: 1;
1144
+  display: flex !important;
1145
+  .el-form-item__content{
1146
+    width: 100%;
1147
+  }
1148
+}
1149
+.newCheckBox{
1150
+  margin-bottom: 10px;
1151
+  .el-checkbox{
1152
+    margin-bottom: 10px;
1153
+  }
1154
+}
582 1155
 </style>
1156
+