Browse Source

修改中能建打印单

张保健 4 years ago
parent
commit
0ad07fb1b0
1 changed files with 45 additions and 38 deletions
  1. 45 38
      src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue

+ 45 - 38
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

130
                   </div>
130
                   </div>
131
                   mmHg
131
                   mmHg
132
                 </div>
132
                 </div>
133
-                <div class="inline_block" style="margin-left:10px;">
134
-                  血管通路:
135
-                  <div class="under_line" style="width: 200px;text-align: center;">
136
-                    {{QueryPartById(predialysis.blood_access_part_id)}} {{predialysis.blood_access_part_opera_name}}
137
-                  </div>
138
-                </div>
139
-              </div>
140
-              <div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
141
-                <div class="inline_block" style="flex:1;">
142
-                  内瘘:
143
-                  <div class="under_line" style="width: 150px;text-align: center">
144
-                    {{predialysis.internal_fistula?predialysis.internal_fistula:'/'}}
145
-                  </div>
146
-                </div>
147
-
148
-                <div class="inline_block" style="margin-left:10px;flex:1;">
149
-                  导管:
150
-                  <div class="under_line" style="width: 150px;text-align: center">
151
-                    {{predialysis.catheter?predialysis.catheter:'/'}}
152
-                  </div>
153
-                </div>
154
                 <div class="inline_block" style="margin-left:10px;flex:1;">
133
                 <div class="inline_block" style="margin-left:10px;flex:1;">
155
                   穿刺方式:
134
                   穿刺方式:
156
                   <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way == 0">
135
                   <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way == 0">
172
                     {{predialysis.puncture_needle?predialysis.puncture_needle:'/'}}
151
                     {{predialysis.puncture_needle?predialysis.puncture_needle:'/'}}
173
                   </div>
152
                   </div>
174
                 </div>
153
                 </div>
154
+                
155
+              </div>
156
+              
157
+              <div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
158
+                <div class="inline_block" style="flex:1.4">
159
+                  血管通路:
160
+                  <div class="under_line" style="width: 200px;text-align: center;">
161
+                    {{QueryPartById(predialysis.blood_access_part_id)}} {{predialysis.blood_access_part_opera_name}}
162
+                  </div>
163
+                </div>
164
+                <div class="inline_block" style="margin-left:10px;flex:1;">
165
+                  内瘘:
166
+                  <div class="under_line" style="width: 150px;text-align: center">
167
+                    {{predialysis.internal_fistula?predialysis.internal_fistula:'/'}}
168
+                  </div>
169
+                </div>
170
+
171
+                <div class="inline_block" style="margin-left:10px;flex:1.8;">
172
+                  导管:
173
+                  <div class="under_line" style="width: 150px;text-align: center">
174
+                    {{predialysis.catheter?predialysis.catheter:'/'}}
175
+                  </div>
176
+                </div>
177
+                
175
               </div>
178
               </div>
176
               <div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
179
               <div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
177
                 <div class="inline_block" style="flex:1;">
180
                 <div class="inline_block" style="flex:1;">
450
                   <td>{{monitor.breathing_rate?monitor.breathing_rate:''}}</td>
453
                   <td>{{monitor.breathing_rate?monitor.breathing_rate:''}}</td>
451
                   <td>{{monitor.blood_flow_volume?monitor.blood_flow_volume:''}}</td>
454
                   <td>{{monitor.blood_flow_volume?monitor.blood_flow_volume:''}}</td>
452
                   <td>{{monitor.venous_pressure?monitor.venous_pressure:''}}</td>
455
                   <td>{{monitor.venous_pressure?monitor.venous_pressure:''}}</td>
453
-                  <td>{{monitor.transmembrane_pressure?monitor.transmembrane_pressure:0}}</td>
456
+                  <td v-if="monitor.operate_time > dialysisOrder.end_time">{{monitor.transmembrane_pressure?monitor.transmembrane_pressure:''}}</td>
457
+                  <td v-if="monitor.operate_time <= dialysisOrder.end_time">{{monitor.transmembrane_pressure?monitor.transmembrane_pressure:0}}</td>
454
                   <td>{{monitor.dialysate_temperature?monitor.dialysate_temperature:''}}</td>
458
                   <td>{{monitor.dialysate_temperature?monitor.dialysate_temperature:''}}</td>
455
                   <td>{{monitor.sodium_concentration?monitor.sodium_concentration:''}}</td>
459
                   <td>{{monitor.sodium_concentration?monitor.sodium_concentration:''}}</td>
456
-                  <td>{{monitor.ultrafiltration_volume?monitor.ultrafiltration_volume:0}}</td>
457
-                  <td v-if="prescription.mode_id==2 || prescription.mode_id==5" width="50">{{monitor.displacement_quantity?monitor.displacement_quantity:0}}</td>
460
+                  <td v-if="monitor.operate_time > dialysisOrder.end_time">{{monitor.ultrafiltration_volume?monitor.ultrafiltration_volume:''}}</td>
461
+                  <td v-if="monitor.operate_time <= dialysisOrder.end_time">{{monitor.ultrafiltration_volume?monitor.ultrafiltration_volume:0}}</td>
462
+                  <td v-if="(prescription.mode_id==2 || prescription.mode_id==5)&&monitor.operate_time > dialysisOrder.end_time" width="50">{{monitor.displacement_quantity?monitor.displacement_quantity:''}}</td>
463
+                  <td v-if="(prescription.mode_id==2 || prescription.mode_id==5)&&monitor.operate_time <= dialysisOrder.end_time" width="50">{{monitor.displacement_quantity?monitor.displacement_quantity:0}}</td>
458
                   <td style="line-height:16px;padding:0px;">
464
                   <td style="line-height:16px;padding:0px;">
459
                     <div style="min-height:35px;line-height:35px; overflow:hidden;">
465
                     <div style="min-height:35px;line-height:35px; overflow:hidden;">
460
                           <span style="word-break: break-all;margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;">
466
                           <span style="word-break: break-all;margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;">
704
                   </div>
710
                   </div>
705
                   次/分
711
                   次/分
706
                 </div>
712
                 </div>
707
-                <div class="inline_block" style="margin-left:10px;flex:1;">
713
+                <div class="inline_block" style="margin-left:10px;flex:1.5;">
708
                   BP:
714
                   BP:
709
                   <div class="under_line" style="width: 50px;text-align: center;">
715
                   <div class="under_line" style="width: 50px;text-align: center;">
710
                     {{afterdialysis.systolic_blood_pressure?afterdialysis.systolic_blood_pressure:'/'}}
716
                     {{afterdialysis.systolic_blood_pressure?afterdialysis.systolic_blood_pressure:'/'}}
715
                   </div>
721
                   </div>
716
                   mmHg
722
                   mmHg
717
                 </div>
723
                 </div>
724
+                <div class="inline_block" style="flex:1.5;">
725
+                  实际治疗时间:
726
+                  <div class="under_line" style="width: 30px;text-align: center">
727
+                    {{afterdialysis.actual_treatment_hour?afterdialysis.actual_treatment_hour:'/'}}
728
+                  </div>
729
+                  h
730
+                  <div class="under_line" style="width: 30px;text-align: center">
731
+                    {{afterdialysis.actual_treatment_minute?afterdialysis.actual_treatment_minute:0}}
732
+                  </div>
733
+                  min
734
+                </div>
718
               </div>
735
               </div>
719
               <div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
736
               <div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
720
                 <div class="inline_block" style="flex:2;">
737
                 <div class="inline_block" style="flex:2;">
729
                     {{afterdialysis.internal_fistula?afterdialysis.internal_fistula:'/'}}
746
                     {{afterdialysis.internal_fistula?afterdialysis.internal_fistula:'/'}}
730
                   </div>
747
                   </div>
731
                 </div>
748
                 </div>
732
-                <div class="inline_block" style="flex:1;">
749
+                <div class="inline_block" style="flex:3;">
733
                   导管:
750
                   导管:
734
-                  <div class="under_line" style="width: 100px;text-align: center">
751
+                  <div class="under_line" style="min-width: 120px;text-align: center">
735
                     {{afterdialysis.catheter?afterdialysis.catheter:'/'}}
752
                     {{afterdialysis.catheter?afterdialysis.catheter:'/'}}
736
                   </div>
753
                   </div>
737
                 </div>
754
                 </div>
738
-                <div class="inline_block" style="flex:1.5;">
739
-                  实际治疗时间:
740
-                  <div class="under_line" style="width: 30px;text-align: center">
741
-                    {{afterdialysis.actual_treatment_hour?afterdialysis.actual_treatment_hour:'/'}}
742
-                  </div>
743
-                  h
744
-                  <div class="under_line" style="width: 30px;text-align: center">
745
-                    {{afterdialysis.actual_treatment_minute?afterdialysis.actual_treatment_minute:0}}
746
-                  </div>
747
-                  min
748
-                </div>
755
+                
749
               </div>
756
               </div>
750
 
757
 
751
               <div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
758
               <div class="row" style="padding: 2px 0;line-height:23px;display:flex;">