See999 4 年前
父节点
当前提交
9dd6357d36

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

@@ -334,6 +334,16 @@
334 334
           >打印</el-button
335 335
         >
336 336
       </template>
337
+      <template v-if="org_template_info.template_id == 24">
338
+        <el-button
339
+          :loading="loading"
340
+          size="small"
341
+          icon="el-icon-printer"
342
+          @click="printThisPage"
343
+          type="primary"
344
+          >打印</el-button
345
+        >
346
+      </template>
337 347
     </div>
338 348
     <div class="app-container" style="min-height:0;">
339 349
       <!--<div class="order-print-btn"-->
@@ -530,6 +540,10 @@
530 540
             v-bind:childResponse="childResponse"
531 541
             v-if="org_template_info.template_id == 23"
532 542
           ></DialysisPrintOrderTwentyThree>
543
+          <DialysisPrintOrderTwentyFour
544
+            v-bind:childResponse="childResponse"
545
+            v-if="org_template_info.template_id == 24"
546
+          ></DialysisPrintOrderTwentyFour>
533 547
         </div>
534 548
       </el-container>
535 549
     </div>
@@ -572,10 +586,12 @@ import DialysisPrintOrderTwenty from "./template/DialysisPrintOrderTwenty";
572 586
 import DialysisPrintOrderTwentyOne from "./template/DialysisPrintOrderTwentyOne";
573 587
 import DialysisPrintOrderTwentyTwo from "./template/DialysisPrintOrderTwentyTwo";
574 588
 import DialysisPrintOrderTwentyThree from "./template/DialysisPrintOrderTwentyThree";
589
+import DialysisPrintOrderTwentyFour from "./template/DialysisPrintOrderTwentyFour";
575 590
 
576 591
 export default {
577 592
   name: "dialysisPrintOrder",
578 593
   components: {
594
+    DialysisPrintOrderTwentyFour,
579 595
     DialysisPrintOrderTwentyThree,
580 596
     DialysisPrintOrderTwentyTwo,
581 597
     DialysisPrintOrderTwentyOne,
@@ -926,6 +942,13 @@ export default {
926 942
           style: style,
927 943
           scanStyles: false
928 944
         });
945
+      } else if (this.org_template_info.template_id == 24){
946
+        printJS({
947
+          printable: "dialysis-print-box",
948
+          type: "html",
949
+          style: style,
950
+          scanStyles: false
951
+        });
929 952
       } 
930 953
     },
931 954
     printThisOnePage() {

文件差异内容过多而无法显示
+ 2107 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyFour.vue