|
@@ -427,6 +427,16 @@
|
427
|
427
|
>打印</el-button
|
428
|
428
|
>
|
429
|
429
|
</template>
|
|
430
|
+ <template v-if="org_template_info.template_id == 31">
|
|
431
|
+ <el-button
|
|
432
|
+ :loading="loading"
|
|
433
|
+ size="small"
|
|
434
|
+ icon="el-icon-printer"
|
|
435
|
+ @click="printThisPage"
|
|
436
|
+ type="primary"
|
|
437
|
+ >打印</el-button
|
|
438
|
+ >
|
|
439
|
+ </template>
|
430
|
440
|
</div>
|
431
|
441
|
<div class="app-container" style="min-height:0;">
|
432
|
442
|
<!--<div class="order-print-btn"-->
|
|
@@ -657,6 +667,11 @@
|
657
|
667
|
v-if="org_template_info.template_id == 30"
|
658
|
668
|
>
|
659
|
669
|
</DialysisPrintOrderThirty>
|
|
670
|
+ <DialysisPrintOrderThirtyOne
|
|
671
|
+ v-bind:childResponse="childResponse"
|
|
672
|
+ v-if="org_template_info.template_id == 31"
|
|
673
|
+ >
|
|
674
|
+ </DialysisPrintOrderThirtyOne>
|
660
|
675
|
</div>
|
661
|
676
|
</el-container>
|
662
|
677
|
</div>
|
|
@@ -706,9 +721,11 @@ import DialysisPrintOrderTwentySeven from "./template/DialysisPrintOrderTwentySe
|
706
|
721
|
import DialysisPrintOrderTwentyEight from "./template/DialysisPrintOrderTwentyEight";
|
707
|
722
|
import DialysisPrintOrderTwentyNine from "./template/DialysisPrintOrderTwentyNine";
|
708
|
723
|
import DialysisPrintOrderThirty from "./template/DialysisPrintOrderThirty";
|
|
724
|
+import DialysisPrintOrderThirtyOne from "./template/DialysisPrintOrderThirtyOne";
|
709
|
725
|
export default {
|
710
|
726
|
name: "dialysisPrintOrder",
|
711
|
727
|
components: {
|
|
728
|
+ DialysisPrintOrderThirtyOne,
|
712
|
729
|
DialysisPrintOrderThirty,
|
713
|
730
|
DialysisPrintOrderTwentyNine,
|
714
|
731
|
DialysisPrintOrderTwentyEight,
|
|
@@ -1116,7 +1133,14 @@ export default {
|
1116
|
1133
|
style: style,
|
1117
|
1134
|
scanStyles: false
|
1118
|
1135
|
});
|
1119
|
|
- }
|
|
1136
|
+ } else if (this.org_template_info.template_id == 31) {
|
|
1137
|
+ printJS({
|
|
1138
|
+ printable: "dialysis-print-box-1",
|
|
1139
|
+ type: "html",
|
|
1140
|
+ style: style3,
|
|
1141
|
+ scanStyles: false
|
|
1142
|
+ });
|
|
1143
|
+ }
|
1120
|
1144
|
},
|
1121
|
1145
|
printThisOnePage() {
|
1122
|
1146
|
var ptime = Math.round(new Date().getTime() / 1000);
|