|
@@ -1020,7 +1020,18 @@
|
1020
|
1020
|
>
|
1021
|
1021
|
</div>
|
1022
|
1022
|
</template>
|
1023
|
|
-
|
|
1023
|
+ <template v-if="org_template_info.template_id == 82">
|
|
1024
|
+ <div>
|
|
1025
|
+ <el-button
|
|
1026
|
+ :loading="loading"
|
|
1027
|
+ size="small"
|
|
1028
|
+ icon="el-icon-printer"
|
|
1029
|
+ @click="printThisPage"
|
|
1030
|
+ type="primary"
|
|
1031
|
+ >打印</el-button
|
|
1032
|
+ >
|
|
1033
|
+ </div>
|
|
1034
|
+ </template>
|
1024
|
1035
|
</div>
|
1025
|
1036
|
<div class="app-container" style="min-height: 0">
|
1026
|
1037
|
<!--<div class="order-print-btn"-->
|
|
@@ -1547,6 +1558,9 @@
|
1547
|
1558
|
<DialysisPrintOrdereightyone v-bind:childResponse="childResponse"
|
1548
|
1559
|
v-if="org_template_info.template_id == 81">
|
1549
|
1560
|
</DialysisPrintOrdereightyone>
|
|
1561
|
+ <DialysisPrintOrdereightytwo v-bind:childResponse="childResponse"
|
|
1562
|
+ v-if="org_template_info.template_id == 82">
|
|
1563
|
+ </DialysisPrintOrdereightytwo>
|
1550
|
1564
|
</div>
|
1551
|
1565
|
</el-container>
|
1552
|
1566
|
</div>
|
|
@@ -1646,6 +1660,7 @@ import DialysisPrintOrderSeventyeight from './template/DialysisPrintOrderSeventy
|
1646
|
1660
|
import DialysisPrintOrderSeventynine from './template/DialysisPrintOrderSeventynine'
|
1647
|
1661
|
import DialysisPrintOrdereighty from './template/DialysisPrintOrdereighty'
|
1648
|
1662
|
import DialysisPrintOrdereightyone from './template/DialysisPrintOrdereightyone'
|
|
1663
|
+import DialysisPrintOrdereightytwo from './template/DialysisPrintOrdereightytwo'
|
1649
|
1664
|
import DialysisPrintOrderZero from './template/DialysisPrintOrderZero'
|
1650
|
1665
|
export default {
|
1651
|
1666
|
name: "dialysisPrintOrder",
|
|
@@ -1731,6 +1746,7 @@ export default {
|
1731
|
1746
|
DialysisPrintOrderSeventynine,
|
1732
|
1747
|
DialysisPrintOrdereighty,
|
1733
|
1748
|
DialysisPrintOrdereightyone,
|
|
1749
|
+ DialysisPrintOrdereightytwo,
|
1734
|
1750
|
DialysisPrintOrderZero,
|
1735
|
1751
|
LabelBox,
|
1736
|
1752
|
BreadCrumb,
|
|
@@ -2459,15 +2475,14 @@ export default {
|
2459
|
2475
|
style: style2,
|
2460
|
2476
|
scanStyles: false,
|
2461
|
2477
|
});
|
|
2478
|
+ } else if (this.org_template_info.template_id == 82) {
|
|
2479
|
+ printJS({
|
|
2480
|
+ printable: "dialysis-print-box-1",
|
|
2481
|
+ type: "html",
|
|
2482
|
+ style: style3,
|
|
2483
|
+ scanStyles: false,
|
|
2484
|
+ });
|
2462
|
2485
|
}
|
2463
|
|
- // else if (this.org_id == 10206 || this.org_id ==0 || org_id==9671) {
|
2464
|
|
- // printJS({
|
2465
|
|
- // printable: "dialysis-print-box-1",
|
2466
|
|
- // type: "html",
|
2467
|
|
- // style: style2,
|
2468
|
|
- // scanStyles: false,
|
2469
|
|
- // });
|
2470
|
|
- // }
|
2471
|
2486
|
else if (this.org_template_info.template_id == 199 ) {
|
2472
|
2487
|
printJS({
|
2473
|
2488
|
printable: "dialysis-print-box-1",
|
|
@@ -2686,12 +2701,12 @@ export default {
|
2686
|
2701
|
this.patient_id = response.data.data.patientInfo.DialysisSchedule.patient_id
|
2687
|
2702
|
this.patient_name = response.data.data.patientInfo.name
|
2688
|
2703
|
|
2689
|
|
- if(this.org_id !=10206){
|
|
2704
|
+ if(this.org_id !=10206 && this.org_id !=0){
|
2690
|
2705
|
this.org_template_info.template_id= response.data.data.org_template_info.template_id
|
2691
|
2706
|
this.org_template_info = response.data.data.org_template_info;
|
2692
|
2707
|
}else{
|
2693
|
2708
|
this.org_template_info = response.data.data.org_template_info;
|
2694
|
|
- this.org_template_info.template_id= 80
|
|
2709
|
+ this.org_template_info.template_id= 82
|
2695
|
2710
|
}
|
2696
|
2711
|
|
2697
|
2712
|
|