import request from '@/utils/request' // 事件来源,类型统计 export function getEventSourceAndTypeStatistics(param) { return request({ url: '/center-fire/VisuForestCloudBigDataController/getEventSourceAndTypeStatistics', method: 'post', data: param }) } // 设备类型统计 export function getCameaCount() { return request({ url: '/center-fire/VisuForestCloudBigDataController/getCameaCount', method: 'post', }) } // 设备分布 export function getSbfb() { return request({ url: '/center-fire/VisuForestCloudBigDataController/getSbfb', method: 'post', }) } //林场分布统计 export function getLcfbtj() { return request({ url: '/center-fire/VisuForestCloudBigDataController/selectBigDataFarmDeptCount', method: 'post' }) } //起火原因统计 export function getQhyytj(param) { //暂时传当年,以后再说 if (param == null) { let myDate = new Date(); param = {day: myDate.getFullYear()} } return request({ url: '/center-fire/VisuForestCloudBigDataController/selectEventByYearGroupByFireSource', data: param, method: 'post' }) } //重点区域 export function getZdqy() { return request({ url: '/center-fire/VisuForestCloudBigDataController/selectBigDataImportareaDeptCount', method: 'post' }) } //设备上报事件数量 export function getSbsbsjsl(param) { //暂时传当年,以后再说 if (param == null) { let myDate = new Date(); param = {day: myDate.getFullYear()} } return request({ url: '/center-fire/VisuForestCloudBigDataController/getAIEventNum', data: param, method: 'post' }) } //珍惜古树 export function getZxgs() { return request({ url: '/center-fire/VisuForestCloudBigDataController/selectBigDataTreesDeptCount', method: 'post' }) } //事件趋势 export function getSjqs(param) { //暂时传当年,以后再说 if (param == null) { let myDate = new Date(); param = {day: myDate.getFullYear()} } return request({ url: '/center-fire/VisuForestCloudBigDataController/getEventTrend', data: param, method: 'post' }) } //网格分布 export function getWgfb() { return request({ url: '/center-fire/VisuForestCloudBigDataController/selectBigDataFridDeptCount', method: 'post' }) } //天气趋势 export function getTqqs(param) { if (param == null) { let myDate = new Date(); let month = myDate.getMonth() + 1; if (month < 10) { month = "0" + month } param = {day: myDate.getFullYear() + "-" + month} } return request({ url: '/center-fire/VisuForestCloudBigDataController/selectBigDataByYearMonthFegin', data: param, method: 'post' }) } //网格人员 export function getWgry() { return request({ url: '/center-fire/VisuForestCloudBigDataController/selectBigDataFridLZDeptCount', method: 'post' }) } //防火队 export function getFhd() { return request({ url: '/center-fire/VisuForestCloudBigDataController/selectBigDataFireTeamDeptCount', method: 'post' }) } //气象站 export function getQxz() { return request({ url: '/center-fire/VisuForestCloudBigDataController/selectBigDataWeatherStationDeptCount', method: 'post' }) } //综合信息 export function getZhxx(param) { //暂时传当年,以后再说 if (param == null) { let myDate = new Date(); param = {day: myDate.getFullYear()} } return request({ url: '/center-fire/VisuForestCloudBigDataController/selectBigDataZhxx', data: param, method: 'post' }) }