后台布局调整:改为左侧结构

This commit is contained in:
2024-07-18 10:14:43 +08:00
parent 9f04a67e97
commit 81006e7636
16 changed files with 6528 additions and 1086 deletions
+31 -15
View File
@@ -113,9 +113,10 @@
// 表格列配置
const columns = ref<ColumnItem[]>([
{
title: 'ID',
dataIndex: 'uid',
key: 'uid',
title: 'UID',
dataIndex: 'id',
key: 'id',
sorter: true,
width: 90
},
{
@@ -138,9 +139,10 @@
},
{
title: '性别',
dataIndex: 'sexName',
key: 'sexName',
align: 'center'
dataIndex: 'gender',
key: 'gender',
align: 'center',
customRender: ({ text }) => ['未知', '男', '女'][text]
},
{
title: '国家',
@@ -177,28 +179,42 @@
},
{
title: '积分',
dataIndex: 'points',
key: 'points',
dataIndex: 'integral',
key: 'integral',
sorter: true,
align: 'center'
},
{
title: '余额',
dataIndex: 'balance',
key: 'balance',
dataIndex: 'money',
key: 'money',
sorter: true,
align: 'center'
},
{
title: '状态',
dataIndex: 'status',
key: 'status',
title: '真实姓名',
dataIndex: 'realName',
key: 'realName',
sorter: true,
align: 'center'
},
{
title: '身份证号',
dataIndex: 'idCard',
key: 'idCard',
sorter: true,
align: 'center'
},
// {
// title: '状态',
// dataIndex: 'status',
// key: 'status',
// align: 'center'
// },
{
title: '注册时间',
dataIndex: 'addTime',
key: 'addTime',
dataIndex: 'createTime',
key: 'createTime',
align: 'center',
sorter: true,
ellipsis: true,