fix:修改配置设备告警字段

This commit is contained in:
zhaohy
2024-07-19 14:13:01 +08:00
parent 2f1a54a114
commit ecdcd900d3
8 changed files with 696 additions and 16 deletions

View File

@@ -204,7 +204,7 @@
title: value.errorCode,
schemas: [
{
field: 'deviceName',
field: 'deviceId',
label: '设备名称',
component: 'nsSelectApi',
componentProps: {
@@ -231,7 +231,7 @@
label: '设备点位',
component: 'nsSelectApi',
dynamicParams: {
id: 'deviceName', //帮定上级联动数据
id: 'deviceId', //帮定上级联动数据
},
componentProps: {
api: device.queryDevicePoint,
@@ -240,7 +240,7 @@
placeholder: '请选择设备点位',
labelField: 'code',
valueField: 'id',
dependency: 'deviceName',
dependency: 'deviceId',
showSearch: true,
filterOption: (input: string, option: any) => {
return option.code.toLowerCase().indexOf(input.toLowerCase()) >= 0;