feat(wa): WA客户列表加群列表子tab(好友/群两tab对齐云客)+员工列表群聊按钮跳子tab

- CustomerList whatsapp tab 加子tab切换(好友列表|群列表)
- 群列表内嵌 WA 群表格(序号/员工/群名/消息数/查看聊天)
- StaffList WA viewGroups 跳 /customers?tab=groups(不再跳 /groups)
- WA 群数据 317 个(wa-groups 重扫)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
浅念
2026-08-24 15:28:39 +08:00
parent 31d22ddd45
commit dcd1c2d178
2 changed files with 102 additions and 7 deletions
+12 -4
View File
@@ -248,10 +248,18 @@ function viewCustomers(row: Account): void {
function viewGroups(row: Account): void {
channelStore.setChannel(row.channel)
router.push({
path: '/groups',
query: { owner_account_id: row.account_id },
})
if (row.channel === 'whatsapp') {
// WA:对齐云客,群列表在客户列表页的子 tab(2026-08-24)
router.push({
path: '/customers',
query: { owner_account_id: row.account_id, channel: 'whatsapp', tab: 'groups' },
})
} else {
router.push({
path: '/groups',
query: { owner_account_id: row.account_id },
})
}
}
async function viewChat(row: Account) {