|
@@ -2,8 +2,7 @@ import React from 'react'
|
|
import { Space, Switch, Image, Popover } from 'antd'
|
|
import { Space, Switch, Image, Popover } from 'antd'
|
|
import '../index.less'
|
|
import '../index.less'
|
|
import { copy } from '@/utils/utils'
|
|
import { copy } from '@/utils/utils'
|
|
-import { DELIVERY_MODE, DYNAMIC_CREATIVE_TYPE, dynamicCreativeStatus } from '../const'
|
|
|
|
-import Box from './box'
|
|
|
|
|
|
+import { AD_STATUS, DELIVERY_MODE, DYNAMIC_CREATIVE_TYPE } from '../const'
|
|
function tableConfig(): any {
|
|
function tableConfig(): any {
|
|
return [
|
|
return [
|
|
{
|
|
{
|
|
@@ -208,12 +207,12 @@ function tableConfig(): any {
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '状态',
|
|
title: '状态',
|
|
- dataIndex: 'systemStatus',
|
|
|
|
- key: 'systemStatus',
|
|
|
|
|
|
+ dataIndex: 'configuredStatus',
|
|
|
|
+ key: 'configuredStatus',
|
|
align: 'center',
|
|
align: 'center',
|
|
width: 120,
|
|
width: 120,
|
|
render: (a: string) => {
|
|
render: (a: string) => {
|
|
- return dynamicCreativeStatus[a]
|
|
|
|
|
|
+ return AD_STATUS[a]
|
|
}
|
|
}
|
|
},
|
|
},
|
|
]
|
|
]
|