dangdang 2 months ago
parent
commit
109855d35c
2 changed files with 5 additions and 10 deletions
  1. 3 7
      src/views/ResultView.vue
  2. 2 3
      src/views/result/randarPage.vue

+ 3 - 7
src/views/ResultView.vue

@@ -29,9 +29,9 @@ const nameMapping = {
   settle_reason: "提前结清原因(10分)",
   speech_retention: "话术挽留客户(20分)",
   strategic_retention: "策略挽留客户(30分)",
-  other_retentions: "其他挽留客户(10分)",
-  call_ratio: "通话比例(10分)",
-  persistence: "坚持力度(20分)",
+  call_ratio: "通话比例(15分)",
+  persistence: "坚持力度(25分)",
+  contrast_retention:"加分项",
   penalty_points: "扣分项",
   // defects: "评分详解"
 };
@@ -51,10 +51,6 @@ const gradeClass = computed(() => {
     default:
       return 'badge-secondary' // 灰色,兜底
   }
-  // 假设不合格的等级是 '不合格' 或 'D',其他都是合格
-  const isUnqualified = grade.value === '不合格'
-
-  return isUnqualified ? 'badge-danger' : 'badge-warning'
 })
 
 const handleResult = async () => {

+ 2 - 3
src/views/result/randarPage.vue

@@ -19,9 +19,8 @@ const echartsRander = (randarList) => {
                 { name: '提前结清原因', max: 10 },
                 { name: '话术挽留客户', max: 20 },
                 { name: '策略挽留客户', max: 30 },
-                { name: '其他挽留客户', max: 10 },
-                { name: '通话比例', max: 10 },
-                { name: '坚持力度', max: 20 }
+                { name: '通话比例', max: 15 },
+                { name: '坚持力度', max: 25 }
             ],
             axisName: {
                 color: '#fff',