From e972d14a9a2443b657efb99e8fb143feacd8ad0e Mon Sep 17 00:00:00 2001 From: lai <371757574@qq.com> Date: Mon, 5 Aug 2024 15:28:16 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E8=A1=A8=E6=A0=BC=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/faultManage/active-alarm/index.vue | 61 ++++++++++---------- 1 file changed, 31 insertions(+), 30 deletions(-) diff --git a/src/views/faultManage/active-alarm/index.vue b/src/views/faultManage/active-alarm/index.vue index 6d14c9b3..1ffdb68b 100644 --- a/src/views/faultManage/active-alarm/index.vue +++ b/src/views/faultManage/active-alarm/index.vue @@ -142,30 +142,6 @@ let alarmTableState: TabeStateType = reactive({ /**表格字段列 */ let tableColumns: ColumnsType = [ - { - title: t('views.faultManage.activeAlarm.alarmId'), - dataIndex: 'alarmId', - align: 'center', - width: 5, - }, - { - title: t('views.faultManage.activeAlarm.neId'), - dataIndex: 'neId', - align: 'center', - width: 5, - }, - { - title: t('views.faultManage.activeAlarm.neName'), - dataIndex: 'neName', - align: 'center', - width: 5, - }, - { - title: t('views.faultManage.activeAlarm.neType'), - dataIndex: 'neType', - align: 'center', - width: 5, - }, { title: t('views.faultManage.activeAlarm.origLevel'), align: 'center', @@ -173,18 +149,18 @@ let tableColumns: ColumnsType = [ dataIndex: 'origSeverity', width: 5, }, - { - title: t('views.faultManage.activeAlarm.alarmCode'), - dataIndex: 'alarmCode', - align: 'center', - width: 5, - }, { title: t('views.faultManage.activeAlarm.alarmTitle'), dataIndex: 'alarmTitle', align: 'left', width: 5, }, + { + title: t('views.faultManage.activeAlarm.neType'), + dataIndex: 'neType', + align: 'center', + width: 5, + }, { title: t('views.faultManage.activeAlarm.eventTime'), dataIndex: 'eventTime', @@ -192,6 +168,12 @@ let tableColumns: ColumnsType = [ sorter: (a: any, b: any) => 1, width: 5, }, + { + title: t('views.faultManage.activeAlarm.alarmCode'), + dataIndex: 'alarmCode', + align: 'center', + width: 5, + }, { title: t('views.faultManage.activeAlarm.alarmType'), dataIndex: 'alarmType', @@ -199,12 +181,31 @@ let tableColumns: ColumnsType = [ align: 'left', width: 5, }, + { + title: t('views.faultManage.activeAlarm.neName'), + dataIndex: 'neName', + align: 'center', + width: 5, + }, + { + title: t('views.faultManage.activeAlarm.neId'), + dataIndex: 'neId', + align: 'center', + width: 5, + }, { title: t('views.faultManage.activeAlarm.pvFlag'), dataIndex: 'pvFlag', align: 'center', width: 5, }, + { + title: t('views.faultManage.activeAlarm.alarmId'), + dataIndex: 'alarmId', + align: 'center', + width: 5, + }, + { title: t('views.faultManage.activeAlarm.ackState'), dataIndex: 'ackState',