|
@@ -3,61 +3,77 @@ import React from 'react'
|
|
|
import { Space } from 'antd'
|
|
|
function tableConfig(): any {
|
|
|
return [
|
|
|
+ {
|
|
|
+ title: '所属账号',
|
|
|
+ dataIndex: 'accountId',
|
|
|
+ key: 'accountId',
|
|
|
+ align: 'center',
|
|
|
+ width:70,
|
|
|
+ render:(a:string)=>{
|
|
|
+ return <a>{a}</a>
|
|
|
+ }
|
|
|
+ },
|
|
|
{
|
|
|
title: '创意ID',
|
|
|
dataIndex: 'adcreativeId',
|
|
|
key: 'adcreativeId',
|
|
|
align: 'center',
|
|
|
- width: 70
|
|
|
+ width: 70,
|
|
|
+ render:(a:string)=>{
|
|
|
+ return <a>{a}</a>
|
|
|
+ }
|
|
|
},
|
|
|
{
|
|
|
- title: '计划ID',
|
|
|
+ title: '所属计划ID',
|
|
|
dataIndex: 'campaignId',
|
|
|
key: 'campaignId',
|
|
|
align: 'center',
|
|
|
- width: 70
|
|
|
- },
|
|
|
- {
|
|
|
- title: '附加创意组件ID',
|
|
|
- dataIndex: 'componentId',
|
|
|
- key: 'componentId',
|
|
|
- align: 'center',
|
|
|
- width: 70
|
|
|
- },
|
|
|
- {
|
|
|
- title: '互动推广页落地页ID',
|
|
|
- dataIndex: 'playablePageMaterialId',
|
|
|
- key: 'playablePageMaterialId',
|
|
|
- align: 'center',
|
|
|
- width: 70
|
|
|
- },
|
|
|
- {
|
|
|
- title: '朋友圈头像昵称跳转页ID',
|
|
|
- dataIndex: 'profileId',
|
|
|
- key: 'profileId',
|
|
|
- align: 'center',
|
|
|
- width: 70
|
|
|
+ width: 70,
|
|
|
+ render:(a:string)=>{
|
|
|
+ return <a>{a}</a>
|
|
|
+ }
|
|
|
},
|
|
|
+ // {
|
|
|
+ // title: '附加创意组件ID',
|
|
|
+ // dataIndex: 'componentId',
|
|
|
+ // key: 'componentId',
|
|
|
+ // align: 'center',
|
|
|
+ // width: 120
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '互动推广页落地页ID',
|
|
|
+ // dataIndex: 'playablePageMaterialId',
|
|
|
+ // key: 'playablePageMaterialId',
|
|
|
+ // align: 'center',
|
|
|
+ // width: 140
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '朋友圈头像昵称跳转页ID',
|
|
|
+ // dataIndex: 'profileId',
|
|
|
+ // key: 'profileId',
|
|
|
+ // align: 'center',
|
|
|
+ // width: 170
|
|
|
+ // },
|
|
|
{
|
|
|
title: '创意名称',
|
|
|
dataIndex: 'adcreativeName',
|
|
|
key: 'adcreativeName',
|
|
|
align: 'center',
|
|
|
},
|
|
|
- {
|
|
|
- title: '创意形式类型',
|
|
|
- dataIndex: 'creativeTemplateCategory',
|
|
|
- key: 'creativeTemplateCategory',
|
|
|
- align: 'center',
|
|
|
- },
|
|
|
- {
|
|
|
- title: 'QQ小游戏监控参数',
|
|
|
- dataIndex: 'qqMiniGameTrackingQueryString',
|
|
|
- key: 'qqMiniGameTrackingQueryString',
|
|
|
- align: 'center',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '广告推广目标类型',
|
|
|
+ // {
|
|
|
+ // title: '创意形式类型',
|
|
|
+ // dataIndex: 'creativeTemplateCategory',
|
|
|
+ // key: 'creativeTemplateCategory',
|
|
|
+ // align: 'center',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: 'QQ小游戏监控参数',
|
|
|
+ // dataIndex: 'qqMiniGameTrackingQueryString',
|
|
|
+ // key: 'qqMiniGameTrackingQueryString',
|
|
|
+ // align: 'center',
|
|
|
+ // },
|
|
|
+ {
|
|
|
+ title: '推广目标类型',
|
|
|
dataIndex: 'promotedObjectType',
|
|
|
key: 'promotedObjectType',
|
|
|
align: 'center',
|
|
@@ -65,102 +81,105 @@ function tableConfig(): any {
|
|
|
return PromotedObjectType[a]
|
|
|
}
|
|
|
},
|
|
|
- {
|
|
|
- title: '推广目标ID',
|
|
|
- dataIndex: 'promotedObjectId',
|
|
|
- key: 'promotedObjectId',
|
|
|
- align: 'center',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '落地页类型',
|
|
|
- dataIndex: 'pageType',
|
|
|
- key: 'pageType',
|
|
|
- align: 'center',
|
|
|
- render: (a: string) => {
|
|
|
- return PageTypeEnum[a]
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- title: '落地页类型',
|
|
|
- dataIndex: 'playablePageMaterialId',
|
|
|
- key: 'playablePageMaterialId',
|
|
|
- align: 'center',
|
|
|
- render: (a: string) => {
|
|
|
- return PageTypeEnum[a]
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- title: '简版原生页子类型',
|
|
|
- dataIndex: 'simpleCanvasSubType',
|
|
|
- key: 'simpleCanvasSubType',
|
|
|
- align: 'center',
|
|
|
- render: (a: string) => {
|
|
|
- return PageTypeEnum[a]
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- title: '创意来源',
|
|
|
- dataIndex: 'source',
|
|
|
- key: 'source',
|
|
|
- align: 'center',
|
|
|
- render: (a: string) => {
|
|
|
- return SourceEnum[a]
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- title: '数据版本类型',
|
|
|
- dataIndex: 'creativeTemplateVersionType',
|
|
|
- key: 'creativeTemplateVersionType',
|
|
|
- align: 'center',
|
|
|
- render: (a: string) => {
|
|
|
- return CreativeTemplateVersionTypeEnum[a]
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- title: '是否支持版位突破',
|
|
|
- dataIndex: 'enableBreakthroughSiteset',
|
|
|
- key: 'enableBreakthroughSiteset',
|
|
|
- align: 'center',
|
|
|
- // render: (a: string) => {
|
|
|
- // return PageTypeEnum[a]
|
|
|
- // }
|
|
|
- },
|
|
|
- {
|
|
|
- title: '应用直达页URL',
|
|
|
- dataIndex: 'deepLinkUrl',
|
|
|
- key: 'deepLinkUrl',
|
|
|
- align: 'center',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '通用链接页URL',
|
|
|
- dataIndex: 'universalLinkUrl',
|
|
|
- key: 'universalLinkUrl',
|
|
|
- align: 'center',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '简易原生页嵌入',
|
|
|
- dataIndex: 'webviewUrl',
|
|
|
- key: 'webviewUrl',
|
|
|
- align: 'center',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '头像点击跳转信息',
|
|
|
- dataIndex: 'headClickType',
|
|
|
- key: 'headClickType',
|
|
|
- align: 'center',
|
|
|
- render: (a: string) => {
|
|
|
- return HeadClickTypeEnum[a]
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- title: '链接名称类型',
|
|
|
- dataIndex: 'linkNameType',
|
|
|
- key: 'linkNameType',
|
|
|
- align: 'center',
|
|
|
- render: (a: string) => {
|
|
|
- return LinkPageNameTypeEnum[a]
|
|
|
- }
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // title: '推广目标ID',
|
|
|
+ // dataIndex: 'promotedObjectId',
|
|
|
+ // key: 'promotedObjectId',
|
|
|
+ // align: 'center',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '落地页类型',
|
|
|
+ // dataIndex: 'pageType',
|
|
|
+ // key: 'pageType',
|
|
|
+ // align: 'center',
|
|
|
+ // render: (a: string) => {
|
|
|
+ // return PageTypeEnum[a]
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '互动推广页落地页 id',
|
|
|
+ // dataIndex: 'playablePageMaterialId',
|
|
|
+ // key: 'playablePageMaterialId',
|
|
|
+ // align: 'center',
|
|
|
+ // // render: (a: string) => {
|
|
|
+ // // return PageTypeEnum[a]
|
|
|
+ // // }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '简版原生页子类型',
|
|
|
+ // dataIndex: 'simpleCanvasSubType',
|
|
|
+ // key: 'simpleCanvasSubType',
|
|
|
+ // align: 'center',
|
|
|
+ // // render: (a: string) => {
|
|
|
+ // // return PageTypeEnum[a]
|
|
|
+ // // }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '创意来源',
|
|
|
+ // dataIndex: 'source',
|
|
|
+ // key: 'source',
|
|
|
+ // align: 'center',
|
|
|
+ // // render: (a: string) => {
|
|
|
+ // // return SourceEnum[a]
|
|
|
+ // // }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '数据版本类型',
|
|
|
+ // dataIndex: 'creativeTemplateVersionType',
|
|
|
+ // key: 'creativeTemplateVersionType',
|
|
|
+ // align: 'center',
|
|
|
+ // // render: (a: string) => {
|
|
|
+ // // return CreativeTemplateVersionTypeEnum[a]
|
|
|
+ // // }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '是否支持版位突破',
|
|
|
+ // dataIndex: 'enableBreakthroughSiteset',
|
|
|
+ // key: 'enableBreakthroughSiteset',
|
|
|
+ // align: 'center',
|
|
|
+ // render: (a: any, b: any) => {
|
|
|
+ // return a? '是' : '否'
|
|
|
+ // }
|
|
|
+ // // render: (a: string) => {
|
|
|
+ // // return PageTypeEnum[a]
|
|
|
+ // // }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '应用直达页URL',
|
|
|
+ // dataIndex: 'deepLinkUrl',
|
|
|
+ // key: 'deepLinkUrl',
|
|
|
+ // align: 'center',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '通用链接页URL',
|
|
|
+ // dataIndex: 'universalLinkUrl',
|
|
|
+ // key: 'universalLinkUrl',
|
|
|
+ // align: 'center',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '简易原生页嵌入',
|
|
|
+ // dataIndex: 'webviewUrl',
|
|
|
+ // key: 'webviewUrl',
|
|
|
+ // align: 'center',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '头像点击跳转信息',
|
|
|
+ // dataIndex: 'headClickType',
|
|
|
+ // key: 'headClickType',
|
|
|
+ // align: 'center',
|
|
|
+ // render: (a: string) => {
|
|
|
+ // return HeadClickTypeEnum[a]
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '链接名称类型',
|
|
|
+ // dataIndex: 'linkNameType',
|
|
|
+ // key: 'linkNameType',
|
|
|
+ // align: 'center',
|
|
|
+ // render: (a: string) => {
|
|
|
+ // return LinkPageNameTypeEnum[a]
|
|
|
+ // }
|
|
|
+ // },
|
|
|
{
|
|
|
title: '跳转落地页类型',
|
|
|
dataIndex: 'linkPageType',
|
|
@@ -170,48 +189,48 @@ function tableConfig(): any {
|
|
|
return LinkPageTypeEnum[a]
|
|
|
}
|
|
|
},
|
|
|
- {
|
|
|
- title: '挂件图',
|
|
|
- dataIndex: 'marketingPendantImageId',
|
|
|
- key: 'marketingPendantImageId',
|
|
|
- align: 'center'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '页面级转化跟踪URL',
|
|
|
- dataIndex: 'pageTrackUrl',
|
|
|
- key: 'pageTrackUrl',
|
|
|
- align: 'center'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '页面级转化跟踪URL',
|
|
|
- dataIndex: 'pageTrackUrl',
|
|
|
- key: 'pageTrackUrl',
|
|
|
- align: 'center'
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // title: '挂件图',
|
|
|
+ // dataIndex: 'marketingPendantImageId',
|
|
|
+ // key: 'marketingPendantImageId',
|
|
|
+ // align: 'center'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '页面级转化跟踪URL',
|
|
|
+ // dataIndex: 'pageTrackUrl',
|
|
|
+ // key: 'pageTrackUrl',
|
|
|
+ // align: 'center'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '页面级转化跟踪URL',
|
|
|
+ // dataIndex: 'pageTrackUrl',
|
|
|
+ // key: 'pageTrackUrl',
|
|
|
+ // align: 'center'
|
|
|
+ // },
|
|
|
{
|
|
|
title: '创意形式ID',
|
|
|
dataIndex: 'adcreativeTemplateId',
|
|
|
key: 'adcreativeTemplateId',
|
|
|
align: 'center',
|
|
|
},
|
|
|
- {
|
|
|
- title: '是否开启自动版位功能',
|
|
|
- dataIndex: 'automaticSiteEnabled',
|
|
|
- key: 'automaticSiteEnabled',
|
|
|
- align: 'center',
|
|
|
- render: (a: any, b: any) => {
|
|
|
- return a? '开' : '关'
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- title: '数据展示',
|
|
|
- dataIndex: 'conversionDataType',
|
|
|
- key: 'conversionDataType',
|
|
|
- align: 'center',
|
|
|
- render: (a: any, b: any) => {
|
|
|
- return b.conversionDataType || b.conversionTargetType ? '开' : '关'
|
|
|
- }
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // title: '是否开启自动版位功能',
|
|
|
+ // dataIndex: 'automaticSiteEnabled',
|
|
|
+ // key: 'automaticSiteEnabled',
|
|
|
+ // align: 'center',
|
|
|
+ // render: (a: any, b: any) => {
|
|
|
+ // return a? '开' : '关'
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '数据展示',
|
|
|
+ // dataIndex: 'conversionDataType',
|
|
|
+ // key: 'conversionDataType',
|
|
|
+ // align: 'center',
|
|
|
+ // render: (a: any, b: any) => {
|
|
|
+ // return b.conversionDataType || b.conversionTargetType ? '开' : '关'
|
|
|
+ // }
|
|
|
+ // },
|
|
|
{
|
|
|
title: '行动开关',
|
|
|
dataIndex: 'linkNameType',
|
|
@@ -221,46 +240,46 @@ function tableConfig(): any {
|
|
|
return b.linkNameType || b.linkPageType ? '开' : '关'
|
|
|
}
|
|
|
},
|
|
|
- {
|
|
|
- title: '倒计时组件开关',
|
|
|
- dataIndex: 'countdownSwitch',
|
|
|
- key: 'countdownSwitch',
|
|
|
- align: 'center',
|
|
|
- render: (a: any, b: any) => {
|
|
|
- return a? '开' : '关'
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- title: '视频广告评论开关',
|
|
|
- dataIndex: 'feedsVideoCommentSwitch',
|
|
|
- key: 'feedsVideoCommentSwitch',
|
|
|
- align: 'center',
|
|
|
- render: (a: any, b: any) => {
|
|
|
- return a? '开' : '关'
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- title: '是否已删除',
|
|
|
- dataIndex: 'isDeleted',
|
|
|
- key: 'isDeleted',
|
|
|
- align: 'center',
|
|
|
- render: (a: any, b: any) => {
|
|
|
- return a? '是' : '否'
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- title: '动态创意广告自动生成',
|
|
|
- dataIndex: 'isDynamicCreative',
|
|
|
- key: 'isDynamicCreative',
|
|
|
- align: 'center',
|
|
|
- render: (a: any, b: any) => {
|
|
|
- return a? '是' : '否'
|
|
|
- }
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // title: '倒计时组件开关',
|
|
|
+ // dataIndex: 'countdownSwitch',
|
|
|
+ // key: 'countdownSwitch',
|
|
|
+ // align: 'center',
|
|
|
+ // render: (a: any, b: any) => {
|
|
|
+ // return a? '开' : '关'
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '视频广告评论开关',
|
|
|
+ // dataIndex: 'feedsVideoCommentSwitch',
|
|
|
+ // key: 'feedsVideoCommentSwitch',
|
|
|
+ // align: 'center',
|
|
|
+ // render: (a: any, b: any) => {
|
|
|
+ // return a? '开' : '关'
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '是否已删除',
|
|
|
+ // dataIndex: 'isDeleted',
|
|
|
+ // key: 'isDeleted',
|
|
|
+ // align: 'center',
|
|
|
+ // render: (a: any, b: any) => {
|
|
|
+ // return a? '是' : '否'
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '动态创意广告自动生成',
|
|
|
+ // dataIndex: 'isDynamicCreative',
|
|
|
+ // key: 'isDynamicCreative',
|
|
|
+ // align: 'center',
|
|
|
+ // render: (a: any, b: any) => {
|
|
|
+ // return a? '是' : '否'
|
|
|
+ // }
|
|
|
+ // },
|
|
|
{
|
|
|
title: '创建时间',
|
|
|
- dataIndex: 'createTime',
|
|
|
- key: 'createTime',
|
|
|
+ dataIndex: 'createdTime',
|
|
|
+ key: 'createdTime',
|
|
|
align: 'center',
|
|
|
},
|
|
|
]
|