Files
lingji-work-fe/src/views/property-marketing/media-account/account-manage/constants.ts

104 lines
1.5 KiB
TypeScript

/*
* @Author: RenXiaoDong
* @Date: 2025-06-25 15:24:59
*/
export const INITIAL_QUERY = {
search: '',
status: undefined,
platform: undefined,
operator_id: undefined,
group_ids: [],
tag_ids: [],
project_ids: [],
};
export const INITIAL_PAGE_INFO = {
page: 1,
pageSize: 20,
total: 0,
};
export const PLATFORM_LIST = [
{
label: '抖音',
value: 0,
},
{
label: '小红书',
value: 1,
},
];
export const SHOW_TYPES = [
{
label: '卡片',
value: 'card',
svgName: 'svg-card',
},
{
label: '列表',
value: 'list',
svgName: 'svg-list',
},
];
export const TABLE_COLUMNS = [
{
title: '账号名称',
dataIndex: 'name',
width: 200,
fixed: 'left',
},
{
title: '状态',
dataIndex: 'status',
width: 100,
},
{
title: '数据更新时间',
dataIndex: 'last_synced_at',
width: 140,
},
{
title: '最后授权时间',
dataIndex: 'last_authorized_at',
width: 140,
},
{
title: '平台',
dataIndex: 'platform',
width: 80,
},
{
title: '账号ID',
dataIndex: 'account_id',
width: 140,
},
{
title: '手机号码',
dataIndex: 'mobile',
width: 140,
},
{
title: '运营人员',
dataIndex: 'operator.name',
width: 140,
},
{
title: '分组',
dataIndex: 'group.name',
width: 140,
},
{
title: '标签',
dataIndex: 'tags',
width: 180,
},
{
title: '操作',
dataIndex: 'operation',
width: 180,
fixed: 'right',
},
];