Browse Source

设备管理页面代码提交

jingyuanchao 11 months ago
parent
commit
e0c83ad1a7
1 changed files with 12 additions and 5 deletions
  1. 12 5
      src/views/iot/deviceInfo/index.vue

+ 12 - 5
src/views/iot/deviceInfo/index.vue

@@ -6,7 +6,8 @@
             <el-tab-pane label="监控主机" name="dvs"></el-tab-pane>
             <el-tab-pane label="报警主机" name="alarmHost"></el-tab-pane>
             <el-tab-pane label="动环主机" name="fsu"></el-tab-pane>
-            <el-tab-pane label="网络监测设备" name="networkDevice"></el-tab-pane>
+            <el-tab-pane label="对讲主机" name="talkDevice"></el-tab-pane>
+            <el-tab-pane label="门禁主机" name="doorDevice"></el-tab-pane>
           </el-tabs>
           <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch">
             <el-form-item label="组织机构">
@@ -181,8 +182,11 @@ export default {
         { label: "DO8小时采集", value: "21"},
       ],
       //动环主机下拉查询
-      NetworkDeviceTypeList: [
+      talkDeviceTypeList: [
         { label: "对讲主机", value: "23"},
+      ],
+      //动环主机下拉查询
+      doorDeviceTypeList: [
         { label: "门禁主机", value: "24"},
       ],
       // 遮罩层
@@ -276,9 +280,12 @@ export default {
       }else if ("fsu" === this.activeName){
         this.queryParams.deviceTypeList = ["5","6","7","8","9","10","11","12","13","14","15","16","17","18","21"];
         this.deviceTypeSelectList = this.FsuDeviceTypeList;
-      }else if ("networkDevice" === this.activeName){
-        this.queryParams.deviceTypeList = ["23","24"];
-        this.deviceTypeSelectList = this.NetworkDeviceTypeList;
+      }else if ("talkDevice" === this.activeName){
+        this.queryParams.deviceTypeList = ["23"];
+        this.deviceTypeSelectList = this.talkDeviceTypeList;
+      }else if ("doorDevice" === this.activeName){
+        this.queryParams.deviceTypeList = ["24"];
+        this.deviceTypeSelectList = this.doorDeviceTypeList;
       }
       this.getList();
     },