|
@@ -553,6 +553,16 @@
|
553
|
553
|
>打印</el-button
|
554
|
554
|
>
|
555
|
555
|
</template>
|
|
556
|
+ <template v-if="org_template_info.template_id == 40">
|
|
557
|
+ <el-button
|
|
558
|
+ :loading="loading"
|
|
559
|
+ size="small"
|
|
560
|
+ icon="el-icon-printer"
|
|
561
|
+ @click="printThisPage"
|
|
562
|
+ type="primary"
|
|
563
|
+ >打印</el-button
|
|
564
|
+ >
|
|
565
|
+ </template>
|
556
|
566
|
</div>
|
557
|
567
|
<div class="app-container" style="min-height:0;">
|
558
|
568
|
<!--<div class="order-print-btn"-->
|
|
@@ -828,6 +838,11 @@
|
828
|
838
|
v-if="org_template_info.template_id == 39"
|
829
|
839
|
>
|
830
|
840
|
</DialysisPrintOrderThirtyNine>
|
|
841
|
+ <DialysisPrintOrderForty
|
|
842
|
+ v-bind:childResponse="childResponse"
|
|
843
|
+ v-if="org_template_info.template_id == 40"
|
|
844
|
+ >
|
|
845
|
+ </DialysisPrintOrderForty>
|
831
|
846
|
</div>
|
832
|
847
|
</el-container>
|
833
|
848
|
</div>
|
|
@@ -886,9 +901,11 @@ import DialysisPrintOrderThirtySix from "./template/DialysisPrintOrderThirtySix"
|
886
|
901
|
import DialysisPrintOrderThirtySeven from "./template/DialysisPrintOrderThirtySeven";
|
887
|
902
|
import DialysisPrintOrderThirtyEight from "./template/DialysisPrintOrderThirtyEight";
|
888
|
903
|
import DialysisPrintOrderThirtyNine from "./template/DialysisPrintOrderThirtyNine";
|
|
904
|
+import DialysisPrintOrderForty from "./template/DialysisPrintOrderForty";
|
889
|
905
|
export default {
|
890
|
906
|
name: "dialysisPrintOrder",
|
891
|
907
|
components: {
|
|
908
|
+ DialysisPrintOrderForty,
|
892
|
909
|
DialysisPrintOrderThirtyNine,
|
893
|
910
|
DialysisPrintOrderThirtyEight,
|
894
|
911
|
DialysisPrintOrderThirtySeven,
|
|
@@ -1366,6 +1383,13 @@ export default {
|
1366
|
1383
|
style: style3,
|
1367
|
1384
|
scanStyles: false
|
1368
|
1385
|
});
|
|
1386
|
+ } else if (this.org_template_info.template_id == 40) {
|
|
1387
|
+ printJS({
|
|
1388
|
+ printable: "dialysis-print-box",
|
|
1389
|
+ type: "html",
|
|
1390
|
+ style: style5,
|
|
1391
|
+ scanStyles: false
|
|
1392
|
+ });
|
1369
|
1393
|
}
|
1370
|
1394
|
},
|
1371
|
1395
|
printThisOnePage() {
|