|
@@ -237,13 +237,15 @@
|
237
|
237
|
dialysisSett:{},
|
238
|
238
|
total_one:0,
|
239
|
239
|
total_two:0,
|
240
|
|
- total_three:0
|
|
240
|
+ total_three:0,
|
|
241
|
+ org_id:'',
|
241
|
242
|
}
|
242
|
243
|
},
|
243
|
244
|
components: {
|
244
|
245
|
BreadCrumb
|
245
|
246
|
},
|
246
|
247
|
created() {
|
|
248
|
+ this.org_id = this.$store.getters.xt_user.org.id
|
247
|
249
|
this.displace_liqui_part_option = this.$store.getters.displace_liqui
|
248
|
250
|
this.blood_access_option = getDataConfig('hemodialysis', 'vascular_access_desc')
|
249
|
251
|
this.getlist()
|
|
@@ -309,14 +311,27 @@
|
309
|
311
|
}
|
310
|
312
|
},
|
311
|
313
|
printAction: function() {
|
312
|
|
- const style = '@media print { .print_main_content { background-color: white; width:960px; margin:0 auto; padding: 0 0 20px 0; } .order_title_panl { text-align: center; } .main_title { font-size: 18px; line-height: 40px; font-weight: 500; } .table_panel { } .table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px; } thead tr td { border: 1px solid; text-align: center; font-size: 16px; padding: 0px 5px; } tbody tr td { border: 1px solid; text-align: center; font-size: 14px; padding: 0px 5px; } .proj { padding: 5px 0; text-align: left; } .proj_title { font-size: 16px; font-weight: 500; line-height: 25px; } .proj_item { font-size: 15px; line-height: 20px; } .zone_name { font-weight: 500; } }'
|
313
|
|
- printJS({
|
314
|
|
- printable: 'print_content',
|
315
|
|
- type: 'html',
|
316
|
|
- documentTitle: ' ',
|
317
|
|
- style: style,
|
318
|
|
- scanStyles: false
|
319
|
|
- })
|
|
314
|
+ if(this.org_id != 10495 && this.org_id != 0){
|
|
315
|
+ const style = '@media print { .print_main_content { background-color: white; width:960px; margin:0 auto; padding: 0 0 20px 0; } .order_title_panl { text-align: center; } .main_title { font-size: 18px; line-height: 40px; font-weight: 500; } .table_panel { } .table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px; } thead tr td { border: 1px solid; text-align: center; font-size: 16px; padding: 0px 5px; } tbody tr td { border: 1px solid; text-align: center; font-size: 14px; padding: 0px 5px; } .proj { padding: 5px 0; text-align: left; } .proj_title { font-size: 16px; font-weight: 500; line-height: 25px; } .proj_item { font-size: 15px; line-height: 20px; } .zone_name { font-weight: 500; } }'
|
|
316
|
+ printJS({
|
|
317
|
+ printable: 'print_content',
|
|
318
|
+ type: 'html',
|
|
319
|
+ documentTitle: ' ',
|
|
320
|
+ style: style,
|
|
321
|
+ scanStyles: false
|
|
322
|
+ })
|
|
323
|
+ }else{
|
|
324
|
+ // const style = '@media print { .print_main_content { background-color: white; width:960px; margin:0 auto; padding: 0 0 20px 0; } .order_title_panl { text-align: center; } .main_title { font-size: 18px; line-height: 40px; font-weight: 500; } .table_panel { } .table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px; } thead tr td { border: 1px solid; text-align: center; font-size: 16px; padding: 0px 5px; } tbody tr td { border: 1px solid; text-align: center; font-size: 14px; padding: 0px 5px; } .proj { padding: 5px 0; text-align: left; } .proj_title { font-size: 16px; font-weight: 500; line-height: 25px; } .proj_item { font-size: 15px; line-height: 20px; } .zone_name { font-weight: 500; } }'
|
|
325
|
+ const style = '@media print { .print_main_content { background-color: white; width:960px; margin:0 auto; padding: 0 0 20px 0; } .order_title_panl { text-align: center; } .main_title { font-size: 18px; line-height: 40px; font-weight: 500; } .table_panel { } .table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px; } thead tr td { border: 1px solid; text-align: center; font-size: 20px; padding: 15px 5px; } tbody tr td { border: 1px solid; text-align: center; font-size: 18px; padding: 10px 5px; } .proj { padding: 5px 0; text-align: left; } .proj_title { font-size: 16px; font-weight: 500; line-height: 25px; } .proj_item { font-size: 15px; line-height: 20px; } .zone_name { font-weight: 500; } }'
|
|
326
|
+ printJS({
|
|
327
|
+ printable: 'print_content',
|
|
328
|
+ type: 'html',
|
|
329
|
+ documentTitle: ' ',
|
|
330
|
+ style: style,
|
|
331
|
+ scanStyles: false
|
|
332
|
+ })
|
|
333
|
+ }
|
|
334
|
+
|
320
|
335
|
},
|
321
|
336
|
getAnticoagualnt(id){
|
322
|
337
|
var name = ""
|