分离体检报告寄送面板

This commit is contained in:
xianyi
2025-12-15 16:01:55 +08:00
parent 1b1a484e55
commit 263ab18aed
2 changed files with 42 additions and 2 deletions

View File

@@ -3,10 +3,11 @@ import { useEffect, useRef, useState } from 'react';
import type { ExamClient, ExamModalTab } from '../../data/mockData';
import type { CustomerAppointmentInfo, CustomerExamAddItem, CustomerInfo, OutputTongyishuFileInfo, PhysicalExamProgressItem } from '../../api';
import { getCustomerDetail, getPhysicalExamProgressDetail, getTongyishuPdf, signInMedicalExamCenter, submitTongyishuSign } from '../../api';
import { Button, Input, SignaturePad, type SignaturePadHandle } from '../ui';
import { Button, SignaturePad, type SignaturePadHandle } from '../ui';
import { ExamDetailPanel } from './ExamDetailPanel';
import { ExamAddonPanel } from './ExamAddonPanel';
import { ExamPrintPanel } from './ExamPrintPanel';
import { ExamDeliveryPanel } from './ExamDeliveryPanel';
interface ExamModalProps {
client: ExamClient;
@@ -165,7 +166,7 @@ export const ExamModal = ({ client, tab, onTabChange, onClose }: ExamModalProps)
{tab === 'sign' && <ExamSignPanel examId={Number(client.id)} />}
{tab === 'addon' && <ExamAddonPanel client={client} />}
{tab === 'print' && <ExamPrintPanel client={client} />}
{/* {tab === 'delivery' && <ExamDeliveryPanel client={client} />} */}
{tab === 'delivery' && <ExamDeliveryPanel client={client} />}
</div>
</div>