客户列表显示时间应该是最后一次更新时间
This commit is contained in:
@@ -2432,10 +2432,10 @@
|
||||
}
|
||||
return null;
|
||||
};
|
||||
// 录音开始时间:优先后端专用字段,兼容多种命名,最后退回创建时间
|
||||
// 列表展示时间:按需求优先显示更新时间,兼容多种命名,最后退回开始/创建时间
|
||||
const recordingStartRaw =
|
||||
item.startTime ||
|
||||
item.createTime;
|
||||
item.updateTime ||
|
||||
item.update_time ;
|
||||
let formattedTime = '';
|
||||
if (recordingStartRaw) {
|
||||
const date = new Date(recordingStartRaw);
|
||||
@@ -2453,7 +2453,7 @@
|
||||
return {
|
||||
id: item.id,
|
||||
title: `${item.salesName || ''}的服务记录`,
|
||||
date: formattedTime ? `开始时间:${formattedTime}` : '',
|
||||
date: formattedTime ? `更新时间:${formattedTime}` : '',
|
||||
description: item.summary || '',
|
||||
customerName: item.customerName || '',
|
||||
recordingName: item.recordingName || '', // 记录名称
|
||||
|
||||
Reference in New Issue
Block a user