|
@@ -447,6 +447,44 @@
|
447
|
447
|
>打印</el-button
|
448
|
448
|
>
|
449
|
449
|
</template>
|
|
450
|
+ <template v-if="org_template_info.template_id == 33">
|
|
451
|
+ <div>
|
|
452
|
+ <el-button
|
|
453
|
+ :loading="loading"
|
|
454
|
+ size="small"
|
|
455
|
+ icon="el-icon-printer"
|
|
456
|
+ @click="printThisPage"
|
|
457
|
+ type="primary"
|
|
458
|
+ >打印全部</el-button
|
|
459
|
+ >
|
|
460
|
+ <el-button
|
|
461
|
+ :loading="loading"
|
|
462
|
+ size="small"
|
|
463
|
+ icon="el-icon-printer"
|
|
464
|
+ @click="printThisOnePage"
|
|
465
|
+ type="primary"
|
|
466
|
+ >打印纪录单</el-button
|
|
467
|
+ >
|
|
468
|
+ <el-button
|
|
469
|
+ :loading="loading"
|
|
470
|
+ size="small"
|
|
471
|
+ icon="el-icon-printer"
|
|
472
|
+ @click="printThisTwoPage"
|
|
473
|
+ type="primary"
|
|
474
|
+ >打印医嘱单</el-button
|
|
475
|
+ >
|
|
476
|
+ </div>
|
|
477
|
+ </template>
|
|
478
|
+ <template v-if="org_template_info.template_id == 34">
|
|
479
|
+ <el-button
|
|
480
|
+ :loading="loading"
|
|
481
|
+ size="small"
|
|
482
|
+ icon="el-icon-printer"
|
|
483
|
+ @click="printThisPage"
|
|
484
|
+ type="primary"
|
|
485
|
+ >打印</el-button
|
|
486
|
+ >
|
|
487
|
+ </template>
|
450
|
488
|
</div>
|
451
|
489
|
<div class="app-container" style="min-height:0;">
|
452
|
490
|
<!--<div class="order-print-btn"-->
|
|
@@ -687,6 +725,16 @@
|
687
|
725
|
v-if="org_template_info.template_id == 32"
|
688
|
726
|
>
|
689
|
727
|
</DialysisPrintOrderThirtyTwo>
|
|
728
|
+ <DialysisPrintOrderThirtyThree
|
|
729
|
+ v-bind:childResponse="childResponse"
|
|
730
|
+ v-if="org_template_info.template_id == 33"
|
|
731
|
+ >
|
|
732
|
+ </DialysisPrintOrderThirtyThree>
|
|
733
|
+ <DialysisPrintOrderThirtyFour
|
|
734
|
+ v-bind:childResponse="childResponse"
|
|
735
|
+ v-if="org_template_info.template_id == 34"
|
|
736
|
+ >
|
|
737
|
+ </DialysisPrintOrderThirtyFour>
|
690
|
738
|
</div>
|
691
|
739
|
</el-container>
|
692
|
740
|
</div>
|
|
@@ -738,9 +786,13 @@ import DialysisPrintOrderTwentyNine from "./template/DialysisPrintOrderTwentyNin
|
738
|
786
|
import DialysisPrintOrderThirty from "./template/DialysisPrintOrderThirty";
|
739
|
787
|
import DialysisPrintOrderThirtyOne from "./template/DialysisPrintOrderThirtyOne";
|
740
|
788
|
import DialysisPrintOrderThirtyTwo from "./template/DialysisPrintOrderThirtyTwo";
|
|
789
|
+import DialysisPrintOrderThirtyThree from "./template/DialysisPrintOrderThirtyThree";
|
|
790
|
+import DialysisPrintOrderThirtyFour from "./template/DialysisPrintOrderThirtyFour";
|
741
|
791
|
export default {
|
742
|
792
|
name: "dialysisPrintOrder",
|
743
|
793
|
components: {
|
|
794
|
+ DialysisPrintOrderThirtyFour,
|
|
795
|
+ DialysisPrintOrderThirtyThree,
|
744
|
796
|
DialysisPrintOrderThirtyTwo,
|
745
|
797
|
DialysisPrintOrderThirtyOne,
|
746
|
798
|
DialysisPrintOrderThirty,
|
|
@@ -1157,6 +1209,20 @@ export default {
|
1157
|
1209
|
style: style5,
|
1158
|
1210
|
scanStyles: false
|
1159
|
1211
|
});
|
|
1212
|
+ } else if (this.org_template_info.template_id == 33) {
|
|
1213
|
+ printJS({
|
|
1214
|
+ printable: "dialysis-print-box-1",
|
|
1215
|
+ type: "html",
|
|
1216
|
+ style: style2,
|
|
1217
|
+ scanStyles: false
|
|
1218
|
+ });
|
|
1219
|
+ } else if (this.org_template_info.template_id == 34) {
|
|
1220
|
+ printJS({
|
|
1221
|
+ printable: "dialysis-print-box-1",
|
|
1222
|
+ type: "html",
|
|
1223
|
+ style: style2,
|
|
1224
|
+ scanStyles: false
|
|
1225
|
+ });
|
1160
|
1226
|
}
|
1161
|
1227
|
},
|
1162
|
1228
|
printThisOnePage() {
|
|
@@ -1179,7 +1245,8 @@ export default {
|
1179
|
1245
|
this.org_template_info.template_id == 2 ||
|
1180
|
1246
|
this.org_template_info.template_id == 0 ||
|
1181
|
1247
|
this.org_template_info.template_id == 5 ||
|
1182
|
|
- this.org_template_info.template_id == 22
|
|
1248
|
+ this.org_template_info.template_id == 22 ||
|
|
1249
|
+ this.org_template_info.template_id == 33
|
1183
|
1250
|
) {
|
1184
|
1251
|
printJS({
|
1185
|
1252
|
printable: "dialysis-print-box-1-1",
|
|
@@ -1230,7 +1297,8 @@ export default {
|
1230
|
1297
|
this.org_template_info.template_id == 2 ||
|
1231
|
1298
|
this.org_template_info.template_id == 0 ||
|
1232
|
1299
|
this.org_template_info.template_id == 5 ||
|
1233
|
|
- this.org_template_info.template_id == 22
|
|
1300
|
+ this.org_template_info.template_id == 22 ||
|
|
1301
|
+ this.org_template_info.template_id == 33
|
1234
|
1302
|
) {
|
1235
|
1303
|
printJS({
|
1236
|
1304
|
printable: "dialysis-print-box-1-2",
|