fix:修改字段 对接设备告警
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
import { equipmentAlarmApi } from '/@/api/alarmManagement/equipmentAlarm';
|
||||
import { ref } from 'vue';
|
||||
|
||||
const orgId = ref('');
|
||||
const result = JSON.parse(sessionStorage.getItem('ORGID')!);
|
||||
orgId.value = result;
|
||||
|
||||
const tableKeyMap = [
|
||||
{
|
||||
@@ -20,18 +25,23 @@ const tableKeyMap = [
|
||||
{
|
||||
title: '优先级',
|
||||
dataIndex: 'priority',
|
||||
width: 80,
|
||||
},
|
||||
{
|
||||
title: '状态',
|
||||
dataIndex: 'alarmLogState',
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
title: '错误码',
|
||||
dataIndex: 'errorCode',
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
title: '设备信息',
|
||||
dataIndex: 'deviceInfo',
|
||||
width: 400,
|
||||
// textEllipsis: true,
|
||||
},
|
||||
{
|
||||
title: '更新时间',
|
||||
@@ -40,6 +50,7 @@ const tableKeyMap = [
|
||||
{
|
||||
title: '重复次数',
|
||||
dataIndex: 'alarmRepetitions',
|
||||
width: 80,
|
||||
},
|
||||
];
|
||||
export const notificationtableConfig = (look: any, status: any) => {
|
||||
@@ -155,6 +166,7 @@ export const notificationtableConfig = (look: any, status: any) => {
|
||||
},
|
||||
],
|
||||
},
|
||||
params: { orgId: orgId.value },
|
||||
// pagination: { pageSizeOptions: false },
|
||||
rowKey: 'id',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user