diff --git a/src/data/mockData.ts b/src/data/mockData.ts index eebb706..c6edbbc 100644 --- a/src/data/mockData.ts +++ b/src/data/mockData.ts @@ -9,7 +9,6 @@ export interface ExamClient { elapsed: string; checkedItems: string[]; pendingItems: string[]; - timeSlot: '上午' | '下午'; channel: string; vipType: '高客' | '普客'; signStatus: '已登记' | '未登记'; diff --git a/src/pages/ExamPage.tsx b/src/pages/ExamPage.tsx index 815fee3..6ab37f5 100644 --- a/src/pages/ExamPage.tsx +++ b/src/pages/ExamPage.tsx @@ -133,10 +133,6 @@ export const ExamPage = () => { } } - // 粗略判断上午/下午 - const timeSlot: ExamClient['timeSlot'] = - (item.physical_exam_time || '').includes('下午') ? '下午' : '上午'; - return { id: String(item.physical_exam_id ?? ''), name: item.customer_name || '未知客户', @@ -148,7 +144,6 @@ export const ExamPage = () => { elapsed, checkedItems: [], pendingItems: [], - timeSlot, channel: item.channel || '', vipType, signStatus,