完善已消耗时间
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -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'>
|
||||||
|
|||||||
Reference in New Issue
Block a user