diff --git a/components/CustomerManagement.vue b/components/CustomerManagement.vue index e0f294c..382b498 100644 --- a/components/CustomerManagement.vue +++ b/components/CustomerManagement.vue @@ -60,19 +60,6 @@ - - - 客户星级: - - - - - { return statusMap[status] || '未知'; }; -// 根据意向等级获取星级(1=高=5星,2=中=3星) -const getRatingFromIntentLevel = (intentLevel) => { - const levelMap = { - '1': 5, // 高意向 = 5星 - '2': 3 // 中意向 = 3星 - }; - return levelMap[intentLevel] || 0; -}; - // 格式化日期时间 const formatDateTime = (dateTime) => { if (!dateTime) return '暂无'; @@ -631,41 +609,6 @@ defineExpose({ font-weight: 500; } -/* 客户星级 */ -.customer-rating { - display: flex; - align-items: center; - gap: 10px; - margin-bottom: 14px; - padding: 8px 12px; - background-color: #fafbfc; - border-radius: 8px; -} - -.rating-label { - font-size: 13px; - color: #606266; - font-weight: 500; -} - -.stars { - display: flex; - gap: 3px; - align-items: center; -} - -.star { - font-size: 16px; - color: #e4e7ed; - line-height: 1; - transition: color 0.2s ease; - - &.filled { - color: #ffc107; - text-shadow: 0 0 2px rgba(255, 193, 7, 0.3); - } -} - /* 分配用户 */ .assigned-user { display: flex; diff --git a/components/customer-detail/InfoTab.vue b/components/customer-detail/InfoTab.vue index 08c687d..44a8af0 100644 --- a/components/customer-detail/InfoTab.vue +++ b/components/customer-detail/InfoTab.vue @@ -44,17 +44,6 @@ 其他信息 - - 客户星级 - - - - 备注 {{ customerDetail.remark || '--' }} @@ -87,15 +76,6 @@ const props = defineProps({ } }); -// 根据意向等级获取星级 -const getRatingFromIntentLevel = (intentLevel) => { - const levelMap = { - '1': 5, - '2': 3 - }; - return levelMap[intentLevel] || 0; -}; - // 格式化客户意向(数组转字符串) const formatIntents = (intents) => { if (!intents || !Array.isArray(intents) || intents.length === 0) return '--'; @@ -168,21 +148,5 @@ const getIntentStrengthText = (intentLevel) => { color: #333; text-align: right; } - -.info-value-stars { - flex: 1; - display: flex; - justify-content: flex-end; - gap: 2px; -} - -.star { - font-size: 14px; - color: #ddd; - - &.filled { - color: #ffc107; - } -} diff --git a/components/customer-form/CustomerOtherInfo.vue b/components/customer-form/CustomerOtherInfo.vue index 7af45b1..ffa8ada 100644 --- a/components/customer-form/CustomerOtherInfo.vue +++ b/components/customer-form/CustomerOtherInfo.vue @@ -2,20 +2,6 @@ 其他信息 - - - 客户星级 - - - - -