From c96f638bab018218ab497a1ae1bc182469e32026 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=85=E5=BF=B5?= Date: Tue, 25 Aug 2026 10:27:29 +0800 Subject: [PATCH] =?UTF-8?q?fix(staff):=20=E5=BC=B9=E6=A1=86=E5=AF=8C?= =?UTF-8?q?=E5=8D=95=E5=85=83=E6=A0=BCTS=E4=BF=AE(Col=E5=8A=A0type?= =?UTF-8?q?=E5=AD=97=E6=AE=B5+=E5=88=A0unused=20staffInfo)+=E5=90=8E?= =?UTF-8?q?=E7=AB=AFstaff-chat-stats=E8=A1=A5head=5Fimage=5Furl/real=5Fnam?= =?UTF-8?q?e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yunkes/src/components/YkStaffDetailModal.vue | 2 ++ yunkes/src/views/StaffList.vue | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/yunkes/src/components/YkStaffDetailModal.vue b/yunkes/src/components/YkStaffDetailModal.vue index cd02869..1cf4f25 100644 --- a/yunkes/src/components/YkStaffDetailModal.vue +++ b/yunkes/src/components/YkStaffDetailModal.vue @@ -9,6 +9,8 @@ import type { Page } from '@/api/types' interface Col { prop: string label: string + /** 'person' = avatar+name+sub cell */ + type?: 'person' width?: number | string minWidth?: number | string align?: 'left' | 'center' | 'right' diff --git a/yunkes/src/views/StaffList.vue b/yunkes/src/views/StaffList.vue index 1703551..7f1ae2e 100644 --- a/yunkes/src/views/StaffList.vue +++ b/yunkes/src/views/StaffList.vue @@ -442,7 +442,6 @@ function openWechatCommModal(row: Account, metric: ChatMetric): void { } const filtered = stats.customers.filter((c) => metricFilter(c, metric)) const startIdx = (page - 1) * page_size - const staffInfo = joinFields(cellText(row, 'userName'), cellText(row, 'phone')) const staffWx = joinFields(cellText(row, 'nickName'), row.account_id) const items = filtered.slice(startIdx, startIdx + page_size).map((c, i) => ({ ...c,