1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- import request from '@/utils/request'
- // 获取左侧动态感知设备
- export function selectDeviceType() {
- return request({
- url: '/center-resources/VisuForestMonitorCenterController/selectDeviceType',
- method: 'post',
- })
- }
- // 根据设备类型查看列表
- export function selectCameraByDeptId(deptId) {
- return request({
- url: '/center-resources/VisuForestMonitorCenterController/selectCameraByDeptId',
- method: 'post',
- data:{"deptId":deptId}
- })
- }
- // 获取重点区域列表
- export function selectKeyAreaList() {
- return request({
- url: '/center-resources/VisuForestCloudMapController/importarealistFegin',
- method: 'get',
- })
- }
- // 获取重点区域
- export function getRegionalFlag(id) {
- return request({
- url: '/center-resources/VisuForestCloudMapController/getRegionalFlag/'+id,
- method: 'get',
- })
- }
- //获取点位周边摄像头
- export function findCameraByEventCoordinate(longitude,latitude) {
- // longitude = '124.41986560821533';
- // latitude = '43.08817137032747';
- return request({
- url: '/center-resources/VisuForestMonitorCenterController/findCameraByEventCoordinate?longitude='+longitude+"&latitude="+latitude+"&type=1",
- method: 'get',
- })
- }
- //转到固定点位
- export function rotation(lng,lat,list) {
- // lng = '124.41986560821533';
- // lat = '43.08817137032747';
- return request({
- url: '/center-resources/VisuForestMonitorCenterController/rotation',
- method: 'post',
- data:{
- lng:lng,
- lat:lat,
- list:list
- }
- })
- }
- //根据部门ID获取具有查看权限的摄像头
- export function getCamerasByDeptId(deptId) {
- return request({
- url: '/center-resources/VisuForestMonitorCenterController/getCamerasByDeptId?deptId=' + deptId,
- method: 'get',
- })
- }
|