瀏覽代碼

[Mod 0000] 安全监控小调度添加设备id查询条件

hongrunxia 5 天之前
父節點
當前提交
1047b2be70
共有 1 個文件被更改,包括 16 次插入16 次删除
  1. 16 16
      src/views/vent/monitorManager/safetySensorMonitor/AlarmHistoryTable.vue

+ 16 - 16
src/views/vent/monitorManager/safetySensorMonitor/AlarmHistoryTable.vue

@@ -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: {