feat: stationName in AlarmPage
This commit is contained in:
@@ -75,6 +75,14 @@ const tableColumns: DataTableColumns<NdmDeviceAlarmLogResultVO> = [
|
||||
return dayjs(Number(rowData.alarmDate ?? 0)).format('YYYY-MM-DD HH:mm:ss');
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '车站',
|
||||
key: 'stationName',
|
||||
render: (rowData) => {
|
||||
const station = stationList.value.find((item) => item.code === rowData.stationCode);
|
||||
return station?.name || '-';
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '设备类型',
|
||||
key: 'deviceType',
|
||||
|
||||
Reference in New Issue
Block a user