|
@@ -18,15 +18,9 @@
|
18
|
18
|
|
19
|
19
|
<div class="dialysisPage" style="padding-top: 40px">
|
20
|
20
|
|
21
|
|
-<!-- <batch-print-three-->
|
22
|
|
-<!-- :info="info"-->
|
23
|
|
-<!-- v-if="org_id == 10138 || org_id == 0 || org_id == 10278"-->
|
24
|
|
-<!-- ></batch-print-three>-->
|
25
|
21
|
<batch-print
|
26
|
22
|
:infos="info"
|
27
|
|
- v-if="org_id == 10138 || org_id == 0 || org_id == 10278"
|
28
|
23
|
>
|
29
|
|
-
|
30
|
24
|
</batch-print>
|
31
|
25
|
|
32
|
26
|
</div>
|
|
@@ -55,7 +49,6 @@ import printTen from "./statementTemplate/printTen";
|
55
|
49
|
import BatchPrintThree from '../outpatientDoctorStation/batch_print_template/batchPrintThree'
|
56
|
50
|
import BatchPrint from './statementTemplate/batchPrint'
|
57
|
51
|
|
58
|
|
-// import PrintOther from '../hospitalStation/statementTemplate/printOther'
|
59
|
52
|
export default {
|
60
|
53
|
name: "batchStatementPrint",
|
61
|
54
|
components: {
|
|
@@ -102,11 +95,7 @@ export default {
|
102
|
95
|
var ptime = Math.round(new Date().getTime() / 1000);
|
103
|
96
|
this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
|
104
|
97
|
|
105
|
|
- if (
|
106
|
|
- this.$store.getters.xt_user.org_id == 10138 ||
|
107
|
|
- this.$store.getters.xt_user.org_id == 0 ||
|
108
|
|
- this.$store.getters.xt_user.org_id == 10278
|
109
|
|
- ) {
|
|
98
|
+ if (this.$store.getters.xt_user.org_id == 10138 || this.$store.getters.xt_user.org_id == 0 || this.$store.getters.xt_user.org_id == 10278) {
|
110
|
99
|
setTimeout(() => {
|
111
|
100
|
const style =
|
112
|
101
|
"@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 47%;}}}";
|
|
@@ -139,10 +128,7 @@ export default {
|
139
|
128
|
scanStyles: false,
|
140
|
129
|
});
|
141
|
130
|
}, 500);
|
142
|
|
- } else if (
|
143
|
|
- this.$store.getters.xt_user.org_id == 9504 ||
|
144
|
|
- this.$store.getters.xt_user.org_id == 10028
|
145
|
|
- ) {
|
|
131
|
+ } else if (this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028) {
|
146
|
132
|
const style =
|
147
|
133
|
"@media print {.printTitle{font-size: 20px;text-align: center;font-weight: bold;}.infoMain{display: flex;flex-wrap: wrap;padding:0 10px;margin-top:10px;font-size:12px;}.infoMain .infoP{width: 33%;}.chargeBox{border: 1px solid #000;font-size:12px;}.chargeUl{display:flex;justify-content: space-between;text-align: center;}.chargeUl p{line-height: 1px;}.chargeP{line-height: 1px;padding-bottom:16px;}.moneyBox{display: flex;justify-content: space-between;padding: 0 10px;background: #eeeeee;-webkit-print-color-adjust:exact;-moz-print-color-adjust:exact;-ms-print-color-adjust:exact;print-color-adjust:exact;height: 40px;align-items: center;border:1px solid #000; border-top:none;font-size:12px;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;font-size:12px;}.actionBar div{width:150px;}}";
|
148
|
134
|
printJS({
|
|
@@ -153,10 +139,7 @@ export default {
|
153
|
139
|
});
|
154
|
140
|
} else {
|
155
|
141
|
// 医保环境打印格式
|
156
|
|
- if (
|
157
|
|
- this.$store.getters.xt_user.org_id == 9919 ||
|
158
|
|
- this.$store.getters.xt_user.org_id == 10106
|
159
|
|
- ) {
|
|
142
|
+ if (this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 10106) {
|
160
|
143
|
const style =
|
161
|
144
|
"@media print {.statementTitle{font-size: 28px;text-align: center;font-weight: bold;margin-bottom: 10px;}.statementTable{width: 100%;text-align: center;border-collapse: collapse;line-height: 40px;font-size: 16px;border-color: #000;}}";
|
162
|
145
|
printJS({
|
|
@@ -165,10 +148,7 @@ export default {
|
165
|
148
|
style: style,
|
166
|
149
|
scanStyles: false,
|
167
|
150
|
});
|
168
|
|
- } else if (
|
169
|
|
-
|
170
|
|
- this.$store.getters.xt_user.org_id == 10191
|
171
|
|
- ) {
|
|
151
|
+ } else if (this.$store.getters.xt_user.org_id == 10191) {
|
172
|
152
|
const style =
|
173
|
153
|
"@media print {#statement-print{font-size:14px;border:1px solid white}.statementTitle{font-size: 22px;text-align: center;font-weight: bold;}table{border-collapse: collapse;text-align: center;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 57%;}}}";
|
174
|
154
|
printJS({
|