import request from '@/utils/request' // 获取左侧动态感知设备 export function selectDeviceType() { return request({ url: '/center-fire/VisuForestMonitorCenterController/selectDeviceType', method: 'post', }) } // 根据设备类型查看列表 export function selectCameraByDeptId(deptId) { return request({ url: '/center-fire/VisuForestMonitorCenterController/selectCameraByDeptId', method: 'post', data:{"deptId":deptId} }) } // 获取重点区域列表 export function selectKeyAreaList() { return request({ url: '/center-fire/VisuForestCloudMapController/importarealistFegin', method: 'get', }) } // 获取重点区域 export function getRegionalFlag(id) { return request({ url: '/center-fire/VisuForestCloudMapController/getRegionalFlag/'+id, method: 'get', }) } // // 查询部门经纬度在摄像头半径范围内的摄像头列表(暂时不用 但不要删除) // export function findCameraByDept(deptId) { // return request({ // url: '/center-fire/VisuForestEventCenterController/findCameraByDept', // method: 'post', // data: {deptId:deptId,type:'1'} // }) // } //获取点位周边摄像头 export function findCameraByEventCoordinate(longitude,latitude) { longitude = '124.41986560821533'; latitude = '43.08817137032747'; return request({ url: '/center-fire/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-fire/VisuForestMonitorCenterController/rotation', method: 'post', data:{ lng:lng, lat:lat, list:list } }) }