feat(account-manage): 添加表格视图并优化现有组件样式和逻辑

This commit is contained in:
rd
2025-09-19 17:31:07 +08:00
parent 7846e02447
commit a4ce67cd18
5 changed files with 401 additions and 123 deletions

View File

@ -41,3 +41,63 @@ export const SHOW_TYPES = [
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',
},
];