|
@@ -603,6 +603,16 @@
|
603
|
603
|
>打印</el-button
|
604
|
604
|
>
|
605
|
605
|
</template>
|
|
606
|
+ <template v-if="org_template_info.template_id == 45">
|
|
607
|
+ <el-button
|
|
608
|
+ :loading="loading"
|
|
609
|
+ size="small"
|
|
610
|
+ icon="el-icon-printer"
|
|
611
|
+ @click="printThisPage"
|
|
612
|
+ type="primary"
|
|
613
|
+ >打印</el-button
|
|
614
|
+ >
|
|
615
|
+ </template>
|
606
|
616
|
</div>
|
607
|
617
|
<div class="app-container" style="min-height:0;">
|
608
|
618
|
<!--<div class="order-print-btn"-->
|
|
@@ -903,6 +913,11 @@
|
903
|
913
|
v-if="org_template_info.template_id == 44"
|
904
|
914
|
>
|
905
|
915
|
</DialysisPrintOrderFortyFour>
|
|
916
|
+ <DialysisPrintOrderFortyFive
|
|
917
|
+ v-bind:childResponse="childResponse"
|
|
918
|
+ v-if="org_template_info.template_id == 45"
|
|
919
|
+ >
|
|
920
|
+ </DialysisPrintOrderFortyFive>
|
906
|
921
|
</div>
|
907
|
922
|
</el-container>
|
908
|
923
|
</div>
|
|
@@ -966,9 +981,11 @@ import DialysisPrintOrderFortyOne from "./template/DialysisPrintOrderFortyOne";
|
966
|
981
|
import DialysisPrintOrderFortyTwo from "./template/DialysisPrintOrderFortyTwo";
|
967
|
982
|
import DialysisPrintOrderFortyThree from "./template/DialysisPrintOrderFortyThree";
|
968
|
983
|
import DialysisPrintOrderFortyFour from "./template/DialysisPrintOrderFortyFour";
|
|
984
|
+import DialysisPrintOrderFortyFive from "./template/DialysisPrintOrderFortyFive";
|
969
|
985
|
export default {
|
970
|
986
|
name: "dialysisPrintOrder",
|
971
|
987
|
components: {
|
|
988
|
+ DialysisPrintOrderFortyFive,
|
972
|
989
|
DialysisPrintOrderFortyFour,
|
973
|
990
|
DialysisPrintOrderFortyThree,
|
974
|
991
|
DialysisPrintOrderFortyTwo,
|
|
@@ -1489,6 +1506,13 @@ export default {
|
1489
|
1506
|
style: style9,
|
1490
|
1507
|
scanStyles: false
|
1491
|
1508
|
});
|
|
1509
|
+ } else if (this.org_template_info.template_id == 1) {
|
|
1510
|
+ printJS({
|
|
1511
|
+ printable: "dialysis-print-box",
|
|
1512
|
+ type: "html",
|
|
1513
|
+ style: style,
|
|
1514
|
+ scanStyles: false
|
|
1515
|
+ });
|
1492
|
1516
|
}
|
1493
|
1517
|
},
|
1494
|
1518
|
printThisOnePage() {
|