fix(staff): 弹框富单元格TS修(Col加type字段+删unused staffInfo)+后端staff-chat-stats补head_image_url/real_name

This commit is contained in:
浅念
2026-08-25 10:27:29 +08:00
parent b6eea3070a
commit c96f638bab
2 changed files with 2 additions and 1 deletions
@@ -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'
-1
View File
@@ -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,