Browse Source

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

yq1 1 year ago
parent
commit
cc92b9bd73

+ 2 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_fiftynine.vue View File

1292
                         </tr>
1292
                         </tr>
1293
                         <tr>
1293
                         <tr>
1294
                           <td width="60">时间</td>
1294
                           <td width="60">时间</td>
1295
-                          <td width="60">体温<br />(℃)</td>
1295
+                          <td width="60" v-if="org_id!=10480 && org_id!=0">体温<br />(℃)</td>
1296
                           <td width="60">血压<br />(mmHg)</td>
1296
                           <td width="60">血压<br />(mmHg)</td>
1297
                           <td width="50">脉搏<br />(次/分)</td>
1297
                           <td width="50">脉搏<br />(次/分)</td>
1298
                           <td width="50">呼吸<br />(次/分)</td>
1298
                           <td width="50">呼吸<br />(次/分)</td>
1339
                               getTime(monitor_record.operate_time, "{h}:{i}")
1339
                               getTime(monitor_record.operate_time, "{h}:{i}")
1340
                             }}
1340
                             }}
1341
                           </td>
1341
                           </td>
1342
-                           <td>
1342
+                           <td v-if="org_id!=10480 && org_id!=0"> 
1343
                             {{
1343
                             {{
1344
                               monitor_record.temperature
1344
                               monitor_record.temperature
1345
                                 ? monitor_record.temperature
1345
                                 ? monitor_record.temperature

+ 2 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_forty.vue View File

573
                                     &nbsp;{{ record.prescription.oxygen_time ? record.prescription.oxygen_time : "" }}
573
                                     &nbsp;{{ record.prescription.oxygen_time ? record.prescription.oxygen_time : "" }}
574
                                 </div>
574
                                 </div>
575
                                 </td>
575
                                 </td>
576
-                                <td width="30">h</td>
576
+                                <!-- <td width="30">h</td>
577
                                 <td width="10">无</td>
577
                                 <td width="10">无</td>
578
                                 <td width="30">
578
                                 <td width="30">
579
                                 <label-box :isChecked="record.prescription.oxygen_uptake ==2 ? true : false"></label-box>
579
                                 <label-box :isChecked="record.prescription.oxygen_uptake ==2 ? true : false"></label-box>
580
                                 &nbsp;
580
                                 &nbsp;
581
-                                </td>
581
+                                </td> -->
582
                                 <td></td>
582
                                 <td></td>
583
                                 <td></td>
583
                                 <td></td>
584
                             </tr>
584
                             </tr>

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

5167
        }
5167
        }
5168
 
5168
 
5169
       },
5169
       },
5170
+      'dialysisPrescription.prescription_water':function(){
5171
+        if(this.$store.getters.xt_user.template_info.org_id==10598){
5172
+           
5173
+          if(this.dialysisPrescription.prescription_water > this.dialysisPrescription.target_ultrafiltration){
5174
+            this.dialysisPrescription.target_ultrafiltration = this.dialysisPrescription.prescription_water 
5175
+          }
5176
+           
5177
+        }
5178
+      },
5170
       stockType: function() {
5179
       stockType: function() {
5171
         console.log('stockType', this.stockType)
5180
         console.log('stockType', this.stockType)
5172
         var arr = []
5181
         var arr = []

+ 70 - 3
src/xt_pages/dialysis/hisLongSignPrint.vue View File

11
         <div class="app-container" style="background-color: white;" v-show="show">
11
         <div class="app-container" style="background-color: white;" v-show="show">
12
             <div id="dialysisTable">
12
             <div id="dialysisTable">
13
                 <div v-for="(item, index) in list" :key="index">
13
                 <div v-for="(item, index) in list" :key="index">
14
-                    <div class="signPrint" style="page-break-after: always;" v-for="(it,i) in item.his_advice_list">
15
-                       
14
+                   <div v-if="org_id!=0&& org_id!=10571">
15
+                        <div class="signPrint" style="page-break-after: always;" v-for="(it,i) in item.his_advice_list">
16
+                        
16
                         <div>分区/床位号:{{item.device_number.zone.name}}/{{item.device_number.number}}</div>  
17
                         <div>分区/床位号:{{item.device_number.zone.name}}/{{item.device_number.number}}</div>  
17
                         <div>姓名:{{item.patient.name}}</div>  
18
                         <div>姓名:{{item.patient.name}}</div>  
18
 
19
 
28
                         </div>
29
                         </div>
29
                         <div>打印时间:{{$route.query.selected_date}}</div> 
30
                         <div>打印时间:{{$route.query.selected_date}}</div> 
30
                     </div>  
31
                     </div>  
32
+                   </div>
33
+
34
+                   <div v-if="org_id ==0 || org_id ==10571">
35
+                    <span v-if="item.his_doctor_advice.length == 0">
36
+                       
37
+                       <div class="signPrint" style="page-break-after: always;" v-for="(it,i) in item.his_advice_list">
38
+                        
39
+                        <div>分区/床位号:{{item.device_number.zone.name}}/{{item.device_number.number}}</div>  
40
+                        <div>姓名:{{item.patient.name}}</div>  
41
+
42
+                        <div>
43
+                            <div>医嘱内容:{{ it.advice_name }} 
44
+                            </div>  
45
+                            <div>
46
+                            规格:{{getSpecialName(it.drug_id)}} 
47
+                            </div>  
48
+                            <div>单次用量:   {{it.single_dose}}{{ it.single_dose_unit }}</div>  
49
+                            <div>执行频率:{{it.execution_frequency}}</div>  
50
+                            <div>给药途径:{{it.delivery_way}}</div>  
51
+                        </div>
52
+                        <div>打印时间:{{$route.query.selected_date}}</div> 
53
+                      </div>  
54
+
55
+                    </span>
56
+
57
+                    <span v-if="item.his_doctor_advice.length > 0">
58
+                       <div class="signPrint" style="page-break-after: always;" v-for="(it,i) in item.his_doctor_advice">
59
+                        <div>分区/床位号:{{item.device_number.zone.name}}/{{item.device_number.number}}</div>  
60
+                        <div>姓名:{{item.patient.name}}</div>  
61
+
62
+                        <div>
63
+                            <div>医嘱内容:{{ it.advice_name }} 
64
+                            </div>  
65
+                            <div>
66
+                            规格:{{getSpecialName(it.drug_id)}} 
67
+                            </div>  
68
+                            <div>单次用量:   {{it.single_dose}}{{ it.single_dose_unit }}</div>  
69
+                            <div>执行频率:{{it.execution_frequency}}</div>  
70
+                            <div>给药途径:{{it.delivery_way}}</div>  
71
+                        </div>
72
+                        <div>打印时间:{{$route.query.selected_date}}</div> 
73
+                      </div>  
74
+                    </span>
75
+                   </div>
76
+                 
31
                 </div>
77
                 </div>
32
             </div>
78
             </div>
33
         </div>
79
         </div>
244
                 // console.log("寄哪里地方",this.$route.query.keywords)
290
                 // console.log("寄哪里地方",this.$route.query.keywords)
245
                for(let i=0;i<list.length;i++){
291
                for(let i=0;i<list.length;i++){
246
                  list[i].new_arr = []
292
                  list[i].new_arr = []
293
+                 list[i].new_arr_one = []
247
                  for(let j=0;j<list[i].his_advice_list.length;j++){
294
                  for(let j=0;j<list[i].his_advice_list.length;j++){
248
-                    console.log("iiiiii",list[i].his_advice_list[j].advice_name.indexOf(this.$route.query.keywords))
249
                     if(list[i].his_advice_list[j].advice_name.indexOf(this.$route.query.keywords)!=-1){
295
                     if(list[i].his_advice_list[j].advice_name.indexOf(this.$route.query.keywords)!=-1){
250
                        list[i].new_arr.push(list[i].his_advice_list[j])
296
                        list[i].new_arr.push(list[i].his_advice_list[j])
251
                     }
297
                     }
258
                 }
304
                 }
259
             }
305
             }
260
           }
306
           }
307
+
308
+            if(this.$route.query.keywords!=""){
309
+               for(let i=0;i<list.length;i++){
310
+                 for(let j=0;j<list[i].his_doctor_advice.length;j++){
311
+                    if(list[i].his_doctor_advice[j].advice_name.indexOf(this.$route.query.keywords)!=-1){
312
+                       list[i].new_arr_one.push(list[i].his_doctor_advice[j])
313
+                    }
314
+                 }
315
+               }
316
+            
317
+             if(list!=null && list.length>0){
318
+                for(let i=0;i<list.length;i++){
319
+                    list[i].his_doctor_advice =[]
320
+                    list[i].his_doctor_advice = list[i].new_arr_one 
321
+                }
322
+              }
323
+            }
324
+
325
+          
326
+
327
+         
261
          
328
          
262
         }
329
         }
263
         
330
         

+ 4 - 11
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyNine.vue View File

1143
                       </tr>
1143
                       </tr>
1144
                       <tr>
1144
                       <tr>
1145
                         <td width="60">时间</td>
1145
                         <td width="60">时间</td>
1146
-                        <td width="60">体温<br />(℃)</td>
1146
+                        <td width="60" v-if="org_id!=10480 && org_id!=0">体温<br />(℃)</td>
1147
                         <td width="70">血压<br />(mmHg)</td>
1147
                         <td width="70">血压<br />(mmHg)</td>
1148
                         <td width="50">脉搏<br />(次/分)</td>
1148
                         <td width="50">脉搏<br />(次/分)</td>
1149
                         <td width="50">呼吸<br />(次/分)</td>
1149
                         <td width="50">呼吸<br />(次/分)</td>
1181
                       </tr>
1181
                       </tr>
1182
                       <tr v-for="(monitor, monindex) in monitors" :key="monindex">
1182
                       <tr v-for="(monitor, monindex) in monitors" :key="monindex">
1183
                         <td>{{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
1183
                         <td>{{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
1184
-                        <td>{{ monitor.temperature ? monitor.temperature : "" }}</td>
1184
+                        <td v-if="org_id!=0&&org_id!=10480">{{ monitor.temperature ? monitor.temperature : "" }}</td>
1185
                         <td>{{monitor.systolic_blood_pressure? monitor.systolic_blood_pressure + "/" : ""}}
1185
                         <td>{{monitor.systolic_blood_pressure? monitor.systolic_blood_pressure + "/" : ""}}
1186
                             {{monitor.diastolic_blood_pressure? monitor.diastolic_blood_pressure: ""}}</td>
1186
                             {{monitor.diastolic_blood_pressure? monitor.diastolic_blood_pressure: ""}}</td>
1187
                         <td>{{monitor.pulse_frequency? monitor.pulse_frequency: ""}}</td>
1187
                         <td>{{monitor.pulse_frequency? monitor.pulse_frequency: ""}}</td>
1204
                                 : ""
1204
                                 : ""
1205
                             }}
1205
                             }}
1206
                           </span>
1206
                           </span>
1207
-                          <span
1208
-                            v-if="
1209
-                              dialysisOrder &&
1210
-                              monitor.operate_time <= dialysisOrder.end_time &&
1211
-                              dialysisOrder &&
1212
-                              monitor.operate_time >= dialysisOrder.start_time
1213
-                            "
1214
-                          >
1207
+                          <span>
1215
                             {{
1208
                             {{
1216
                               monitor.transmembrane_pressure
1209
                               monitor.transmembrane_pressure
1217
                                 ? monitor.transmembrane_pressure
1210
                                 ? monitor.transmembrane_pressure
1355
                       >
1348
                       >
1356
                         <td></td>
1349
                         <td></td>
1357
                         <td></td>
1350
                         <td></td>
1358
-                        <td></td>
1351
+                        <td v-if="org_id!=0 && org_id!=10480"></td>
1359
                         <td></td>
1352
                         <td></td>
1360
                         <td></td>
1353
                         <td></td>
1361
                         <td></td>
1354
                         <td></td>

+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderForty.vue View File

660
                     </div>
660
                     </div>
661
                   </td>
661
                   </td>
662
                   <td width="30">h</td>
662
                   <td width="30">h</td>
663
-                  <td width="10">无</td>
663
+                  <!-- <td width="10">无</td>
664
                   <td width="30">
664
                   <td width="30">
665
                     <label-box :isChecked="prescription.oxygen_uptake ==2 ? true : false"></label-box>
665
                     <label-box :isChecked="prescription.oxygen_uptake ==2 ? true : false"></label-box>
666
                     &nbsp;
666
                     &nbsp;
667
-                  </td>
667
+                  </td> -->
668
                   <td></td>
668
                   <td></td>
669
                   <td></td>
669
                   <td></td>
670
                 </tr>
670
                 </tr>

+ 48 - 0
src/xt_pages/qcd/basicInformationAnalysis.vue View File

262
                       <p>血浆胆红素吸附+HP:{{item.count}}次({{(item.count/total*100).toFixed(2)}}%)</p>
262
                       <p>血浆胆红素吸附+HP:{{item.count}}次({{(item.count/total*100).toFixed(2)}}%)</p>
263
                       <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>
263
                       <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>
264
                   </span>
264
                   </span>
265
+
266
+                  <span v-if="item.mode_id == 'HPD'">
267
+                      <p>HPD:{{item.count}}次({{(item.count/total*100).toFixed(2)}}%)</p>
268
+                      <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>
269
+                  </span>
270
+                  <span v-if="item.mode_id == 'HDP'">
271
+                      <p>HDP:{{item.count}}次({{(item.count/total*100).toFixed(2)}}%)</p>
272
+                      <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>
273
+                  </span>
274
+                  <span v-if="item.mode_id == 'HFD'">
275
+                      <p>HFD:{{item.count}}次({{(item.count/total*100).toFixed(2)}}%)</p>
276
+                      <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>
277
+                  </span>
278
+                  <span v-if="item.mode_id == 'HDF100'">
279
+                      <p>HDF100:{{item.count}}次({{(item.count/total*100).toFixed(2)}}%)</p>
280
+                      <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>
281
+                  </span>
282
+                  <span v-if="item.mode_id == 'HDF600'">
283
+                      <p>HDF600:{{item.count}}次({{(item.count/total*100).toFixed(2)}}%)</p>
284
+                      <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>
285
+                  </span>
286
+                  <span v-if="item.mode_id == 'HDF800'">
287
+                      <p>HDF800:{{item.count}}次({{(item.count/total*100).toFixed(2)}}%)</p>
288
+                      <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>
289
+                  </span>
290
+                  <span v-if="item.mode_id == 'HDF800'">
291
+                      <p>HDF800:{{item.count}}次({{(item.count/total*100).toFixed(2)}}%)</p>
292
+                      <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>
293
+                  </span>
294
+                  <span v-if="item.mode_id == 'HDF1000'">
295
+                      <p>HDF1000:{{item.count}}次({{(item.count/total*100).toFixed(2)}}%)</p>
296
+                      <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>
297
+                  </span>
265
                </div>
298
                </div>
266
               </div>
299
               </div>
267
             </div>
300
             </div>
1044
             if(modedate[i].mode_id == 32){
1077
             if(modedate[i].mode_id == 32){
1045
               modedate[i].mode_id = "HDP"
1078
               modedate[i].mode_id = "HDP"
1046
             }
1079
             }
1080
+            if(modedate[i].mode_id == 33){
1081
+              modedate[i].mode_id = "HFD"
1082
+            }
1083
+            if(modedate[i].mode_id == 34){
1084
+              modedate[i].mode_id = "HDF100"
1085
+            }
1086
+            if(modedate[i].mode_id == 35){
1087
+              modedate[i].mode_id = "HDF600"
1088
+            }
1089
+            if(modedate[i].mode_id == 36){
1090
+              modedate[i].mode_id = "HDF800"
1091
+            }
1092
+            if(modedate[i].mode_id == 37){
1093
+              modedate[i].mode_id = "HDF1000"
1094
+            }
1047
             this.modetype = modedate
1095
             this.modetype = modedate
1048
 
1096
 
1049
             // this.modesData.xAxis.push(modedate[i].mode_id)
1097
             // this.modesData.xAxis.push(modedate[i].mode_id)