Browse Source

feat: 企微数据 - ADQ&MP切换组件 - 默认ADQ

zhengxy 2 years ago
parent
commit
3e04044215

+ 5 - 5
project/src/components/assembly/screen/switchMpAdq.vue

@@ -2,15 +2,15 @@
2 2
   <div class="switch-wrap">
3 3
     <div
4 4
       class="switch-item"
5
-      :class="{ 'active': value === orderTypeOptions.MP}"
6
-      @click="onClickSwitch(orderTypeOptions.MP)"
7
-    >MP</div>
8
-    <div
9
-      class="switch-item"
10 5
       :class="{ 'active': value === orderTypeOptions.ADQ}"
11 6
       @click="onClickSwitch(orderTypeOptions.ADQ)"
12 7
     >ADQ</div>
13 8
     <div
9
+      class="switch-item"
10
+      :class="{ 'active': value === orderTypeOptions.MP}"
11
+      @click="onClickSwitch(orderTypeOptions.MP)"
12
+    >MP</div>
13
+    <div
14 14
       v-if="isSum"
15 15
       class="switch-item"
16 16
       :class="{ 'active': value === orderTypeOptions.SUM}"

+ 2 - 2
project/src/components/dataBoard/accountTrends.vue

@@ -205,7 +205,7 @@ export default {
205 205
         total: 0,
206 206
       },
207 207
       filter: {
208
-        order_type: orderTypeOptions.MP,
208
+        order_type: orderTypeOptions.ADQ,
209 209
         time: DEFAULT_TIME, // 自定义日期
210 210
         account_id: '', // 账号"MP"
211 211
         account_id_adq: '', // 账号"ADQ"
@@ -716,7 +716,7 @@ export default {
716 716
     // 监听点击"重置"按钮
717 717
     onClickReset() {
718 718
       this.reset = !this.reset
719
-      this.filter.order_type = orderTypeOptions.MP
719
+      this.filter.order_type = orderTypeOptions.ADQ
720 720
       this.filter.time = this.default_time
721 721
       this.filter.account_id = ''
722 722
       this.filter.account_id_adq = ''

+ 2 - 2
project/src/components/dataBoard/fansActiveTrends.vue

@@ -200,7 +200,7 @@ export default {
200 200
         total: 0,
201 201
       },
202 202
       filter: {
203
-        order_type: orderTypeOptions.MP,
203
+        order_type: orderTypeOptions.ADQ,
204 204
         time: DEFAULT_TIME, // 自定义日期
205 205
         account_id: '', // 账号MP
206 206
         account_id_adq: '', // 账号ADQ
@@ -702,7 +702,7 @@ export default {
702 702
     // 监听点击"重置"按钮
703 703
     onClickReset() {
704 704
       this.reset = !this.reset
705
-      this.filter.order_type = orderTypeOptions.MP
705
+      this.filter.order_type = orderTypeOptions.ADQ
706 706
       this.filter.time = this.default_time
707 707
       this.filter.account_id = ''
708 708
       this.filter.account_id_adq = ''

+ 1 - 1
project/src/components/dataBoard/operateDayRetrieve.vue

@@ -52,7 +52,7 @@ export default {
52 52
       time: [],
53 53
       account_id: '',
54 54
       playlet_id: '',
55
-      order_type: orderTypeOptions.MP,
55
+      order_type: orderTypeOptions.ADQ,
56 56
       desCol: [
57 57
         { prop: "date", label: "日期" },
58 58
         { prop: "cost", label: "投放消耗" },

+ 2 - 2
project/src/components/dataBoard/regRangeReport.vue

@@ -111,7 +111,7 @@ export default {
111 111
       totalRoi: ['', ''], // 回本率(范围)
112 112
       paid: ['', ''], // 消耗(范围)
113 113
       reset: false,
114
-      order_type: orderTypeOptions.MP, // MP/ADQ
114
+      order_type: orderTypeOptions.ADQ, // MP/ADQ
115 115
       plat_order_type: '', // 推广类型
116 116
       closing_date: '', // 收益截止日期
117 117
       sort_field: 'date', // 排序字段 默认 时间 & 降序
@@ -156,7 +156,7 @@ export default {
156 156
     },
157 157
     handleReset() {
158 158
       this.reset = !this.reset
159
-      this.order_type = orderTypeOptions.MP
159
+      this.order_type = orderTypeOptions.ADQ
160 160
       this.plat_order_type = ''
161 161
       this.closing_date = '',
162 162
       this.time = this.default_time

+ 2 - 2
project/src/components/dataBoard/shortDramaTrends.vue

@@ -193,7 +193,7 @@ export default {
193 193
         total: 0,
194 194
       },
195 195
       filter: {
196
-        order_type: orderTypeOptions.MP,
196
+        order_type: orderTypeOptions.ADQ,
197 197
         time: DEFAULT_TIME, // 自定义日期
198 198
         playlet_id: '', // 短剧
199 199
         closing_date: '', // 收益截止日期
@@ -670,7 +670,7 @@ export default {
670 670
     // 监听点击"重置"按钮
671 671
     onClickReset() {
672 672
       this.reset = !this.reset
673
-      this.filter.order_type = orderTypeOptions.MP
673
+      this.filter.order_type = orderTypeOptions.ADQ
674 674
       this.filter.time = this.default_time
675 675
       this.filter.playlet_id = ''
676 676
       this.filter.closing_date = '',