feat(FeedbackForm): 在反馈提交中添加项目字段

refactor(CustomerDetail): 重命名并启用总通话分析功能
重构客户详情组件,将"客户诉求分析"改为"总通话分析"并启用相关功能,优化分析逻辑和UI显示

style(sale): 移除冗余标题并调整布局样式
删除客户详情区域的冗余标题,调整主布局的宽度和边距

perf(CustomerDetail): 优化分析请求和错误处理
移除调试日志,优化API请求参数和错误处理逻辑
This commit is contained in:
2025-10-13 11:45:27 +08:00
parent 575a08ed3a
commit 9555bb66fd
3 changed files with 219 additions and 232 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -98,9 +98,6 @@
<main class="main-content">
<!-- 客户详情区域 -->
<section v-if="cardVisibility.customerDetail && selectedContact" class="detail-section">
<div class="section-header">
<h2>客户详情</h2>
</div>
<div class="section-content">
<CustomerDetail
ref="customerDetailRef"
@@ -638,7 +635,6 @@ async function getCustomerCall() {
const kpiData = computed(() => kpiDataState);
// COMPUTED PROPERTIES
const selectedContact = computed(() => {
console.log(999999999,formattedCustomersList.value);
// 优先从API数据中查找
if (formattedCustomersList.value.length > 0) {
return formattedCustomersList.value.find((c) => c.id === selectedContactId.value) || null;
@@ -1077,9 +1073,9 @@ $primary: #3b82f6;
}
// 主要布局
.main-layout {
width: 100vw;
margin: 0 auto;
padding: 1rem;
width: 99vw;
margin-bottom: 1rem;
// padding: 1rem;
display: flex;
flex-direction: column;
gap: 1rem;