Explorar o código

监控中心云广播显示问题

wang_xy %!s(int64=2) %!d(string=hai) anos
pai
achega
265227bd5a
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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) {