Explorar o código

统计分析接口增加部门id

wang_xy %!s(int64=2) %!d(string=hai) anos
pai
achega
3733bfe1e9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/monitor.vue

+ 1 - 1
src/views/monitor.vue

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