Selaa lähdekoodia

12月11日 打印单

yq1 1 viikko sitten
vanhempi
commit
ebb6f65d0f
1 muutettua tiedostoa jossa 66 lisäystä ja 30 poistoa
  1. 66 30
      src/pages/main/template/DialysisPrintOrdereighty.vue

+ 66 - 30
src/pages/main/template/DialysisPrintOrdereighty.vue Näytä tiedosto

@@ -168,7 +168,7 @@
168 168
                   </div>
169 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 173
                         predialysis.systolic_blood_pressure
174 174
                           ? predialysis.systolic_blood_pressure
@@ -182,6 +182,31 @@
182 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 210
                     </div>
186 211
                     mmHg
187 212
                   </div>
@@ -751,39 +776,50 @@
751 776
                 </div>
752 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 823
                   </div>
788 824
                   mmHg
789 825
                 </div>
@@ -936,7 +972,7 @@
936 972
                     class="under_line"
937 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 976
                         {{ (monitors[monitors.length - 1].ultrafiltration_volume/1000).toFixed(1) }}
941 977
                       </span>
942 978
                       <span v-else>