fix(chat): 回复后再移出待处理
This commit is contained in:
@@ -564,7 +564,7 @@ function stageCount(key: string) {
|
||||
}
|
||||
|
||||
function conversationStageLabel(item: ChatConversation) {
|
||||
if (item.unread_count > 0) return '待处理'
|
||||
if (item.needs_reply) return '待处理'
|
||||
if (!item.latest_order_id) return '无订单'
|
||||
if (item.latest_order_status === 'pending_handoff') return '待交接'
|
||||
if (['renting', 'overdue'].includes(item.latest_order_status || '')) return '使用中'
|
||||
@@ -584,7 +584,7 @@ function conversationStageLabel(item: ChatConversation) {
|
||||
}
|
||||
|
||||
function conversationStageClass(item: ChatConversation) {
|
||||
if (item.unread_count > 0) return 'pending'
|
||||
if (item.needs_reply) return 'pending'
|
||||
if (!item.latest_order_id) return 'unjoined'
|
||||
if (item.latest_order_status === 'pending_handoff') return 'handoff'
|
||||
if (['renting', 'overdue'].includes(item.latest_order_status || '')) return 'renting'
|
||||
|
||||
Reference in New Issue
Block a user