|
@@ -1156,14 +1156,14 @@
|
1156
|
1156
|
|
1157
|
1157
|
const style = '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;} .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;} .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}'
|
1158
|
1158
|
|
1159
|
|
- if (this.org_template_info.template_id != 2) {
|
|
1159
|
+ if (this.org_template_info.template_id == 1) {
|
1160
|
1160
|
printJS({
|
1161
|
1161
|
printable: 'dialysis-print-box',
|
1162
|
1162
|
type: 'html',
|
1163
|
1163
|
style: style,
|
1164
|
1164
|
scanStyles: false
|
1165
|
1165
|
})
|
1166
|
|
- } else if (this.org_template_info.template_id == 2) {
|
|
1166
|
+ } else if (this.org_template_info.template_id == 2||this.org_template_info.template_id == 0) {
|
1167
|
1167
|
printJS({
|
1168
|
1168
|
printable: 'dialysis-print-box-1',
|
1169
|
1169
|
type: 'html',
|
|
@@ -1434,7 +1434,7 @@
|
1434
|
1434
|
}
|
1435
|
1435
|
return ''
|
1436
|
1436
|
}, getAge: function(val) {
|
1437
|
|
- if (this.org_template_info.template_id == 2) {
|
|
1437
|
+ if (this.org_template_info.template_id == 2 || this.org_template_info.template_id == 0) {
|
1438
|
1438
|
if (val.age == 0) {
|
1439
|
1439
|
return jsGetAge(val.birth, '-')
|
1440
|
1440
|
} else {
|