Browse Source

feat: 订单数据统计 - 新增"账号/推广链接"

zhengxy 2 years ago
parent
commit
c700a25146
1 changed files with 5 additions and 3 deletions
  1. 5 3
      project/src/components/dataBoard/orderData.vue

+ 5 - 3
project/src/components/dataBoard/orderData.vue

@@ -106,6 +106,9 @@
106 106
             <span v-else-if="item.prop == 'user_id'">
107 107
               {{ row[item.prop] || row[item.prop] == 0 ? row[item.prop] : '-' }}
108 108
             </span>
109
+            <span v-else-if="item.prop == 'login_account'">
110
+              {{ row[item.prop] || row[item.prop] == 0 ? row[item.prop] : '-' }}
111
+            </span>
109 112
             <!-- 推广类型 -->
110 113
             <!-- <span v-else-if="item.prop == 'plat_order_type'">
111 114
               {{ getPromotionTypeDesc(row[item.prop]) }}
@@ -165,6 +168,8 @@ export default {
165 168
         { prop: "playlet_name", label: "剧名", min_width: 160 },
166 169
         // { prop: "plat_order_type", label: "推广类型", min_width: 160 },
167 170
         // { prop: "is_ad_user", label: "收入来源", min_width: 160 },
171
+        { prop: "login_account", label: "账号", min_width: 160 },
172
+        { prop: "promotion_title", label: "推广链接", min_width: 200 },
168 173
       ],
169 174
 
170 175
       system_enterprise: [], // 企微主体数据
@@ -262,7 +267,6 @@ export default {
262 267
         plat_order_type: this.filter.plat_order_type,
263 268
         is_ad_user: this.filter.is_ad_user,
264 269
       }
265
-      console.log('init_predata => params ', JSON.parse(JSON.stringify(params)))
266 270
       try {
267 271
         this.dataLoading = true
268 272
         const { data: res = {} } = await this.$axios.post(url, params)
@@ -309,7 +313,6 @@ export default {
309 313
         page: this.page,
310 314
         page_size: this.page_size,
311 315
       }
312
-      console.log('init => params ', JSON.parse(JSON.stringify(params)))
313 316
       try {
314 317
         const { data: res = {} } = await this.$axios.get(url, { params })
315 318
         if (res && res.errno == 0) {
@@ -345,7 +348,6 @@ export default {
345 348
       this.init(1)
346 349
     },
347 350
     onChangeCorpid(val) {
348
-      console.log('val => ', val)
349 351
       if (!val) {
350 352
         this.enterprise = {}
351 353
       } else {