diff --git a/web/app/dashboard/conversations/_components/conversation-list.tsx b/web/app/dashboard/conversations/_components/conversation-list.tsx index aefb879..b1bbb5c 100644 --- a/web/app/dashboard/conversations/_components/conversation-list.tsx +++ b/web/app/dashboard/conversations/_components/conversation-list.tsx @@ -101,6 +101,12 @@ export function ConversationList({ onAfterSelect }: ConversationListProps) { > {getEnumLabel(IMConversationStatusLabels, conversation.status)} + {conversation.status === IMConversationStatus.Pending && + conversation.currentTeamName ? ( + + 值班组:{conversation.currentTeamName} + + ) : null} diff --git a/web/lib/api/agent.ts b/web/lib/api/agent.ts index 25fc01a..3951aa8 100644 --- a/web/lib/api/agent.ts +++ b/web/lib/api/agent.ts @@ -43,6 +43,8 @@ export type AgentConversation = { priority: number currentAssigneeId: number currentAssigneeName?: string + currentTeamId: number + currentTeamName?: string lastMessageId: number lastMessageAt?: string lastActiveAt?: string