|
@@ -13,12 +13,12 @@
|
13
|
13
|
|
14
|
14
|
<div class="dialysisPage" style="padding-top: 40px">
|
15
|
15
|
<printOne
|
16
|
|
- v-if="
|
|
16
|
+ v-if="
|
17
|
17
|
org_id != 10217 && org_id != 10188 &&org_id != 10318&&
|
18
|
18
|
org_id != 9675 &&
|
19
|
19
|
org_id != 9671 &&
|
20
|
20
|
org_id != 0 &&
|
21
|
|
- org_id != 10164
|
|
21
|
+ org_id != 10164
|
22
|
22
|
"
|
23
|
23
|
ref="printOne"
|
24
|
24
|
v-bind:childResponse="childResponse"
|
|
@@ -27,6 +27,7 @@
|
27
|
27
|
:history="history"
|
28
|
28
|
:patientid="patientid"
|
29
|
29
|
></printOne>
|
|
30
|
+ <!-- -->
|
30
|
31
|
<printTwo
|
31
|
32
|
v-if="
|
32
|
33
|
org_id == 10217 ||
|
|
@@ -43,6 +44,7 @@
|
43
|
44
|
:history="history"
|
44
|
45
|
:patientid="patientid"
|
45
|
46
|
></printTwo>
|
|
47
|
+
|
46
|
48
|
<printThree
|
47
|
49
|
v-if="org_id == 10318 || org_id == 0"
|
48
|
50
|
ref="printThree"
|
|
@@ -52,7 +54,18 @@
|
52
|
54
|
:history="history"
|
53
|
55
|
:patientid="patientid"
|
54
|
56
|
>
|
|
57
|
+ <!-- -->
|
55
|
58
|
</printThree>
|
|
59
|
+ <printFour
|
|
60
|
+ v-if="org_id == 10138 || org_id == 10278 || org_id == 0"
|
|
61
|
+ ref="printFour"
|
|
62
|
+ v-bind:childResponse="childResponse"
|
|
63
|
+ :patient="patient"
|
|
64
|
+ :hispatient="hispatient"
|
|
65
|
+ :history="history"
|
|
66
|
+ :patientid="patientid"
|
|
67
|
+ >
|
|
68
|
+ </printFour>
|
56
|
69
|
</div>
|
57
|
70
|
</div>
|
58
|
71
|
</template>
|
|
@@ -68,6 +81,7 @@ import { getPatientCaseHistory } from "@/api/project/project";
|
68
|
81
|
import printOne from "./recordTemplate/printOne";
|
69
|
82
|
import printTwo from "./recordTemplate/printTwo";
|
70
|
83
|
import printThree from "./recordTemplate/printThree";
|
|
84
|
+import printFour from "./recordTemplate/printFour";
|
71
|
85
|
export default {
|
72
|
86
|
name: "dialysisPrintOrder",
|
73
|
87
|
components: {
|
|
@@ -75,6 +89,7 @@ export default {
|
75
|
89
|
printOne,
|
76
|
90
|
printTwo,
|
77
|
91
|
printThree,
|
|
92
|
+ printFour
|
78
|
93
|
},
|
79
|
94
|
props: {
|
80
|
95
|
patientid: Number,
|
|
@@ -137,7 +152,7 @@ export default {
|
137
|
152
|
this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
|
138
|
153
|
|
139
|
154
|
const style =
|
140
|
|
- "@media print {.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitle{display: flex;margin-top:10px;padding:0 10px;}.infoTitle div{width: 200px;}.otherInfo{display: flex;margin-top:20px;padding:0 10px;}.otherInfo span{display:inline-block;}.recordTitle{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;border-bottom: 2px solid #000;}.recordTitle div{width: 200px;}}";
|
|
155
|
+ "@media print {.prescription-print{font-size: 14px;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitle{display: flex;margin-top:10px;padding:0 10px;}.infoTitle div{width: 200px;}.otherInfo{display: flex;margin-top:20px;padding:0 10px;}.otherInfo span{display:inline-block;}.recordTitle{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;}.recordTitle div{width: 200px;}}";
|
141
|
156
|
const style1 =
|
142
|
157
|
"@media print {.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitle{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;} .infoTitle div{width: 200px;} .infoTitle .address_slot{width: 400px;} .infoTitle .name_slot{width: 250px;}.otherInfo{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;}.otherInfo span{display:inline-block;}.recordTitle{display: flex;justify-content: center;flex-direction: column;margin-top:10px;line-height: 24px;padding:0 10px;border-top: 1px solid;}.recordTitle div{width: 100%;text-align: center;} .recordTitle .recordContent{width: 100%;height: fit-content;min-height: 150px;text-align: left;} .endInfo{display: flex;flex-direction: column;justify-content: end;margin-top: 10px;line-height: 24px;} .endInfo div{width: 300px;} .record_Title{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;border-bottom: 2px solid #000;} .record_Title div{width: 200px;}}";
|
143
|
158
|
const style2 =
|
|
@@ -170,6 +185,23 @@ export default {
|
170
|
185
|
scanStyles: false,
|
171
|
186
|
});
|
172
|
187
|
}
|
|
188
|
+ else if(this.org_id == 10138 || this.org_id == 10278 || this.org_id == 0){
|
|
189
|
+ printJS({
|
|
190
|
+ printable: "prescription-print",
|
|
191
|
+ type: "html",
|
|
192
|
+ style: style,
|
|
193
|
+ scanStyles: false,
|
|
194
|
+ });
|
|
195
|
+
|
|
196
|
+ }
|
|
197
|
+ // if(this.org_id == 10138 || this.org_id == 10278 || this.org_id == 0){
|
|
198
|
+ // printJS({
|
|
199
|
+ // printable: "prescription-print",
|
|
200
|
+ // type: "html",
|
|
201
|
+ // style: style,
|
|
202
|
+ // scanStyles: false,
|
|
203
|
+ // });
|
|
204
|
+ // }
|
173
|
205
|
},
|
174
|
206
|
|
175
|
207
|
//患者列表
|