|
@@ -210,22 +210,22 @@
|
|
|
span: 4,
|
|
|
},
|
|
|
},
|
|
|
- // {
|
|
|
- // label: '查询设备',
|
|
|
- // field: 'deviceId',
|
|
|
- // component: 'Select',
|
|
|
- // defaultValue: deviceOptions.value[0] ? deviceOptions.value[0]['value'] : '',
|
|
|
- // componentProps: {
|
|
|
- // showSearch: true,
|
|
|
- // filterOption: (input: string, option: any) => {
|
|
|
- // return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0;
|
|
|
- // },
|
|
|
- // options: deviceOptions,
|
|
|
- // },
|
|
|
- // colProps: {
|
|
|
- // span: 4,
|
|
|
- // },
|
|
|
- // },
|
|
|
+ {
|
|
|
+ label: '查询设备',
|
|
|
+ field: 'deviceId',
|
|
|
+ component: 'Select',
|
|
|
+ defaultValue: deviceOptions.value[0] ? deviceOptions.value[0]['value'] : '',
|
|
|
+ componentProps: {
|
|
|
+ showSearch: true,
|
|
|
+ filterOption: (input: string, option: any) => {
|
|
|
+ return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0;
|
|
|
+ },
|
|
|
+ options: deviceOptions,
|
|
|
+ },
|
|
|
+ colProps: {
|
|
|
+ span: 4,
|
|
|
+ },
|
|
|
+ },
|
|
|
],
|
|
|
},
|
|
|
fetchSetting: {
|