fix: 告警事件导出异常/告警ID列移除

This commit is contained in:
TsMask
2025-03-17 18:40:38 +08:00
parent 69cf72af22
commit c91f3e7927
3 changed files with 4 additions and 22 deletions

View File

@@ -194,12 +194,6 @@ let tableColumns: ColumnsType = [
align: 'left',
width: 100,
},
{
title: t('views.faultManage.activeAlarm.alarmId'),
dataIndex: 'alarmId',
align: 'left',
width: 100,
},
{
title: t('views.faultManage.activeAlarm.ackState'),

View File

@@ -118,29 +118,23 @@ let tableState: TabeStateType = reactive({
/**表格字段列 */
let tableColumns: ColumnsType = [
{
title: t('views.faultManage.activeAlarm.alarmId'),
dataIndex: 'alarmId',
align: 'left',
width: 200,
},
{
title: t('views.faultManage.activeAlarm.neId'),
dataIndex: 'neId',
align: 'left',
width: 100,
width: 150,
},
{
title: t('views.faultManage.activeAlarm.neName'),
dataIndex: 'neName',
align: 'left',
width: 100,
width: 150,
},
{
title: t('views.faultManage.activeAlarm.neType'),
dataIndex: 'neType',
align: 'left',
width: 100,
width: 150,
},
{
title: t('views.faultManage.activeAlarm.alarmCode'),
@@ -308,7 +302,7 @@ function mapKeysWithReduce(data: any, titleMapping: any) {
const title = titleMapping[key] || key;
newItem[title] = item[key];
return newItem;
});
}, {});
});
}

View File

@@ -122,12 +122,6 @@ let tableState: TabeStateType = reactive({
/**表格字段列 */
let tableColumns: ColumnsType = [
{
title: t('views.faultManage.activeAlarm.alarmId'),
dataIndex: 'alarmId',
align: 'left',
width: 100,
},
{
title: t('views.faultManage.activeAlarm.neId'),
dataIndex: 'neId',