See999 4 years ago
parent
commit
9dd6357d36

+ 23 - 0
src/xt_pages/dialysis/dialysisPrintOrder.vue View File

334
           >打印</el-button
334
           >打印</el-button
335
         >
335
         >
336
       </template>
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
     </div>
347
     </div>
338
     <div class="app-container" style="min-height:0;">
348
     <div class="app-container" style="min-height:0;">
339
       <!--<div class="order-print-btn"-->
349
       <!--<div class="order-print-btn"-->
530
             v-bind:childResponse="childResponse"
540
             v-bind:childResponse="childResponse"
531
             v-if="org_template_info.template_id == 23"
541
             v-if="org_template_info.template_id == 23"
532
           ></DialysisPrintOrderTwentyThree>
542
           ></DialysisPrintOrderTwentyThree>
543
+          <DialysisPrintOrderTwentyFour
544
+            v-bind:childResponse="childResponse"
545
+            v-if="org_template_info.template_id == 24"
546
+          ></DialysisPrintOrderTwentyFour>
533
         </div>
547
         </div>
534
       </el-container>
548
       </el-container>
535
     </div>
549
     </div>
572
 import DialysisPrintOrderTwentyOne from "./template/DialysisPrintOrderTwentyOne";
586
 import DialysisPrintOrderTwentyOne from "./template/DialysisPrintOrderTwentyOne";
573
 import DialysisPrintOrderTwentyTwo from "./template/DialysisPrintOrderTwentyTwo";
587
 import DialysisPrintOrderTwentyTwo from "./template/DialysisPrintOrderTwentyTwo";
574
 import DialysisPrintOrderTwentyThree from "./template/DialysisPrintOrderTwentyThree";
588
 import DialysisPrintOrderTwentyThree from "./template/DialysisPrintOrderTwentyThree";
589
+import DialysisPrintOrderTwentyFour from "./template/DialysisPrintOrderTwentyFour";
575
 
590
 
576
 export default {
591
 export default {
577
   name: "dialysisPrintOrder",
592
   name: "dialysisPrintOrder",
578
   components: {
593
   components: {
594
+    DialysisPrintOrderTwentyFour,
579
     DialysisPrintOrderTwentyThree,
595
     DialysisPrintOrderTwentyThree,
580
     DialysisPrintOrderTwentyTwo,
596
     DialysisPrintOrderTwentyTwo,
581
     DialysisPrintOrderTwentyOne,
597
     DialysisPrintOrderTwentyOne,
926
           style: style,
942
           style: style,
927
           scanStyles: false
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
     printThisOnePage() {
954
     printThisOnePage() {

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