fix(staff): 弹框富单元格TS修(Col加type字段+删unused staffInfo)+后端staff-chat-stats补head_image_url/real_name
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user