2025-06-25 18:26:03 +08:00
|
|
|
/*
|
|
|
|
|
* @Author: RenXiaoDong
|
|
|
|
|
* @Date: 2025-06-25 15:24:59
|
|
|
|
|
*/
|
|
|
|
|
export const INITIAL_QUERY = {
|
|
|
|
|
search: '',
|
2025-09-04 12:07:18 +08:00
|
|
|
status: undefined,
|
|
|
|
|
platform: undefined,
|
|
|
|
|
operator_id: undefined,
|
2025-06-25 18:26:03 +08:00
|
|
|
group_ids: [],
|
|
|
|
|
tag_ids: [],
|
2025-07-23 14:30:44 +08:00
|
|
|
project_ids: [],
|
2025-06-25 18:26:03 +08:00
|
|
|
};
|
|
|
|
|
|
2025-07-03 16:56:10 +08:00
|
|
|
export const INITIAL_PAGE_INFO = {
|
|
|
|
|
page: 1,
|
2025-07-14 16:39:02 +08:00
|
|
|
pageSize: 20,
|
2025-07-03 16:56:10 +08:00
|
|
|
total: 0,
|
|
|
|
|
};
|
|
|
|
|
|
2025-06-25 18:26:03 +08:00
|
|
|
export const PLATFORM_LIST = [
|
|
|
|
|
{
|
|
|
|
|
label: '抖音',
|
|
|
|
|
value: 0,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '小红书',
|
|
|
|
|
value: 1,
|
|
|
|
|
},
|
|
|
|
|
];
|
2025-09-19 15:20:17 +08:00
|
|
|
|
|
|
|
|
export const SHOW_TYPES = [
|
|
|
|
|
{
|
|
|
|
|
label: '卡片',
|
|
|
|
|
value: 'card',
|
|
|
|
|
svgName: 'svg-card',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '列表',
|
|
|
|
|
value: 'list',
|
|
|
|
|
svgName: 'svg-list',
|
|
|
|
|
},
|
|
|
|
|
];
|
2025-09-19 17:31:07 +08:00
|
|
|
|
|
|
|
|
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',
|
|
|
|
|
},
|
|
|
|
|
];
|