JX.Li 1 месяц назад
Родитель
Сommit
294ae2b90d
4 измененных файлов с 12 добавлено и 12 удалено
  1. 1 1
      src/api/bigdata.js
  2. 1 1
      src/api/leader.js
  3. 9 9
      src/api/monitor.js
  4. 1 1
      src/views/monitor.vue

+ 1 - 1
src/api/bigdata.js

@@ -56,7 +56,7 @@ export function selectDeviceType() {
     url: '/center-monitor/camera/selectDeviceType',
     method: 'post',
     data: {
-      type: 1,
+      type: 18,
       deptId: Cookies.get("deptId")
     }
   })

+ 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:'21'}
+    data: {userId:userId,type:'18'}
   })
 }
 

+ 9 - 9
src/api/monitor.js

@@ -14,7 +14,7 @@ export function selectCameraByDeptId(deptId) {
     url: '/center-monitor/camera/selectCameraByDeptId',
     method: 'post',
     data:{"deptId":deptId,
-      type:21}
+      type:18}
   })
 }
 
@@ -67,17 +67,17 @@ export function getRegionalFlag(id) {
 
 //获取点位周边摄像头
 export function findCameraByEventCoordinate(longitude,latitude) {
-  // longitude = '124.41986560821533';
+  // longitude = '124.41986560818533';
   // latitude = '43.08817137032747';
   return request({
-    url: '/center-fire/VisuForestMonitorCenterController/findCameraByEventCoordinate?longitude='+longitude+"&latitude="+latitude+"&type=1",
+    url: '/center-fire/VisuForestMonitorCenterController/findCameraByEventCoordinate?longitude='+longitude+"&latitude="+latitude+"&type=18",
     method: 'get',
   })
 }
 
 //转到固定点位
 export function rotation(lng,lat,list) {
-  // lng = '124.41986560821533';
+  // lng = '124.41986560818533';
   // lat = '43.08817137032747';
   return request({
     url: '/center-monitor/DahuaController/rotation?lng='+lng+'&lat='+lat+'&list='+list,
@@ -100,7 +100,7 @@ export function getCamerasByDeptId(deptId) {
 //根据部门id查询部门及部门以下的数据,没有则默认查询所有
 export function getSensorListByDeptId(deptId) {
   return request({
-    url: '/center-monitor/device/getSensorListByDeptId?deptId=' +deptId +'&type=21',
+    url: '/center-monitor/device/getSensorListByDeptId?deptId=' +deptId +'&type=18',
     method: 'get',
   })
 }
@@ -123,9 +123,9 @@ export function getSensorListByDeptId(deptId) {
 export function getDlblistBydeptId(deptId) {
   let url = "";
   if(deptId!=null){
-    url= '/center-monitor/broadcast/getDlblistBydeptId?deptId=' + deptId+"&type=21";
+    url= '/center-monitor/broadcast/getDlblistBydeptId?deptId=' + deptId+"&type=18";
   }else{
-    url= '/center-monitor/broadcast/getDlblistBydeptId?type=21';
+    url= '/center-monitor/broadcast/getDlblistBydeptId?type=18';
   }
   return request({
     url: url,
@@ -137,9 +137,9 @@ export function getDlblistBydeptId(deptId) {
 export function getMonitorDeviceAndDataList(deptId) {
   let url = "";
   if(deptId!=null){
-    url= '/center-monitor/device/getMonitorDeviceAndDataList?deptId=' + deptId+"&type=21";
+    url= '/center-monitor/device/getMonitorDeviceAndDataList?deptId=' + deptId+"&type=18";
   }else{
-    url= '/center-monitor/device/getMonitorDeviceAndDataList?type=21';
+    url= '/center-monitor/device/getMonitorDeviceAndDataList?type=18';
   }
   return request({
     url: url,

+ 1 - 1
src/views/monitor.vue

@@ -1345,7 +1345,7 @@ export default {
       this.localMark = 'She'
       this.deptId = Cookies.get("deptId")
       let that = this;
-      selectDeviceType({deptId:this.deptId,type:21}).then((res) => {
+      selectDeviceType({deptId:this.deptId,type:18}).then((res) => {
         that.cameraMarkersList = [];
         that.visuForestCloudMapDeviceBOList = res.data.visuForestCloudMapDeviceBOList;