Browse Source

10月29 普爱

yq1 7 months ago
parent
commit
08d950a035
1 changed files with 7 additions and 4 deletions
  1. 7 4
      src/xt_pages/user/components/PatientDetail.vue

+ 7 - 4
src/xt_pages/user/components/PatientDetail.vue View File

@@ -1013,7 +1013,7 @@
1013 1013
       
1014 1014
     </el-form>
1015 1015
     <!-- 打印预览 style="display: none"-->
1016
-    <div style="display: none">
1016
+    <div >
1017 1017
       <div id="print-info-box" v-if="org_id !=10206&&org_id !=0">
1018 1018
         <div class="print_main_content" style="margin-top: 70px;">
1019 1019
           <div class="order_title" v-if="org_id!=10210">{{ orgname }} 血液透析门诊病历</div>
@@ -1348,7 +1348,7 @@
1348 1348
                     {{ patientPrint.id_card_no }}
1349 1349
                   </td>
1350 1350
                 </tr>
1351
-                 <tr>
1351
+                <tr>
1352 1352
                   <td style="padding: 5px 0px;font-size: 22px;font-weight: 500;">
1353 1353
                     联系人
1354 1354
                   </td>
@@ -1476,7 +1476,7 @@
1476 1476
                   </td>
1477 1477
                   <td colspan="9">
1478 1478
                     <div
1479
-                      class="td_proj_content td_align_left"
1479
+                      class="td_proj_content td_align_left wrapper"
1480 1480
                       v-html="patientPrint.diagnose"
1481 1481
                     ></div>
1482 1482
                   </td>
@@ -1824,7 +1824,7 @@ export default {
1824 1824
       const style =
1825 1825
         "@page {margin-top:10px;}@media print { .print_main_content { background-color: white; width:960px; margin:0 auto; padding: 0 0 20px 0; } .print_main_content .order_title { text-align: center; font-size: 23px; line-height: 50px; font-weight: 500; } .print_main_content table { width: 100%; border-collapse: collapse; padding: 2px; }  .print_main_content table tbody tr{page-break-inside:avoid;} .print_main_content table tbody tr td { border: 1px solid; text-align: center; padding: 10px 8px; } .td_proj_title { font-size: 18px; line-height: 25px; font-weight: 500; } .td_proj_content { font-size: 18px; line-height: 25px; } .td_align_left { text-align: left; } .print_footnote_panel { font-size: 17px; line-height: 40px; } .print_footnote_panel .proj { display: inline-block; width: 49%; } .print_footnote_panel .proj .proj_title { font-weight: 500;} }";
1826 1826
       const style1 =
1827
-        "@page {margin-top:10px;}@media print { .print_main_content { background-color: white; width:960px; margin:0 auto; padding: 0 0 20px 0; } .print_main_content table { width: 100%; padding: 2px; }  .print_main_content table tbody tr{page-break-inside:avoid;} .print_main_content table tbody tr td { border: 1px solid; text-align: center; padding: 10px 8px; } .td_proj_title { font-size: 22px; line-height: 25px; font-weight: 500; } .td_proj_content { font-size: 22px; line-height: 25px; } .td_align_left { text-align: left; } .print_footnote_panel { font-size: 22px; line-height: 40px; } .print_footnote_panel .proj { display: inline-block; width: 49%; } .print_footnote_panel .proj .proj_title { font-weight: 500;} }";
1827
+        "@page {margin-top:10px;}@media print { .print_main_content { background-color: white; width:960px; margin:0 auto; padding: 0 0 20px 0; } .print_main_content table { width: 100%; padding: 2px; }  .print_main_content table tbody tr{page-break-inside:avoid;} .print_main_content table tbody tr td { border: 1px solid; text-align: center; padding: 10px 8px; } .td_proj_title { font-size: 22px; line-height: 25px; font-weight: 500; } .td_proj_content { font-size: 22px; line-height: 25px; } .td_align_left { text-align: left; } .print_footnote_panel { font-size: 22px; line-height: 40px; } .print_footnote_panel .proj { display: inline-block; width: 49%; } .print_footnote_panel .proj .proj_title { font-weight: 500;} .wrapper {white-space: pre-wrap;} }";
1828 1828
       if(this.org_id != 10206 && this.org_id !=0){
1829 1829
         console.log('1111111');
1830 1830
 
@@ -2721,4 +2721,7 @@ export default {
2721 2721
 .el-select-dropdown {
2722 2722
   z-index: 998 !important;
2723 2723
 }
2724
+.wrapper {
2725
+  white-space: pre-wrap;
2726
+}
2724 2727
 </style>