From 35637d1e14060c41da54c22e15fbc309615c97b3 Mon Sep 17 00:00:00 2001 From: yanzai Date: Wed, 20 Aug 2025 17:53:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=81=8C=E4=B8=9A=E7=97=85?= =?UTF-8?q?=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Controllers/ReportController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/ReportController.php b/app/Http/Controllers/ReportController.php index c8af09e..c420bfb 100644 --- a/app/Http/Controllers/ReportController.php +++ b/app/Http/Controllers/ReportController.php @@ -563,8 +563,8 @@ class ReportController extends Controller $conclusion = [ 'datetime' => str_replace('T', ' ', $info['登记时间']), 'doctor' => $info['总检医生'], - 'content' => $info['总检结论'], - 'suggestion' => $info['总检建议'], + 'content' => empty($info['职业病诊断'])?$info['总检结论']:$info['职业病诊断'], + 'suggestion' => empty($info['职业病检查意见'])?$info['总检建议']:$info['职业病检查意见'], ]; foreach ($info['收费项目列表'] as $item) { $content_list = [];