shenwu hace 1 año
padre
commit
7755c73f19

+ 1 - 1
config/defaultSettings.ts

@@ -4,7 +4,7 @@ export default {
   // 拂晓蓝
   primaryColor: '#1890ff',//全局主色https://ant.design/docs/react/customize-theme-cn
   layout: 'mix',//导航模式
-  navTheme: 'realDark',//整体风格
+  navTheme: 'dark',//整体风格
   headerTheme: 'dark',
   contentWidth: 'Fluid',
   fixedHeader: true,

+ 12 - 3
src/pages/gameDataStatistics/adlist/monitor/tableConfig.tsx

@@ -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>
                     }
                 },
             ]