|
@@ -18,7 +18,7 @@
|
18
|
18
|
org_id != 9675 &&
|
19
|
19
|
org_id != 9671 &&
|
20
|
20
|
org_id != 0 &&
|
21
|
|
- org_id != 10164
|
|
21
|
+ org_id != 10164 && org_id != 10341 && org_id != 10342
|
22
|
22
|
"
|
23
|
23
|
ref="printOne"
|
24
|
24
|
v-bind:childResponse="childResponse"
|
|
@@ -46,7 +46,7 @@
|
46
|
46
|
></printTwo>
|
47
|
47
|
|
48
|
48
|
<printThree
|
49
|
|
- v-if="org_id == 10318 || org_id == 0"
|
|
49
|
+ v-if="org_id == 10318 || org_id == 0 "
|
50
|
50
|
ref="printThree"
|
51
|
51
|
v-bind:childResponse="childResponse"
|
52
|
52
|
:patient="patient"
|
|
@@ -54,10 +54,10 @@
|
54
|
54
|
:history="history"
|
55
|
55
|
:patientid="patientid"
|
56
|
56
|
>
|
57
|
|
- <!-- -->
|
|
57
|
+ <!-- || org_id == 0-->
|
58
|
58
|
</printThree>
|
59
|
|
- <!-- <printFour
|
60
|
|
- v-if="org_id == 10138 || org_id == 10278 || org_id == 0"
|
|
59
|
+ <printFour
|
|
60
|
+ v-if="org_id == 10138 || org_id == 10278 || org_id == 10341 || org_id == 10342 || org_id == 0"
|
61
|
61
|
ref="printFour"
|
62
|
62
|
v-bind:childResponse="childResponse"
|
63
|
63
|
:patient="patient"
|
|
@@ -65,7 +65,7 @@
|
65
|
65
|
:history="history"
|
66
|
66
|
:patientid="patientid"
|
67
|
67
|
>
|
68
|
|
- </printFour> -->
|
|
68
|
+ </printFour>
|
69
|
69
|
</div>
|
70
|
70
|
</div>
|
71
|
71
|
</template>
|
|
@@ -117,7 +117,11 @@ export default {
|
117
|
117
|
this.org_id = id;
|
118
|
118
|
if (id == 10217 || id == 9675 || id == 9671|| id == 10188 ) {
|
119
|
119
|
this.$refs.printTwo.show(val);
|
120
|
|
- } else if (id == 10318|| id == 0) {
|
|
120
|
+ } else if (id == 10138 || id == 10278 || id == 10341 || id == 10342 || id == 0) {
|
|
121
|
+ this.$refs.printFour.show(val);
|
|
122
|
+ }
|
|
123
|
+ else if (id == 10318 || id == 0) {
|
|
124
|
+ // || id == 0
|
121
|
125
|
this.$refs.printThree.show(val);
|
122
|
126
|
} else {
|
123
|
127
|
this.$refs.printOne.show(val);
|
|
@@ -158,7 +162,11 @@ export default {
|
158
|
162
|
const style2 =
|
159
|
163
|
"@media print {.printTitle{font-size: 22px;text-align: center;font-weight: bold;padding-bottom: 10px;border-bottom: 1px solid;}.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: 300px;display: flex;}.name_slot span {display: inline-block;min-width: 70px;border-bottom: 1px solid;} .infoTitle .name_slot_2 {width: 250px;display: flex;} .name_slot_2 .name_slot_1{ display: inline-block;min-width: 70px;border-bottom: 1px solid;} .infoTitle .full_slot {width: 100%;}.infoTitle .full_slot .id_card{border: 1px solid;display: inline-block;width: 18px;height: 18px;text-align: center;margin-right: 6px;} .address_slot_1 span {display: inline-block;min-width: 60px;border-bottom: 1px solid;} .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;}}";
|
160
|
164
|
|
161
|
|
- if (this.org_id != 10217 && this.org_id != 0 && this.org_id != 9675 && this.org_id != 10318 &&this.org_id != 10188) {
|
|
165
|
+ if (this.org_id != 10217 && this.org_id != 0 &&
|
|
166
|
+ this.org_id != 9675 && this.org_id != 10318 &&
|
|
167
|
+ this.org_id != 10188 && this.org_id != 10138 &&
|
|
168
|
+ this.org_id != 10278 && this.org_id != 10341 &&
|
|
169
|
+ this.org_id != 10342) {
|
162
|
170
|
printJS({
|
163
|
171
|
printable: "prescription-print",
|
164
|
172
|
type: "html",
|
|
@@ -176,7 +184,8 @@ export default {
|
176
|
184
|
style: style1,
|
177
|
185
|
scanStyles: false,
|
178
|
186
|
});
|
179
|
|
- }else if(this.org_id == 10318||this.org_id == 0 )
|
|
187
|
+ }else if(this.org_id == 10318 ||this.org_id == 0 )
|
|
188
|
+ // ||this.org_id == 0
|
180
|
189
|
{
|
181
|
190
|
printJS({
|
182
|
191
|
printable: "prescription-print",
|
|
@@ -185,7 +194,7 @@ export default {
|
185
|
194
|
scanStyles: false,
|
186
|
195
|
});
|
187
|
196
|
}
|
188
|
|
- else if(this.org_id == 10138 || this.org_id == 10278 || this.org_id == 0){
|
|
197
|
+ else if(this.org_id == 10138 || this.org_id == 10278 || this.org_id == 10341 || this.org_id == 10342 || this.org_id == 0){
|
189
|
198
|
printJS({
|
190
|
199
|
printable: "prescription-print",
|
191
|
200
|
type: "html",
|
|
@@ -194,7 +203,36 @@ export default {
|
194
|
203
|
});
|
195
|
204
|
|
196
|
205
|
}
|
197
|
|
- // if(this.org_id == 10138 || this.org_id == 10278 || this.org_id == 0){
|
|
206
|
+
|
|
207
|
+ // if(this.org_id == 10138 || this.org_id == 10278 || this.org_id == 10341 || this.org_id == 10342 || this.org_id == 0){
|
|
208
|
+ // printJS({
|
|
209
|
+ // printable: "prescription-print",
|
|
210
|
+ // type: "html",
|
|
211
|
+ // style: style,
|
|
212
|
+ // scanStyles: false,
|
|
213
|
+ // });
|
|
214
|
+ // }else if (
|
|
215
|
+ // this.org_id == 10217 ||
|
|
216
|
+ // this.org_id == 9675 ||
|
|
217
|
+ // this.org_id == 10188
|
|
218
|
+ // ) {
|
|
219
|
+ // printJS({
|
|
220
|
+ // printable: "prescription-print",
|
|
221
|
+ // type: "html",
|
|
222
|
+ // style: style1,
|
|
223
|
+ // scanStyles: false,
|
|
224
|
+ // });
|
|
225
|
+ // }else if(this.org_id == 10318 ||this.org_id == 0 )
|
|
226
|
+ // // ||this.org_id == 0
|
|
227
|
+ // {
|
|
228
|
+ // printJS({
|
|
229
|
+ // printable: "prescription-print",
|
|
230
|
+ // type: "html",
|
|
231
|
+ // style: style2,
|
|
232
|
+ // scanStyles: false,
|
|
233
|
+ // });
|
|
234
|
+ // }
|
|
235
|
+ // else{
|
198
|
236
|
// printJS({
|
199
|
237
|
// printable: "prescription-print",
|
200
|
238
|
// type: "html",
|