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

@@ -145,6 +145,7 @@
customRender: (text: any) => {
return text.index + 1;
},
width: 80,
},
{
title: '规则id',
@@ -157,6 +158,7 @@
{
title: '告警点位',
dataIndex: 'devicePointName',
width: 120,
},
{
title: '判断条件',
@@ -165,6 +167,7 @@
{
title: '取值类型',
dataIndex: 'valueType',
width: 140,
},
{
title: '异常描述',
@@ -173,11 +176,16 @@
{
title: '启用状态',
dataIndex: 'enableRules',
width: 120,
},
],
// rowSelection: null, 选择按钮
scroll: { x: 2500 },
columnActions: {
title: '操作',
width: 200,
fixed: 'right',
dataIndex: 'tableAction',
actions: [
{
label: '编辑',
@@ -304,24 +312,25 @@
background-color: linear-gradient(
180deg,
rgba(1, 206, 255, 1) 0%,
rgba(0, 150, 229, 1) 100%
rgba(57, 215, 187, 1) 100%
) !important;
}
.grey-background.ant-switch {
background-color: grey !important;
background-color: rgba(238, 238, 238, 1) !important;
}
.blue-background.ant-switch-checked .ant-switch-handle {
background-color: linear-gradient(
180deg,
rgba(1, 206, 255, 1) 0%,
rgba(0, 150, 229, 1) 100%
rgba(57, 215, 187, 1) 100%
) !important;
}
.ant-switch-checked {
background-color: rgba(57, 215, 187, 1) !important;
}
.grey-background.ant-switch .ant-switch-handle {
background-color: grey !important;
background-color: rgba(238, 238, 238, 1) !important;
}
</style>
../../../../api/alarmManagement/alarmSettings/deviceAlarms