12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610 |
- import { BidModeEnum, BidStrategyEnum, OptimizationGoalEnum } from '@/services/launchAdq/enum'
- import React from 'react'
- import { Badge, Dropdown, Menu, Space, Statistic } from 'antd'
- import { ReactComponent as RocketSvg } from '@/assets/rocket.svg'
- import '../../launchSystemNew/adq/index.less'
- import { copy } from '@/utils/utils'
- import { ColumnsType } from 'antd/lib/table'
- import StatisticNull from '@/components/StatisticNull'
- import { DownOutlined } from '@ant-design/icons'
- import TimeSeriesLook from '../../launchSystemNew/adq/ad/timeSeriesLook'
- import SwitchStatus from '../adqv3/ad/switchStatus'
- import CreativePreview from './CreativePreview'
- import { ADGROUP_STATUS } from '@/pages/adMonitor/adMonitorList/data'
- import { AdUnitType_Enum } from '@/pages/launchSystemNew/account/const'
- import { MARKETING_GOAL_ENUM, MARKETING_TARGET_TYPE_ENUM } from '../tencentAdPutIn/const'
- function tablePlanConfig(
- onChange: () => void,
- details: (data: any) => void,
- log: (data: any) => void,
- handleTag: (data: any) => void,
- delTag: (data: any) => void,
- ): ColumnsType<any> {
- let adArr: ColumnsType<any> = [
- {
- title: '启停',
- dataIndex: 'configured_status',
- key: 'configured_status',
- align: 'center',
- width: 40,
- fixed: 'left',
- render: (a: string, b: any) => {
- if (b?.account_id === '总计') {
- return '--'
- }
- return <SwitchStatus configuredStatus={a} isDeleted={b?.is_deleted} adgroupId={b?.adgroup_id} accountId={b?.account_id} onChange={onChange} />
- }
- },
- {
- title: '所属账号',
- dataIndex: 'account_id',
- key: 'account_id',
- align: 'center',
- width: 80,
- ellipsis: true,
- render: (a: string) => {
- return <Space>
- <a onClick={() => copy(a)} >{a}</a>
- </Space>
- }
- },
- {
- title: '腾讯备注',
- dataIndex: 'memo',
- key: 'memo',
- align: 'center',
- width: 80,
- ellipsis: true,
- render(value, record) {
- if (record?.account_id === '总计') {
- return '--'
- }
- return value
- },
- },
- {
- title: '本地备注',
- dataIndex: 'remark',
- key: 'remark',
- align: 'center',
- width: 80,
- ellipsis: true,
- render(value, record) {
- if (record?.account_id === '总计') {
- return '--'
- }
- return value
- },
- },
- {
- title: '广告ID',
- dataIndex: 'adgroup_id',
- key: 'adgroup_id',
- align: 'center',
- width: 100,
- ellipsis: true,
- render: (a: string, b: any) => {
- if (b?.account_id === '总计') {
- return '--'
- }
- return <Space>
- <a onClick={() => copy(a)} >{a}</a>
- </Space>
- }
- },
- {
- title: '投手',
- dataIndex: 'put_user_name',
- key: 'put_user_name',
- align: 'center',
- width: 70,
- ellipsis: true,
- render(value, record) {
- if (record?.account_id === '总计') return '--';
- return value
- },
- },
- {
- title: '广告名称',
- dataIndex: 'adgroup_name',
- key: 'adgroup_name',
- width: 280,
- ellipsis: true,
- render: (a: string, b: any) => {
- if (b?.account_id === '总计') return '--';
- return a
- }
- },
- {
- title: '投放日期',
- dataIndex: 'begin_date',
- key: 'begin_date',
- align: 'center',
- width: 150,
- ellipsis: true,
- sorter: true,
- render: (a: string, b: { end_date: string, account_id: any }) => {
- if (b?.account_id === '总计') return '--';
- return b?.end_date && b?.end_date !== '1970-01-01' ? a + '~' + b.end_date : a + '~' + '长期投放'
- }
- },
- {
- title: '投放时间',
- dataIndex: 'time_series',
- key: 'time_series',
- align: 'center',
- width: 55,
- render: (a: string, b: { endDate: string, account_id: string }) => {
- if (b?.account_id === '总计') return '--';
- return <TimeSeriesLook timeSeries={a} />
- }
- },
- {
- title: '首日开始投放时间',
- dataIndex: 'first_day_begin_time',
- key: 'first_day_begin_time',
- align: 'center',
- width: 70,
- render(value, record) {
- if (record?.account_id === '总计') return '--';
- return value
- },
- },
- {
- title: '出价',
- dataIndex: 'bid_amount',
- key: 'bid_amount',
- width: 140,
- ellipsis: true,
- sorter: true,
- render: (a: string, b: { bid_mode: string, optimization_goal: string, account_id: any }) => {
- if (b?.account_id === '总计') return '--';
- return `${b?.bid_mode ? BidModeEnum[b?.bid_mode as keyof typeof BidModeEnum] : ''} ${a}元/${b?.bid_mode === 'BID_MODE_CPM' ? '千次曝光' : b?.bid_mode === 'BID_MODE_CPC' ? '点击' : OptimizationGoalEnum[b?.optimization_goal as keyof typeof OptimizationGoalEnum]}`
- }
- },
- {
- title: '深度优化出价',
- dataIndex: 'deep_conversion_behavior_bid',
- key: 'deep_conversion_behavior_bid',
- width: 70,
- align: 'center',
- render: (a: string, b: { deep_conversion_spec_json: any, deep_conversion_worth_rate: number, account_id: any }) => {
- if (b?.account_id === '总计') return '--';
- if (b?.deep_conversion_spec_json) {
- return b?.deep_conversion_worth_rate
- } else {
- return '--'
- }
- }
- },
- {
- title: '出价类型',
- dataIndex: 'smart_bid_type',
- key: 'smart_bid_type',
- align: 'center',
- width: 80,
- ellipsis: true,
- render: (a: string, b) => {
- if (b?.account_id === '总计') return '--';
- return a === 'SMART_BID_TYPE_CUSTOM' ? '手动出价' : '自动出价'
- }
- },
- {
- title: '出价策略',
- dataIndex: 'bid_strategy',
- key: 'bid_strategy',
- align: 'center',
- width: 70,
- ellipsis: true,
- render: (a: string, b) => {
- if (b?.account_id === '总计') return '--';
- return BidStrategyEnum[a as keyof typeof BidStrategyEnum]
- }
- },
- {
- title: '广告组日预算(元)',
- dataIndex: 'daily_budget',
- key: 'daily_budget',
- align: 'center',
- width: 70,
- sorter: true,
- render: (a: string, b: any) => {
- if (b?.account_id === '总计') return '--';
- return a
- }
- },
- {
- title: '是否开启自动版位功能',
- dataIndex: 'automatic_site_enabled',
- key: 'automatic_site_enabled',
- align: 'center',
- width: 80,
- render: (a: any, b: any) => {
- if (b?.account_id === '总计') return '--';
- return a ? '开' : '关'
- }
- },
- {
- title: '定向条件描述',
- dataIndex: 'targeting_translation',
- key: 'targeting_translation',
- align: 'center',
- width: 80,
- ellipsis: true,
- render: (a: any) => {
- return a || '--'
- }
- },
- {
- title: '创建时间',
- dataIndex: 'created_time',
- key: 'created_time',
- align: 'center',
- width: 140,
- ellipsis: true,
- render(value, record) {
- if (record?.account_id === '总计') return '--';
- return value
- },
- },
- {
- title: '是否已删除',
- dataIndex: 'is_deleted',
- key: 'is_deleted',
- align: 'center',
- width: 60,
- render: (a: any, b: any) => {
- if (b?.account_id === '总计') return '--';
- return <Badge status={!a ? "processing" : "error"} text={a ? '是' : '否'} />
- }
- },
- {
- title: '广告状态',
- dataIndex: 'system_status',
- key: 'system_status',
- align: 'center',
- width: 100,
- ellipsis: true,
- render: (a: string) => {
- return ADGROUP_STATUS[a as keyof typeof ADGROUP_STATUS]
- }
- },
- {
- title: '标记备注',
- dataIndex: 'tag_remark',
- key: 'tag_remark',
- align: 'center',
- width: 100,
- ellipsis: true,
- render(value, b) {
- if (b?.account_id === '总计') return '--';
- return value || '--'
- },
- },
- {
- title: '业务单元类型',
- dataIndex: 'ad_unit_type',
- key: 'ad_unit_type',
- align: 'center',
- width: 75,
- render: (a: string) => {
- return AdUnitType_Enum[a as keyof typeof AdUnitType_Enum] || '--'
- }
- },
- {
- title: '广告详情',
- dataIndex: 'cost_speed',
- key: 'cost_speed',
- align: 'center',
- width: 80,
- className: 'padding2',
- render: (a: any, b: any) => {
- if (b?.account_id === '总计') return '--';
- return <div style={{ display: 'flex', justifyContent: 'center', alignItems: 'center', lineHeight: 'normal', fontSize: 14 }}>
- <RocketSvg /> <a onClick={() => details(b)} style={{ marginLeft: 10 }}>详情</a>
- </div>
- }
- },
- {
- title: '营销目的',
- dataIndex: 'marketing_goal',
- key: 'marketing_goal',
- align: 'center',
- width: 80,
- className: 'padding2',
- render: (a: any, b: any) => {
- return MARKETING_GOAL_ENUM[a as keyof typeof MARKETING_GOAL_ENUM]
- }
- },
- {
- title: '推广内容资产类型',
- dataIndex: 'marketing_target_type',
- key: 'marketing_target_type',
- align: 'center',
- width: 80,
- className: 'padding2',
- render: (a: any, b: any) => {
- return MARKETING_TARGET_TYPE_ENUM[a as keyof typeof MARKETING_TARGET_TYPE_ENUM]
- }
- },
- {
- title: '创意预览',
- dataIndex: 'creative_ids',
- key: 'creative_ids',
- width: 140,
- ellipsis: true,
- render: (_: any, b: any) => {
- // return <BoxOther creativeComponents={b?.creative_preview?.[0] || {}} />
- return <CreativePreview creativePreview={b?.creative_preview || []} deliveryMode={b?.delivery_mode} />
- }
- },
- {
- title: '操作',
- dataIndex: 'cz',
- key: 'cz',
- width: 130,
- align: 'center',
- render: (a: any, b: any) => {
- if (b?.account_id === '总计') return '--';
- let items = [
- { label: <a style={{ fontSize: 12 }} onClick={() => log(b)}>告警日志</a>, key: '1' },
- { label: <a style={{ fontSize: 12 }} onClick={() => handleTag(b)}>打标记</a>, key: '2' }
- ]
- if (b?.tag_value) {
- items.push({ label: <a style={{ color: 'red', fontSize: 12 }} onClick={() => delTag(b)}>删除标记</a>, key: '3' })
- }
- return <Space>
- <Dropdown menu={{ items }}>
- <a><Space size={2}>更多 <DownOutlined /></Space></a>
- </Dropdown>
- <a style={{ color: '#1890ff' }} onClick={() => window.open(`https://ad.qq.com/atlas/${b?.account_id}/admanage/index?tab=adgroup&query={%22operation_status%22:[%22CALCULATE_STATUS_EXCLUDE_DEL%22],%22system_status%22:[],%22search_name%22:%22${b.adgroup_id}%22}`)} target="_blank">腾讯广告</a>
- </Space>
- }
- }
- ]
- let adDataArr: ColumnsType<any> = [
- {
- title: '消耗',
- dataIndex: 'cost_total',
- key: 'cost_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='cost_total' />
- }
- },
- {
- title: '曝光量',
- dataIndex: 'view_total',
- key: 'view_total',
- align: 'center',
- width: 100,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='view_total' />
- }
- },
- {
- title: '千次曝光成本',
- dataIndex: 'thousand_display_price_total',
- key: 'thousand_display_price_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='thousand_display_price_total' precision={2} />
- }
- },
- {
- title: '点击量',
- dataIndex: 'click_total',
- key: 'click_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='click_total' />
- }
- },
- {
- title: '点击率',
- dataIndex: 'ctr_total',
- key: 'ctr_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- if (b?.ctr_total !== undefined && b?.ctr_total !== null) {
- return <Statistic value={a ? (a * 100) : 0} precision={2} valueStyle={{ color: '#3f8600' }} suffix="%" />
- } else {
- return '--'
- }
- }
- },
- {
- title: '点击均价',
- dataIndex: 'cpc_total',
- key: 'cpc_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} precision={2} field='cpc_total' />
- }
- },
- {
- title: '不感兴趣点击次数',
- dataIndex: 'no_interest_count_total',
- key: 'no_interest_count_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='no_interest_count_total' />
- }
- },
- // {
- // title: '朋友圈视频播放次数',
- // dataIndex: 'video_play_count_total',
- // key: 'video_play_count_total',
- // align: 'center',
- // width: 110,
- // sorter: true,
- // render: (a: any, b: any) => {
- // return <StatisticNull data={b} field='video_play_count_total' />
- // }
- // },
- {
- title: '下载次数',
- dataIndex: 'download_count_total',
- key: 'download_count_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='download_count_total' />
- }
- },
- {
- title: '安装次数',
- dataIndex: 'install_count_total',
- key: 'install_count_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='install_count_total' />
- }
- },
- {
- title: '激活次数',
- dataIndex: 'activated_count_total',
- key: 'activated_count_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='activated_count_total' />
- }
- },
- {
- title: '公众号关注人数',
- dataIndex: 'mp_follow_uv_total',
- key: 'mp_follow_uv_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='mp_follow_uv_total' />
- }
- },
- {
- title: '公众号关注成本',
- dataIndex: 'mp_follow_cost_total',
- key: 'mp_follow_cost_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='mp_follow_cost_total' />
- }
- },
- {
- title: '公众号关注率',
- dataIndex: 'mp_follow_rate_total',
- key: 'mp_follow_rate_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- if (b?.mp_follow_rate_total !== undefined && b?.mp_follow_rate_total !== null) {
- return <Statistic value={a ? (a * 100) : 0} precision={2} valueStyle={{ color: '#3f8600' }} suffix="%" />
- } else {
- return '--'
- }
- }
- },
- {
- title: '公众号关注次数',
- dataIndex: 'mp_follow_pv_total',
- key: 'mp_follow_pv_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='mp_follow_pv_total' />
- }
- },
- {
- title: '公众号关注次数成本',
- dataIndex: 'mp_follow_pv_cost_total',
- key: 'mp_follow_pv_cost_total',
- align: 'center',
- width: 120,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='mp_follow_pv_cost_total' precision={2} />
- }
- },
- {
- title: '快应用添加次数',
- dataIndex: 'add_quick_app_pv_total',
- key: 'add_quick_app_pv_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='add_quick_app_pv_total' />
- }
- },
- {
- title: '快应用添加成本',
- dataIndex: 'add_quick_app_cost_total',
- key: 'add_quick_app_cost_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='add_quick_app_cost_total' />
- }
- },
- {
- title: '快应用添加率',
- dataIndex: 'add_quick_app_rate_total',
- key: 'add_quick_app_rate_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- if (b?.add_quick_app_rate_total !== undefined && b?.add_quick_app_rate_total !== null) {
- return <Statistic value={a ? (a * 100) : 0} precision={2} valueStyle={{ color: '#3f8600' }} suffix="%" />
- } else {
- return '--'
- }
- }
- },
- {
- title: '加企业微信客服人数',
- dataIndex: 'scan_follow_uv_total',
- key: 'scan_follow_uv_total',
- align: 'center',
- width: 120,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='scan_follow_uv_total' />
- }
- },
- {
- title: '加企业微信客服成本',
- dataIndex: 'scan_follow_cost_total',
- key: 'scan_follow_cost_total',
- align: 'center',
- width: 120,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='scan_follow_cost_total' precision={2} />
- }
- },
- {
- title: '加企业微信客服率',
- dataIndex: 'scan_follow_rate_total',
- key: 'scan_follow_rate_total',
- align: 'center',
- width: 120,
- sorter: true,
- render: (a: any, b: any) => {
- if (b?.scan_follow_rate_total !== undefined && b?.scan_follow_rate_total !== null) {
- return <Statistic value={a ? (a * 100) : 0} precision={2} valueStyle={{ color: '#3f8600' }} suffix="%" />
- } else {
- return '--'
- }
- }
- },
- {
- title: '首日新增下单量',
- dataIndex: 'first_day_order_count_total',
- key: 'first_day_order_count_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='first_day_order_count_total' />
- }
- },
- {
- title: '首日新增下单金额',
- dataIndex: 'first_day_order_amount_total',
- key: 'first_day_order_amount_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='first_day_order_amount_total' />
- }
- },
- {
- title: '首日新增下单ROI',
- dataIndex: 'first_day_order_roi_total',
- key: 'first_day_order_roi_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- if (b?.first_day_order_roi_total !== undefined && b?.first_day_order_roi_total !== null) {
- return <Statistic value={a ? (a * 100) : 0} precision={2} valueStyle={{ color: '#3f8600' }} suffix="%" />
- } else {
- return '--'
- }
- }
- },
- {
- title: '订单量',
- dataIndex: 'order_count_total',
- key: 'order_count_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='order_count_total' />
- }
- },
- {
- title: '订单金额',
- dataIndex: 'order_amount_total',
- key: 'order_amount_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='order_amount_total' />
- }
- },
- {
- title: '下单成本',
- dataIndex: 'order_cost_total',
- key: 'order_cost_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='order_cost_total' precision={2} />
- }
- },
- {
- title: '下单率',
- dataIndex: 'order_rate_total',
- key: 'order_rate_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- if (b?.order_rate_total !== undefined && b?.order_rate_total !== null) {
- return <Statistic value={a ? (a * 100) : 0} precision={2} valueStyle={{ color: '#3f8600' }} suffix="%" />
- } else {
- return '--'
- }
- }
- },
- {
- title: '下单ROI',
- dataIndex: 'order_roi_total',
- key: 'order_roi_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- if (b?.order_roi_total !== undefined && b?.order_roi_total !== null) {
- return <Statistic value={a ? (a * 100) : 0} precision={2} valueStyle={{ color: '#3f8600' }} suffix="%" />
- } else {
- return '--'
- }
- }
- },
- {
- title: '客单价',
- dataIndex: 'atv_total',
- key: 'atv_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='atv_total' precision={2} />
- }
- },
- {
- title: '转化量',
- dataIndex: 'conversions_count_total',
- key: 'conversions_count_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='conversions_count_total' />
- }
- },
- {
- title: '转化成本',
- dataIndex: 'conversions_cost_total',
- key: 'conversions_cost_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='conversions_cost_total' precision={2} />
- }
- },
- {
- title: '深度转化',
- dataIndex: 'deep_conversions_count_total',
- key: 'deep_conversions_count_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='deep_conversions_count_total' />
- }
- },
- {
- title: '转化率',
- dataIndex: 'conversions_rate_total',
- key: 'conversions_rate_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- if (b?.conversions_rate_total !== undefined && b?.conversions_rate_total !== null) {
- return <Statistic value={a ? (a * 100) : 0} precision={2} valueStyle={{ color: '#3f8600' }} suffix="%" />
- } else {
- return '--'
- }
- }
- },
- {
- title: '加粉数',
- dataIndex: 'add_fans_count_total',
- key: 'add_fans_count_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='add_fans_count_total' />
- }
- },
- {
- title: '加粉成本',
- dataIndex: 'add_fans_cost_total',
- key: 'add_fans_cost_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='add_fans_cost_total' precision={2} />
- }
- },
- ]
- let iaaDataArr: ColumnsType<any> = [
- {
- title: '激活首24小时广告变现ARPPU(平台上报)',
- dataIndex: 'first_day_ad_pur_arppu_cost24h_pla_total',
- key: 'first_day_ad_pur_arppu_cost24h_pla_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='first_day_ad_pur_arppu_cost24h_pla_total' />
- }
- },
- {
- title: '激活首24小时广告变现ROI(平台上报)',
- dataIndex: 'income_roi124h_pla_total',
- key: 'income_roi124h_pla_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- if (b?.income_roi124h_pla_total !== undefined && b?.income_roi124h_pla_total !== null) {
- return <Statistic value={a ? (a * 100) : 0} precision={2} valueStyle={{ color: '#3f8600' }} suffix="%" />
- } else {
- return '--'
- }
- }
- },
- {
- title: '激活首24小时广告变现次数(平台上报)',
- dataIndex: 'income_pv24h_pla_total',
- key: 'income_pv24h_pla_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='income_pv24h_pla_total' />
- }
- },
- {
- title: '激活首日广告变现次数(平台上报)',
- dataIndex: 'income_pv1d_pla_total',
- key: 'income_pv1d_pla_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='income_pv1d_pla_total' />
- }
- },
- {
- title: '激活3日广告变现次数(平台上报)',
- dataIndex: 'ad_monetization_pla_dedup_active3d_pv_total',
- key: 'ad_monetization_pla_dedup_active3d_pv_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='ad_monetization_pla_dedup_active3d_pv_total' />
- }
- },
- {
- title: '激活7日广告变现次数(平台上报)',
- dataIndex: 'minigame7d_income_count_total',
- key: 'minigame7d_income_count_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='minigame_7d_income_count' />
- }
- },
- {
- title: '注册3日广告变现次数(平台上报)',
- dataIndex: 'minigame3d_income_count_total',
- key: 'minigame3d_income_count_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='minigame3d_income_count_total' />
- }
- },
- {
- title: '激活首24小时广告变现金额(平台上报)',
- dataIndex: 'income_val24h_pla_total',
- key: 'income_val24h_pla_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='income_val24h_pla_total' />
- }
- },
- {
- title: '注册首日广告变现金额(平台上报)',
- dataIndex: 'mini_game_first_day_ad_monetization_amount_total',
- key: 'mini_game_first_day_ad_monetization_amount_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='mini_game_first_day_ad_monetization_amount_total' />
- }
- },
- {
- title: '激活7日广告变现金额(平台上报)',
- dataIndex: 'mini_game_ad_monetization_amount_d7_total',
- key: 'mini_game_ad_monetization_amount_d7_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='mini_game_ad_monetization_amount_d7_total' />
- }
- },
- {
- title: '激活14日广告变现金额(平台上报)',
- dataIndex: 'mini_game_ad_monetization_amount_d14_total',
- key: 'mini_game_ad_monetization_amount_d14_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='mini_game_ad_monetization_amount_d14_total' />
- }
- },
- {
- title: '广告变现金额(平台上报)',
- dataIndex: 'mini_game_ad_monetization_amount_total',
- key: 'mini_game_ad_monetization_amount_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='mini_game_ad_monetization_amount_total' />
- }
- },
- {
- title: '激活首24小时广告变现人数(平台上报)',
- dataIndex: 'ad_paying_users24h_pla_total',
- key: 'ad_paying_users24h_pla_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='ad_paying_users24h_pla_total' />
- }
- },
- {
- title: '激活首日广告变现人数(平台上报)',
- dataIndex: 'ad_monetization_pla_dedup_active1d_pv_total',
- key: 'ad_monetization_pla_dedup_active1d_pv_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='ad_monetization_pla_dedup_active1d_pv_total' />
- }
- },
- {
- title: '激活7日变现人数(平台上报)',
- dataIndex: 'ad_monetization_pla_dedup_active7d_pv_total',
- key: 'ad_monetization_pla_dedup_active7d_pv_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='ad_monetization_pla_dedup_active7d_pv_total' />
- }
- },
- {
- title: '激活首24小时广告变现ARPPU',
- dataIndex: 'first_day_ad_pur_arppu_cost24h_total',
- key: 'first_day_ad_pur_arppu_cost24h_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='first_day_ad_pur_arppu_cost24h_total' />
- }
- },
- {
- title: '激活首日广告变现ARPPU',
- dataIndex: 'first_day_ad_pur_arppu_cost_total',
- key: 'first_day_ad_pur_arppu_cost_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='first_day_ad_pur_arppu_cost_total' />
- }
- },
- {
- title: '广告变现ARPPU',
- dataIndex: 'ad_monetization_arppu_total',
- key: 'ad_monetization_arppu_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='ad_monetization_arppu_total' />
- }
- },
- {
- title: '激活首24小时广告变现ROI',
- dataIndex: 'income_roi124h_total',
- key: 'income_roi124h_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- if (b?.income_roi124h_total !== undefined && b?.income_roi124h_total !== null) {
- return <Statistic value={a ? (a * 100) : 0} precision={2} valueStyle={{ color: '#3f8600' }} suffix="%" />
- } else {
- return '--'
- }
- }
- },
- {
- title: '激活首日广告变现ROI',
- dataIndex: 'income_roi1_total',
- key: 'income_roi1_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- if (b?.income_roi1_total !== undefined && b?.income_roi1_total !== null) {
- return <Statistic value={a ? (a * 100) : 0} precision={2} valueStyle={{ color: '#3f8600' }} suffix="%" />
- } else {
- return '--'
- }
- }
- },
- {
- title: '激活3日广告变现ROI',
- dataIndex: 'income_roi3_total',
- key: 'income_roi3_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- if (b?.income_roi3_total !== undefined && b?.income_roi3_total !== null) {
- return <Statistic value={a ? (a * 100) : 0} precision={2} valueStyle={{ color: '#3f8600' }} suffix="%" />
- } else {
- return '--'
- }
- }
- },
- {
- title: '激活7日广告变现ROI',
- dataIndex: 'income_roi7_total',
- key: 'income_roi7_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- if (b?.income_roi7_total !== undefined && b?.income_roi7_total !== null) {
- return <Statistic value={a ? (a * 100) : 0} precision={2} valueStyle={{ color: '#3f8600' }} suffix="%" />
- } else {
- return '--'
- }
- }
- },
- {
- title: '激活14日广告变现ROI',
- dataIndex: 'income_roi14_total',
- key: 'income_roi14_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- if (b?.income_roi14_total !== undefined && b?.income_roi14_total !== null) {
- return <Statistic value={a ? (a * 100) : 0} precision={2} valueStyle={{ color: '#3f8600' }} suffix="%" />
- } else {
- return '--'
- }
- }
- },
- {
- title: '广告变现ROI',
- dataIndex: 'ad_monetization_roi_total',
- key: 'ad_monetization_roi_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- if (b?.ad_monetization_roi_total !== undefined && b?.ad_monetization_roi_total !== null) {
- return <Statistic value={a ? (a * 100) : 0} precision={2} valueStyle={{ color: '#3f8600' }} suffix="%" />
- } else {
- return '--'
- }
- }
- },
- {
- title: '激活首日广告变现成本(人数)',
- dataIndex: 'ad_paying_cost_d1_total',
- key: 'ad_paying_cost_d1_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='ad_paying_cost_d1_total' />
- }
- },
- {
- title: '广告变现成本',
- dataIndex: 'ad_monetization_cost_total',
- key: 'ad_monetization_cost_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='ad_monetization_cost_total' />
- }
- },
- {
- title: '激活3日广告变现次数',
- dataIndex: 'ad_monetization_active3d_pv_total',
- key: 'ad_monetization_active3d_pv_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='ad_monetization_active3d_pv_total' />
- }
- },
- {
- title: '激活7日广告变现次数',
- dataIndex: 'ad_monetization_active7d_pv_total',
- key: 'ad_monetization_active7d_pv_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='ad_monetization_active7d_pv_total' />
- }
- },
- {
- title: '广告变现次数(平台上报)',
- dataIndex: 'income_pv_pla_total',
- key: 'income_pv_pla_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='income_pv_pla_total' />
- }
- },
- {
- title: '激活首24小时广告变现金额',
- dataIndex: 'income_val24h_total',
- key: 'income_val24h_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='income_val24h_total' />
- }
- },
- {
- title: '激活首日广告变现金额',
- dataIndex: 'income_val1_total',
- key: 'income_val1_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='income_val1_total' />
- }
- },
- {
- title: '激活3日广告变现金额',
- dataIndex: 'income_val3_total',
- key: 'income_val3_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='income_val3_total' />
- }
- },
- {
- title: '激活7日广告变现金额',
- dataIndex: 'income_val7_total',
- key: 'income_val7_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='income_val7_total' />
- }
- },
- {
- title: '激活14日广告变现金额',
- dataIndex: 'income_val14_total',
- key: 'income_val14_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='income_val14_total' />
- }
- },
- {
- title: '广告变现金额',
- dataIndex: 'ad_monetization_amount_total',
- key: 'ad_monetization_amount_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='ad_monetization_amount_total' />
- }
- },
- {
- title: '激活首24小时广告变现人数',
- dataIndex: 'ad_paying_users24h_total',
- key: 'ad_paying_users24h_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='ad_paying_users24h_total' />
- }
- },
- {
- title: '激活首日广告变现人数',
- dataIndex: 'ad_paying_users_d1_total',
- key: 'ad_paying_users_d1_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='ad_paying_users_d1_total' />
- }
- },
- {
- title: '激活3日广告变现人数',
- dataIndex: 'ad_monetization_dedup_active3d_pv_total',
- key: 'ad_monetization_dedup_active3d_pv_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='ad_monetization_dedup_active3d_pv_total' />
- }
- },
- {
- title: '激活7日广告变现人数',
- dataIndex: 'ad_monetization_dedup_active7d_pv_total',
- key: 'ad_monetization_dedup_active7d_pv_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='ad_monetization_dedup_active7d_pv_total' />
- }
- },
- {
- title: '小游戏注册首日广告变现ARPU(平台上报)',
- dataIndex: 'mini_game_first_day_ad_paying_arpu_total',
- key: 'mini_game_first_day_ad_paying_arpu_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='mini_game_first_day_ad_paying_arpu_total' />
- }
- },
- {
- title: '小游戏广告变现ARPU(平台上报)',
- dataIndex: 'mini_game_ad_monetization_arpu_total',
- key: 'mini_game_ad_monetization_arpu_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='mini_game_ad_monetization_arpu_total' />
- }
- },
- {
- title: '小游戏注册首日广告变现ROI(平台上报)',
- dataIndex: 'mini_game_income_roi1_total',
- key: 'mini_game_income_roi1_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- if (b?.mini_game_income_roi1_total !== undefined && b?.mini_game_income_roi1_total !== null) {
- return <Statistic value={a ? (a * 100) : 0} precision={2} valueStyle={{ color: '#3f8600' }} suffix="%" />
- } else {
- return '--'
- }
- }
- },
- {
- title: '小游戏注册3日广告变现ROI(平台上报)',
- dataIndex: 'minigame3d_income_roi_total',
- key: 'minigame3d_income_roi_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- if (b?.minigame3d_income_roi_total !== undefined && b?.minigame3d_income_roi_total !== null) {
- return <Statistic value={a ? (a * 100) : 0} precision={2} valueStyle={{ color: '#3f8600' }} suffix="%" />
- } else {
- return '--'
- }
- }
- },
- {
- title: '小游戏注册7日广告变现ROI(平台上报)',
- dataIndex: 'minigame7d_income_roi_total',
- key: 'minigame7d_income_roi_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- if (b?.minigame7d_income_roi_total !== undefined && b?.minigame7d_income_roi_total !== null) {
- return <Statistic value={a ? (a * 100) : 0} precision={2} valueStyle={{ color: '#3f8600' }} suffix="%" />
- } else {
- return '--'
- }
- }
- },
- {
- title: '小游戏广告变现ROI(平台上报)',
- dataIndex: 'mini_game_ad_monetization_roi_total',
- key: 'mini_game_ad_monetization_roi_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- if (b?.mini_game_ad_monetization_roi_total !== undefined && b?.mini_game_ad_monetization_roi_total !== null) {
- return <Statistic value={a ? (a * 100) : 0} precision={2} valueStyle={{ color: '#3f8600' }} suffix="%" />
- } else {
- return '--'
- }
- }
- },
- {
- title: '小游戏注册首日广告变现成本(平台上报)',
- dataIndex: 'mini_game_first_day_ad_paying_cost_total',
- key: 'mini_game_first_day_ad_paying_cost_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='mini_game_first_day_ad_paying_cost_total' />
- }
- },
- {
- title: '小游戏广告变现成本(平台上报)',
- dataIndex: 'mini_game_ad_monetization_cost_total',
- key: 'mini_game_ad_monetization_cost_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='mini_game_ad_monetization_cost_total' />
- }
- },
- {
- title: '小游戏注册3日广告变现金额(平台上报)',
- dataIndex: 'mini_game_ad_monetization_amount_d3_total',
- key: 'mini_game_ad_monetization_amount_d3_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='mini_game_ad_monetization_amount_d3_total' />
- }
- },
- {
- title: '小游戏注册首日广告变现人数(平台上报)',
- dataIndex: 'mini_game_first_day_ad_monetization_users_total',
- key: 'mini_game_first_day_ad_monetization_users_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='mini_game_first_day_ad_monetization_users_total' />
- }
- },
- {
- title: '小游戏注册3日广告变现人数(平台上报)',
- dataIndex: 'minigame3d_income_uv_total',
- key: 'minigame3d_income_uv_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='minigame3d_income_uv_total' />
- }
- },
- {
- title: '小游戏注册7日广告变现人数(平台上报)',
- dataIndex: 'minigame7d_income_uv_total',
- key: 'minigame7d_income_uv_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='minigame7d_income_uv_total' />
- }
- },
- {
- title: '小游戏广告变现人数(平台上报)',
- dataIndex: 'mini_game_ad_monetization_users_total',
- key: 'mini_game_ad_monetization_users_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='mini_game_ad_monetization_users_total' />
- }
- },
- {
- title: '注册次数',
- dataIndex: 'reg_pv_total',
- key: 'reg_pv_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='reg_pv_total' />
- }
- },
- {
- title: '注册人数',
- dataIndex: 'reg_dedup_pv_total',
- key: 'reg_dedup_pv_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='reg_dedup_pv_total' />
- }
- },
- {
- title: '注册成本',
- dataIndex: 'reg_cost_total',
- key: 'reg_cost_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='reg_cost_total' />
- }
- },
- {
- title: '注册率',
- dataIndex: 'reg_rate_total',
- key: 'reg_rate_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- if (b?.reg_rate_total !== undefined && b?.reg_rate_total !== null) {
- return <Statistic value={a ? (a * 100) : 0} precision={2} valueStyle={{ color: '#3f8600' }} suffix="%" />
- } else {
- return '--'
- }
- }
- },
- {
- title: '注册次数(平台上报)',
- dataIndex: 'reg_pla_pv_total',
- key: 'reg_pla_pv_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='reg_pla_pv_total' />
- }
- },
- {
- title: '注册人数(平台上报+广告主上报)',
- dataIndex: 'reg_all_dedup_pv_total',
- key: 'reg_all_dedup_pv_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='reg_all_dedup_pv_total' />
- }
- },
- {
- title: '注册成本(平台上报+广告主上报)',
- dataIndex: 'reg_cost_pla_total',
- key: 'reg_cost_pla_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='reg_cost_pla_total' />
- }
- },
- {
- title: '注册率(平台上报+广告主上报)',
- dataIndex: 'reg_click_rate_pla_total',
- key: 'reg_click_rate_pla_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- if (b?.reg_click_rate_pla_total !== undefined && b?.reg_click_rate_pla_total !== null) {
- return <Statistic value={a ? (a * 100) : 0} precision={2} valueStyle={{ color: '#3f8600' }} suffix="%" />
- } else {
- return '--'
- }
- }
- },
- {
- title: '激活注册率',
- dataIndex: 'activate_register_rate_total',
- key: 'activate_register_rate_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- if (b?.activate_register_rate_total !== undefined && b?.activate_register_rate_total !== null) {
- return <Statistic value={a ? (a * 100) : 0} precision={2} valueStyle={{ color: '#3f8600' }} suffix="%" />
- } else {
- return '--'
- }
- }
- },
- {
- title: '次日留存人数',
- dataIndex: 'mini_game_retention_d1_total',
- key: 'mini_game_retention_d1_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='mini_game_retention_d1_total' />
- }
- },
- {
- title: '次日留存成本',
- dataIndex: 'retention_cost_total',
- key: 'retention_cost_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='retention_cost_total' />
- }
- },
- {
- title: '关键页面次日留存率',
- dataIndex: 'app_key_page_retention_rate_total',
- key: 'app_key_page_retention_rate_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- if (b?.app_key_page_retention_rate_total !== undefined && b?.app_key_page_retention_rate_total !== null) {
- return <Statistic value={a ? (a * 100) : 0} precision={2} valueStyle={{ color: '#3f8600' }} suffix="%" />
- } else {
- return '--'
- }
- }
- },
- {
- title: '小游戏次日留存率',
- dataIndex: 'mini_game_retention_d1_rate_total',
- key: 'mini_game_retention_d1_rate_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- if (b?.mini_game_retention_d1_rate_total !== undefined && b?.mini_game_retention_d1_rate_total !== null) {
- return <Statistic value={a ? (a * 100) : 0} precision={2} valueStyle={{ color: '#3f8600' }} suffix="%" />
- } else {
- return '--'
- }
- }
- },
- {
- title: '小游戏次日留存成本',
- dataIndex: 'mini_game_retention_d1_cost_total',
- key: 'mini_game_retention_d1_cost_total',
- align: 'center',
- width: 110,
- sorter: true,
- render: (a: any, b: any) => {
- return <StatisticNull data={b} field='mini_game_retention_d1_cost_total' />
- }
- },
- ]
- return [
- ...adArr,
- ...adDataArr,
- ...iaaDataArr
- ]
- }
- export default tablePlanConfig
|