|
@@ -344,7 +344,7 @@
|
344
|
344
|
>打印</el-button
|
345
|
345
|
>
|
346
|
346
|
</template>
|
347
|
|
- <template v-if="org_template_info.template_id == 25">
|
|
347
|
+ <template v-if="org_template_info.template_id == 25">
|
348
|
348
|
<el-button
|
349
|
349
|
:loading="loading"
|
350
|
350
|
size="small"
|
|
@@ -437,6 +437,16 @@
|
437
|
437
|
>打印</el-button
|
438
|
438
|
>
|
439
|
439
|
</template>
|
|
440
|
+ <template v-if="org_template_info.template_id == 32">
|
|
441
|
+ <el-button
|
|
442
|
+ :loading="loading"
|
|
443
|
+ size="small"
|
|
444
|
+ icon="el-icon-printer"
|
|
445
|
+ @click="printThisPage"
|
|
446
|
+ type="primary"
|
|
447
|
+ >打印</el-button
|
|
448
|
+ >
|
|
449
|
+ </template>
|
440
|
450
|
</div>
|
441
|
451
|
<div class="app-container" style="min-height:0;">
|
442
|
452
|
<!--<div class="order-print-btn"-->
|
|
@@ -672,6 +682,11 @@
|
672
|
682
|
v-if="org_template_info.template_id == 31"
|
673
|
683
|
>
|
674
|
684
|
</DialysisPrintOrderThirtyOne>
|
|
685
|
+ <DialysisPrintOrderThirtyTwo
|
|
686
|
+ v-bind:childResponse="childResponse"
|
|
687
|
+ v-if="org_template_info.template_id == 32"
|
|
688
|
+ >
|
|
689
|
+ </DialysisPrintOrderThirtyTwo>
|
675
|
690
|
</div>
|
676
|
691
|
</el-container>
|
677
|
692
|
</div>
|
|
@@ -722,9 +737,11 @@ import DialysisPrintOrderTwentyEight from "./template/DialysisPrintOrderTwentyEi
|
722
|
737
|
import DialysisPrintOrderTwentyNine from "./template/DialysisPrintOrderTwentyNine";
|
723
|
738
|
import DialysisPrintOrderThirty from "./template/DialysisPrintOrderThirty";
|
724
|
739
|
import DialysisPrintOrderThirtyOne from "./template/DialysisPrintOrderThirtyOne";
|
|
740
|
+import DialysisPrintOrderThirtyTwo from "./template/DialysisPrintOrderThirtyTwo";
|
725
|
741
|
export default {
|
726
|
742
|
name: "dialysisPrintOrder",
|
727
|
743
|
components: {
|
|
744
|
+ DialysisPrintOrderThirtyTwo,
|
728
|
745
|
DialysisPrintOrderThirtyOne,
|
729
|
746
|
DialysisPrintOrderThirty,
|
730
|
747
|
DialysisPrintOrderTwentyNine,
|
|
@@ -1091,13 +1108,6 @@ export default {
|
1091
|
1108
|
style: style,
|
1092
|
1109
|
scanStyles: false
|
1093
|
1110
|
});
|
1094
|
|
- }else if (this.org_template_info.template_id == 25) {
|
1095
|
|
- printJS({
|
1096
|
|
- printable: "dialysis-print-box",
|
1097
|
|
- type: "html",
|
1098
|
|
- style: style5,
|
1099
|
|
- scanStyles: false
|
1100
|
|
- });
|
1101
|
1111
|
} else if (this.org_template_info.template_id == 26) {
|
1102
|
1112
|
printJS({
|
1103
|
1113
|
printable: "dialysis-print-box",
|
|
@@ -1140,7 +1150,14 @@ export default {
|
1140
|
1150
|
style: style3,
|
1141
|
1151
|
scanStyles: false
|
1142
|
1152
|
});
|
1143
|
|
- }
|
|
1153
|
+ } else if (this.org_template_info.template_id == 32) {
|
|
1154
|
+ printJS({
|
|
1155
|
+ printable: "dialysis-print-box",
|
|
1156
|
+ type: "html",
|
|
1157
|
+ style: style5,
|
|
1158
|
+ scanStyles: false
|
|
1159
|
+ });
|
|
1160
|
+ }
|
1144
|
1161
|
},
|
1145
|
1162
|
printThisOnePage() {
|
1146
|
1163
|
var ptime = Math.round(new Date().getTime() / 1000);
|