优化客户列表数据,上午下午
This commit is contained in:
@@ -9,7 +9,6 @@ export interface ExamClient {
|
||||
elapsed: string;
|
||||
checkedItems: string[];
|
||||
pendingItems: string[];
|
||||
timeSlot: '上午' | '下午';
|
||||
channel: string;
|
||||
vipType: '高客' | '普客';
|
||||
signStatus: '已登记' | '未登记';
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user