|
@@ -1,6 +1,6 @@
|
|
|
import { TYPE, gameClassifyEnum } from "@/components/QueryForm/const"
|
|
|
import WidthEllipsis from "@/components/widthEllipsis"
|
|
|
-import { Statistic } from "antd"
|
|
|
+import { Space, Statistic } from "antd"
|
|
|
import React from "react"
|
|
|
import { ADSTATUSEnum, LANDINGTYPEEnum, PRICINGEnum } from './const'
|
|
|
import './index.less'
|
|
@@ -523,10 +523,19 @@ function columns12(dayHandle: (data: any) => void): { label: string, fieldSHow?:
|
|
|
label: '操作',
|
|
|
data: [
|
|
|
{
|
|
|
- title: '操作', dataIndex: 'cz', label: '操作', align: 'center', width: 100, default: 41,
|
|
|
+ title: '操作', dataIndex: 'cz', label: '操作', align: 'center', width: 170, default: 41,
|
|
|
render: (_: number, b: any) => {
|
|
|
if (b?.accountName === '总计') return '--'
|
|
|
- return <a onClick={() => dayHandle(b)}>广告每日监控</a>
|
|
|
+ return <Space>
|
|
|
+ <a onClick={() => dayHandle(b)}>广告每日监控</a>
|
|
|
+ {
|
|
|
+ b?.accountType === 'BYTE' ? <a onClick={() => {
|
|
|
+ window.open(`https://ad.oceanengine.com/pages/promotion.html?aadvid=${b?.accountId}#/campaign`)
|
|
|
+ }}>头条广告</a> : <a onClick={() => {
|
|
|
+ window.open(`https://ad.qq.com/atlas/${b?.accountId}/admanage/adgroup?query={%22operation_status%22:[%22CALCULATE_STATUS_EXCLUDE_DEL%22],%22system_status%22:[]}`)
|
|
|
+ }}>腾讯广告</a>
|
|
|
+ }
|
|
|
+ </Space>
|
|
|
}
|
|
|
},
|
|
|
]
|