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