Parcourir la source

10月18,普爱

yq1 il y a 6 mois
Parent
révision
f580d23d63

+ 2 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_eighty.vue Voir le fichier

@@ -2269,13 +2269,13 @@ export default {
2269 2269
   width: 50%;
2270 2270
 }
2271 2271
 
2272
-.under_line::before {
2272
+/* .under_line::before {
2273 2273
   content: "\00A0";
2274 2274
 }
2275 2275
 
2276 2276
 .under_line::after {
2277 2277
   content: "\00A0";
2278
-}
2278
+} */
2279 2279
 
2280 2280
 .under_line_two {
2281 2281
   display: inline-block;

+ 4 - 4
src/xt_pages/dialysis/template/DialysisPrintOrdereighty.vue Voir le fichier

@@ -3575,13 +3575,13 @@ export default {
3575 3575
   width: 50%;
3576 3576
 }
3577 3577
 
3578
-.under_line_two::before {
3578
+/* .under_line_two::before {
3579 3579
   content: "\00A0";
3580 3580
 }
3581 3581
 
3582 3582
 .under_line_two::after {
3583 3583
   content: "\00A0";
3584
-}
3584
+} */
3585 3585
 
3586 3586
 .under_line {
3587 3587
   display: inline-block;
@@ -3591,13 +3591,13 @@ export default {
3591 3591
   width: 50%;
3592 3592
 }
3593 3593
 
3594
-.under_line::before {
3594
+/* .under_line::before {
3595 3595
   content: "\00A0";
3596 3596
 }
3597 3597
 
3598 3598
 .under_line::after {
3599 3599
   content: "\00A0";
3600
-}
3600
+} */
3601 3601
 
3602 3602
 .flex {
3603 3603
   display: -webkit-box;

+ 27 - 11
src/xt_pages/user/components/PatientDetail.vue Voir le fichier

@@ -1269,9 +1269,10 @@
1269 1269
       </div>
1270 1270
       <div id="print-info-box" v-else>
1271 1271
         <div class="print_main_content" style="font-family:SimSun;">
1272
-          <div class="order_title" style="font-size: 26px;font-weight: 600;">{{ orgname }}<br/>血液净化治疗患者首次门诊病历</div>
1272
+          <div class="order_title" style="font-size: 30px;font-weight: 600;">{{ orgname }}</div>
1273
+          <div class="order_title" style="font-size: 30px;font-weight: 600;margin-bottom: 10px;">血液净化治疗患者首次门诊病历</div>
1273 1274
           <div >
1274
-            <table >
1275
+            <table style="font-size: 18px;">
1275 1276
               <tbody>
1276 1277
                 <tr>
1277 1278
                   <td style="width:8%;padding: 3px 0px;font-size: 17px;font-weight: 500;">
@@ -1799,15 +1800,30 @@ export default {
1799 1800
 
1800 1801
       const style =
1801 1802
         "@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;} }";
1802
-
1803
-      setTimeout(() => {
1804
-        printJS({
1805
-          printable: "print-info-box",
1806
-          type: "html",
1807
-          style: style,
1808
-          scanStyles: false,
1809
-        });
1810
-      }, 1);
1803
+      const style1 =
1804
+        "@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: 30px; 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;} }";
1805
+      if(this.org_id != 10206 && this.org_id !=0){
1806
+        setTimeout(() => {
1807
+          printJS({
1808
+            printable: "print-info-box",
1809
+            type: "html",
1810
+            style: style,
1811
+            scanStyles: false,
1812
+          });
1813
+        }, 1);
1814
+      }else{
1815
+        console.log('121212','10206');
1816
+        
1817
+        setTimeout(() => {
1818
+          printJS({
1819
+            printable: "print-info-box",
1820
+            type: "html",
1821
+            style: style1,
1822
+            scanStyles: false,
1823
+          });
1824
+        }, 1);
1825
+      }
1826
+      
1811 1827
     },
1812 1828
     getZones() {
1813 1829
       getZones().then((response) => {