Browse Source

feat: 企微数据 - 公众号数据 - 新增"首日回收金额"

zhengxy 2 years ago
parent
commit
e2c57c0f64
1 changed files with 9 additions and 0 deletions
  1. 9 0
      project/src/components/dataBoard/thePublic.vue

+ 9 - 0
project/src/components/dataBoard/thePublic.vue

@@ -30,6 +30,14 @@
30 30
       </div>
31 31
       <div class="dataInfoItem">
32 32
         <div class="dataItemTitle">
33
+          <img src="@/assets/img/icon/平均关注人数成本@2x.png" style="height:14px" class="titleIcon" alt="">
34
+          <span>首日回收金额</span>
35
+        </div>
36
+        <div class="dataItem-data">
37
+          {{ dataInfo && (dataInfo.first_day_charge || dataInfo.first_day_charge == 0) ? $formatNum(dataInfo.first_day_charge) : '-' }}</div>
38
+      </div>
39
+      <div class="dataInfoItem">
40
+        <div class="dataItemTitle">
33 41
           <img src="@/assets/img/icon/累计充值@2x.png" style="height:20px" class="titleIcon" alt="">
34 42
           <span>当日新用户累计充值</span>
35 43
         </div>
@@ -275,6 +283,7 @@ export default {
275 283
         { prop: "app_name", label: "公众号", fixed: 'left' },
276 284
         { prop: "first_day_roi", label: "首日ROI" },
277 285
         { prop: "day_paid", label: "当天消耗" },
286
+        { prop: "first_day_charge", label: "首日回收金额" },
278 287
         { prop: "charge_total", min_width: "160", label: "当日新用户累计充值" },
279 288
         { prop: 'cost_cover_rate', label: "回本率(%)" },
280 289
         { prop: 'fans_increase', label: "新增粉丝数" },