Jelajahi Sumber

提交代码

JX.Li 3 bulan lalu
induk
melakukan
0069d86e8f
3 mengubah file dengan 3 tambahan dan 3 penghapusan
  1. 1 1
      src/api/leader.js
  2. 1 1
      src/api/monitor.js
  3. 1 1
      src/views/forest.vue

+ 1 - 1
src/api/leader.js

@@ -39,7 +39,7 @@ export function getPlanList(userId) {
   return request({
     url: '/center-data/task/getPlanList',
     method: 'post',
-    data: {userId:userId,type:'1'}
+    data: {userId:userId,type:'21'}
   })
 }
 

+ 1 - 1
src/api/monitor.js

@@ -100,7 +100,7 @@ export function getCamerasByDeptId(deptId) {
 //根据部门id查询部门及部门以下的数据,没有则默认查询所有
 export function getSensorListByDeptId(deptId) {
   return request({
-    url: '/center-monitor/device/getSensorListByDeptId?deptId=' +deptId +'&type=1',
+    url: '/center-monitor/device/getSensorListByDeptId?deptId=' +deptId +'&type=21',
     method: 'get',
   })
 }

+ 1 - 1
src/views/forest.vue

@@ -554,7 +554,7 @@
         const params = Object.assign({})
         params.longitude = this.positioning.lon;
         params.latitude = this.positioning.lat;
-        params.type = '1'
+        params.type = '21'
         initByCameras(params).then(res => {
           if (res.data != null && res.data.length != 0) {
             this.$refs.TVWall.showTVWall1(this.positioning.lon, this.positioning.lat, res.data);