修改报告

This commit is contained in:
lxd 2025-03-18 15:48:12 +08:00
parent 301e4657f7
commit caeba8c1c3
2 changed files with 5 additions and 7 deletions

View File

@ -717,11 +717,9 @@
</div>
</div>
<div class="paragraph-group">
<p id="summary-year"
<span class="year-value"">
这里是汇总结果
<p id="summary-year" style="white-space: pre-wrap;">
<span class="year-value"">
</p>
</div>
<div class="report-footer">
<p class="report-footer-text">定期体检,尊享健康</p>

View File

@ -251,13 +251,13 @@ const handleIframeLoad = async () => {
//
const constitutionValue = doc.querySelector('#constitution-result .constitution-value')
if (constitutionValue) {
constitutionValue.textContent = '平和质' || '--'
constitutionValue.textContent = reportData.zybs || '--'
}
//
const summaryElement = doc.getElementById('summary-year')
if (summaryElement) {
summaryElement.textContent = `这里是汇总结果值啊`
summaryElement.textContent = reportData.summaryResult || '--'
}
// PDF
@ -274,7 +274,7 @@ const handleIframeLoad = async () => {
case '生化':
reportTitle = '生化检查报告'
break
case '超声':
case 'US':
reportTitle = '超声检查报告'
break
case '尿常规':