Pārlūkot izejas kodu

Merge branch 'dev-cmn' of https://s-20coaj910c.zht2.com/cmy/data-marketing-platform into dev-ly

luoy 3 dienas atpakaļ
vecāks
revīzija
17c00494af

+ 5 - 1
src/views/count/churn/behavior/components/AfterUninstallStatus.vue

@@ -3,7 +3,10 @@
     <div class="card-title">
       卸载用户竞品流向
       <el-tooltip class="box-item" effect="light"
-        content="「卸载用户同行业流向」基于全网数据和算法能力共同预测得出,与应用自身是否使用的服务无关。设置不允许他人关注后,您也将无法使用此功能。" placement="right-start">
+        content="" placement="right-start">
+        <template #content>
+          <p style="width: 300px;">「卸载用户同行业流向」基于全网数据和算法能力共同预测得出,与应用自身是否使用的服务无关。设置不允许他人关注后,您也将无法使用此功能。</p>
+        </template>
         <svg style="margin-left: 8px;" width="14" height="14" viewBox="0 0 14 14" fill="none"
           xmlns="http://www.w3.org/2000/svg">
           <path
@@ -127,6 +130,7 @@ const getUninstallAfter = () => {
           percentage: item.proportion + '%'
         })
       })
+      count.value.proportion = Math.round(count.value.proportion * 100) / 100;
     }
   })
 }

+ 2 - 1
src/views/count/churn/behavior/components/BeforeUninstallStatus.vue

@@ -155,6 +155,7 @@ const getUninstallBefore = () => {
           inactive7DaysPercentage.value += item.rate;
         }
       })
+      inactive7DaysPercentage.value = Math.round(inactive7DaysPercentage.value * 100) / 100;
     }
 
     if(res.code === 0 && res.data?.uninstallBeforeSevens?.length > 0) {
@@ -170,7 +171,7 @@ const getUninstallBefore = () => {
           highFrequencyPercentage.value += item.rate;
         }
       })
-
+      highFrequencyPercentage.value = Math.round(highFrequencyPercentage.value * 100) / 100;
       usageCountData.value.reverse();
     }
   })

+ 1 - 0
src/views/count/churn/behavior/index.vue

@@ -135,6 +135,7 @@ onMounted(() => {
         percentage: `${item.rate}%`
       })
     })
+    historyUninstallPercentage.value = Math.round(historyUninstallPercentage.value * 100) / 100;
     historyUninstallData.value.reverse();
   })
 })