Pārlūkot izejas kodu

监控中心云广播显示问题

wang_xy 2 gadi atpakaļ
vecāks
revīzija
265227bd5a
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      src/views/monitor.vue

+ 2 - 2
src/views/monitor.vue

@@ -366,7 +366,7 @@
       //传感器2
       getMonitorDeviceAndDataLists() {
         let that = this;
-        getMonitorDeviceAndDataList(this.deptId).then((res) => {
+        getMonitorDeviceAndDataList(that.deptId).then((res) => {
           that.sensorNum = res.data.length;
         });
       },
@@ -485,7 +485,7 @@
         let markersList = [];
         getDlblistBydeptId(that.deptId)
           .then(function(res) {
-            that.loudspeakerNum = res.data.length;
+            // that.loudspeakerNum = res.data.length;
             that.visuForestCloudCameraBOListSearch = [];
             that.visuForestCloudCameraBOList=[];
             if (res.data != null && res.data.length > 0) {