优化客户列表数据,上午下午

This commit is contained in:
xianyi
2025-12-22 10:30:11 +08:00
parent 11ac18fade
commit 9f471db313
2 changed files with 0 additions and 6 deletions

View File

@@ -9,7 +9,6 @@ export interface ExamClient {
elapsed: string; elapsed: string;
checkedItems: string[]; checkedItems: string[];
pendingItems: string[]; pendingItems: string[];
timeSlot: '上午' | '下午';
channel: string; channel: string;
vipType: '高客' | '普客'; vipType: '高客' | '普客';
signStatus: '已登记' | '未登记'; signStatus: '已登记' | '未登记';

View File

@@ -133,10 +133,6 @@ export const ExamPage = () => {
} }
} }
// 粗略判断上午/下午
const timeSlot: ExamClient['timeSlot'] =
(item.physical_exam_time || '').includes('下午') ? '下午' : '上午';
return { return {
id: String(item.physical_exam_id ?? ''), id: String(item.physical_exam_id ?? ''),
name: item.customer_name || '未知客户', name: item.customer_name || '未知客户',
@@ -148,7 +144,6 @@ export const ExamPage = () => {
elapsed, elapsed,
checkedItems: [], checkedItems: [],
pendingItems: [], pendingItems: [],
timeSlot,
channel: item.channel || '', channel: item.channel || '',
vipType, vipType,
signStatus, signStatus,