XMLWAN 3 years ago
parent
commit
e6d4098dff

+ 19 - 0
src/store/modules/globalConfig.js View File

@@ -539,6 +539,21 @@ const global_config = {
539 539
         sodium: 1,
540 540
         calcium: 1,
541 541
         bicarbonate: 1
542
+      },
543
+      23: {
544
+        id: 23,
545
+        name: '血浆胆红素吸附',
546
+        dialysis_duration: 1,
547
+        replacement_way: 1,
548
+        hemodialysis_machine: 2,
549
+        blood_filter: 1,
550
+        perfusion_apparatus: 2,
551
+        blood_flow_volume: 1,
552
+        dialysate_flow: 1,
553
+        kalium: 1,
554
+        sodium: 1,
555
+        calcium: 1,
556
+        bicarbonate: 1
542 557
       }
543 558
     },
544 559
     anticoagulants_confit: { // 抗凝剂
@@ -1890,6 +1905,10 @@ const global_config = {
1890 1905
         id: 36,
1891 1906
         name: '轴'
1892 1907
       },
1908
+      {
1909
+        id: 37,
1910
+        name: '辆'
1911
+      },
1893 1912
     ],
1894 1913
     body_fluid: [{
1895 1914
       id: 1,

+ 7 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue View File

@@ -563,6 +563,13 @@
563 563
                           >
564 564
                             血浆胆红素吸附+HDF
565 565
                           </div>
566
+                           <div
567
+                            class="under_line"
568
+                            style="width: 100px;text-align: center;font-weight:600;"
569
+                            v-if="record.prescription.mode_id == 23"
570
+                          >
571
+                            血浆胆红素吸附
572
+                          </div>
566 573
                         </div>
567 574
                       </div>
568 575
 

+ 5 - 5
src/xt_pages/dialysis/details/DialysisPrescription.vue View File

@@ -106,8 +106,8 @@
106 106
           <span class="content">{{
107 107
             target_ultrafiltration != "0" ? target_ultrafiltration : ""
108 108
           }}</span>
109
-          <span v-if="this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 36 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.org_id != 9555" class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</span>
110
-          <span v-if="this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 36 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.org_id == 9555" class="unit">{{ target_ultrafiltration != "0" ? "ml" : "" }}</span>
109
+          <span v-if="this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 36 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.org_id != 9555" class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</span>
110
+          <span v-if="this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 36 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.template_id != 40 || this.$store.getters.xt_user.template_info.org_id == 9555" class="unit">{{ target_ultrafiltration != "0" ? "ml" : "" }}</span>
111 111
         </li>
112 112
         <li v-if="isShow('葡萄糖')">
113 113
           <label>葡萄糖 : </label>
@@ -312,7 +312,7 @@
312 312
           <span class="content" v-if="this.prescription.anticoagulant_stop_time_hour == 0 && this.prescription.anticoagulant_stop_time_min == 0 "></span>
313 313
           <span class="unit"></span>
314 314
         </li>
315
-       
315
+
316 316
         <li v-if="isShow('病情')">
317 317
           <label>病情: </label>
318 318
           <span class="content">{{getIllness(this.prescription.illness)}}</span>
@@ -577,7 +577,7 @@ export default {
577 577
               if(arr[i] == this.preparestock[j].specification_name){
578 578
                 if(this.preparestock[j].commdity_code!=""){
579 579
                   arr[i] = arr[i]+"("+this.preparestock[j].commdity_code+")"
580
-                } 
580
+                }
581 581
               }
582 582
            }
583 583
          }
@@ -664,7 +664,7 @@ export default {
664 664
     displace_speed:function(){
665 665
       return this.getValueStr('displace_speed','displace_speed')
666 666
     },
667
-   
667
+
668 668
   },
669 669
   created() {
670 670
 

+ 2 - 2
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

@@ -87,7 +87,7 @@
87 87
           </el-col>
88 88
 
89 89
           <el-col :span="8"
90
-                  v-if="isShows('目标超滤量') && (this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22  || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28  || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 36 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.org_id == 9555 )">
90
+                  v-if="isShows('目标超滤量') && (this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22  || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28  || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 36 || this.$store.getters.xt_user.template_info.template_id == 38 ||  this.$store.getters.xt_user.template_info.template_id == 40 || this.$store.getters.xt_user.template_info.org_id == 9555 )">
91 91
             <el-form-item label="目标超滤量(ml):">
92 92
               <el-input
93 93
                 type="number"
@@ -99,7 +99,7 @@
99 99
 
100 100
 
101 101
           <el-col :span="8"
102
-                  v-if="isShows('目标超滤量')  && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 36 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.org_id != 9555 ">
102
+                  v-if="isShows('目标超滤量')  && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 36 && this.$store.getters.xt_user.template_info.template_id != 38 &&  this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.org_id != 9555 ">
103 103
             <el-form-item label="目标超滤量(L):">
104 104
               <el-input
105 105
                 type="number"

+ 4 - 4
src/xt_pages/dialysis/details/dialog/doubleCheckDialog.vue View File

@@ -599,7 +599,7 @@
599 599
          } 
600 600
 
601 601
          if(str.indexOf('透析时长')!=-1 && this.prescription!=null){
602
-            arr.push("透析时长:"+(this.prescription.dialysis_duration?this.prescription.dialysis_duration:""))
602
+            arr.push("透析时长:"+(this.prescription.dialysis_duration_hour?this.prescription.dialysis_duration_hour:"") +"小时"+this.prescription.dialysis_duration_minute+"分")
603 603
          }
604 604
 
605 605
         if(str.indexOf('透析时长')!=-1 && this.prescription==null){
@@ -944,8 +944,8 @@
944 944
           this.prescription.calcium = ""
945 945
           this.dialys_mode = this.dialys_mode + this.getMode(this.prescription.mode_id)
946 946
           this.prescription.mode_id= ""
947
-          this.long_time = this.long_time + (this.prescription.dialysis_duration?this.prescription.dialysis_duration:"")
948
-          this.prescription.dialysis_duration=""
947
+          this.long_time = this.long_time + (this.prescription.dialysis_duration_hour?this.prescription.dialysis_duration_hour:"") +"小时" +this.prescription.dialysis_duration_minute +"分"
948
+          this.prescription.dialysis_duration_hour=""
949 949
           this.target_ultrafiltration = this.target_ultrafiltration + (this.prescription.target_ultrafiltration?this.prescription.target_ultrafiltration:"")
950 950
           this.prescription.target_ultrafiltration = ""
951 951
           this.anticoagulant = this.anticoagulant + this.getAnticoagulant(this.prescription.anticoagulant)
@@ -989,7 +989,7 @@
989 989
               this.checkListOne.push("透析模式:"+this.getMode(this.prescription.mode_id))
990 990
            }
991 991
            if(this.double_check.dialysis_parameter_desc.indexOf("透析时长")!=-1){
992
-              this.checkListOne.push("透析时长:"+(this.prescription.dialysis_duration?this.prescription.dialysate_formulation:""))
992
+              this.checkListOne.push("透析时长:"+(this.prescription.dialysis_duration_hour?this.prescription.dialysis_duration_hour:""))
993 993
            }
994 994
            if(this.double_check.dialysis_parameter_desc.indexOf("目标超滤量")!=-1){
995 995
               this.checkListOne.push("目标超滤量:"+(this.prescription.target_ultrafiltration?this.prescription.target_ultrafiltration:""))

+ 2 - 0
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue View File

@@ -167,6 +167,7 @@
167 167
                   template_id == 36 ||
168 168
                   template_id == 38 ||
169 169
                   template_id == 39 ||
170
+                  template_id == 40 ||
170 171
                   org_id == 9555)
171 172
             "
172 173
           >
@@ -210,6 +211,7 @@
210 211
                 template_id != 36 &&
211 212
                 template_id != 38 &&
212 213
                 template_id != 39 &&
214
+                template_id != 40 &&
213 215
                 org_id!=9555
214 216
             "
215 217
           >

+ 4 - 4
src/xt_pages/dialysis/details/dialysisMonitoring.vue View File

@@ -14,8 +14,8 @@
14 14
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
15 15
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
16 16
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
17
-          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 39 || this.$store.getters.xt_user.template_info.org_id == 9555)" width="76px" > 超滤量(ml)</th>
18
-          <th v-if=" isShow('超滤量') && template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id != 39 && this.$store.getters.xt_user.template_info.org_id != 9555"  width="76px"> 超滤量(L) </th>
17
+          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 39 || template_id == 40 || this.$store.getters.xt_user.template_info.org_id == 9555)" width="76px" > 超滤量(ml)</th>
18
+          <th v-if=" isShow('超滤量') && template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id != 39 && template_id == 40 && this.$store.getters.xt_user.template_info.org_id != 9555"  width="76px"> 超滤量(L) </th>
19 19
           <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38)" width="50px"> 超滤率 <br />(ml/h) </th>
20 20
           <th v-if="isShow('超滤率') && template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38" width="50px"> 超滤率 <br />(L/h) </th>
21 21
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
@@ -46,7 +46,7 @@
46 46
           <td v-if="isShow('脉搏')"> {{ monitor.pulse_frequency ? monitor.pulse_frequency : "" }} </td>
47 47
           <td v-if="isShow('呼吸频率')"> {{ monitor.breathing_rate ? monitor.breathing_rate : "" }} </td>
48 48
           <td> {{ monitor.venous_pressure ? monitor.venous_pressure : "" }} /{{ monitor.arterial_pressure ? monitor.arterial_pressure : "" }}  </td>
49
-          
49
+
50 50
           <td v-if="isShow('血流量')"> {{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "" }} </td>
51 51
           <td v-if="isShow('跨膜压')"> {{ monitor.transmembrane_pressure ? monitor.transmembrane_pressure : "" }} </td>
52 52
           <td v-if="isShow('超滤量')"> {{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "" }} </td>
@@ -59,7 +59,7 @@
59 59
           <td v-if="isShow('电导度')"> {{ monitor.conductivity ? monitor.conductivity : "" }} </td>
60 60
           <td v-if="isShow('置换液流量')"> {{ monitor.displacement_flow_quantity  ? monitor.displacement_flow_quantity : "" }} </td>
61 61
           <td v-if="isShow('透析液流量')"> {{ monitor.dialysate_flow  ? monitor.dialysate_flow : "" }} </td>
62
-          <td v-if="isShow('肝素用量余量')"> {{ monitor.heparin ? monitor.heparin : "" }} </td> 
62
+          <td v-if="isShow('肝素用量余量')"> {{ monitor.heparin ? monitor.heparin : "" }} </td>
63 63
           <td v-if="isShow('抗凝剂')">
64 64
             <span v-if="monitor.monitor_anticoagulant == 1">无肝素</span>
65 65
             <span v-if="monitor.monitor_anticoagulant == 2">普通肝素</span>

+ 10 - 10
src/xt_pages/dialysis/schedualPatient.vue View File

@@ -280,13 +280,13 @@ import { getDialysisRecordInitData, getDialysisSchedules } from '@/api/dialysis_
280 280
     },
281 281
     created() {
282 282
       if(sessionStorage.getItem('signInKey') != null){
283
-        setTimeout(() => {    
283
+        setTimeout(() => {
284 284
           if(sessionStorage.getItem('signInKey') == 1){
285 285
             this.$router.replace({ path: '/signIn' })
286 286
           }
287 287
         },1000)
288 288
       }else if(sessionStorage.getItem('lineUpKey') != null){
289
-        setTimeout(() => { 
289
+        setTimeout(() => {
290 290
           if(sessionStorage.getItem('lineUpKey') == 1){
291 291
             this.$router.replace({ path: '/lineUp' })
292 292
           }
@@ -317,7 +317,7 @@ import { getDialysisRecordInitData, getDialysisSchedules } from '@/api/dialysis_
317 317
         data: {type:3,page:0,size:0},
318 318
       };
319 319
       this.websocketSend(this.initData)
320
-      
320
+
321 321
 
322 322
       this.getInitData()
323 323
 
@@ -353,7 +353,7 @@ import { getDialysisRecordInitData, getDialysisSchedules } from '@/api/dialysis_
353 353
       const timer = setInterval(() => {
354 354
         // this.getInitData();
355 355
         this.requestDialysisSchedules()
356
-      }, 1000 * 30)
356
+      }, 1000 * 60)
357 357
       // 通过$once来监听定时器,在beforeDestroy钩子可以被清除。
358 358
       this.$once('hook:beforeDestroy', () => {
359 359
         clearInterval(timer)
@@ -377,7 +377,7 @@ import { getDialysisRecordInitData, getDialysisSchedules } from '@/api/dialysis_
377 377
       websocketSend(data) {
378 378
         try {
379 379
           this.websocket.send(JSON.stringify(data))
380
-            
380
+
381 381
         } catch (error) {
382 382
           this.showError = true;
383 383
           this.showIndex = 4;
@@ -524,7 +524,7 @@ import { getDialysisRecordInitData, getDialysisSchedules } from '@/api/dialysis_
524 524
           }else if(this.schedule_type_selected == 2){
525 525
             schedule_type = 2
526 526
           }
527
-          
527
+
528 528
           console.log('patient_id',patient_id)
529 529
           let org_id =  parseInt(sessionStorage.getItem("org_id"));
530 530
           let admin_user_id = parseInt(sessionStorage.getItem("admin_user_id"));
@@ -543,7 +543,7 @@ import { getDialysisRecordInitData, getDialysisSchedules } from '@/api/dialysis_
543 543
                       type: 'success'
544 544
                   });
545 545
               }
546
-              
546
+
547 547
           })
548 548
       },
549 549
       handleCallChange: function(index) {
@@ -870,7 +870,7 @@ import { getDialysisRecordInitData, getDialysisSchedules } from '@/api/dialysis_
870 870
         }
871 871
         // let arr5 = JSON.parse(JSON.stringify(this.allPatient))
872 872
 
873
-        
873
+
874 874
         // if(this.callVal == 1){
875 875
         //   let arr = []
876 876
         //   arr = JSON.parse(JSON.stringify(arr5))
@@ -912,8 +912,8 @@ import { getDialysisRecordInitData, getDialysisSchedules } from '@/api/dialysis_
912 912
         //   }
913 913
         //   console.log('arr222222222',arr)
914 914
         // }
915
-        
916
-        
915
+
916
+
917 917
       },
918 918
       compare(property){
919 919
         return function(a,b){

+ 3 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

@@ -303,6 +303,9 @@
303 303
                     <div class="under_line" style="width: 150px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 22">
304 304
                       血浆胆红素吸附+HDF
305 305
                     </div>
306
+                    <div class="under_line" style="width: 150px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 23">
307
+                      血浆胆红素吸附
308
+                    </div>
306 309
                   </div>
307 310
 
308 311
                   <div class="inline_block" style="margin-left:10px;flex:1;">

+ 30 - 3
src/xt_pages/workforce/components/nextTableWeeks.vue View File

@@ -130,8 +130,11 @@
130 130
       <el-table-column label="透析器/灌流器" min-width="100" align="center">
131 131
         <template slot-scope="scope">
132 132
           <span v-if="org_id!=9987" >
133
-             <span v-if="scope.row.prescription.dialyzer_perfusion_apparatus!=''">{{ scope.row.prescription.dialyzer_perfusion_apparatus }}</span> 
134
-             <span v-if="scope.row.prescription.dialyzer_perfusion_apparatus =='' && scope.row.dialysissolution.length>0 ">{{ scope.row.dialysissolution[0].dialyzer_perfusion_apparatus }}</span> 
133
+             <span v-if="scope.row.prescription.dialyzer_perfusion_apparatus!=''">
134
+                <span v-if="org_id!=10131">{{ scope.row.prescription.dialyzer_perfusion_apparatus }}</span>
135
+                <span v-if="org_id ==10131">{{getDialysisDialyszerPerfusionOne(scope.row.patient_id)}}</span>
136
+              </span> 
137
+             <span v-if="scope.row.prescription.dialyzer_perfusion_apparatus =='' && scope.row.dialysissolution.length>0 ">{{ getDialysisDialyszerPerfusion(scope.row.patient_id) }}</span> 
135 138
           </span>
136 139
           {{scope.row.prescription.dialysis_dialyszers}}
137 140
          <span v-if="scope.row.prescription.dialysis_dialyszers!='' && scope.row.prescription.dialysis_irrigation!=''">/</span>
@@ -546,7 +549,31 @@ export default {
546 549
            
547 550
          }
548 551
       })
549
-    }
552
+    },
553
+    getDialysisDialyszerPerfusion(patient_id){
554
+        var name = ""
555
+        for(let i=0;i<this.scheduleData.length;i++){
556
+          if(patient_id == this.scheduleData[i].patient_id){
557
+            var arrLength = this.scheduleData[i].dialysissolution.length
558
+            if(arrLength > 0){
559
+               name = this.scheduleData[i].dialysissolution[arrLength - 1].dialysis_dialyszers
560
+            }
561
+          }
562
+        }
563
+       return name
564
+    },
565
+     getDialysisDialyszerPerfusionOne(patient_id){
566
+        var name = ""
567
+        for(let i=0;i<this.scheduleData.length;i++){
568
+          if(patient_id == this.scheduleData[i].patient_id){
569
+            var arrLength = this.scheduleData[i].dialysissolution.length
570
+            if(arrLength > 0){
571
+               name = this.scheduleData[i].dialysissolution[arrLength - 1].dialyzer_perfusion_apparatus
572
+            }
573
+          }
574
+        }
575
+       return name
576
+    }, 
550 577
   },
551 578
   components: {
552 579
     WeekItem

+ 34 - 4
src/xt_pages/workforce/components/tableWeeks.vue View File

@@ -146,10 +146,13 @@
146 146
       </el-table-column>
147 147
       <el-table-column label="透析器/灌流器" min-width="100" align="center">
148 148
         <template slot-scope="scope">
149
-          <span v-if="org_id!=9987">
150
-             <span v-if="scope.row.prescription.dialyzer_perfusion_apparatus!=''">{{ scope.row.prescription.dialyzer_perfusion_apparatus }}</span> 
151
-             <span v-if="scope.row.prescription.dialyzer_perfusion_apparatus==''&& scope.row.dialysissolution.length>0 ">{{scope.row.dialysissolution[0].dialyzer_perfusion_apparatus}}</span>
149
+          <span v-if="org_id!=9987&&org_id!=10131">
150
+             <span v-if="scope.row.prescription.dialyzer_perfusion_apparatus!=''">
151
+                <span>{{ scope.row.prescription.dialyzer_perfusion_apparatus }}</span>  
152
+          </span> 
153
+             <span v-if="scope.row.prescription.dialyzer_perfusion_apparatus==''&& scope.row.dialysissolution.length>0 ">{{getDialysisDialyszerPerfusion(scope.row.patient_id)}}</span>
152 154
           </span>
155
+          <span v-if="org_id==10131">{{getDialysisDialyszerPerfusionOne(scope.row.patient_id)}}</span>
153 156
            {{scope.row.prescription.dialysis_dialyszers}}
154 157
           <span v-if="scope.row.prescription.dialysis_dialyszers!='' && scope.row.prescription.dialysis_irrigation!=''">/</span>
155 158
           <span v-if="scope.row.prescription.dialysis_irrigation!=''">{{scope.row.prescription.dialysis_irrigation}}</span>
@@ -399,6 +402,7 @@ export default {
399 402
         this.scheduleData = [];
400 403
         if (response.data.state == 1) {
401 404
            var scheduleData = response.data.data.schdules;
405
+           console.log("列表",scheduleData)
402 406
            for(let i=0;i<scheduleData.length;i++){
403 407
              scheduleData[i].sort = scheduleData[i].number.sort
404 408
            }
@@ -858,7 +862,33 @@ export default {
858 862
            
859 863
          }
860 864
       })
861
-    }
865
+    },
866
+    getDialysisDialyszerPerfusion(patient_id){
867
+        var name = ""
868
+        for(let i=0;i<this.scheduleData.length;i++){
869
+          if(patient_id == this.scheduleData[i].patient_id){
870
+            var arrLength = this.scheduleData[i].dialysissolution.length
871
+            if(arrLength > 0){
872
+               name = this.scheduleData[i].dialysissolution[arrLength - 1].dialysis_dialyszers
873
+            }
874
+          }
875
+        }
876
+       return name
877
+    },
878
+      getDialysisDialyszerPerfusionOne(patient_id){
879
+        var name = ""
880
+        for(let i=0;i<this.scheduleData.length;i++){
881
+          if(patient_id == this.scheduleData[i].patient_id){
882
+            var arrLength = this.scheduleData[i].dialysissolution.length
883
+            console.log("病人ID",patient_id,"数组",this.scheduleData[i].dialysissolution)
884
+            if(arrLength > 0){
885
+               name = this.scheduleData[i].dialysissolution[arrLength - 1].dialyzer_perfusion_apparatus
886
+            }
887
+          }
888
+        }
889
+        console.log("name",name)
890
+       return name
891
+    }, 
862 892
   },
863 893
   components: {
864 894
     WeekItem

+ 29 - 2
src/xt_pages/workforce/next_remind_print.vue View File

@@ -62,8 +62,11 @@
62 62
                 </td>
63 63
                 <td :width="td_1_width" v-if="printObj.dialyzers == 1 && printObj.perfusion_apparatus == 1">
64 64
                  <span v-if="org_id!=9987">
65
-                     <span v-if="main_collection.prescription.dialyzer_perfusion_apparatus!=''"> {{main_collection.prescription.dialyzer_perfusion_apparatus}}</span>
66
-                     <span v-if="main_collection.prescription.dialyzer_perfusion_apparatus ==''&& main_collection.dialysissolution.length>0">{{main_collection.dialysissolution[0].dialyzer_perfusion_apparatus}}</span> 
65
+                     <span v-if="main_collection.prescription.dialyzer_perfusion_apparatus!=''"> 
66
+                        <span v-if="org_id!=10131">{{main_collection.prescription.dialyzer_perfusion_apparatus}}</span> 
67
+                        <span v-if="org_id==10131">{{getDialysisDialyszerPerfusionOne(main_collection.prescription.patient_id)}}</span> 
68
+                     </span>
69
+                     <span v-if="main_collection.prescription.dialyzer_perfusion_apparatus ==''&& main_collection.dialysissolution.length>0">{{getDialysisDialyszerPerfusion(main_collection.patient_id)}}</span> 
67 70
                   </span>
68 71
                   {{main_collection.prescription.dialysis_dialyszers}} 
69 72
                   <span v-if="main_collection.prescription.dialysis_dialyszers!='' && main_collection.prescription.dialysis_irrigation!=''">/</span>
@@ -397,6 +400,30 @@
397 400
            this.printObj = list
398 401
          }
399 402
       })
403
+     },
404
+     getDialysisDialyszerPerfusion(patient_id){
405
+        var name = ""
406
+        for(let i=0;i<this.scheduleData.length;i++){
407
+          if(patient_id == this.scheduleData[i].patient_id){
408
+            var arrLength = this.scheduleData[i].dialysissolution.length
409
+            if(arrLength > 0){
410
+               name = this.scheduleData[i].dialysissolution[arrLength - 1].dialysis_dialyszers
411
+            }
412
+          }
413
+        }
414
+       return name
415
+     },
416
+     getDialysisDialyszerPerfusionOne(patient_id){
417
+        var name = ""
418
+        for(let i=0;i<this.scheduleData.length;i++){
419
+          if(patient_id == this.scheduleData[i].patient_id){
420
+            var arrLength = this.scheduleData[i].dialysissolution.length
421
+            if(arrLength > 0){
422
+               name = this.scheduleData[i].dialysissolution[arrLength - 1].dialyzer_perfusion_apparatus
423
+            }
424
+          }
425
+        }
426
+       return name
400 427
      }
401 428
     }
402 429
   }

+ 30 - 2
src/xt_pages/workforce/remind_print.vue View File

@@ -61,8 +61,11 @@
61 61
                 </td>
62 62
                 <td :width="td_1_width" v-if="printObj.dialyzers == 1 && printObj.perfusion_apparatus ==1">
63 63
                   <span v-if="org_id!=9987">
64
-                     <span v-if="main_collection.prescription.dialyzer_perfusion_apparatus!=''"> {{main_collection.prescription.dialyzer_perfusion_apparatus}}</span>
65
-                     <span v-if="main_collection.prescription.dialyzer_perfusion_apparatus ==''&& main_collection.dialysissolution.length>0">{{main_collection.dialysissolution[0].dialyzer_perfusion_apparatus}}</span> 
64
+                     <span v-if="main_collection.prescription.dialyzer_perfusion_apparatus!=''"> 
65
+                       <span v-if="org_id!=10131">{{main_collection.prescription.dialyzer_perfusion_apparatus}}</span> 
66
+                       <span v-if="org_id==10131">{{getDialysisDialyszerPerfusionOne(main_collection.prescription.patient_id)}}</span> 
67
+                      </span>
68
+                     <span v-if="main_collection.prescription.dialyzer_perfusion_apparatus ==''&& main_collection.dialysissolution.length>0">{{getDialysisDialyszerPerfusion(main_collection.patient_id)}}</span> 
66 69
                   </span>
67 70
                     {{main_collection.prescription.dialysis_dialyszers}}
68 71
                   <span v-if="main_collection.prescription.dialysis_dialyszers!=''&& main_collection.prescription.dialysis_irrigation!='' ">/</span>
@@ -366,6 +369,31 @@
366 369
            this.printObj = list
367 370
          }
368 371
       })
372
+     },
373
+    getDialysisDialyszerPerfusion(patient_id){
374
+        var name = ""
375
+        for(let i=0;i<this.scheduleData.length;i++){
376
+          if(patient_id == this.scheduleData[i].patient_id){
377
+            var arrLength = this.scheduleData[i].dialysissolution.length
378
+            if(arrLength > 0){
379
+               name = this.scheduleData[i].dialysissolution[arrLength - 1].dialyzer_perfusion_apparatus
380
+            }
381
+          }
382
+        }
383
+       return name
384
+     },
385
+
386
+     getDialysisDialyszerPerfusionOne(patient_id){
387
+        var name = ""
388
+        for(let i=0;i<this.scheduleData.length;i++){
389
+          if(patient_id == this.scheduleData[i].patient_id){
390
+            var arrLength = this.scheduleData[i].dialysissolution.length
391
+            if(arrLength > 0){
392
+               name = this.scheduleData[i].dialysissolution[arrLength - 1].dialyzer_perfusion_apparatus
393
+            }
394
+          }
395
+        }
396
+       return name
369 397
      }
370 398
     },
371 399
   }