Browse Source

feat: 投手数据 - 投手投放数据 - 投放账号跳转链接

zhengxy 1 year ago
parent
commit
e1be54a763

+ 6 - 2
project/src/components/dataBoard/throwPerson/throwPersonPuton.vue

86
           </div>
86
           </div>
87
         </template>
87
         </template>
88
         <template v-slot="{ row }">
88
         <template v-slot="{ row }">
89
-          <span v-if="item.prop === 'account_name'" :class="sort_field == item.prop ? 'sortFieldStyle' : ''">{{ row[item.prop] }}</span>
89
+          <span v-if="item.prop === 'account_name'" :class="sort_field == item.prop ? 'sortFieldStyle' : ''" style="color: #00b38a;cursor: pointer;" @click="onClickAccountName(row[item.prop])">{{ row[item.prop] }}</span>
90
 
90
 
91
           <!-- S 公众号 -->
91
           <!-- S 公众号 -->
92
           <div v-else-if="item.prop === 'official_account_name'" style="padding: 4px 0;">
92
           <div v-else-if="item.prop === 'official_account_name'" style="padding: 4px 0;">
478
       this.stat_throwPersonData();
478
       this.stat_throwPersonData();
479
       this.init(1)
479
       this.init(1)
480
     },
480
     },
481
+
482
+    onClickAccountName(account) {
483
+      const url = `https://ad.qq.com/atlas/${ account }/admanage/adgroup?query={"operation_status":["CALCULATE_STATUS_EXCLUDE_DEL"],"system_status":[]}&tab=adgroup`
484
+      window.open(url, '_blank')
485
+    },
481
   }
486
   }
482
 }
487
 }
483
 </script>
488
 </script>
484
-
485
 <style lang="scss">
489
 <style lang="scss">
486
 .throwPersonPuton-list {
490
 .throwPersonPuton-list {
487
   .elx-table.elx-editable.size--mini .elx-body--column,
491
   .elx-table.elx-editable.size--mini .elx-body--column,