|
@@ -216,8 +216,7 @@ export default {
|
216
|
216
|
style: style11,
|
217
|
217
|
scanStyles: false,
|
218
|
218
|
});
|
219
|
|
- }
|
220
|
|
- else if (this.num <= 2) {
|
|
219
|
+ } else if (this.num <= 2) {
|
221
|
220
|
printJS({
|
222
|
221
|
printable: "prescription-print",
|
223
|
222
|
type: "html",
|
|
@@ -240,14 +239,28 @@ export default {
|
240
|
239
|
});
|
241
|
240
|
} else {
|
242
|
241
|
// 医保环境打印格式
|
243
|
|
- const style =
|
244
|
|
- "@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%;}}}";
|
245
|
|
- printJS({
|
246
|
|
- printable: "statement-print",
|
247
|
|
- type: "html",
|
248
|
|
- style: style,
|
249
|
|
- scanStyles: false,
|
250
|
|
- });
|
|
242
|
+ if (
|
|
243
|
+ this.$store.getters.xt_user.org_id == 9919 ||
|
|
244
|
+ this.$store.getters.xt_user.org_id == 10106
|
|
245
|
+ ) {
|
|
246
|
+ const style =
|
|
247
|
+ "@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;}}";
|
|
248
|
+ printJS({
|
|
249
|
+ printable: "statement-print",
|
|
250
|
+ type: "html",
|
|
251
|
+ style: style,
|
|
252
|
+ scanStyles: false,
|
|
253
|
+ });
|
|
254
|
+ } else {
|
|
255
|
+ const style =
|
|
256
|
+ "@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%;}}}";
|
|
257
|
+ printJS({
|
|
258
|
+ printable: "statement-print",
|
|
259
|
+ type: "html",
|
|
260
|
+ style: style,
|
|
261
|
+ scanStyles: false,
|
|
262
|
+ });
|
|
263
|
+ }
|
251
|
264
|
}
|
252
|
265
|
|
253
|
266
|
// if (this.org_template_info.template_id == 1) {
|