Sfoglia il codice sorgente

统计分析接口增加部门id

wang_xy 2 anni fa
parent
commit
3733bfe1e9
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/views/monitor.vue

+ 1 - 1
src/views/monitor.vue

@@ -1092,7 +1092,7 @@
       //传感器2
       //传感器2
       getMonitorDeviceAndDataLists() {
       getMonitorDeviceAndDataLists() {
         let that = this
         let that = this
-        getMonitorDeviceAndDataList(null).then((res) => {
+        getMonitorDeviceAndDataList(that.deptId).then((res) => {
           that.sensorNum = res.data.length
           that.sensorNum = res.data.length
         })
         })
       },
       },