修改BUG

This commit is contained in:
Euni4U 2025-04-17 15:08:39 +08:00
parent 143f090fe5
commit acdadd5eb4
2 changed files with 4 additions and 20 deletions

View File

@ -452,6 +452,7 @@
max-height: 840px !important; max-height: 840px !important;
/* 增加高度 */ /* 增加高度 */
object-fit: contain !important; object-fit: contain !important;
margin-top: -15px !important;
} }
/* 调整超声检查报告的内容区域 */ /* 调整超声检查报告的内容区域 */
@ -492,7 +493,7 @@
.ultrasound-exam .report-summary p { .ultrasound-exam .report-summary p {
font-size: 14px !important; font-size: 14px !important;
/* 与一般检查小结正文相同 */ /* 与一般检查小结正文相同 */
line-height: 1.6 !important; line-height: 1.5 !important;
margin: 1px 0 !important; margin: 1px 0 !important;
margin-bottom: 60px !important; margin-bottom: 60px !important;
} }
@ -614,7 +615,7 @@
/* 超声检查标题居中部分调整 */ /* 超声检查标题居中部分调整 */
.ultrasound-exam .USPrinttitleDiv, .ultrasound-exam .USPrinttitleDiv,
.ultrasound-exam div[style*="text-align: center"] { .ultrasound-exam div[style*="text-align: center"] {
padding-left: 80px !important; padding-left: 20px !important;
box-sizing: border-box !important; box-sizing: border-box !important;
width: 100% !important; width: 100% !important;
} }

View File

@ -835,24 +835,7 @@ const loadPatientData = async (patient) => {
// BMI // BMI
if (item.itemName && item.itemName.includes('体质指数') && item.itemName.includes('BMI') && item.itemResult) { if (item.itemName && item.itemName.includes('体质指数') && item.itemName.includes('BMI') && item.itemResult) {
const bmiValue = parseFloat(item.itemResult) handleBmiResult(processedItem)
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 = ''
}
}
} }
// //