Browse Source

feat: 投手数据看板 - 新增"首日首单roi"

zhengxy 1 year ago
parent
commit
2e1a73b493

+ 7 - 0
project/src/components/dataBoard/throwPerson/throwPersonPuton.vue

39
               class="titleIcon" alt="">
39
               class="titleIcon" alt="">
40
             <img src="@/assets/img/icon/roi@2x.png" v-if="item.prop == 'first_day_roi'" style="height:14px"
40
             <img src="@/assets/img/icon/roi@2x.png" v-if="item.prop == 'first_day_roi'" style="height:14px"
41
               class="titleIcon" alt="">
41
               class="titleIcon" alt="">
42
+            <img src="@/assets/img/icon/roi@2x.png" v-if="item.prop == 'first_roi'" style="height:14px"
43
+              class="titleIcon" alt="">
42
             <img src="@/assets/img/icon/总毛利润额@2x.png" v-if="item.prop == 'profile'" style="height:14px"
44
             <img src="@/assets/img/icon/总毛利润额@2x.png" v-if="item.prop == 'profile'" style="height:14px"
43
               class="titleIcon" alt="">
45
               class="titleIcon" alt="">
44
             <img src="@/assets/img/icon/回本率@2x.png" v-if="item.prop == 'recall_rate'" style="height:16px"
46
             <img src="@/assets/img/icon/回本率@2x.png" v-if="item.prop == 'recall_rate'" style="height:16px"
169
           label: '首日ROI',
171
           label: '首日ROI',
170
         },
172
         },
171
         {
173
         {
174
+          prop: 'first_roi',
175
+          label: '首日首单ROI',
176
+        },
177
+        {
172
           prop: 'profile',
178
           prop: 'profile',
173
           label: '总毛利润额',
179
           label: '总毛利润额',
174
         },
180
         },
230
         { prop: "qw_cost", label: "企微成本" },
236
         { prop: "qw_cost", label: "企微成本" },
231
         { prop: "new_cost", label: "用户首日下单成本", min_width: 160 },
237
         { prop: "new_cost", label: "用户首日下单成本", min_width: 160 },
232
         { prop: "first_day_roi", label: "首日ROI", notes: '首日ROI=当日新用户充值之和/累计消耗' },
238
         { prop: "first_day_roi", label: "首日ROI", notes: '首日ROI=当日新用户充值之和/累计消耗' },
239
+        { prop: "first_roi", label: "首日首单ROI", },
233
         { prop: "profile", label: "总毛利额", notes: '总毛利额=累计充值-累计消耗' },
240
         { prop: "profile", label: "总毛利额", notes: '总毛利额=累计充值-累计消耗' },
234
         { prop: "recall_rate", label: "回本率%", notes: '回本率=累计充值/累计消耗' },
241
         { prop: "recall_rate", label: "回本率%", notes: '回本率=累计充值/累计消耗' },
235
         { prop: "three_days_rate", label: "3天倍率" },
242
         { prop: "three_days_rate", label: "3天倍率" },

+ 7 - 0
project/src/components/dataBoard/throwPerson/throwPersonSon.vue

18
               class="titleIcon" alt="">
18
               class="titleIcon" alt="">
19
             <img src="@/assets/img/icon/roi@2x.png" v-if="item.prop == 'sum_roi'" style="height:14px" class="titleIcon"
19
             <img src="@/assets/img/icon/roi@2x.png" v-if="item.prop == 'sum_roi'" style="height:14px" class="titleIcon"
20
               alt="">
20
               alt="">
21
+            <img src="@/assets/img/icon/roi@2x.png" v-if="item.prop == 'first_roi'" style="height:14px" class="titleIcon"
22
+              alt="">
21
             <img src="@/assets/img/icon/总毛利润额@2x.png" v-if="item.prop == 'sum_profit'" style="height:14px"
23
             <img src="@/assets/img/icon/总毛利润额@2x.png" v-if="item.prop == 'sum_profit'" style="height:14px"
22
               class="titleIcon" alt="">
24
               class="titleIcon" alt="">
23
             <img src="@/assets/img/icon/回本率@2x.png" v-if="item.prop == 'sum_recover_rate'" style="height:14px"
25
             <img src="@/assets/img/icon/回本率@2x.png" v-if="item.prop == 'sum_recover_rate'" style="height:14px"
112
           label: '首日ROI',
114
           label: '首日ROI',
113
         },
115
         },
114
         {
116
         {
117
+          prop: 'first_roi',
118
+          label: '首日首单ROI',
119
+        },
120
+        {
115
           prop: 'new_cost',
121
           prop: 'new_cost',
116
           label: '用户首日下单成本',
122
           label: '用户首日下单成本',
117
         },
123
         },
146
         { prop: "charge_total", label: "累计充值", sort: true },
152
         { prop: "charge_total", label: "累计充值", sort: true },
147
         { prop: "qw_cost", label: "企微成本", sort: true },
153
         { prop: "qw_cost", label: "企微成本", sort: true },
148
         { prop: "roi", label: "首日ROI", notes: '首日ROI=当日新用户充值之和/累计消耗', sort: true },
154
         { prop: "roi", label: "首日ROI", notes: '首日ROI=当日新用户充值之和/累计消耗', sort: true },
155
+        { prop: "first_roi", label: "首日首单ROI", },
149
         { prop: "new_cost", label: "用户首日下单成本", sort: true, min_width: 160 },
156
         { prop: "new_cost", label: "用户首日下单成本", sort: true, min_width: 160 },
150
         { prop: "unique_new_cost", label: "用户首日下单成本(去重)", min_width: 190 },
157
         { prop: "unique_new_cost", label: "用户首日下单成本(去重)", min_width: 190 },
151
         { prop: "new_user_charge_total", label: "新用户首日下单金额", min_width: 190 },
158
         { prop: "new_user_charge_total", label: "新用户首日下单金额", min_width: 190 },