diff --git a/public/templates/report-template.html b/public/templates/report-template.html index 61d3f6d..52a3532 100644 --- a/public/templates/report-template.html +++ b/public/templates/report-template.html @@ -1,5 +1,6 @@ + @@ -7,24 +8,24 @@ +
@@ -464,66 +497,126 @@ 单位--
- 联系电话-- + 联系电话--
- 体检日期-- + 体检日期--
- -

体检检查报告汇总

- -
-
一般检查
-
- - - - - - - - - - - - - - - - - -
检查项目检查结果
体温--
脉率--
呼吸频率--
血压--
腰围--
身高--
体重--
体质指数(BMI)--
-
-
-

体检科小结:

-

--

-
-
- - -
-
超声检查报告
-
- -
- +

+ +
+
前言
体检编号:--
+
+
+

尊敬的________先生/女士:

+ +
+

您好!欢迎参加2024年度国家基本公共卫生服务老年人健康体检项目。

+ +

健康体检是在自我感觉健康的情况下,通过医学手段对身体各脏器的状态进行的检测。定期的健康体检可以帮助您及早发现健康状态下的危机,为您的健康保驾护航。

+ +

希望您仔细阅读并妥善保管这份体检报告,给予充分的重视。如有疑问请及时与我院进行联系。

+ +

我们希望能够与您建立长期的联系,并为您建立健康档案,以便对您的健康状态进行长期的追踪,为您的健康提供长期的帮助和服务。

+ +

由于体检项目和检测手段所限,一次体检不能全部检出身体中的潜在隐患,一旦发现身体出现不适,请及时到医院进行就诊。

+
+ + +
+ +
- - - -
-

【所见】
--

-

【所得】
--

-
-
@@ -533,12 +626,12 @@
- +
@@ -553,14 +646,14 @@
- +
- +
@@ -577,12 +670,12 @@
- +
@@ -595,205 +688,207 @@
心电图检查报告
- 心电图检查 + 心电图检查

【所见】 -
-- +
--

【所得】 -
--

+
-- +

- + + \ No newline at end of file diff --git a/src/views/summary/reprot-print/components/ReportPreview.vue b/src/views/summary/reprot-print/components/ReportPreview.vue index f3c463b..58c21cb 100644 --- a/src/views/summary/reprot-print/components/ReportPreview.vue +++ b/src/views/summary/reprot-print/components/ReportPreview.vue @@ -132,6 +132,14 @@ const handleIframeLoad = async () => { title.textContent = `体检检查报告汇总 - ${reportData.pName || ''}` } + // 更新前言中的姓名 + const prefaceGreeting = doc.querySelector('.greeting .underline') + if (prefaceGreeting) { + prefaceGreeting.textContent = reportData.pName || '________' + } else { + console.log('未找到前言姓名元素') // 添加调试日志 + } + // 更新一般检查数据(身高等) const generalData = reportData.data.reduce((acc, item) => { acc[item.itemName] = item;