服务指令、长者标签镜像日志:只保留同步结果字段

This commit is contained in:
1378012178@qq.com 2025-10-23 16:11:32 +08:00
parent fbcd256293
commit 11631ee6b0
1 changed files with 22 additions and 22 deletions

View File

@ -33,7 +33,7 @@ export const asyncMaincolumns: BasicColumn[] = [
}
},
{
title: '业务字段',
title: '同步结果',
align: 'center',
dataIndex: 'dataStatus',
width: '120px',
@ -42,16 +42,16 @@ export const asyncMaincolumns: BasicColumn[] = [
return dataItem ? (dataItem.status === '200' ? '成功' : '失败') : '-';
}
},
{
title: '指令资源',
align: 'center',
dataIndex: 'fileStatus',
width: '120px',
customRender: ({ record }) => {
const fileItem = record.asyncStatusList?.find(item => item.code === 'file');
return fileItem ? (fileItem.status === '200' ? '成功' : '失败') : '-';
}
},
// {
// title: '指令资源',
// align: 'center',
// dataIndex: 'fileStatus',
// width: '120px',
// customRender: ({ record }) => {
// const fileItem = record.asyncStatusList?.find(item => item.code === 'file');
// return fileItem ? (fileItem.status === '200' ? '成功' : '失败') : '-';
// }
// },
];
export const asyncMaincolumnsElderTag: BasicColumn[] = [
@ -83,7 +83,7 @@ export const asyncMaincolumnsElderTag: BasicColumn[] = [
}
},
{
title: '数据',
title: '同步结果',
align: 'center',
dataIndex: 'dataStatus',
width: '120px',
@ -92,16 +92,16 @@ export const asyncMaincolumnsElderTag: BasicColumn[] = [
return dataItem ? (dataItem.status === '200' ? '成功' : '失败') : '-';
}
},
{
title: '文件',
align: 'center',
dataIndex: 'fileStatus',
width: '120px',
customRender: ({ record }) => {
const fileItem = record.asyncStatusList?.find(item => item.code === 'file');
return fileItem ? (fileItem.status === '200' ? '成功' : '失败') : '-';
}
},
// {
// title: '文件',
// align: 'center',
// dataIndex: 'fileStatus',
// width: '120px',
// customRender: ({ record }) => {
// const fileItem = record.asyncStatusList?.find(item => item.code === 'file');
// return fileItem ? (fileItem.status === '200' ? '成功' : '失败') : '-';
// }
// },
];
//子列表数据