소스 검색

统计分析接口增加部门id

wang_xy 2 년 전
부모
커밋
3733bfe1e9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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
         })
       },