Browse Source

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

XMLWAN 3 years ago
parent
commit
adbef0def0

+ 11 - 11
src/xt_pages/dialysis/template/DialysisPrintOrderThirtySix.vue View File

@@ -175,9 +175,9 @@
175 175
                 <tbody>
176 176
                   <tr>
177 177
                     <!-- <td width="190"></td> -->
178
-                    <td width='100'>穿刺针:</td>
179
-                    <td style="text-align:left;">
180
-                      <span>{{ predialysis.puncture_needle ? predialysis.puncture_needle : '/' }}</span>
178
+                    <td width='100'>穿刺针型号:</td>
179
+                    <td>
180
+                      <div class="under-line" style="text-align:left;">{{ predialysis.puncture_needle ? predialysis.puncture_needle : '/' }}</div>
181 181
                       <!-- <div>
182 182
                         <label-box :isChecked="predialysis.puncture_needle && predialysis.puncture_needle.indexOf('16G') > -1 ? true : predialysis.puncture_needle && predialysis.puncture_needle.indexOf('16G-静脉') > -1 ? true : false" showValue="16G"></label-box>
183 183
                         &nbsp;
@@ -558,9 +558,9 @@
558 558
       <table class="print-table" style="border-left:1px solid #000;border-right:1px solid #000;">
559 559
         <tbody>
560 560
           <tr>
561
-            <td width="120" style="height:40px;">主管医生:</td>
561
+            <td width="70" style="height:40px;">主管医生:</td>
562 562
             <td width="100">
563
-                <div>
563
+                <div style="text-align: left;">
564 564
                     <span v-if="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) == ''"> {{ getAdminUser(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) }} </span>
565 565
                     <img class="es-img" style="height:38px;" :src="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:''))" alt="" srcset="" v-else />
566 566
                 </div>
@@ -568,15 +568,15 @@
568 568
             <td width="70">预冲护士:</td>
569 569
             <td width="100">
570 570
 
571
-                <div>
571
+                <div style="text-align: left;">
572 572
                     <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.washpipe_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.washpipe_nurse)}}</span>
573 573
                     <img class="es-img" style="height:38px" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.washpipe_nurse)" alt="" srcset="" v-else>
574 574
                 </div>
575 575
             </td>
576
-            <td width="100">穿刺护士:</td>
576
+            <td width="100">穿刺/开管护士:</td>
577 577
             <td width="100">
578 578
 
579
-                <div>
579
+                <div style="text-align: left;">
580 580
                     <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.puncture_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.puncture_nurse)}}</span>
581 581
                     <img class="es-img" style="height:38px" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.puncture_nurse)" alt="" srcset="" v-else>
582 582
                 </div>
@@ -584,7 +584,7 @@
584 584
             <td width="70">核对护士:</td>
585 585
             <td width="100">
586 586
 
587
-                <div>
587
+                <div style="text-align: left;">
588 588
                   <span v-if="setAdminUserES(check == null ? 0 : check.modifier) == ''">
589 589
                   {{ getAdminUser(check == null ? 0 : check.modifier) }}
590 590
                   </span>
@@ -618,7 +618,7 @@
618 618
             <td width="60">动脉压<br />mmHg</td>
619 619
             <td width="60">静脉压<br />mmHg</td>
620 620
             <td width="60">跨膜压<br />mmHg</td>
621
-            <td width="60">超滤量<br />ml</td>
621
+            <td width="60">超滤量<br />L</td>
622 622
             <td width="60">钠浓度<br/>mmol/L</td>
623 623
             <td width="60">电导度<br/>ms/cm</td>
624 624
             <td width="40">液温<br/>℃</td>
@@ -719,7 +719,7 @@
719 719
                         &nbsp;{{ afterdialysis.actual_ultrafiltration ? afterdialysis.actual_ultrafiltration : "" }}
720 720
                       </div>
721 721
                     </td>
722
-                    <td width="20">ml</td>
722
+                    <td width="20">L</td>
723 723
                     <td width="20"></td>
724 724
                     <td width="50">血流量</td>
725 725
                     <td width='140'>

+ 20 - 7
src/xt_pages/outpatientDoctorStation/doctorDesk.vue View File

@@ -442,14 +442,27 @@
442 442
         this.$refs.multipleTable3.toggleAllSelection()
443 443
       },
444 444
       printThisPage() {
445
-        const style =
445
+        if(this.org_id == 10138){
446
+          const style =
446 447
           '@media print {#prescription-print{font-size:14px;border:1px solid white}.prescription-print:last-child {page-break-after: auto;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;margin-bottom: 10px;}.infoTitle{display: flex;margin-top:10px;}.infoTitle div{width: 200px;}.infoMain{display: flex;flex-wrap: wrap;margin-top:10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{min-height:350px;}.Rp{font-size: 18px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;}.drugsOne{line-height: 24px;}.drugsOne span{margin-right: 20px;}.doctorBox{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;border-bottom: 2px solid #000;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar p{width:150px;}.under_line{display: inline-block;border-bottom: 1px solid #000;flex: 1;}@media print {html {zoom: 88%;}}#prescription-print{font-size:14px;border:1px solid white}.prescription-print:last-child {page-break-after: auto;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;margin-bottom: 10px;}.infoTitle{display: flex;margin-top:10px;}.infoTitle div{width: 200px;}.infoMain{display: flex;flex-wrap: wrap;margin-top:10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{min-height:350px;}.Rp{font-size: 18px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;}.drugsOne{line-height: 24px;}.drugsOne span{margin-right: 20px;}.doctorBox{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;border-bottom: 2px solid #000;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar p{width:150px;}.under_line{display: inline-block;border-bottom: 1px solid #000;flex: 1;}@media print {html {zoom: 87%;}}}'
447
-        printJS({
448
-          printable: 'printMain',
449
-          type: 'html',
450
-          style: style,
451
-          scanStyles: false
452
-        })
448
+          printJS({
449
+            printable: 'printMain',
450
+            type: 'html',
451
+            style: style,
452
+            scanStyles: false
453
+          })
454
+        }else{
455
+          const style =
456
+          '@media print {#prescription-print{font-size:14px;border:1px solid white}.prescription-print:last-child {page-break-after: auto;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;margin-bottom: 10px;}.infoTitle{display: flex;border-bottom: 2px solid #000;margin-top:10px;line-height: 1px; padding:0 10px;}.infoTitle p{width: 200px;font-size:14px;}.infoMain{display: flex;flex-wrap: wrap;border-bottom: 2px solid #000;padding:0 10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{min-height:450px;}.Rp{font-size: 18px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;}.drugsOne{line-height: 24px;}.drugsOne span{margin-right: 20px;}.doctorBox{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;border-bottom: 2px solid #000;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar p{width:150px;}.under_line{display: inline-block;border-bottom: 1px solid #000;flex: 1;}@media print {html {zoom: 88%;}}#prescription-print{font-size:14px;border:1px solid white}.prescription-print:last-child {page-break-after: auto;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;margin-bottom: 10px;}.infoTitle{display: flex;margin-top:10px;}.infoTitle div{width: 200px;}.infoMain{display: flex;flex-wrap: wrap;margin-top:10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{min-height:450px;}.Rp{font-size: 18px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;}.drugsOne{line-height: 24px;}.drugsOne span{margin-right: 20px;}.doctorBox{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;border-bottom: 2px solid #000;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar p{width:150px;}.under_line{display: inline-block;border-bottom: 1px solid #000;flex: 1;}}'
457
+          printJS({
458
+            printable: 'printMain',
459
+            type: 'html',
460
+            style: style,
461
+            scanStyles: false
462
+          })
463
+        }
464
+        
465
+        
453 466
         this.innerVisible = false
454 467
         // this.$nextTick(() => {
455 468
         //   this.$refs.print.printThisPage()