refactor: update links in summary cards to include dashboard path
This commit is contained in:
@@ -36,35 +36,35 @@ const cards: SummaryCardItem[] = [
|
|||||||
key: "todayNewConversations",
|
key: "todayNewConversations",
|
||||||
title: "今日新增会话",
|
title: "今日新增会话",
|
||||||
description: "今日进入系统的新增咨询量",
|
description: "今日进入系统的新增咨询量",
|
||||||
link: "/conversations",
|
link: "/dashboard/conversations",
|
||||||
icon: BotMessageSquareIcon,
|
icon: BotMessageSquareIcon,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: "processingConversations",
|
key: "processingConversations",
|
||||||
title: "当前处理中",
|
title: "当前处理中",
|
||||||
description: "正在由 AI 或人工接待的会话",
|
description: "正在由 AI 或人工接待的会话",
|
||||||
link: "/conversations",
|
link: "/dashboard/conversations",
|
||||||
icon: WavesIcon,
|
icon: WavesIcon,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: "pendingDispatchConversations",
|
key: "pendingDispatchConversations",
|
||||||
title: "待分配会话",
|
title: "待分配会话",
|
||||||
description: "仍在待接入池中等待分配",
|
description: "仍在待接入池中等待分配",
|
||||||
link: "/conversations",
|
link: "/dashboard/conversations",
|
||||||
icon: CircleDashedIcon,
|
icon: CircleDashedIcon,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: "onlineAgents",
|
key: "onlineAgents",
|
||||||
title: "在线客服",
|
title: "在线客服",
|
||||||
description: "近 15 分钟内仍有活跃心跳的客服",
|
description: "近 15 分钟内仍有活跃心跳的客服",
|
||||||
link: "/agents",
|
link: "/dashboard/agents",
|
||||||
icon: HeadsetIcon,
|
icon: HeadsetIcon,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: "aiServiceRate",
|
key: "aiServiceRate",
|
||||||
title: "AI 接待占比",
|
title: "AI 接待占比",
|
||||||
description: "当前活跃会话中 AI 参与服务比例",
|
description: "当前活跃会话中 AI 参与服务比例",
|
||||||
link: "/ai-agents",
|
link: "/dashboard/ai-agents",
|
||||||
icon: SparklesIcon,
|
icon: SparklesIcon,
|
||||||
format: (value: number) => `${value.toFixed(1)}%`,
|
format: (value: number) => `${value.toFixed(1)}%`,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user