From 242243e8803071dc31ca928e6d19e51076701ee1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=85=E5=BF=B5?= Date: Mon, 24 Aug 2026 11:40:20 +0800 Subject: [PATCH] =?UTF-8?q?fix(groups):=20=E7=BE=A4=E5=88=97=E8=A1=A83?= =?UTF-8?q?=E5=A4=84=E5=AD=97=E6=AE=B5=E4=BF=AE=E6=AD=A3=E5=AF=B9=E9=BD=90?= =?UTF-8?q?=E4=BA=91=E5=AE=A2(=E7=BE=A4=E4=B8=BBownerName+=E5=A5=BD?= =?UTF-8?q?=E5=8F=8B=E6=95=B0friendCount+fromType=3D0=E2=86=92=E5=B7=A5?= =?UTF-8?q?=E4=BD=9C=E6=89=8B=E6=9C=BA)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 群主信息: userName→ownerName(群数据里群主昵称的正确字段) - 群成员好友数量: contactCount(不存在)→friendCount(实测有值500) - fromType=0 映射为「工作手机」(群列表的编码与客户的1000014不同) Co-Authored-By: Claude --- yunkes/src/utils/customerFields.ts | 1 + yunkes/src/views/GroupList.vue | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/yunkes/src/utils/customerFields.ts b/yunkes/src/utils/customerFields.ts index 121f81f..8238611 100644 --- a/yunkes/src/utils/customerFields.ts +++ b/yunkes/src/utils/customerFields.ts @@ -222,6 +222,7 @@ export function yesNoLabel(v: unknown): string { */ const FROM_TYPE_LABELS: Record = { '1000014': '工作手机', + '0': '工作手机', // 群列表的 fromType=0 也是工作手机(实测 2026-08-24) } export function fromTypeLabel(v: unknown): string { if (v === null || v === undefined || v === '') return '--' diff --git a/yunkes/src/views/GroupList.vue b/yunkes/src/views/GroupList.vue index 3d31fd4..90e1b49 100644 --- a/yunkes/src/views/GroupList.vue +++ b/yunkes/src/views/GroupList.vue @@ -319,7 +319,7 @@ onMounted(() => { @@ -327,7 +327,7 @@ onMounted(() => { - +