完善已消耗时间

This commit is contained in:
xianyi
2025-12-26 10:01:50 +08:00
parent c46df45495
commit dd53918e18
2 changed files with 3 additions and 3 deletions

View File

@@ -239,6 +239,8 @@ export interface CustomerAppointmentInfo {
sign_in_time?: string | null; sign_in_time?: string | null;
physical_exam_complete_time?: string | null; physical_exam_complete_time?: string | null;
package_name?: string | null; package_name?: string | null;
/** 已消耗时长 */
time_spent?: string | null;
} }
/** /**

View File

@@ -329,9 +329,7 @@ export const ExamDetailPanel = ({
<div> <div>
<span className='text-gray-900'> <span className='text-gray-900'>
{appointmentInfo?.physical_exam_complete_time && appointmentInfo?.sign_in_time {loading ? '' : (appointmentInfo?.time_spent || client.elapsed)}
? `${appointmentInfo.physical_exam_complete_time} - ${appointmentInfo.sign_in_time}`
: client.elapsed}
</span> </span>
</div> </div>
<div className='col-span-2'> <div className='col-span-2'>