See999 4 years ago
parent
commit
2c6ea0ffc8

+ 25 - 1
src/xt_pages/dialysis/dialysisPrintOrder.vue View File

@@ -354,7 +354,7 @@
354 354
           >打印</el-button
355 355
         >
356 356
       </template>
357
-       <template v-if="org_template_info.template_id == 26">
357
+      <template v-if="org_template_info.template_id == 26">
358 358
         <el-button
359 359
           :loading="loading"
360 360
           size="small"
@@ -397,6 +397,16 @@
397 397
           >
398 398
         </div>
399 399
       </template>
400
+      <template v-if="org_template_info.template_id == 28">
401
+        <el-button
402
+          :loading="loading"
403
+          size="small"
404
+          icon="el-icon-printer"
405
+          @click="printThisPage"
406
+          type="primary"
407
+          >打印</el-button
408
+        >
409
+      </template>
400 410
     </div>
401 411
     <div class="app-container" style="min-height:0;">
402 412
       <!--<div class="order-print-btn"-->
@@ -612,6 +622,11 @@
612 622
             v-if="org_template_info.template_id == 27"
613 623
           >
614 624
           </DialysisPrintOrderTwentySeven>
625
+          <DialysisPrintOrderTwentyEight
626
+            v-bind:childResponse="childResponse"
627
+            v-if="org_template_info.template_id == 28"
628
+          >
629
+          </DialysisPrintOrderTwentyEight>
615 630
         </div>
616 631
       </el-container>
617 632
     </div>
@@ -658,9 +673,11 @@ import DialysisPrintOrderTwentyFour from "./template/DialysisPrintOrderTwentyFou
658 673
 import DialysisPrintOrderTwentyFive from "./template/DialysisPrintOrderTwentyFive";
659 674
 import DialysisPrintOrderTwentySix from "./template/DialysisPrintOrderTwentySix";
660 675
 import DialysisPrintOrderTwentySeven from "./template/DialysisPrintOrderTwentySeven";
676
+import DialysisPrintOrderTwentyEight from "./template/DialysisPrintOrderTwentyEight";
661 677
 export default {
662 678
   name: "dialysisPrintOrder",
663 679
   components: {
680
+    DialysisPrintOrderTwentyEight,
664 681
     DialysisPrintOrderTwentySeven,
665 682
     DialysisPrintOrderTwentySix,
666 683
     DialysisPrintOrderTwentyFive,
@@ -1044,6 +1061,13 @@ export default {
1044 1061
           style: style,
1045 1062
           scanStyles: false
1046 1063
         });
1064
+      } else if (this.org_template_info.template_id == 28) {
1065
+        printJS({
1066
+          printable: "dialysis-print-box",
1067
+          type: "html",
1068
+          style: style5,
1069
+          scanStyles: false
1070
+        });
1047 1071
       }
1048 1072
     },
1049 1073
     printThisOnePage() {

File diff suppressed because it is too large
+ 2547 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyEight.vue