diff --git a/public/templates/report-template.html b/public/templates/report-template.html index 39da2b2..50ceada 100644 --- a/public/templates/report-template.html +++ b/public/templates/report-template.html @@ -452,6 +452,7 @@ max-height: 840px !important; /* 增加高度 */ object-fit: contain !important; + margin-top: -15px !important; } /* 调整超声检查报告的内容区域 */ @@ -492,7 +493,7 @@ .ultrasound-exam .report-summary p { font-size: 14px !important; /* 与一般检查小结正文相同 */ - line-height: 1.6 !important; + line-height: 1.5 !important; margin: 1px 0 !important; margin-bottom: 60px !important; } @@ -614,7 +615,7 @@ /* 超声检查标题居中部分调整 */ .ultrasound-exam .USPrinttitleDiv, .ultrasound-exam div[style*="text-align: center"] { - padding-left: 80px !important; + padding-left: 20px !important; box-sizing: border-box !important; width: 100% !important; } diff --git a/src/views/Department-entry/Medical-examination-vehicle.vue b/src/views/Department-entry/Medical-examination-vehicle.vue index b4bf21c..f1ad633 100644 --- a/src/views/Department-entry/Medical-examination-vehicle.vue +++ b/src/views/Department-entry/Medical-examination-vehicle.vue @@ -835,24 +835,7 @@ const loadPatientData = async (patient) => { // 处理BMI项目 if (item.itemName && item.itemName.includes('体质指数') && item.itemName.includes('BMI') && item.itemResult) { - const bmiValue = parseFloat(item.itemResult) - if (!isNaN(bmiValue)) { - if (bmiValue < 18.5) { - processedItem.note = '↓' - processedItem.risk = '偏瘦' - processedItem.status = 'danger' - abnormalSummary.push('【BMI】' + bmiValue + ',偏瘦') - } else if (bmiValue >= 24) { - processedItem.note = '↑' - processedItem.risk = '超重' - processedItem.status = 'danger' - abnormalSummary.push('【BMI】' + bmiValue + ',超重') - } else { - processedItem.note = '-' - processedItem.risk = '正常' - processedItem.status = '' - } - } + handleBmiResult(processedItem) } // 处理血压项目