add:配置设备告警对接接口 对接告警配置 里面的数据来源 设备节点
This commit is contained in:
@@ -123,7 +123,7 @@ export const equipmentAlarmTableConfig = (
|
||||
confirm: true,
|
||||
handle: (data: any) => {
|
||||
http.post(deviceAlarms.del, { id: data.id }).then(() => {
|
||||
NsMessage.success('操作成功');
|
||||
NsMessage.success('告警删除成功');
|
||||
mainRefEquipmentAlarm.value?.nsTableRef.reload();
|
||||
});
|
||||
},
|
||||
@@ -139,6 +139,7 @@ export const equipmentAlarmTableConfig = (
|
||||
component: 'NsSelect',
|
||||
componentProps: {
|
||||
placeholder: '请选择告警优先级',
|
||||
allowClear: true,
|
||||
options: [
|
||||
{
|
||||
label: '紧急',
|
||||
@@ -160,6 +161,7 @@ export const equipmentAlarmTableConfig = (
|
||||
label: '告警标题',
|
||||
component: 'NsInput',
|
||||
componentProps: {
|
||||
allowClear: true,
|
||||
placeholder: '请输入告警标题关键字',
|
||||
},
|
||||
},
|
||||
@@ -168,6 +170,7 @@ export const equipmentAlarmTableConfig = (
|
||||
label: '错误码',
|
||||
component: 'NsInput',
|
||||
componentProps: {
|
||||
allowClear: true,
|
||||
placeholder: '请输入错误码关键字',
|
||||
},
|
||||
},
|
||||
@@ -177,6 +180,7 @@ export const equipmentAlarmTableConfig = (
|
||||
component: 'NsSelect',
|
||||
componentProps: {
|
||||
placeholder: '请选择启用状态',
|
||||
allowClear: true,
|
||||
options: [
|
||||
{
|
||||
label: '启用',
|
||||
|
Reference in New Issue
Block a user