From 65ddcf988f4ddeb22daee7f66736dfe67216e373 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=85=E5=BF=B5?= Date: Tue, 25 Aug 2026 10:57:47 +0800 Subject: [PATCH] fix(staff): \u5f39\u6846\u8865\u56de\u5458\u5de5\u4fe1\u606f\u5217(\u8bef\u5220) Co-Authored-By: Claude --- yunkes/src/views/StaffList.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/yunkes/src/views/StaffList.vue b/yunkes/src/views/StaffList.vue index 7f1ae2e..e700832 100644 --- a/yunkes/src/views/StaffList.vue +++ b/yunkes/src/views/StaffList.vue @@ -399,6 +399,7 @@ function commModalColsFor(metric: ChatMetric, row: Account): any[] { ) } cols.push( + { prop: 'staff_info', label: '员工信息', minWidth: 140 }, { prop: 'staff_wx', label: '员工微信', minWidth: 200, type: 'person' }, ) return cols @@ -443,6 +444,7 @@ function openWechatCommModal(row: Account, metric: ChatMetric): void { const filtered = stats.customers.filter((c) => metricFilter(c, metric)) const startIdx = (page - 1) * page_size const staffWx = joinFields(cellText(row, 'nickName'), row.account_id) + const staffInfo = joinFields(cellText(row, 'userName'), cellText(row, 'phone')) const items = filtered.slice(startIdx, startIdx + page_size).map((c, i) => ({ ...c, _serial: startIdx + i + 1, @@ -451,6 +453,7 @@ function openWechatCommModal(row: Account, metric: ChatMetric): void { customer_wx_sub: c.talker_id, customer_wx_real: c.real_name || '', customer_wx_avatar: c.head_image_url || '', + staff_info: staffInfo, staff_wx: staffWx, staff_wx_name: cellText(row, 'nickName'), staff_wx_sub: row.account_id,