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

@@ -69,22 +69,18 @@ export function useGridColumns(): VxeTableGridOptions['columns'] {
{
field: 'id',
title: '任务编号',
minWidth: 100,
},
{
field: 'appName',
title: '应用编号',
minWidth: 120,
},
{
field: 'merchantOrderId',
title: '商户订单编号',
minWidth: 180,
},
{
field: 'type',
title: '通知类型',
minWidth: 120,
cellRender: {
name: 'CellDict',
props: { type: DICT_TYPE.PAY_NOTIFY_TYPE },
@@ -93,12 +89,10 @@ export function useGridColumns(): VxeTableGridOptions['columns'] {
{
field: 'dataId',
title: '关联编号',
minWidth: 120,
},
{
field: 'status',
title: '通知状态',
minWidth: 120,
cellRender: {
name: 'CellDict',
props: { type: DICT_TYPE.PAY_NOTIFY_STATUS },
@@ -107,19 +101,16 @@ export function useGridColumns(): VxeTableGridOptions['columns'] {
{
field: 'lastExecuteTime',
title: '最后通知时间',
minWidth: 180,
formatter: 'formatDateTime',
},
{
field: 'nextNotifyTime',
title: '下次通知时间',
minWidth: 180,
formatter: 'formatDateTime',
},
{
field: 'notifyTimes',
title: '通知次数',
minWidth: 120,
cellRender: {
name: 'CellTag',
props: {