fix: 修复 duo-practice-report.vue 语法错误
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
移除多余的 try-catch 块
This commit is contained in:
@@ -289,65 +289,62 @@ const loadReport = async () => {
|
|||||||
total_turns: 15
|
total_turns: 15
|
||||||
}
|
}
|
||||||
|
|
||||||
analysisResult.value = {
|
analysisResult.value = {
|
||||||
overall_evaluation: {
|
overall_evaluation: {
|
||||||
interaction_quality: 85,
|
interaction_quality: 85,
|
||||||
scene_restoration: 82,
|
scene_restoration: 82,
|
||||||
overall_comment: '本次双人对练整体表现良好,双方都能够较好地代入角色,对话流畅自然。销售顾问在产品介绍和需求挖掘方面表现出色,顾客也能够提出合理的疑问和需求。建议在处理异议时可以更加灵活,增加更多情感共鸣的表达。'
|
overall_comment: '本次双人对练整体表现良好,双方都能够较好地代入角色,对话流畅自然。销售顾问在产品介绍和需求挖掘方面表现出色,顾客也能够提出合理的疑问和需求。建议在处理异议时可以更加灵活,增加更多情感共鸣的表达。'
|
||||||
|
},
|
||||||
|
user_a_evaluation: {
|
||||||
|
user_name: '张三',
|
||||||
|
role_name: '销售顾问',
|
||||||
|
total_score: 86,
|
||||||
|
dimensions: {
|
||||||
|
role_immersion: { score: 88, comment: '完全进入角色状态,语言风格符合销售顾问身份' },
|
||||||
|
communication: { score: 85, comment: '表达清晰,逻辑通顺,用词专业' },
|
||||||
|
professional_knowledge: { score: 82, comment: '产品知识展示较为全面' },
|
||||||
|
response_quality: { score: 88, comment: '回应及时准确,针对性强' },
|
||||||
|
goal_achievement: { score: 85, comment: '有效推进了销售进程' }
|
||||||
},
|
},
|
||||||
user_a_evaluation: {
|
highlights: [
|
||||||
user_name: '张三',
|
'开场白自然得体,快速建立信任',
|
||||||
role_name: '销售顾问',
|
'善于使用提问技巧挖掘客户需求',
|
||||||
total_score: 86,
|
'产品利益点阐述清晰有力'
|
||||||
dimensions: {
|
],
|
||||||
role_immersion: { score: 88, comment: '完全进入角色状态,语言风格符合销售顾问身份' },
|
improvements: [
|
||||||
communication: { score: 85, comment: '表达清晰,逻辑通顺,用词专业' },
|
{
|
||||||
professional_knowledge: { score: 82, comment: '产品知识展示较为全面' },
|
issue: '处理价格异议时略显被动',
|
||||||
response_quality: { score: 88, comment: '回应及时准确,针对性强' },
|
suggestion: '可以先肯定客户的关注点,再引导关注价值',
|
||||||
goal_achievement: { score: 85, comment: '有效推进了销售进程' }
|
example: '您说得对,预算确实是重要的考虑因素。不过您有没有想过...'
|
||||||
},
|
}
|
||||||
highlights: [
|
]
|
||||||
'开场白自然得体,快速建立信任',
|
},
|
||||||
'善于使用提问技巧挖掘客户需求',
|
user_b_evaluation: {
|
||||||
'产品利益点阐述清晰有力'
|
user_name: '李四',
|
||||||
],
|
role_name: '顾客',
|
||||||
improvements: [
|
total_score: 83,
|
||||||
{
|
dimensions: {
|
||||||
issue: '处理价格异议时略显被动',
|
role_immersion: { score: 80, comment: '基本符合顾客角色设定' },
|
||||||
suggestion: '可以先肯定客户的关注点,再引导关注价值',
|
communication: { score: 85, comment: '表达自己的需求和疑虑' },
|
||||||
example: '您说得对,预算确实是重要的考虑因素。不过您有没有想过...'
|
professional_knowledge: { score: 78, comment: '对产品有基本了解' },
|
||||||
}
|
response_quality: { score: 82, comment: '能够合理回应销售话术' },
|
||||||
]
|
goal_achievement: { score: 80, comment: '配合完成了对练场景' }
|
||||||
},
|
},
|
||||||
user_b_evaluation: {
|
highlights: [
|
||||||
user_name: '李四',
|
'提出的问题具有代表性',
|
||||||
role_name: '顾客',
|
'表现出真实顾客的犹豫和考虑'
|
||||||
total_score: 83,
|
],
|
||||||
dimensions: {
|
improvements: [
|
||||||
role_immersion: { score: 80, comment: '基本符合顾客角色设定' },
|
{
|
||||||
communication: { score: 85, comment: '表达自己的需求和疑虑' },
|
issue: '可以增加更多挑战性的问题',
|
||||||
professional_knowledge: { score: 78, comment: '对产品有基本了解' },
|
suggestion: '尝试提出一些竞品对比、售后保障等深度问题',
|
||||||
response_quality: { score: 82, comment: '能够合理回应销售话术' },
|
example: '我听说XX品牌的产品价格更低,你们有什么优势?'
|
||||||
goal_achievement: { score: 80, comment: '配合完成了对练场景' }
|
}
|
||||||
},
|
]
|
||||||
highlights: [
|
|
||||||
'提出的问题具有代表性',
|
|
||||||
'表现出真实顾客的犹豫和考虑'
|
|
||||||
],
|
|
||||||
improvements: [
|
|
||||||
{
|
|
||||||
issue: '可以增加更多挑战性的问题',
|
|
||||||
suggestion: '尝试提出一些竞品对比、售后保障等深度问题',
|
|
||||||
example: '我听说XX品牌的产品价格更低,你们有什么优势?'
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
} catch (error) {
|
|
||||||
console.error('加载报告失败:', error)
|
|
||||||
} finally {
|
|
||||||
isLoading.value = false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
isLoading.value = false
|
||||||
}
|
}
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user