Browse Source

12月11日 打印单

yq1 1 week ago
parent
commit
ebb6f65d0f
1 changed files with 66 additions and 30 deletions
  1. 66 30
      src/pages/main/template/DialysisPrintOrdereighty.vue

+ 66 - 30
src/pages/main/template/DialysisPrintOrdereighty.vue View File

168
                   </div>
168
                   </div>
169
                   <div class="inline_block" style="flex: 1;">
169
                   <div class="inline_block" style="flex: 1;">
170
                     血压:
170
                     血压:
171
-                    <div class="under_line" style="width: 50px; text-align: center">
171
+                    <!-- <div class="under_line" style="width: 50px; text-align: center">
172
                       {{
172
                       {{
173
                         predialysis.systolic_blood_pressure
173
                         predialysis.systolic_blood_pressure
174
                           ? predialysis.systolic_blood_pressure
174
                           ? predialysis.systolic_blood_pressure
182
                           ? predialysis.diastolic_blood_pressure
182
                           ? predialysis.diastolic_blood_pressure
183
                           : ""
183
                           : ""
184
                       }}
184
                       }}
185
+                    </div> -->
186
+                    <div class="inline_block" v-if="predialysis.systolic_blood_pressure!='' && 
187
+                        predialysis.diastolic_blood_pressure !=''">
188
+                      <div class="under_line" style="width: 50px; text-align: center">
189
+                        {{
190
+                          predialysis.systolic_blood_pressure
191
+                            ? predialysis.systolic_blood_pressure
192
+                            : ""
193
+                        }}
194
+                      </div>
195
+                      /
196
+                      <div class="under_line" style="width: 50px; text-align: center">
197
+                        {{
198
+                          predialysis.diastolic_blood_pressure
199
+                            ? predialysis.diastolic_blood_pressure
200
+                            : ""
201
+                        }}
202
+                      </div>
203
+                    </div>
204
+                    <div class="inline_block" v-else>
205
+                      <div class="under_line" 
206
+                        style="width: 100px; text-align: center"
207
+                      >
208
+                        拒测血压
209
+                      </div>
185
                     </div>
210
                     </div>
186
                     mmHg
211
                     mmHg
187
                   </div>
212
                   </div>
751
                 </div>
776
                 </div>
752
                 <div class="inline_block" style="flex: 1">
777
                 <div class="inline_block" style="flex: 1">
753
                   血压:
778
                   血压:
754
-                  <div class="under_line"
755
-                    style="width: 50px; text-align: center"
779
+                 
780
+                  <div class="inline_block" v-if="afterdialysis.systolic_blood_pressure!='' && 
781
+                      afterdialysis.diastolic_blood_pressure !=''"
756
                   >
782
                   >
757
-                    <!-- {{
758
-                      afterdialysis.systolic_blood_pressure
759
-                        ? afterdialysis.systolic_blood_pressure
760
-                        : ""
761
-                    }} -->
762
-
763
-                    <span v-if="monitors.length>0">
783
+                    <div class="under_line" 
784
+                      style="width: 50px; text-align: center"
785
+                    >
764
                       {{
786
                       {{
765
-                        monitors[monitors.length-1].systolic_blood_pressure ?
766
-                        monitors[monitors.length-1].systolic_blood_pressure :""
787
+                        afterdialysis.systolic_blood_pressure
788
+                          ? afterdialysis.systolic_blood_pressure
789
+                          : ""
767
                       }}
790
                       }}
768
-                    </span>
769
-                      <span v-else></span>
770
-                  </div>
771
-                  /
772
-                  <div class="under_line"
773
-                    style="width: 50px; text-align: center"
774
-                  >
775
-                    <!-- {{
776
-                      afterdialysis.diastolic_blood_pressure
777
-                        ? afterdialysis.diastolic_blood_pressure
778
-                        : "/"
779
-                    }} -->
780
-                    <span v-if="monitors.length>0">
791
+                        <!-- <span v-if="monitors.length>0">
792
+                          {{
793
+                            monitors[monitors.length-1].systolic_blood_pressure ?
794
+                            monitors[monitors.length-1].systolic_blood_pressure :""
795
+                          }}
796
+                        </span>
797
+                        <span v-else></span> -->
798
+                    </div>
799
+                    /
800
+                    <div class="under_line"
801
+                      style="width: 50px; text-align: center"
802
+                    >
781
                       {{
803
                       {{
782
-                        monitors[monitors.length-1].diastolic_blood_pressure ?
783
-                          monitors[monitors.length-1].diastolic_blood_pressure :""
804
+                        afterdialysis.diastolic_blood_pressure
805
+                          ? afterdialysis.diastolic_blood_pressure
806
+                          : ""
784
                       }}
807
                       }}
785
-                    </span>
786
-                    <span v-else></span>
808
+                      <!-- <span v-if="monitors.length>0">
809
+                        {{
810
+                          monitors[monitors.length-1].diastolic_blood_pressure ?
811
+                            monitors[monitors.length-1].diastolic_blood_pressure :""
812
+                        }}
813
+                      </span>
814
+                      <span v-else></span> -->
815
+                    </div>
816
+                  </div>
817
+                  <div class="inline_block" v-else>
818
+                    <div class="under_line" 
819
+                      style="width: 100px; text-align: center"
820
+                    >
821
+                      拒测血压
822
+                    </div>
787
                   </div>
823
                   </div>
788
                   mmHg
824
                   mmHg
789
                 </div>
825
                 </div>
936
                     class="under_line"
972
                     class="under_line"
937
                     style="width: 70px; text-align: center"
973
                     style="width: 70px; text-align: center"
938
                   >
974
                   >
939
-                      <span v-if="monitors.length <=0&& monitors[monitors.length - 1].ultrafiltration_volume !=''">
975
+                      <span v-if="monitors.length >0&& monitors[monitors.length - 1].ultrafiltration_volume !=''">
940
                         {{ (monitors[monitors.length - 1].ultrafiltration_volume/1000).toFixed(1) }}
976
                         {{ (monitors[monitors.length - 1].ultrafiltration_volume/1000).toFixed(1) }}
941
                       </span>
977
                       </span>
942
                       <span v-else>
978
                       <span v-else>