import request from '@/utils/request' // 获取左侧动态感知设备 export function selectDeviceType() { return request({ url: '/center-environment/VisuForestMonitorCenterController/selectDeviceType', method: 'post', }) } // 根据设备类型查看列表 export function selectCameraByDeptId(deptId) { return request({ url: '/center-environment/VisuForestMonitorCenterController/selectCameraByDeptId', method: 'post', data:{"deptId":deptId} }) } // 获取重点区域列表 export function selectKeyAreaList() { return request({ url: '/center-environment/VisuForestCloudMapController/importarealistFegin', method: 'get', }) } // 获取重点区域 export function getRegionalFlag(id) { return request({ url: '/center-environment/VisuForestCloudMapController/getRegionalFlag/'+id, method: 'get', }) } // 获取环保土壤设备列表(目前一样以后可能不一样) export function selectListDevice(param) { return request({ url: '/center-environment/VisuEnvironmentsoilController/selectListDevice', method: 'post', params:param }) } //转到固定点位 export function rotation(lng,lat,list) { // lng = '124.41986560821533'; // lat = '43.08817137032747'; return request({ url: '/center-environment/VisuForestMonitorCenterController/rotation', method: 'post', data:{ lng:lng, lat:lat, list:list } }) } //根据部门id查询部门及部门以下的数据,没有则默认查询所有 export function getSensorListByDeptId(deptId) { return request({ url: '/center-environment/VisuForestMonitorCenterController/getSensorListByDeptId?deptId=' + deptId, method: 'get', }) } //根据部门id查询部门及部门以下的数据,没有则默认查询所有 export function getDlblistBydeptId(deptId) { return request({ url: '/center-environment/VisuForestMonitorCenterController/getDlblistBydeptId?deptId=' + deptId, method: 'get', }) } /***********************************和上面方法目前一样只是入参不一样以后可能有不一样的地方 start 所以下面三个方法暂时没用到**********************/ // // 获取环保污染源设备列表 // export function selectListDevice(param) { // return request({ // url: '/center-environment/VisuEnvironmentsoilController/selectListDevice', // method: 'get', // params:param // }) // } // // // 获取环保水质设备列表 // export function selectListDevice(param) { // return request({ // url: '/center-environment/VisuEnvironmentsoilController/selectListDevice', // method: 'get', // params:param // }) // } // // // 获取环保大气设备列表 // export function selectListDevice(param) { // return request({ // url: '/center-environment/VisuEnvironmentsoilController/selectListDevice', // method: 'get', // params:param // }) // } /***********************************和上面方法目前一样只是入参不一样以后可能有不一样的地方 end 所以上面三个方法暂时没用到**********************/