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,