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

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

No files matched your search

@@ -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'),
+4 -10
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;
});
}, {});
});
}
@@ -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',