123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- const table = {
- columns: [
- {
- title: 'feed id',
- align: 'center',
- dataIndex: 'feedId'
- },
- {
- title: 'finderUin',
- align: 'center',
- dataIndex: 'finderUin'
- },
- {
- title: '视频',
- align: 'center',
- dataIndex: 'link',
- scopedSlots: { customRender: 'summary' }
- },
- {
- title: '文案',
- align: 'center',
- dataIndex: 'desc',
- scopedSlots: { customRender: 'summary' }
- },
- {
- title: '开始时间',
- align: 'center',
- dataIndex: 'sendTime',
- scopedSlots: { customRender: 'createTime' }
- },
- {
- title: '状态',
- align: 'center',
- dataIndex: 'status'
- },
- {
- title: '曝光',
- align: 'center',
- dataIndex: 'exposureCount'
- },
- {
- title: '点赞',
- align: 'center',
- dataIndex: 'likeCount'
- },
- {
- title: '点赞率',
- align: 'center',
- dataIndex: 'likeCount'
- },
- {
- title: '关注率',
- align: 'center',
- dataIndex: 'likeCount'
- },
- {
- title: '完播率',
- align: 'center',
- dataIndex: 'playCount'
- },
- {
- title: '投放等级',
- align: 'center',
- dataIndex: 'putLevel'
- },
- {
- title: '投放量级',
- align: 'center',
- dataIndex: 'putCountLevel'
- },
- {
- title: '流量标签',
- align: 'center',
- dataIndex: 'putTag'
- },
- {
- title: '性别',
- align: 'center',
- dataIndex: 'putGender'
- },
- {
- title: '城市',
- align: 'center',
- dataIndex: 'putTag'
- },
- {
- title: '年龄',
- align: 'center',
- dataIndex: 'putAge'
- },
- {
- title: '申请人',
- align: 'center',
- dataIndex: 'putUser'
- }
- ]
- }
- // 表格里面的列key value
- const filters = {
- statusFilter (status) {
- const statusMap = {
- 0: '未投放',
- 1: '投放中'
- }
- return statusMap[status]
- },
- statusTypeFilter (status) {
- const statusMap = {
- 0: 'error',
- 1: 'success',
- 2: 'success'
- }
- return statusMap[status]
- }
- }
- export { table, filters }
|