|
@@ -344,6 +344,16 @@
|
344
|
344
|
>打印</el-button
|
345
|
345
|
>
|
346
|
346
|
</template>
|
|
347
|
+ <template v-if="org_template_info.template_id == 25">
|
|
348
|
+ <el-button
|
|
349
|
+ :loading="loading"
|
|
350
|
+ size="small"
|
|
351
|
+ icon="el-icon-printer"
|
|
352
|
+ @click="printThisPage"
|
|
353
|
+ type="primary"
|
|
354
|
+ >打印</el-button
|
|
355
|
+ >
|
|
356
|
+ </template>
|
347
|
357
|
</div>
|
348
|
358
|
<div class="app-container" style="min-height:0;">
|
349
|
359
|
<!--<div class="order-print-btn"-->
|
|
@@ -544,6 +554,11 @@
|
544
|
554
|
v-bind:childResponse="childResponse"
|
545
|
555
|
v-if="org_template_info.template_id == 24"
|
546
|
556
|
></DialysisPrintOrderTwentyFour>
|
|
557
|
+ <DialysisPrintOrderTwentyFive
|
|
558
|
+ v-bind:childResponse="childResponse"
|
|
559
|
+ v-if="org_template_info.template_id == 25"
|
|
560
|
+ >
|
|
561
|
+ </DialysisPrintOrderTwentyFive>
|
547
|
562
|
</div>
|
548
|
563
|
</el-container>
|
549
|
564
|
</div>
|
|
@@ -587,10 +602,11 @@ import DialysisPrintOrderTwentyOne from "./template/DialysisPrintOrderTwentyOne"
|
587
|
602
|
import DialysisPrintOrderTwentyTwo from "./template/DialysisPrintOrderTwentyTwo";
|
588
|
603
|
import DialysisPrintOrderTwentyThree from "./template/DialysisPrintOrderTwentyThree";
|
589
|
604
|
import DialysisPrintOrderTwentyFour from "./template/DialysisPrintOrderTwentyFour";
|
590
|
|
-
|
|
605
|
+import DialysisPrintOrderTwentyFive from "./template/DialysisPrintOrderTwentyFive";
|
591
|
606
|
export default {
|
592
|
607
|
name: "dialysisPrintOrder",
|
593
|
608
|
components: {
|
|
609
|
+ DialysisPrintOrderTwentyFive,
|
594
|
610
|
DialysisPrintOrderTwentyFour,
|
595
|
611
|
DialysisPrintOrderTwentyThree,
|
596
|
612
|
DialysisPrintOrderTwentyTwo,
|
|
@@ -615,6 +631,7 @@ export default {
|
615
|
631
|
DialysisPrintOrderSeven,
|
616
|
632
|
DialysisPrintOrderEight,
|
617
|
633
|
DialysisPrintOrderNine,
|
|
634
|
+
|
618
|
635
|
LabelBox,
|
619
|
636
|
BreadCrumb
|
620
|
637
|
},
|
|
@@ -851,7 +868,7 @@ export default {
|
851
|
868
|
style: style,
|
852
|
869
|
scanStyles: false
|
853
|
870
|
});
|
854
|
|
- } else if (this.org_template_info.template_id == 9) {
|
|
871
|
+ } else if (this.org_template_info.template_id == 9 || this.org_template_info.template_id==25) {
|
855
|
872
|
printJS({
|
856
|
873
|
printable: "dialysis-print-box",
|
857
|
874
|
type: "html",
|
|
@@ -949,7 +966,14 @@ export default {
|
949
|
966
|
style: style,
|
950
|
967
|
scanStyles: false
|
951
|
968
|
});
|
952
|
|
- }
|
|
969
|
+ }else if (this.org_template_info.template_id == 25) {
|
|
970
|
+ printJS({
|
|
971
|
+ printable: "dialysis-print-box",
|
|
972
|
+ type: "html",
|
|
973
|
+ style: style5,
|
|
974
|
+ scanStyles: false
|
|
975
|
+ });
|
|
976
|
+ }
|
953
|
977
|
},
|
954
|
978
|
printThisOnePage() {
|
955
|
979
|
var ptime = Math.round(new Date().getTime() / 1000);
|