瀏覽代碼

打印样式修改

张保健 5 年之前
父節點
當前提交
b5a5991bf3

+ 189 - 163
src/xt_pages/dialysis/batch_print/batch_print_order_other.vue 查看文件

@@ -47,7 +47,7 @@
47 47
               <div class="under_line_two" style="width: 500px;text-align: left">{{record.patient.diagnose}}</div>
48 48
             </div>
49 49
           </div>
50
-          <div class="row">
50
+          <div class="row" :class="(record.monitor_records.length > 9 && record.print_length == 9) || (record.monitor_records.length > 8 && record.print_length == 8)  ? 'margin-bottom-300': ''">
51 51
             <table class="proj_table">
52 52
               <tbody>
53 53
               <tr><td colspan="2">一、透析前护理评估:</td></tr>
@@ -282,14 +282,14 @@
282 282
                     </tr>
283 283
                     </tbody>
284 284
                   </table>
285
+                  <div v-if="(record.monitor_records.length > 9 && record.print_length == 9) || (record.monitor_records.length > 8 && record.print_length == 8)"  class="print-yema">1</div>
285 286
                 </td>
286 287
               </tr>
287 288
               </tbody>
288 289
             </table>
289 290
           </div>
290
-          <div v-if="record.monitor_records.length > 8 " :class="record.monitor_records.length > 8  ? 'margin-bottom-300': ''" style="text-align:center;margin-top:10px;">1</div>
291 291
 
292
-          <template v-if="record.monitor_records.length > 8 ">
292
+          <template v-if="(record.monitor_records.length > 9 && record.print_length == 9) || (record.monitor_records.length > 8 && record.print_length == 8)">
293 293
             <div class="order-yy-name">{{orgname}}</div>
294 294
             <div class="order_title">血液净化专科护理记录单</div>
295 295
             <div class="row">
@@ -331,7 +331,7 @@
331 331
               </div>
332 332
             </div>
333 333
           </template>
334
-          <div class="row" :style="record.monitor_records.length <= 8 ? 'margin-top:-11px':''">
334
+          <div class="row" :style="(record.monitor_records.length <= 9 && record.print_length == 9) || (record.monitor_records.length <= 8 && record.print_length == 8)? 'margin-top:-11px;position: relative;':'position: relative;'"  :class="(record.monitor_records.length > 9 && record.print_length == 9) || (record.monitor_records.length > 8 && record.print_length == 8) ? 'margin-bottom-900':'margin-bottom-300'">
335 335
             <table class="proj_table" >
336 336
               <tbody>
337 337
               <tr v-if="record.monitor_records2.length > 0">
@@ -592,9 +592,10 @@
592 592
               </tr>
593 593
               </tbody>
594 594
             </table>
595
+            <div v-if="(record.monitor_records.length > 9 && record.print_length == 9) || (record.monitor_records.length > 8 && record.print_length == 8)" class="print-yema3" >2</div>
596
+            <div v-else class="print-yema2">1</div>
595 597
           </div>
596
-          <div v-if="record.monitor_records.length > 8" :class="record.monitor_records.length > 8 ? 'margin-bottom-900':'margin-bottom-300'" style="text-align:center;margin-top:10px;">2</div>
597
-          <div v-else class="margin-bottom-300" style="text-align:center;margin-top:10px;">1</div>
598
+          
598 599
           <div class="order-yy-name">{{orgname}}</div>
599 600
           <div class="order_title">血液净化科医嘱及执行单</div>
600 601
           <div class="row" >
@@ -819,159 +820,162 @@
819 820
             </tr>
820 821
             </tbody>
821 822
           </table>
822
-          <table class="print-table-no" border="1" style="border-top:0;" count="0">
823
-            <tbody>
824
-            <tr style="line-height:35px;padding:8px 5px;">
825
-              <td colspan="7" style="font-size: 18px">医嘱</td>
826
-            </tr>
827
-            <tr style="line-height:35px;padding:8px 5px;">
828
-              <td colspan="4" style="font-size: 16px">开医嘱</td>
829
-              <td colspan="3" style="font-size: 16px">执行核对医嘱</td>
830
-            </tr>
831
-            <tr style="line-height:35px;padding:8px 5px;">
832
-              <td style="font-size: 16px" width="10%">时间</td>
833
-              <td style="font-size: 16px" colspan="2" width="45%">医嘱内容</td>
834
-              <td style="font-size: 16px" width="10%">医生签名</td>
835
-              <td style="font-size: 16px" width="10%">核对人签名</td>
836
-              <td style="font-size: 16px" width="10%">执行人签名</td>
837
-              <td style="font-size: 16px" width="10%">时间</td>
838
-            </tr>
839
-            <template v-for="(group, group_index) in record.advices">
840
-              <tr v-for="(advice, advice_index) in group.advices" :key="advice_index">
841
-                <td height="60px" v-if="advice_index == 0" :rowspan="group.advices.length">
842
-                  <span v-if="advice.start_time">{{getTime(advice.start_time,'{y}-{m}-{d} {h}:{i}')}}</span>
843
-                  <span v-else>&nbsp;<br/>&nbsp;</span>
844
-                </td>
845
-                <td height="60px" class="advice-name" style="padding-left:7px;" :colspan="advice.children && advice.children.length > 0 || advice.parent_id > 0 ? 1 :2" v-if="advice.isShow == 2">
846
-                  <span>{{advice.advice_name }}</span>
847
-                  <span>{{advice.advice_desc}}</span>
848
-                  <!-- <span v-if="advice[0].drug_spec">{{advice[0].drug_spec}}{{advice[0].drug_spec_unit}}</span> -->
849
-                  <span v-if="advice.prescribing_number">* {{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
850
-                  <span v-if="advice.single_dose != 0">单次用量 {{advice.single_dose}}{{advice.single_dose_unit}}</span>
851
-                  <span v-if="advice.parent_id == 0  &&advice.children && advice.children.length == 0">{{advice.delivery_way}}</span>
852
-                  <span v-if="advice.parent_id == 0  &&advice.children&& advice.children.length == 0">{{advice.execution_frequency}}</span>
853
-                  <span v-if="advice.parent_id == 0 && advice.children &&  advice.children.length == 0 && advice.remark.length > 0" >({{advice.remark}})</span>
854
-                </td>
855
-                <td colspan="2"  height="60px" style="text-align: center" v-else >
856
-                  <span>{{advice.delivery_way}}</span>
857
-                  <span>{{advice.execution_frequency}}</span>
858
-                  <span v-if="advice.remark.length > 0" >({{advice.remark}})</span>
859
-                </td>
860
-                <td width="10%" v-if="(advice.children && advice.children.length > 0 || advice.parent_id > 0) && advice.isShow == 2" ></td>
861
-                <td height="60px">
862
-                  <span v-if="setAdminUserES(advice, 'advice_doctor') == ''">{{getAdminUser(advice, 'advice_doctor')}}</span>
863
-                  <img class="es-img" :src="setAdminUserES(advice, 'advice_doctor')" alt="" srcset="" v-else >
864
-                </td>
865
-                <td height="60px">
866
-                  <span v-if="setAdminUserES(advice, 'checker') == ''">{{getAdminUser(advice, 'checker')}}</span>
867
-                  <img class="es-img" :src="setAdminUserES(advice, 'checker')" alt="" srcset="" v-else >
868
-                </td>
869
-                <td height="60px">
870
-                  <span v-if="setAdminUserES(advice, 'execution_staff') == ''">{{getAdminUser(advice, 'execution_staff')}}</span>
871
-                  <img class="es-img" :src="setAdminUserES(advice, 'execution_staff')" alt="" srcset="" v-else >
872
-                </td>
873
-                <td height="60px"><span v-if="advice.execution_time"> {{getTime(advice.execution_time,'{y}-{m}-{d} {h}:{i}')}} </span> </td>
874
-              </tr>
875
-            </template>
876
-            </tbody>
877
-          </table>
878
-          <div :style="record.advices2.length > 0 ? 'margin-bottom:350px;border-top:0;text-align:center;margin-top:10px;':'border-top:0;text-align:center;margin-top:10px;'" >1</div>
879
-
823
+          <div :style="record.advices2.length > 0 ? 'margin-bottom:350px;border-top:0;text-align:center;position: relative;border-top:0;':'border-top:0;text-align:center;position: relative;border-top:0;'">
824
+            <table class="print-table-no" border="1" style="border-top:0;" count="0">
825
+              <tbody>
826
+                <tr style="line-height:35px;padding:8px 5px;">
827
+                  <td colspan="7" style="font-size: 18px">医嘱</td>
828
+                </tr>
829
+                <tr style="line-height:35px;padding:8px 5px;">
830
+                  <td colspan="4" style="font-size: 16px">开医嘱</td>
831
+                  <td colspan="3" style="font-size: 16px">执行核对医嘱</td>
832
+                </tr>
833
+                <tr style="line-height:35px;padding:8px 5px;">
834
+                  <td style="font-size: 16px" width="10%">时间</td>
835
+                  <td style="font-size: 16px" colspan="2" width="45%">医嘱内容</td>
836
+                  <td style="font-size: 16px" width="10%">医生签名</td>
837
+                  <td style="font-size: 16px" width="10%">核对人签名</td>
838
+                  <td style="font-size: 16px" width="10%">执行人签名</td>
839
+                  <td style="font-size: 16px" width="10%">时间</td>
840
+                </tr>
841
+                <template v-for="(group, group_index) in record.advices">
842
+                  <tr v-for="(advice, advice_index) in group.advices" :key="advice_index">
843
+                    <td height="60px" v-if="advice_index == 0" :rowspan="group.advices.length">
844
+                      <span v-if="advice.start_time">{{getTime(advice.start_time,'{y}-{m}-{d} {h}:{i}')}}</span>
845
+                      <span v-else>&nbsp;<br/>&nbsp;</span>
846
+                    </td>
847
+                    <td height="60px" class="advice-name" style="padding-left:7px;" :colspan="advice.children && advice.children.length > 0 || advice.parent_id > 0 ? 1 :2" v-if="advice.isShow == 2">
848
+                      <span>{{advice.advice_name }}</span>
849
+                      <span>{{advice.advice_desc}}</span>
850
+                      <!-- <span v-if="advice[0].drug_spec">{{advice[0].drug_spec}}{{advice[0].drug_spec_unit}}</span> -->
851
+                      <span v-if="advice.prescribing_number">* {{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
852
+                      <span v-if="advice.single_dose != 0">单次用量 {{advice.single_dose}}{{advice.single_dose_unit}}</span>
853
+                      <span v-if="advice.parent_id == 0  &&advice.children && advice.children.length == 0">{{advice.delivery_way}}</span>
854
+                      <span v-if="advice.parent_id == 0  &&advice.children&& advice.children.length == 0">{{advice.execution_frequency}}</span>
855
+                      <span v-if="advice.parent_id == 0 && advice.children &&  advice.children.length == 0 && advice.remark.length > 0" >({{advice.remark}})</span>
856
+                    </td>
857
+                    <td colspan="2"  height="60px" style="text-align: center" v-else >
858
+                      <span>{{advice.delivery_way}}</span>
859
+                      <span>{{advice.execution_frequency}}</span>
860
+                      <span v-if="advice.remark.length > 0" >({{advice.remark}})</span>
861
+                    </td>
862
+                    <td width="10%" v-if="(advice.children && advice.children.length > 0 || advice.parent_id > 0) && advice.isShow == 2" ></td>
863
+                    <td height="60px">
864
+                      <span v-if="setAdminUserES(advice, 'advice_doctor') == ''">{{getAdminUser(advice, 'advice_doctor')}}</span>
865
+                      <img class="es-img" :src="setAdminUserES(advice, 'advice_doctor')" alt="" srcset="" v-else >
866
+                    </td>
867
+                    <td height="60px">
868
+                      <span v-if="setAdminUserES(advice, 'checker') == ''">{{getAdminUser(advice, 'checker')}}</span>
869
+                      <img class="es-img" :src="setAdminUserES(advice, 'checker')" alt="" srcset="" v-else >
870
+                    </td>
871
+                    <td height="60px">
872
+                      <span v-if="setAdminUserES(advice, 'execution_staff') == ''">{{getAdminUser(advice, 'execution_staff')}}</span>
873
+                      <img class="es-img" :src="setAdminUserES(advice, 'execution_staff')" alt="" srcset="" v-else >
874
+                    </td>
875
+                    <td height="60px"><span v-if="advice.execution_time"> {{getTime(advice.execution_time,'{y}-{m}-{d} {h}:{i}')}} </span> </td>
876
+                  </tr>
877
+                </template>
878
+              </tbody>
879
+            </table>
880
+            <div class="print-yema4">1</div>
881
+          </div>
882
+ 
880 883
           <template v-if="record.advices2.length > 0">
881
-            <div class="order-yy-name">{{orgname}}</div>
882
-            <div class="order_title">血液净化科医嘱及执行单</div>
883
-            <div class="row">
884
-              <div class="inline_block" >
885
-                科室:
886
-                <check-box text="门诊透析" :checked="record.patient.source == 1"></check-box>
887
-                <check-box text="住院" :checked="record.patient.source == 2"></check-box>
888
-                <!-- TODO -->
889
-              </div>
890
-              <div class="inline_block" style="margin-left:25px;">
891
-                住院号:
892
-                <div class="under_line" style="width: 120px;text-align: left">
893
-                  {{record.patient.admission_number?record.patient.admission_number:'/'}}
884
+            <div style="position: relative;">
885
+              <div class="order-yy-name">{{orgname}}</div>
886
+              <div class="order_title">血液净化科医嘱及执行单</div>
887
+              <div class="row">
888
+                <div class="inline_block" >
889
+                  科室:
890
+                  <check-box text="门诊透析" :checked="record.patient.source == 1"></check-box>
891
+                  <check-box text="住院" :checked="record.patient.source == 2"></check-box>
892
+                  <!-- TODO -->
893
+                </div>
894
+                <div class="inline_block" style="margin-left:25px;">
895
+                  住院号:
896
+                  <div class="under_line" style="width: 120px;text-align: left">
897
+                    {{record.patient.admission_number?record.patient.admission_number:'/'}}
898
+                  </div>
899
+                </div>
900
+                <div class="inline_block" style="margin-left:25px;">
901
+                  姓名:
902
+                  <div class="under_line" style="width: 120px;text-align: left">{{ record.patient.name }}</div>
903
+                </div>
904
+                <div class="inline_block" style="margin-left: 25px;">
905
+                  性别:
906
+                  <check-box text="男" :checked="record.patient.gender == 1"></check-box>
907
+                  <check-box text="女" :checked="record.patient.gender == 2"></check-box>
908
+                </div>
909
+                <div class="inline_block" style="margin-left: 25px;">
910
+                  年龄:
911
+                  <div class="under_line" style="width: 70px;text-align: left">{{jsGetAge(record.patient.birthday)}}</div>
912
+                  岁
894 913
                 </div>
895 914
               </div>
896
-              <div class="inline_block" style="margin-left:25px;">
897
-                姓名:
898
-                <div class="under_line" style="width: 120px;text-align: left">{{ record.patient.name }}</div>
899
-              </div>
900
-              <div class="inline_block" style="margin-left: 25px;">
901
-                性别:
902
-                <check-box text="男" :checked="record.patient.gender == 1"></check-box>
903
-                <check-box text="女" :checked="record.patient.gender == 2"></check-box>
904
-              </div>
905
-              <div class="inline_block" style="margin-left: 25px;">
906
-                年龄:
907
-                <div class="under_line" style="width: 70px;text-align: left">{{jsGetAge(record.patient.birthday)}}</div>
908
-                岁
909
-              </div>
910
-
911
-            </div>
912
-            <div class="row flex">
913
-              <div class="inline_block">
914
-                诊断:
915
-                <div class="under_line_two" style="width: 500px;text-align: left">{{record.patient.diagnose}}</div>
915
+              <div class="row flex">
916
+                <div class="inline_block">
917
+                  诊断:
918
+                  <div class="under_line_two" style="width: 500px;text-align: left">{{record.patient.diagnose}}</div>
919
+                </div>
916 920
               </div>
921
+              <table class="print-table-no" border="1" count="0">
922
+                <tbody>
923
+                  <tr style="line-height:35px;padding:8px 5px;">
924
+                    <td colspan="7" style="font-size: 18px">医嘱</td>
925
+                  </tr>
926
+                  <tr style="line-height:35px;padding:8px 5px;">
927
+                    <td colspan="4" style="font-size: 16px">开医嘱</td>
928
+                    <td colspan="3" style="font-size: 16px">执行核对医嘱</td>
929
+                  </tr>
930
+                  <tr style="line-height:35px;padding:8px 5px;">
931
+                    <td style="font-size: 16px" width="10%">时间</td>
932
+                    <td style="font-size: 16px" colspan="2" width="45%">医嘱内容</td>
933
+                    <td style="font-size: 16px" width="10%">医生签名</td>
934
+                    <td style="font-size: 16px" width="10%">核对人签名</td>
935
+                    <td style="font-size: 16px" width="10%">执行人签名</td>
936
+                    <td style="font-size: 16px" width="10%">时间</td>
937
+                  </tr>
938
+                  <template v-for="(group, group_index) in record.advices2">
939
+                    <tr v-for="(advice, advice_index) in group.advices" :key="advice_index">
940
+                      <td height="60px" v-if="advice_index == 0" :rowspan="group.advices.length">
941
+                        <span v-if="advice.start_time">{{getTime(advice.start_time,'{y}-{m}-{d} {h}:{i}')}}</span>
942
+                        <span v-else>&nbsp;<br/>&nbsp;</span>
943
+                      </td>
944
+                      <td height="60px" class="advice-name" style="padding-left:7px;" :colspan="advice.children && advice.children.length > 0 || advice.parent_id > 0 ? 1 :2" v-if="advice.isShow == 2">
945
+                        <span>{{advice.advice_name }}</span>
946
+                        <span>{{advice.advice_desc}}</span>
947
+                        <!-- <span v-if="advice[0].drug_spec">{{advice[0].drug_spec}}{{advice[0].drug_spec_unit}}</span> -->
948
+                        <span v-if="advice.prescribing_number">* {{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
949
+                        <span v-if="advice.single_dose != 0">单次用量 {{advice.single_dose}}{{advice.single_dose_unit}}</span>
950
+                        <span v-if="advice.parent_id == 0  &&advice.children && advice.children.length == 0">{{advice.delivery_way}}</span>
951
+                        <span v-if="advice.parent_id == 0  &&advice.children&& advice.children.length == 0">{{advice.execution_frequency}}</span>
952
+                        <span v-if="advice.parent_id == 0 && advice.children &&  advice.children.length == 0 && advice.remark.length > 0" >({{advice.remark}})</span>
953
+                      </td>
954
+                      <td colspan="2"  height="60px" style="text-align: center" v-else >
955
+                        <span>{{advice.delivery_way}}</span>
956
+                        <span>{{advice.execution_frequency}}</span>
957
+                        <span v-if="advice.remark.length > 0" >({{advice.remark}})</span>
958
+                      </td>
959
+                      <td width="10%" v-if="(advice.children && advice.children.length > 0 || advice.parent_id > 0) && advice.isShow == 2" ></td>
960
+                      <td height="60px">
961
+                        <span v-if="setAdminUserES(advice, 'advice_doctor') == ''">{{getAdminUser(advice, 'advice_doctor')}}</span>
962
+                        <img class="es-img" :src="setAdminUserES(advice, 'advice_doctor')" alt="" srcset="" v-else >
963
+                      </td>
964
+                      <td height="60px">
965
+                        <span v-if="setAdminUserES(advice, 'checker') == ''">{{getAdminUser(advice, 'checker')}}</span>
966
+                        <img class="es-img" :src="setAdminUserES(advice, 'checker')" alt="" srcset="" v-else >
967
+                      </td>
968
+                      <td height="60px">
969
+                        <span v-if="setAdminUserES(advice, 'execution_staff') == ''">{{getAdminUser(advice, 'execution_staff')}}</span>
970
+                        <img class="es-img" :src="setAdminUserES(advice, 'execution_staff')" alt="" srcset="" v-else >
971
+                      </td>
972
+                      <td height="60px"><span v-if="advice.execution_time"> {{getTime(advice.execution_time,'{y}-{m}-{d} {h}:{i}')}} </span> </td>
973
+                    </tr>
974
+                  </template>
975
+                </tbody>
976
+              </table>
977
+              <div class="print-yema5">2</div>
917 978
             </div>
918
-            <table class="print-table-no" border="1" count="0">
919
-              <tbody>
920
-              <tr style="line-height:35px;padding:8px 5px;">
921
-                <td colspan="7" style="font-size: 18px">医嘱</td>
922
-              </tr>
923
-              <tr style="line-height:35px;padding:8px 5px;">
924
-                <td colspan="4" style="font-size: 16px">开医嘱</td>
925
-                <td colspan="3" style="font-size: 16px">执行核对医嘱</td>
926
-              </tr>
927
-              <tr style="line-height:35px;padding:8px 5px;">
928
-                <td style="font-size: 16px" width="10%">时间</td>
929
-                <td style="font-size: 16px" colspan="2" width="45%">医嘱内容</td>
930
-                <td style="font-size: 16px" width="10%">医生签名</td>
931
-                <td style="font-size: 16px" width="10%">核对人签名</td>
932
-                <td style="font-size: 16px" width="10%">执行人签名</td>
933
-                <td style="font-size: 16px" width="10%">时间</td>
934
-              </tr>
935
-              <template v-for="(group, group_index) in record.advices2">
936
-                <tr v-for="(advice, advice_index) in group.advices" :key="advice_index">
937
-                  <td height="60px" v-if="advice_index == 0" :rowspan="group.advices.length">
938
-                    <span v-if="advice.start_time">{{getTime(advice.start_time,'{y}-{m}-{d} {h}:{i}')}}</span>
939
-                    <span v-else>&nbsp;<br/>&nbsp;</span>
940
-                  </td>
941
-                  <td height="60px" class="advice-name" style="padding-left:7px;" :colspan="advice.children && advice.children.length > 0 || advice.parent_id > 0 ? 1 :2" v-if="advice.isShow == 2">
942
-                    <span>{{advice.advice_name }}</span>
943
-                    <span>{{advice.advice_desc}}</span>
944
-                    <!-- <span v-if="advice[0].drug_spec">{{advice[0].drug_spec}}{{advice[0].drug_spec_unit}}</span> -->
945
-                    <span v-if="advice.prescribing_number">* {{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
946
-                    <span v-if="advice.single_dose != 0">单次用量 {{advice.single_dose}}{{advice.single_dose_unit}}</span>
947
-                    <span v-if="advice.parent_id == 0  &&advice.children && advice.children.length == 0">{{advice.delivery_way}}</span>
948
-                    <span v-if="advice.parent_id == 0  &&advice.children&& advice.children.length == 0">{{advice.execution_frequency}}</span>
949
-                    <span v-if="advice.parent_id == 0 && advice.children &&  advice.children.length == 0 && advice.remark.length > 0" >({{advice.remark}})</span>
950
-                  </td>
951
-                  <td colspan="2"  height="60px" style="text-align: center" v-else >
952
-                    <span>{{advice.delivery_way}}</span>
953
-                    <span>{{advice.execution_frequency}}</span>
954
-                    <span v-if="advice.remark.length > 0" >({{advice.remark}})</span>
955
-                  </td>
956
-                  <td width="10%" v-if="(advice.children && advice.children.length > 0 || advice.parent_id > 0) && advice.isShow == 2" ></td>
957
-                  <td height="60px">
958
-                    <span v-if="setAdminUserES(advice, 'advice_doctor') == ''">{{getAdminUser(advice, 'advice_doctor')}}</span>
959
-                    <img class="es-img" :src="setAdminUserES(advice, 'advice_doctor')" alt="" srcset="" v-else >
960
-                  </td>
961
-                  <td height="60px">
962
-                    <span v-if="setAdminUserES(advice, 'checker') == ''">{{getAdminUser(advice, 'checker')}}</span>
963
-                    <img class="es-img" :src="setAdminUserES(advice, 'checker')" alt="" srcset="" v-else >
964
-                  </td>
965
-                  <td height="60px">
966
-                    <span v-if="setAdminUserES(advice, 'execution_staff') == ''">{{getAdminUser(advice, 'execution_staff')}}</span>
967
-                    <img class="es-img" :src="setAdminUserES(advice, 'execution_staff')" alt="" srcset="" v-else >
968
-                  </td>
969
-                  <td height="60px"><span v-if="advice.execution_time"> {{getTime(advice.execution_time,'{y}-{m}-{d} {h}:{i}')}} </span> </td>
970
-                </tr>
971
-              </template>
972
-              </tbody>
973
-            </table>
974
-            <div style="text-align:center;margin-top:10px;" >2</div>
975 979
           </template>
976 980
         </div>
977 981
       </div>
@@ -1067,11 +1071,18 @@
1067 1071
             this.advice_groups = []
1068 1072
             this.advice_groups_2 = []
1069 1073
             var dlegh = 0
1074
+            if((this.records[recordIndex].assessment_before_dislysis&&this.records[recordIndex].assessment_before_dislysis.systolic_blood_pressure != 0&&this.records[recordIndex].assessment_before_dislysis.diastolic_blood_pressure != 0) || (this.records[recordIndex].assessment_before_dislysis&&record.assessment_before_dislysis.remark.length > 0) ||(this.records[recordIndex].assessment_before_dislysis&&record.assessment_before_dislysis.pulse_frequency != 0) ||(this.records[recordIndex].assessment_before_dislysis&&record.assessment_before_dislysis.breathing_rate  != 0)||(this.records[recordIndex].assessment_before_dislysis&&record.assessment_before_dislysis.temperature  != 0)) {
1075
+              var nl = 8
1076
+              this.records[recordIndex].print_length = 8
1077
+            } else{
1078
+              var nl = 9
1079
+              this.records[recordIndex].print_length = 9
1080
+            }
1070 1081
             if (this.records[recordIndex].monitor_records && this.records[recordIndex].monitor_records.length < 8) {
1071
-              dlegh = 7 - this.records[recordIndex].monitor_records.length
1082
+              dlegh = nl - this.records[recordIndex].monitor_records.length
1072 1083
             }
1073 1084
             if(this.records[recordIndex].monitor_records.length <=0 ){
1074
-              dlegh = 7
1085
+              dlegh = nl
1075 1086
             }
1076 1087
             if (dlegh > 0) {
1077 1088
               if (typeof (this.records[recordIndex].monitor_records) === 'undefined' || this.records[recordIndex].monitor_records == null) {
@@ -1291,12 +1302,7 @@
1291 1302
     },
1292 1303
     methods: {
1293 1304
       printAction: function() {
1294
-        const style = '@media print { .option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content { background-color: white; width:960px; margin:0 auto; padding: 0 0 0 0; page-break-after: always; } .print_page_main_content .order-yy-name { margin: auto; text-align: center; font-size: 20px; letter-spacing: 5px;} .print_page_main_content .order_title { text-align: center; font-size: 23px; line-height: 40px; font-weight: 500; } .row { font-size: 14px; line-height: 20px; padding: 5px 0; } .inline_block { display: inline-block; } .under_line { display: inline-block; border-bottom: 1px solid #999; text-align: center; white-space: nowrap; } .under_line::before { content: "\\00A0"; } .under_line::after { content: "\\00A0"; } .under_line_two { display: inline-block; border-bottom: 1px solid #999; text-align: left; white-space: nowrap; } .under_line_two::before { content: "\\00A0"; } .under_line_two::after { content: "\\00A0"; }  .flex { display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex; align-items: center; -webkit-align-items: center; box-align: center; -moz-box-align: center; -webkit-box-align: center; text-align: center; -webkit-justify-content: space-between; justify-content: space-between; -moz-box-pack: space-between; -webkit--moz-box-pack: space-between; box-pack: space-between; } .print_page_main_content .proj_table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px; } .print_page_main_content .proj_table tbody tr td { border: 1px solid; font-size: 16px; padding: 6px 8px; line-height: 30px; } .print_page_main_content .proj_table .inside_table { width: 100%; border: hidden; border-collapse: collapse; } .print_page_main_content .proj_table .inside_table tr td { border: 1px solid; text-align: center; font-size: 14px; padding: 8px 5px; line-height: 16px; } }.es-img{height: 30px; }.advice-name{text-align: left !important;line-height: 16px !important;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:900px;}.advice-children{display:flex;}.print-table-no {\n' +
1295
-          '    width: 100%;\n' +
1296
-          '    text-align: center;\n' +
1297
-          '    border-collapse: collapse;\n' +
1298
-          '    font-size: 14px;\n' +
1299
-          '  }'
1305
+        const style = '@media print {.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 14px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 5px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:950px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top:1050px;left: 50%;}.print-yema5{position: absolute;top:1370px;left: 50%;}'
1300 1306
 
1301 1307
         printJS({
1302 1308
           printable: 'print_content',
@@ -1588,7 +1594,7 @@
1588 1594
   .advice-children {
1589 1595
     display: flex;
1590 1596
   }
1591
-  .margin-bottom-300 {
1597
+   .margin-bottom-300 {
1592 1598
     margin-bottom:450px;
1593 1599
   }
1594 1600
   .margin-bottom-600 {
@@ -1597,4 +1603,24 @@
1597 1603
   .margin-bottom-900 {
1598 1604
     margin-bottom:900px;
1599 1605
   }
1606
+  .print-yema{
1607
+    position: absolute;
1608
+    left: 50%;
1609
+  }
1610
+  .print-yema2{
1611
+    position: absolute;
1612
+    left: 50%;
1613
+  }
1614
+  .print-yema3{
1615
+    position: absolute;
1616
+    left: 50%;
1617
+  }
1618
+  .print-yema4{
1619
+    position: absolute;
1620
+    left: 50%;
1621
+  }
1622
+  .print-yema5{
1623
+    position: absolute;
1624
+    left: 50%;
1625
+  }
1600 1626
 </style>

+ 1 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_other_one.vue 查看文件

@@ -332,7 +332,7 @@
332 332
               </div>
333 333
             </div>
334 334
           </template>
335
-          <div class="row" :style="(record.monitor_records.length <= 9 && record.print_length == 9) || (record.monitor_records.length <= 8 && record.print_length == 8)? 'margin-top:-11px;position: relative;':'position: relative;'"  :class="(record.monitor_records.length > 9 && record.print_length == 9) || (record.monitor_records.length > 8 && record.print_length == 8) ? 'margin-bottom-900':'margin-bottom-300'">
335
+          <div class="row" :style="(record.monitor_records.length <= 9 && record.print_length == 9) || (record.monitor_records.length <= 8 && record.print_length == 8)? 'margin-top:-11px;position: relative;':'position: relative;'"  :class="record.classname">
336 336
             <table class="proj_table" >
337 337
               <tbody>
338 338
               <tr v-if="record.monitor_records2.length > 0">

+ 1 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_other_two.vue 查看文件

@@ -234,7 +234,7 @@
234 234
             </tbody>
235 235
           </table>
236 236
           <div :style="record.advices2.length > 0 ? 'margin-bottom:350px;border-top:0;text-align:center;position: relative;border-top:0;':'border-top:0;text-align:center;position: relative;border-top:0;'">
237
-            <table class="print-table-no" border="1"  count="0" >
237
+            <table class="print-table-no" border="1"  count="0" style="margin-top:-1px;">
238 238
               <tbody>
239 239
                 <tr style="line-height:35px;padding:8px 5px;">
240 240
                   <td colspan="7" style="font-size: 18px">医嘱</td>

+ 2 - 2
src/xt_pages/dialysis/bloodPresssWatch.vue 查看文件

@@ -8,8 +8,8 @@
8 8
       <template v-if="this.template_id == 2">
9 9
         <div >
10 10
           <el-button  :loading="loading" size="small" icon="el-icon-printer" @click="batchPrintAction" type="primary">打印全部</el-button>
11
-          <!--<el-button  :loading="loading" size="small" icon="el-icon-printer" @click="batchPrintActionOne" type="primary" style="">打印纪录单</el-button>-->
12
-          <!--<el-button  :loading="loading" size="small" icon="el-icon-printer" @click="batchPrintActionTwo" type="primary">打印医嘱单</el-button>-->
11
+          <el-button  :loading="loading" size="small" icon="el-icon-printer" @click="batchPrintActionOne" type="primary" style="">打印纪录单</el-button>
12
+          <el-button  :loading="loading" size="small" icon="el-icon-printer" @click="batchPrintActionTwo" type="primary">打印医嘱单</el-button>
13 13
         </div>
14 14
       </template>
15 15
     </div>

+ 3 - 3
src/xt_pages/dialysis/dialysisPrintOrder.vue 查看文件

@@ -8,8 +8,8 @@
8 8
       <template v-if="org_template_info.template_id == 2">
9 9
         <div >
10 10
           <el-button  :loading="loading" size="small" icon="el-icon-printer" @click="printThisPage" type="primary">打印全部</el-button>
11
-          <!--<el-button  :loading="loading" size="small" icon="el-icon-printer" @click="printThisOnePage" type="primary">打印纪录单</el-button>-->
12
-          <!--<el-button  :loading="loading" size="small" icon="el-icon-printer" @click="printThisTwoPage" type="primary">打印医嘱单</el-button>-->
11
+          <el-button  :loading="loading" size="small" icon="el-icon-printer" @click="printThisOnePage" type="primary">打印纪录单</el-button>
12
+          <el-button  :loading="loading" size="small" icon="el-icon-printer" @click="printThisTwoPage" type="primary">打印医嘱单</el-button>
13 13
         </div>
14 14
       </template>
15 15
     </div>
@@ -186,7 +186,7 @@
186 186
         this.print_time = uParseTime(ptime, '{y}-{m}-{d} {h}:{i}')
187 187
 
188 188
         const style = '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}'
189
-        const style2 = '@media print {.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 14px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 5px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:200px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top: 1370px;left: 50%;}'
189
+        const style2 = '@media print {.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 14px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 5px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-300 {margin-bottom:50px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:200px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top: 1370px;left: 50%;}'
190 190
 
191 191
         if (this.org_template_info.template_id != 2) {
192 192
           printJS({