feat(chat): 跳转入口全部改为全时段进入(用户定调:聊天记录不做时间限制)
排查全部聊天展示路径后清掉最后的两处带窗跳转:CallList 通话行的「通话 当天」定位窗(当日早些时候为对齐云客 ?start= 加的)与 StaffList 统计弹窗 的统计时段窗;WA 分支的 ?start= 本就被 ChatTimeline 的 start+end 成对 校验忽略,属死代码一并移除。现状:所有聊天视图默认全部时间(会话列表/ 消息接口本就无时间下限),日期过滤只保留聊天窗内的手动日期选择器。 Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -374,14 +374,14 @@ function joinFields(...vals: (string | undefined | null)[]): string {
|
||||
return parts.length ? parts.join(' ') : '--'
|
||||
}
|
||||
|
||||
/** modal 客户微信 → 该员工×客户聊天(带 StaffList 当前日期窗)。缺失 owner/talker 静默 no-op。
|
||||
* 微信 → 新员工聊天窗口 single tab(modal 跳转不带 msgid 定位)。 */
|
||||
/** modal 客户微信 → 该员工×客户聊天(全时段,不带统计日期窗——2026-08-27
|
||||
* 用户定调所有聊天记录不做时间限制,要看某时段在聊天窗里自选日期)。缺失
|
||||
* owner/talker 静默 no-op。微信 → 新员工聊天窗口 single tab(不带 msgid 定位)。 */
|
||||
function openCustomerChat(row: Account, customer: StaffChatCustomer): void {
|
||||
if (!row.account_id || !customer.talker_id) return
|
||||
router.push({
|
||||
name: 'staff-chat',
|
||||
params: { ownerId: row.account_id, tab: 'single', talkerId: customer.talker_id },
|
||||
query: { start: String(statsStart.value), end: String(statsEnd.value) },
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user