123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- // 表格列信息
- const table = {
- columns: [
- {
- title: 'finderUin',
- align: 'center',
- dataIndex: 'finderUin',
- scopedSlots: { customRender: 'summary' }
- },
- {
- title: '来源渠道',
- align: 'center',
- dataIndex: 'fromChannelName'
- },
- {
- title: '是否有账外账号',
- align: 'center',
- dataIndex: 'outSideAccountFlag',
- scopedSlots: { customRender: 'status' }
- },
- {
- title: '作者等级',
- align: 'center',
- dataIndex: 'level'
- },
- {
- title: '作者微信号',
- align: 'center',
- dataIndex: 'weChatAccount'
- },
- {
- title: '视频账号',
- align: 'center',
- dataIndex: 'videoAccount'
- },
- {
- title: '作者分类',
- align: 'center',
- dataIndex: 'categoryName'
- },
- {
- title: '拟定认证信息',
- align: 'center',
- dataIndex: 'authInfo'
- },
- {
- title: '是否本地作者',
- align: 'center',
- dataIndex: 'isLocal',
- scopedSlots: { customRender: 'status' }
- },
- {
- title: '是否下发流量',
- align: 'center',
- dataIndex: 'isSend',
- scopedSlots: { customRender: 'status' }
- },
- {
- title: '影响力描述',
- dataIndex: 'prove',
- align: 'center',
- scopedSlots: { customRender: 'summary' }
- },
- {
- title: '操作',
- dataIndex: 'action',
- align: 'center',
- fixed: 'right',
- width: '250px',
- scopedSlots: { customRender: 'action' }
- }
- ]
- }
- // 表格里面的列key value
- const filters = {
- statusFilter (status) {
- const statusMap = {
- 1: '是',
- 2: '否'
- }
- return statusMap[status]
- },
- statusTypeFilter (status) {
- const statusMap = {
- 1: 'error',
- 2: 'success'
- }
- return statusMap[status]
- }
- }
- export { table, filters }
|