|
@@ -354,6 +354,16 @@
|
354
|
354
|
>打印</el-button
|
355
|
355
|
>
|
356
|
356
|
</template>
|
|
357
|
+ <template v-if="org_template_info.template_id == 26">
|
|
358
|
+ <el-button
|
|
359
|
+ :loading="loading"
|
|
360
|
+ size="small"
|
|
361
|
+ icon="el-icon-printer"
|
|
362
|
+ @click="printThisPage"
|
|
363
|
+ type="primary"
|
|
364
|
+ >打印</el-button
|
|
365
|
+ >
|
|
366
|
+ </template>
|
357
|
367
|
</div>
|
358
|
368
|
<div class="app-container" style="min-height:0;">
|
359
|
369
|
<!--<div class="order-print-btn"-->
|
|
@@ -559,6 +569,11 @@
|
559
|
569
|
v-if="org_template_info.template_id == 25"
|
560
|
570
|
>
|
561
|
571
|
</DialysisPrintOrderTwentyFive>
|
|
572
|
+ <DialysisPrintOrderTwentySix
|
|
573
|
+ v-bind:childResponse="childResponse"
|
|
574
|
+ v-if="org_template_info.template_id == 26"
|
|
575
|
+ >
|
|
576
|
+ </DialysisPrintOrderTwentySix>
|
562
|
577
|
</div>
|
563
|
578
|
</el-container>
|
564
|
579
|
</div>
|
|
@@ -603,9 +618,11 @@ import DialysisPrintOrderTwentyTwo from "./template/DialysisPrintOrderTwentyTwo"
|
603
|
618
|
import DialysisPrintOrderTwentyThree from "./template/DialysisPrintOrderTwentyThree";
|
604
|
619
|
import DialysisPrintOrderTwentyFour from "./template/DialysisPrintOrderTwentyFour";
|
605
|
620
|
import DialysisPrintOrderTwentyFive from "./template/DialysisPrintOrderTwentyFive";
|
|
621
|
+import DialysisPrintOrderTwentySix from "./template/DialysisPrintOrderTwentySix";
|
606
|
622
|
export default {
|
607
|
623
|
name: "dialysisPrintOrder",
|
608
|
624
|
components: {
|
|
625
|
+ DialysisPrintOrderTwentySix,
|
609
|
626
|
DialysisPrintOrderTwentyFive,
|
610
|
627
|
DialysisPrintOrderTwentyFour,
|
611
|
628
|
DialysisPrintOrderTwentyThree,
|
|
@@ -973,6 +990,13 @@ export default {
|
973
|
990
|
style: style5,
|
974
|
991
|
scanStyles: false
|
975
|
992
|
});
|
|
993
|
+ } else if (this.org_template_info.template_id == 12) {
|
|
994
|
+ printJS({
|
|
995
|
+ printable: "dialysis-print-box",
|
|
996
|
+ type: "html",
|
|
997
|
+ style: style,
|
|
998
|
+ scanStyles: false
|
|
999
|
+ });
|
976
|
1000
|
}
|
977
|
1001
|
},
|
978
|
1002
|
printThisOnePage() {
|