Browse Source

更改数据项顺序及显示

liuxiaona 2 years ago
parent
commit
a8a895e701

BIN
project/src/assets/img/iconNew/当日首充人数@2x.png


BIN
project/src/assets/img/iconNew/新用户首日充值次数@2x.png


+ 38 - 0
project/src/components/dataBoard/playletData.vue

@@ -53,6 +53,42 @@
53 53
       <div class="dataInfoItem">
54 54
         <div class="dataItemTitle">
55 55
           <img src="@/assets/img/iconNew/充值人数@2x.png" style="height:14px" class="titleIcon" alt="">
56
+          <span>充值总人数</span>
57
+        </div>
58
+        <div class="dataItem-data">
59
+          {{dataInfo&&(dataInfo.new_user_charge_uv_count||dataInfo.new_user_charge_uv_count==0)?
60
+          $formatNum(dataInfo.new_user_charge_uv_count):'-'}}</div>
61
+      </div>
62
+      <div class="dataInfoItem">
63
+        <div class="dataItemTitle">
64
+          <img src="@/assets/img/iconNew/当日首充人数@2x.png" style="height:14px" class="titleIcon" alt="">
65
+          <span>当日首充人数</span>
66
+        </div>
67
+        <div class="dataItem-data">
68
+          {{dataInfo&&(dataInfo.new_user_charge_uv||dataInfo.new_user_charge_uv==0)?
69
+          $formatNum(dataInfo.new_user_charge_uv):'-'}}</div>
70
+      </div>
71
+      <div class="dataInfoItem">
72
+        <div class="dataItemTitle">
73
+          <img src="@/assets/img/iconNew/充值次数@2x.png" style="height:14px" class="titleIcon" alt="">
74
+          <span>总充值次数</span>
75
+        </div>
76
+        <div class="dataItem-data">{{dataInfo&&(dataInfo.new_user_charge_pv_count||dataInfo.new_user_charge_pv_count==0)?
77
+          $formatNum(dataInfo.new_user_charge_pv_count):'-'}}</div>
78
+      </div>
79
+      <div class="dataInfoItem">
80
+        <div class="dataItemTitle">
81
+          <img src="@/assets/img/iconNew/新用户首日充值次数@2x.png" style="height:14px" class="titleIcon" alt="">
82
+          <span>新用户首日充值次数</span>
83
+        </div>
84
+        <div class="dataItem-data">
85
+          {{dataInfo&&(dataInfo.new_user_charge_pv||dataInfo.new_user_charge_pv==0)?
86
+          $formatNum(dataInfo.new_user_charge_pv):'-'}}</div>
87
+      </div>
88
+<!--
89
+  <div class="dataInfoItem">
90
+        <div class="dataItemTitle">
91
+          <img src="@/assets/img/iconNew/充值人数@2x.png" style="height:14px" class="titleIcon" alt="">
56 92
           <span>充值人数</span>
57 93
         </div>
58 94
         <div class="dataItem-data">{{dataInfo&&(dataInfo.new_user_charge_uv||dataInfo.new_user_charge_uv==0)?$formatNum(dataInfo.new_user_charge_uv):'-'}}</div>
@@ -64,6 +100,8 @@
64 100
         </div>
65 101
         <div class="dataItem-data">{{dataInfo&&(dataInfo.new_user_charge_pv||dataInfo.new_user_charge_pv==0)?$formatNum(dataInfo.new_user_charge_pv):'-'}}</div>
66 102
       </div>
103
+
104
+-->
67 105
       <div class="dataInfoItem">
68 106
         <div class="dataItemTitle">
69 107
           <img src="@/assets/img/iconNew/充值用户成本@2x.png" class="titleIcon" alt="">

+ 10 - 10
project/src/components/dataBoard/throwPerson/throwPersonPuton.vue

@@ -3,8 +3,8 @@
3 3
     <div class="screenBox flex">
4 4
       <div class="flex">
5 5
         <date-picker title="自定义" :quickFlag='true' :afferent_time="default_time" :clearFlag='false' @changeTime="changeTime"></date-picker>
6
-        <self-channel title="投手" type='pitcher' :labelWidth="true" :afferent_params="{corp_id:''}" @channelDefine="(val)=>{user_id = val;stat_throwPersonData();init(1)}"></self-channel>
7
-        <self-channel title="剧集" type='dramaList' :labelWidth="true" @channelDefine="(val)=>{drama_id = val;stat_throwPersonData();init(1)}"></self-channel>
6
+        <self-channel title="投手" style="margin-left: 20px" type='pitcher' :labelWidth="true" :afferent_params="{corp_id:''}" @channelDefine="(val)=>{user_id = val;stat_throwPersonData();init(1)}"></self-channel>
7
+        <self-channel title="剧集" style="margin-left: 20px" type='dramaList' :labelWidth="true" @channelDefine="(val)=>{drama_id = val;stat_throwPersonData();init(1)}"></self-channel>
8 8
       </div>
9 9
       <el-button type="primary" size="mini" @click="init(1,'export')">导出Excel</el-button>
10 10
     </div>
@@ -62,6 +62,14 @@ export default {
62 62
           label:'累计充值',
63 63
         },
64 64
         {
65
+          prop:'qw_cost',
66
+          label:'企微成本',
67
+        },
68
+        {
69
+          prop:'new_cost',
70
+          label:'用户首日下单成本',
71
+        },
72
+        {
65 73
           prop:'first_day_roi',
66 74
           label:'首日ROI',
67 75
         },
@@ -73,14 +81,6 @@ export default {
73 81
           prop:'recall_rate',
74 82
           label:'回本率',
75 83
         },
76
-        {
77
-          prop:'qw_cost',
78
-          label:'企微成本',
79
-        },
80
-        {
81
-          prop:'new_cost',
82
-          label:'用户首日下单成本',
83
-        },
84 84
       ],
85 85
       loading: false,
86 86
       page: 1,

+ 1 - 1
project/src/components/dataBoard/throwPerson/throwPersonSon.vue

@@ -3,7 +3,7 @@
3 3
     <div class="screenBox flex" v-loading="gl_loading">
4 4
       <div class="flex">
5 5
         <date-picker title="自定义" :quickFlag='true' :afferent_time="default_time" :clearFlag='false' @changeTime="changeTime"></date-picker>
6
-        <self-channel title="投手" type='pitcher' :labelWidth="true" :afferent_params="{corp_id:''}" @channelDefine="(val)=>{user_id = val;init(1)}"></self-channel>
6
+        <self-channel title="投手" style="margin-left: 20px" type='pitcher' :labelWidth="true" :afferent_params="{corp_id:''}" @channelDefine="(val)=>{user_id = val;init(1)}"></self-channel>
7 7
       </div>
8 8
       <el-button type="primary" size="mini" @click="init(1,'export')">导出Excel</el-button>
9 9
     </div>