191 lines
5.0 KiB
JavaScript
191 lines
5.0 KiB
JavaScript
// 客户档案数据初始化
|
||
export function initCustomerProfile(item) {
|
||
if (item.name === '李女士') {
|
||
return {
|
||
name: '李女士',
|
||
intent: '高',
|
||
serviceCount: 1,
|
||
lastService: '2025-08-17',
|
||
phone: '185****3677',
|
||
serviceStaff: '三多',
|
||
wechatStatus: '已添加',
|
||
address: '江融府',
|
||
source: '自然到店',
|
||
followStage: '意向客户',
|
||
systemTags: [
|
||
'新房装修',
|
||
'客厅,卧室',
|
||
'沙发,餐桌,床,床垫',
|
||
'关注环保',
|
||
'预算4万-5万',
|
||
'价格敏感度中',
|
||
'与孩同住子女幼年',
|
||
'现代简约',
|
||
'80m²-120m²',
|
||
'关注儿童安全设计',
|
||
'关注售后服务'
|
||
],
|
||
customTags: [
|
||
'关注优惠活动',
|
||
'关注颜色搭配',
|
||
'夫妻两一起来'
|
||
],
|
||
intentDescription: '客户是一对即将入住新房的三口之家,注重家具的环保性与实用性,偏好简约现代风格、灰白色系、耐脏易打理的材质。对布艺沙发、岩板餐桌椅、真皮软包床、乳胶床垫及护脊床垫表现出兴趣。客户对价格较为敏感,关注年终活动优惠,并与竞品进行过对比。客户最终表现出较高购买意向,已同意加微信进一步沟通方案,并考虑本周下单。'
|
||
};
|
||
} else if (item.name === '彭总') {
|
||
return {
|
||
name: '彭总',
|
||
intent: '高',
|
||
serviceCount: 3,
|
||
lastService: '2526-09-16',
|
||
phone: '',
|
||
serviceStaff: '沈易',
|
||
wechatStatus: '已添加',
|
||
address: '',
|
||
source: '',
|
||
followStage: '意向客户',
|
||
systemTags: [
|
||
'新房装修',
|
||
'餐厅,客厅,卧室,定制',
|
||
'沙发,床,床垫,茶几,餐桌',
|
||
'关注产品颜值'
|
||
],
|
||
customTags: [],
|
||
intentDescription: '客户为四层别墅新房装修,关注真皮、高脚、舒适靠背的床和沙发,偏好灰色和咖啡色系,倾向于购买整屋套餐以获得更大折扣,决策期预计在12月前。'
|
||
};
|
||
} else {
|
||
// 默认数据
|
||
return {
|
||
name: item.name,
|
||
intent: item.intent,
|
||
serviceCount: item.serviceCount,
|
||
lastService: item.lastService,
|
||
phone: item.phone || '',
|
||
serviceStaff: item.serviceStaff,
|
||
wechatStatus: '未添加',
|
||
address: '',
|
||
source: '',
|
||
followStage: '意向客户',
|
||
systemTags: item.tags ? item.tags.filter(t => t.color === 'blue').map(t => t.text) : [],
|
||
customTags: item.tags ? item.tags.filter(t => t.color === 'orange').map(t => t.text) : [],
|
||
intentDescription: ''
|
||
};
|
||
}
|
||
}
|
||
|
||
// 服务记录总结列表初始化
|
||
export function initSummaryList(item) {
|
||
if (item.title === '三多的服务记录') {
|
||
return [
|
||
{
|
||
label: '客户类型',
|
||
value: '新房装修'
|
||
},
|
||
{
|
||
label: '家庭结构',
|
||
value: '三口之家, 有一个5岁的小孩, 注重家具安全性与环保性'
|
||
},
|
||
{
|
||
label: '意向产品清单',
|
||
value: '沙发,床,床垫,餐桌椅,定制家居'
|
||
},
|
||
{
|
||
label: '一句话总结',
|
||
value: '三口之家新房装修, 偏好简约现代风格, 注重环保与安全性, 对整套搭配和交付周期敏感, 预算约4.5万, 关注活动优惠与售后服务'
|
||
},
|
||
{
|
||
label: '成交关键点',
|
||
value: '年终活动优惠, 整套搭配, 环保安全, 快速交付, 无忧退换服务'
|
||
}
|
||
];
|
||
} else {
|
||
return [
|
||
{
|
||
label: '客户类型',
|
||
value: item.description
|
||
},
|
||
{
|
||
label: '一句话总结',
|
||
value: item.description
|
||
}
|
||
];
|
||
}
|
||
}
|
||
|
||
// 服务表现数据初始化
|
||
export function initPerformanceData() {
|
||
return {
|
||
totalScore: 81,
|
||
categories: [
|
||
{
|
||
name: '迎宾探寻',
|
||
completed: false,
|
||
expanded: true,
|
||
showBanner: false,
|
||
showAudio: false,
|
||
items: [
|
||
{ name: '破冰', completed: false, points: 5 },
|
||
{ name: '品牌介绍', completed: false, points: 5 }
|
||
]
|
||
},
|
||
{
|
||
name: '展厅体验',
|
||
completed: true,
|
||
expanded: true,
|
||
showBanner: false,
|
||
showAudio: false,
|
||
items: [
|
||
{ name: '黄金三问', completed: true, points: 9 },
|
||
{ name: '需求引导', completed: true, points: 15 }
|
||
]
|
||
},
|
||
{
|
||
name: '落座规划',
|
||
completed: true,
|
||
expanded: true,
|
||
showBanner: false,
|
||
showAudio: false,
|
||
items: [
|
||
{ name: '服务递进', completed: true, points: 5 },
|
||
{ name: 'SGS放心手册', completed: false, points: 5 }
|
||
]
|
||
},
|
||
{
|
||
name: '方案报价',
|
||
completed: true,
|
||
expanded: true,
|
||
showBanner: false,
|
||
showAudio: false,
|
||
items: [
|
||
{ name: '三级报价', completed: true, points: 20 }
|
||
]
|
||
},
|
||
{
|
||
name: '促单成交',
|
||
completed: true,
|
||
expanded: true,
|
||
showBanner: false,
|
||
showAudio: false,
|
||
items: [
|
||
{ name: '解答异议', completed: true, points: 6 }
|
||
]
|
||
},
|
||
{
|
||
name: '送客跟进',
|
||
completed: true,
|
||
expanded: true,
|
||
showBanner: false,
|
||
showAudio: false,
|
||
items: [
|
||
{ name: '活动植入', completed: true, points: 8 },
|
||
{ name: '压单配合', completed: true, points: 6 },
|
||
{ name: '主动添加微信', completed: true, points: 4 },
|
||
{ name: '邀约量尺时间', completed: false, points: 4 },
|
||
{ name: '礼貌道别', completed: true, points: 2 }
|
||
]
|
||
}
|
||
]
|
||
};
|
||
}
|
||
|