diff --git a/yunkes/src/utils/accountFields.ts b/yunkes/src/utils/accountFields.ts index adcd01f..0f898cd 100644 --- a/yunkes/src/utils/accountFields.ts +++ b/yunkes/src/utils/accountFields.ts @@ -24,6 +24,7 @@ export const ACCOUNT_FIELD_LABELS: Record = { channel: '渠道', nickName: '昵称', alias: '微信号', + headImageUrl: '头像', headImgUrl: '头像', // 归属员工 userName: '员工姓名', @@ -75,7 +76,7 @@ const STRUCTURED_ALIAS: Record = { } /** Fields whose value is an image URL → render as a thumbnail. */ -const IMAGE_KEYS = new Set(['headImgUrl']) +const IMAGE_KEYS = new Set(['headImageUrl', 'headImgUrl']) /** Fields whose value is a millisecond epoch → format to local datetime. */ const TIMESTAMP_KEYS = new Set(['lastUpdate']) @@ -93,7 +94,7 @@ export interface AccountFieldGroup { export const ACCOUNT_FIELD_GROUPS: AccountFieldGroup[] = [ { title: '基本信息', - keys: ['wechatId', 'uid', 'channel', 'nickName', 'alias', 'headImgUrl'], + keys: ['wechatId', 'uid', 'channel', 'nickName', 'alias', 'headImageUrl', 'headImgUrl'], }, { title: '归属员工', diff --git a/yunkes/src/views/StaffList.vue b/yunkes/src/views/StaffList.vue index b4fff4f..3e607ba 100644 --- a/yunkes/src/views/StaffList.vue +++ b/yunkes/src/views/StaffList.vue @@ -1,128 +1,219 @@