|
@@ -263,6 +263,34 @@
|
263
|
263
|
>打印</el-button
|
264
|
264
|
>
|
265
|
265
|
</template>
|
|
266
|
+ <template v-if="org_template_info.template_id == 22">
|
|
267
|
+ <div>
|
|
268
|
+ <el-button
|
|
269
|
+ :loading="loading"
|
|
270
|
+ size="small"
|
|
271
|
+ icon="el-icon-printer"
|
|
272
|
+ @click="printThisPage"
|
|
273
|
+ type="primary"
|
|
274
|
+ >打印全部</el-button
|
|
275
|
+ >
|
|
276
|
+ <el-button
|
|
277
|
+ :loading="loading"
|
|
278
|
+ size="small"
|
|
279
|
+ icon="el-icon-printer"
|
|
280
|
+ @click="printThisOnePage"
|
|
281
|
+ type="primary"
|
|
282
|
+ >打印纪录单</el-button
|
|
283
|
+ >
|
|
284
|
+ <el-button
|
|
285
|
+ :loading="loading"
|
|
286
|
+ size="small"
|
|
287
|
+ icon="el-icon-printer"
|
|
288
|
+ @click="printThisTwoPage"
|
|
289
|
+ type="primary"
|
|
290
|
+ >打印医嘱单</el-button
|
|
291
|
+ >
|
|
292
|
+ </div>
|
|
293
|
+ </template>
|
266
|
294
|
</div>
|
267
|
295
|
<div class="app-container" style="min-height:0;">
|
268
|
296
|
<!--<div class="order-print-btn"-->
|
|
@@ -451,6 +479,10 @@
|
451
|
479
|
v-bind:childResponse="childResponse"
|
452
|
480
|
v-if="org_template_info.template_id == 21"
|
453
|
481
|
></DialysisPrintOrderTwentyOne>
|
|
482
|
+ <DialysisPrintOrderTwentyTwo
|
|
483
|
+ v-bind:childResponse="childResponse"
|
|
484
|
+ v-if="org_template_info.template_id == 22"
|
|
485
|
+ ></DialysisPrintOrderTwentyTwo>
|
454
|
486
|
</div>
|
455
|
487
|
</el-container>
|
456
|
488
|
</div>
|
|
@@ -491,10 +523,12 @@ import DialysisPrintOrderEighteen from "./template/DialysisPrintOrderEighteen";
|
491
|
523
|
import DialysisPrintOrderNineteen from "./template/DialysisPrintOrderNineteen";
|
492
|
524
|
import DialysisPrintOrderTwenty from "./template/DialysisPrintOrderTwenty";
|
493
|
525
|
import DialysisPrintOrderTwentyOne from "./template/DialysisPrintOrderTwentyOne";
|
|
526
|
+import DialysisPrintOrderTwentyTwo from "./template/DialysisPrintOrderTwentyTwo";
|
494
|
527
|
|
495
|
528
|
export default {
|
496
|
529
|
name: "dialysisPrintOrder",
|
497
|
530
|
components: {
|
|
531
|
+ DialysisPrintOrderTwentyTwo,
|
498
|
532
|
DialysisPrintOrderTwentyOne,
|
499
|
533
|
DialysisPrintOrderTwenty,
|
500
|
534
|
DialysisPrintOrderNineteen,
|
|
@@ -829,6 +863,13 @@ export default {
|
829
|
863
|
style: style,
|
830
|
864
|
scanStyles: false
|
831
|
865
|
});
|
|
866
|
+ } else if (this.org_template_info.template_id == 22) {
|
|
867
|
+ printJS({
|
|
868
|
+ printable: "dialysis-print-box-1",
|
|
869
|
+ type: "html",
|
|
870
|
+ style: style2,
|
|
871
|
+ scanStyles: false
|
|
872
|
+ });
|
832
|
873
|
}
|
833
|
874
|
},
|
834
|
875
|
printThisOnePage() {
|
|
@@ -850,7 +891,8 @@ export default {
|
850
|
891
|
} else if (
|
851
|
892
|
this.org_template_info.template_id == 2 ||
|
852
|
893
|
this.org_template_info.template_id == 0 ||
|
853
|
|
- this.org_template_info.template_id == 5
|
|
894
|
+ this.org_template_info.template_id == 5 ||
|
|
895
|
+ this.org_template_info.template_id == 22
|
854
|
896
|
) {
|
855
|
897
|
printJS({
|
856
|
898
|
printable: "dialysis-print-box-1-1",
|
|
@@ -886,7 +928,8 @@ export default {
|
886
|
928
|
} else if (
|
887
|
929
|
this.org_template_info.template_id == 2 ||
|
888
|
930
|
this.org_template_info.template_id == 0 ||
|
889
|
|
- this.org_template_info.template_id == 5
|
|
931
|
+ this.org_template_info.template_id == 5 ||
|
|
932
|
+ this.org_template_info.template_id == 22
|
890
|
933
|
) {
|
891
|
934
|
printJS({
|
892
|
935
|
printable: "dialysis-print-box-1-2",
|