Browse Source

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

zhengxy 1 year ago
parent
commit
e1be54a763
1 changed files with 6 additions and 2 deletions
  1. 6 2
      project/src/components/dataBoard/throwPerson/throwPersonPuton.vue

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

@@ -86,7 +86,7 @@
86 86
           </div>
87 87
         </template>
88 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 91
           <!-- S 公众号 -->
92 92
           <div v-else-if="item.prop === 'official_account_name'" style="padding: 4px 0;">
@@ -478,10 +478,14 @@ export default {
478 478
       this.stat_throwPersonData();
479 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 488
 </script>
484
-
485 489
 <style lang="scss">
486 490
 .throwPersonPuton-list {
487 491
   .elx-table.elx-editable.size--mini .elx-body--column,