fix:修改计划添加页面 根据ui修改页面

This commit is contained in:
zhaohy
2024-08-12 15:33:23 +08:00
parent dbdf3da68a
commit e7642fe14c
21 changed files with 408 additions and 218 deletions

View File

@@ -14,10 +14,12 @@ const tableKeyMap = [
customRender: (text: any) => {
return text.index + 1;
},
width: 80,
},
{
title: '优先级',
dataIndex: 'priority',
width: 120,
},
{
title: '告警标题',
@@ -26,26 +28,32 @@ const tableKeyMap = [
{
title: '错误码',
dataIndex: 'errorCode',
width: 120,
},
{
title: '告警频率',
dataIndex: 'alarmFrequency',
width: 120,
},
{
title: '重复次数',
dataIndex: 'repetitions',
width: 120,
},
{
title: '频率间隔',
dataIndex: 'interval',
width: 120,
},
{
title: '监测时长',
dataIndex: 'monitorFrequency',
width: 120,
},
{
title: '是否启用',
dataIndex: 'enableRules',
width: 140,
},
];
const doWnload = (url: any) => {
@@ -103,9 +111,13 @@ export const energyAlarmConfigs = (
},
],
columns: tableKeyMap,
scroll: { x: 1800 },
// rowSelection: null, 选择按钮
columnActions: {
title: '操作',
width: 250,
fixed: 'right',
dataIndex: 'tableAction',
actions: [
{
label: '编辑',