123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808 |
- import { AdStatusEnum, BidModeEnum, BidStrategyEnum, OptimizationGoalEnum, PromotedObjectType } from '@/services/launchAdq/enum'
- import React from 'react'
- import { Badge, Dropdown, Menu, Popover, Space, Statistic } from 'antd'
- import Box from '@/pages/adMonitor/adMonitorList/components/box'
- import SwitchStatus from './switchStatus'
- import TimeSeriesLook from './timeSeriesLook'
- import { ReactComponent as RocketSvg } from '@/assets/rocket.svg'
- import '../index.less'
- import { copy } from '@/utils/utils'
- import InputUpdate from './inputUpdate'
- import { ColumnsType } from 'antd/lib/table'
- import StatisticNull from '@/components/StatisticNull'
- import { DownOutlined } from '@ant-design/icons'
- function tablePlanConfig(
- onChange: () => void,
- details: (data: any) => void,
- handleSave: (data: any) => void,
- handleSaveDaily: (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} 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: '所属计划ID',
- dataIndex: 'campaign_id',
- key: 'campaign_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 <InputUpdate title={a} dataIndex={'adgroup_name'} record={b} handleSave={handleSave} />
- }
- },
- {
- title: '推广目标类型',
- dataIndex: 'promoted_object_type',
- key: 'promoted_object_type',
- align: 'center',
- width: 75,
- ellipsis: true,
- render: (a: string | number, b) => {
- if (b?.account_id === '总计') return '--';
- return PromotedObjectType[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] : ''} ${a}元/${b?.bid_mode === 'BID_MODE_CPM' ? '千次曝光' : b?.bid_mode === 'BID_MODE_CPC' ? '点击' : OptimizationGoalEnum[b?.optimization_goal]}`
- }
- },
- {
- title: '深度优化ROI',
- dataIndex: 'expected_roi',
- key: 'expected_roi',
- width: 70,
- align: 'center',
- ellipsis: true,
- render: (a: string, b: { deep_conversion_spec_json: any, account_id: any }) => {
- if (b?.account_id === '总计') return '--';
- if (b?.deep_conversion_spec_json) {
- return JSON.parse(b?.deep_conversion_spec_json)?.deepConversionWorthSpec?.expectedRoi || '--'
- } 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]
- }
- },
- {
- title: '广告组日预算(元)',
- dataIndex: 'daily_budget',
- key: 'daily_budget',
- align: 'center',
- width: 70,
- sorter: true,
- render: (a: string, b: any) => {
- if (b?.account_id === '总计') return '--';
- return <InputUpdate title={a} isNum={true} dataIndex={'daily_budget'} record={b} handleSave={handleSaveDaily} />
- }
- },
- {
- 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: '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: 'status',
- key: 'status',
- align: 'center',
- width: 70,
- ellipsis: true,
- render: (a: string, b: any) => {
- if (b?.account_id === '总计') return '--';
- return b?.rejectMessageList?.filter((str: any) => str)?.length > 0 ? <Popover
- style={{ width: 500 }}
- overlayStyle={{ width: 500, fontSize: 12 }}
- placement="left"
- content={b?.rejectMessageList?.map((str: string, eq: number) => {
- return str ? <><strong style={{ fontSize: 13 }}>{eq + 1}:</strong>{str}<br /></> : ""
- })}>
- {AdStatusEnum[a]}
- </Popover> :
- AdStatusEnum[a]
- }
- },
- {
- title: '创意预览',
- dataIndex: 'creative_id',
- key: 'creative_id',
- width: 70,
- align: 'center',
- render: (a: any, b: any) => {
- if (b?.account_id === '总计') return '--';
- return <Box b={b?.creative_preivew} />
- }
- },
- {
- 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: '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: 'cz',
- key: 'cz',
- width: 130,
- align: 'center',
- render: (a: any, b: any) => {
- if (b?.account_id === '总计') return '--';
- return <Space>
- <Dropdown overlay={<Menu>
- <Menu.Item><a onClick={() => log(b)}>告警日志</a></Menu.Item>
- <Menu.Item><a onClick={() => handleTag(b)}>打标记</a></Menu.Item>
- {b?.tag_value ? <Menu.Item><a style={{ color: 'red' }} onClick={() => delTag(b)}>删除标记</a></Menu.Item> : undefined}
- </Menu>}>
- <a><Space size={2}>更多 <DownOutlined /></Space></a>
- </Dropdown>
- <a style={{ color: '#1890ff' }} onClick={() => window.open(`https://ad.qq.com/atlas/${b?.account_id}/admanage/adgroup?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' />
- }
- },
- {
- 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.toFixed(2) : 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} 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.toFixed(2) : 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' />
- }
- },
- {
- 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.toFixed(2) : 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' />
- }
- },
- {
- 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.toFixed(2) : 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.toFixed(2) : 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' />
- }
- },
- {
- 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.toFixed(2) : 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.toFixed(2) : 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' />
- }
- },
- {
- 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' />
- }
- },
- {
- 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.toFixed(2) : 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' />
- }
- },
- ]
- return [
- ...adArr,
- ...adDataArr
- ]
- }
- export default tablePlanConfig
|