perf: 优化显示效果 及 formatter row cellvalue的区分

This commit is contained in:
xingyu4j
2025-05-29 14:52:03 +08:00
parent 8be5c19154
commit b4a77266a1
40 changed files with 12 additions and 302 deletions

View File

@@ -65,50 +65,41 @@ export function useGridColumns(): VxeTableGridOptions['columns'] {
{
field: 'id',
title: '提现单编号',
minWidth: 100,
},
{
field: 'subject',
title: '提现标题',
minWidth: 120,
},
{
field: 'type',
title: '提现类型',
minWidth: 90,
slots: { default: 'type' },
},
{
field: 'price',
title: '提现金额',
minWidth: 120,
formatter: 'formatNumber',
},
{
field: 'userName',
title: '收款人姓名',
minWidth: 150,
},
{
field: 'userAccount',
title: '收款人账号',
minWidth: 250,
},
{
field: 'status',
title: '提现状态',
minWidth: 100,
slots: { default: 'status' },
},
{
field: 'payTransferId',
title: '转账单号',
minWidth: 120,
},
{
field: 'transferChannelCode',
title: '转账渠道',
minWidth: 180,
cellRender: {
name: 'CellDict',
props: { type: DICT_TYPE.PAY_CHANNEL_CODE },
@@ -117,13 +108,11 @@ export function useGridColumns(): VxeTableGridOptions['columns'] {
{
field: 'transferTime',
title: '转账时间',
minWidth: 180,
formatter: 'formatDateTime',
},
{
field: 'transferErrorMsg',
title: '转账失败原因',
minWidth: 200,
},
{
title: '操作',