|
@@ -495,6 +495,34 @@
|
495
|
495
|
>打印</el-button
|
496
|
496
|
>
|
497
|
497
|
</template>
|
|
498
|
+ <template v-if="org_template_info.template_id == 36">
|
|
499
|
+ <div>
|
|
500
|
+ <el-button
|
|
501
|
+ :loading="loading"
|
|
502
|
+ size="small"
|
|
503
|
+ icon="el-icon-printer"
|
|
504
|
+ @click="printThisPage"
|
|
505
|
+ type="primary"
|
|
506
|
+ >打印全部</el-button
|
|
507
|
+ >
|
|
508
|
+ <el-button
|
|
509
|
+ :loading="loading"
|
|
510
|
+ size="small"
|
|
511
|
+ icon="el-icon-printer"
|
|
512
|
+ @click="printThisOnePage"
|
|
513
|
+ type="primary"
|
|
514
|
+ >打印纪录单</el-button
|
|
515
|
+ >
|
|
516
|
+ <el-button
|
|
517
|
+ :loading="loading"
|
|
518
|
+ size="small"
|
|
519
|
+ icon="el-icon-printer"
|
|
520
|
+ @click="printThisTwoPage"
|
|
521
|
+ type="primary"
|
|
522
|
+ >打印医嘱单</el-button
|
|
523
|
+ >
|
|
524
|
+ </div>
|
|
525
|
+ </template>
|
498
|
526
|
</div>
|
499
|
527
|
<div class="app-container" style="min-height:0;">
|
500
|
528
|
<!--<div class="order-print-btn"-->
|
|
@@ -750,6 +778,11 @@
|
750
|
778
|
v-if="org_template_info.template_id == 35"
|
751
|
779
|
>
|
752
|
780
|
</DialysisPrintOrderThirtyFive>
|
|
781
|
+ <DialysisPrintOrderThirtySix
|
|
782
|
+ v-bind:childResponse="childResponse"
|
|
783
|
+ v-if="org_template_info.template_id == 36"
|
|
784
|
+ >
|
|
785
|
+ </DialysisPrintOrderThirtySix>
|
753
|
786
|
</div>
|
754
|
787
|
</el-container>
|
755
|
788
|
</div>
|
|
@@ -804,9 +837,11 @@ import DialysisPrintOrderThirtyTwo from "./template/DialysisPrintOrderThirtyTwo"
|
804
|
837
|
import DialysisPrintOrderThirtyThree from "./template/DialysisPrintOrderThirtyThree";
|
805
|
838
|
import DialysisPrintOrderThirtyFour from "./template/DialysisPrintOrderThirtyFour";
|
806
|
839
|
import DialysisPrintOrderThirtyFive from "./template/DialysisPrintOrderThirtyFive";
|
|
840
|
+import DialysisPrintOrderThirtySix from "./template/DialysisPrintOrderThirtySix";
|
807
|
841
|
export default {
|
808
|
842
|
name: "dialysisPrintOrder",
|
809
|
843
|
components: {
|
|
844
|
+ DialysisPrintOrderThirtySix,
|
810
|
845
|
DialysisPrintOrderThirtyFive,
|
811
|
846
|
DialysisPrintOrderThirtyFour,
|
812
|
847
|
DialysisPrintOrderThirtyThree,
|
|
@@ -1249,6 +1284,13 @@ export default {
|
1249
|
1284
|
style: style,
|
1250
|
1285
|
scanStyles: false
|
1251
|
1286
|
});
|
|
1287
|
+ } else if (this.org_template_info.template_id == 36) {
|
|
1288
|
+ printJS({
|
|
1289
|
+ printable: "dialysis-print-box-1",
|
|
1290
|
+ type: "html",
|
|
1291
|
+ style: style,
|
|
1292
|
+ scanStyles: false
|
|
1293
|
+ });
|
1252
|
1294
|
}
|
1253
|
1295
|
},
|
1254
|
1296
|
printThisOnePage() {
|
|
@@ -1301,6 +1343,13 @@ export default {
|
1301
|
1343
|
style: style,
|
1302
|
1344
|
scanStyles: false
|
1303
|
1345
|
});
|
|
1346
|
+ } else if(this.org_template_info.template_id == 36){
|
|
1347
|
+ printJS({
|
|
1348
|
+ printable: "dialysis-print-box-1-1",
|
|
1349
|
+ type: "html",
|
|
1350
|
+ style: style,
|
|
1351
|
+ scanStyles: false
|
|
1352
|
+ });
|
1304
|
1353
|
}
|
1305
|
1354
|
},
|
1306
|
1355
|
printThisTwoPage() {
|
|
@@ -1353,6 +1402,13 @@ export default {
|
1353
|
1402
|
style: style,
|
1354
|
1403
|
scanStyles: false
|
1355
|
1404
|
});
|
|
1405
|
+ } else if(this.org_template_info.template_id == 36){
|
|
1406
|
+ printJS({
|
|
1407
|
+ printable: "dialysis-print-box-1-2",
|
|
1408
|
+ type: "html",
|
|
1409
|
+ style: style,
|
|
1410
|
+ scanStyles: false
|
|
1411
|
+ });
|
1356
|
1412
|
}
|
1357
|
1413
|
},
|
1358
|
1414
|
getNumber() {
|