Browse Source

12月10日 打印单

yq1 1 week ago
parent
commit
d94ac1a9d7
1 changed files with 50 additions and 7 deletions
  1. 50 7
      src/pages/main/template/DialysisPrintOrderSixty.vue

+ 50 - 7
src/pages/main/template/DialysisPrintOrderSixty.vue View File

319
                   class="row"
319
                   class="row"
320
                   style="padding: 2px 0; line-height: 23px; display: flex"
320
                   style="padding: 2px 0; line-height: 23px; display: flex"
321
                 >
321
                 >
322
-                  <div class="inline_block">
322
+                  <div class="inline_block" style="flex: 1;">
323
                     血管通路:
323
                     血管通路:
324
                     <div
324
                     <div
325
                       class="under_line"
325
                       class="under_line"
330
                       {{ predialysis.blood_access_part_opera_name }}
330
                       {{ predialysis.blood_access_part_opera_name }}
331
                     </div>
331
                     </div>
332
                   </div>
332
                   </div>
333
-                  <div class="inline_block" style="margin-left: 10px">
333
+                  <div class="inline_block" style="flex: 1;">
334
                     内瘘:
334
                     内瘘:
335
                     <div
335
                     <div
336
                       class="under_line"
336
                       class="under_line"
337
                       style="
337
                       style="
338
-                        width: 180px;
338
+                        width: 80%;
339
                         text-align: center;
339
                         text-align: center;
340
                         white-space: normal;
340
                         white-space: normal;
341
                       "
341
                       "
350
 
350
 
351
                   <div
351
                   <div
352
                     class="inline_block"
352
                     class="inline_block"
353
-                    style="margin-left: 10px; flex: 1.4"
353
+                    style="flex: 1"
354
                   >
354
                   >
355
                     导管:
355
                     导管:
356
                     <div
356
                     <div
846
                       }}
846
                       }}
847
                     </div>
847
                     </div>
848
                     <span v-if="prescription.anticoagulant == 4">mg</span>
848
                     <span v-if="prescription.anticoagulant == 4">mg</span>
849
-                    <span v-if="prescription.anticoagulant == 3">iu</span>
849
+                    <span v-if="prescription.anticoagulant == 3 ||
850
+                      prescription.anticoagulant == 6 || prescription.anticoagulant == 7" 
851
+                    >
852
+                      iu
853
+                    </span>
850
                     <span v-if="prescription.anticoagulant == 2">iu</span>
854
                     <span v-if="prescription.anticoagulant == 2">iu</span>
851
                     <span v-if="prescription.anticoagulant == 1">mg</span>
855
                     <span v-if="prescription.anticoagulant == 1">mg</span>
852
                   </div>
856
                   </div>
876
                     </div>
880
                     </div>
877
                     <span v-if="prescription.anticoagulant == 5">ml/h</span>
881
                     <span v-if="prescription.anticoagulant == 5">ml/h</span>
878
                     <span v-if="prescription.anticoagulant == 4">mg/h</span>
882
                     <span v-if="prescription.anticoagulant == 4">mg/h</span>
879
-                    <span v-if="prescription.anticoagulant == 3">iu/h</span>
883
+                    <span v-if="prescription.anticoagulant == 3 ||
884
+                      prescription.anticoagulant == 6 || prescription.anticoagulant == 7"
885
+                    >
886
+                      iu/h
887
+                    </span>
880
                     <span v-if="prescription.anticoagulant == 2">iu/h</span>
888
                     <span v-if="prescription.anticoagulant == 2">iu/h</span>
881
                     <span v-if="prescription.anticoagulant == 1">mg/h</span>
889
                     <span v-if="prescription.anticoagulant == 1">mg/h</span>
882
                   </div>
890
                   </div>
931
                           : "/"
939
                           : "/"
932
                       }}
940
                       }}
933
                     </div>
941
                     </div>
942
+                    <!-- {{ getzongliang(prescription.anticoagulant) }} -->
934
                     <span v-if="prescription.anticoagulant == 4">mg</span>
943
                     <span v-if="prescription.anticoagulant == 4">mg</span>
935
-                    <span v-if="prescription.anticoagulant == 3">iu</span>
944
+                    <span v-if="prescription.anticoagulant == 3 ||
945
+                      prescription.anticoagulant == 6 || prescription.anticoagulant == 7"
946
+                    >
947
+                      iu
948
+                    </span>
936
                     <span v-if="prescription.anticoagulant == 2">iu</span>
949
                     <span v-if="prescription.anticoagulant == 2">iu</span>
937
                     <span v-if="prescription.anticoagulant == 1">mg</span>
950
                     <span v-if="prescription.anticoagulant == 1">mg</span>
938
                   </div>
951
                   </div>
2632
           break;
2645
           break;
2633
       }
2646
       }
2634
     },
2647
     },
2648
+    getshouji(id){
2649
+      const options = this.anticoagulantsConfit
2650
+      if(id!=0){
2651
+        for(let i in options){
2652
+          if(options[i].id == id){
2653
+            return options[i].shouji_unit
2654
+          }
2655
+        }
2656
+      }
2657
+    },
2658
+    getweichi(id){
2659
+      const options = this.anticoagulantsConfit
2660
+      if(id!=0){
2661
+        for(let i in options){
2662
+          if(options[i].id == id){
2663
+            return options[i].weichi_unit
2664
+          }
2665
+        }
2666
+      }
2667
+    },
2668
+    getzongliang(id){
2669
+      const options = this.anticoagulantsConfit
2670
+      if(id!=0){
2671
+        for(let i in options){
2672
+          if(options[i].id == id){
2673
+            return options[i].zongliang_unit
2674
+          }
2675
+        }
2676
+      }
2677
+    }
2635
   },
2678
   },
2636
   watch: {
2679
   watch: {
2637
     "patientInfo.gender": function () {
2680
     "patientInfo.gender": function () {