fix:修改设备告警 能源告警字段 对接 能碳告警
This commit is contained in:
@@ -171,7 +171,7 @@
|
||||
dataIndex: 'abnormalDescription',
|
||||
},
|
||||
{
|
||||
title: '启用通知',
|
||||
title: '启用状态',
|
||||
dataIndex: 'enableRules',
|
||||
},
|
||||
],
|
||||
@@ -205,7 +205,7 @@
|
||||
title: value.errorCode,
|
||||
schemas: [
|
||||
{
|
||||
field: 'deviceId',
|
||||
field: 'deviceInfoCode',
|
||||
label: '设备名称',
|
||||
component: 'nsSelectApi',
|
||||
componentProps: {
|
||||
@@ -219,7 +219,7 @@
|
||||
placeholder: '请选择设备名称',
|
||||
resultField: 'data.records',
|
||||
labelField: 'deviceName',
|
||||
valueField: 'id',
|
||||
valueField: 'deviceInfoCode',
|
||||
showSearch: true,
|
||||
filterOption: (input: string, option: any) => {
|
||||
return option.deviceName.toLowerCase().indexOf(input.toLowerCase()) >= 0;
|
||||
@@ -232,7 +232,7 @@
|
||||
label: '设备点位',
|
||||
component: 'nsSelectApi',
|
||||
dynamicParams: {
|
||||
id: 'deviceId', //帮定上级联动数据
|
||||
deviceCode: 'deviceInfoCode', //帮定上级联动数据
|
||||
},
|
||||
componentProps: {
|
||||
api: device.queryDevicePoint,
|
||||
@@ -241,7 +241,7 @@
|
||||
placeholder: '请选择设备点位',
|
||||
labelField: 'code',
|
||||
valueField: 'id',
|
||||
dependency: 'deviceId',
|
||||
dependency: 'deviceInfoCode',
|
||||
showSearch: true,
|
||||
filterOption: (input: string, option: any) => {
|
||||
return option.code.toLowerCase().indexOf(input.toLowerCase()) >= 0;
|
||||
|
Reference in New Issue
Block a user