From 5f81667c601d31620df75dd88ab73ab7dbd99aa2 Mon Sep 17 00:00:00 2001 From: xianyi Date: Mon, 8 Dec 2025 09:26:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=8A=A5=E5=91=8A=E5=AF=84?= =?UTF-8?q?=E9=80=81=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/exam/ExamModal.tsx | 39 ++++++++++++++++++++++ src/components/exam/ExamSection.tsx | 11 ++++++ src/components/layout/Sidebar.tsx | 31 ++++++++++++----- src/components/modals/QuickActionModal.tsx | 32 +----------------- src/data/mockData.ts | 4 +-- 5 files changed, 75 insertions(+), 42 deletions(-) diff --git a/src/components/exam/ExamModal.tsx b/src/components/exam/ExamModal.tsx index 5c4a168..15f8889 100644 --- a/src/components/exam/ExamModal.tsx +++ b/src/components/exam/ExamModal.tsx @@ -16,17 +16,20 @@ export const ExamModal = ({ client, tab, onTabChange, onClose }: ExamModalProps) { key: 'sign', label: '签到' }, { key: 'addon', label: '加项' }, { key: 'print', label: '打印导检单' }, + { key: 'delivery', label: '报告寄送' }, ]; const signDone = client.signStatus === '已登记' || client.checkedItems.includes('签到'); const addonDone = (client.addonCount || 0) > 0; const printDone = !!client.guidePrinted; + const deliveryDone = !!client.deliveryDone; const tabDone: Record = { detail: false, sign: signDone, addon: addonDone, print: printDone, + delivery: deliveryDone, }; const handleDoubleClick = (e: React.MouseEvent) => { @@ -122,6 +125,7 @@ export const ExamModal = ({ client, tab, onTabChange, onClose }: ExamModalProps) {tab === 'sign' && } {tab === 'addon' && } {tab === 'print' && } + {tab === 'delivery' && } @@ -519,6 +523,41 @@ const ExamDetailInfo = ({ client }: { client: ExamClient }) => { ); }; +const ExamDeliveryPanel = ({ client }: { client: ExamClient }) => ( +
+
+
报告寄送
+
+
+ 收件人姓名 + +
+
+ 联系电话 + +
+
+ 寄送地址 + +
+
+
‘ +
备注说明
+