|
@@ -3,13 +3,8 @@ import Cookies from 'js-cookie'
|
|
|
|
|
|
// 事件来源
|
|
|
export function getSjlylxtj(param) {
|
|
|
- //暂时传当年,以后再说
|
|
|
- if (param == null) {
|
|
|
- let myDate = new Date();
|
|
|
- param = {day: myDate.getFullYear()}
|
|
|
- }
|
|
|
return request({
|
|
|
- url: '/center-environment/VisuForestCloudBigDataController/getEventSourceAndTypeStatistics',
|
|
|
+ url: '/center-event/eventreport/getEventSourceAndTypeStatistics',
|
|
|
data: param,
|
|
|
method: 'post',
|
|
|
})
|
|
@@ -19,7 +14,7 @@ export function getSjlylxtj(param) {
|
|
|
//污染源分布统计
|
|
|
export function getWryfbtj() {
|
|
|
return request({
|
|
|
- url: '/center-environment/VisuForestCloudBigDataController/selectBigDataSourcepollutionDeptCount',
|
|
|
+ url: '/center-data/environmentBigData/selectBigDataSourcepollutionDeptCount',
|
|
|
method: 'post',
|
|
|
})
|
|
|
}
|
|
@@ -33,14 +28,16 @@ export function getSblxtj() {
|
|
|
}
|
|
|
|
|
|
//综合信息
|
|
|
-export function getZhxx(param) {
|
|
|
- //暂时传当年,以后再说
|
|
|
- if (param == null) {
|
|
|
- let myDate = new Date();
|
|
|
- param = {day: myDate.getFullYear()}
|
|
|
- }
|
|
|
+export function getTotal(param) {
|
|
|
+ return request({
|
|
|
+ url: '/center-event/eventreport/getTotal',
|
|
|
+ data: param,
|
|
|
+ method: 'post',
|
|
|
+ })
|
|
|
+}
|
|
|
+export function getEnvironmentTotal(param) {
|
|
|
return request({
|
|
|
- url: '/center-environment/VisuForestCloudBigDataController/selectBigDataZhxx',
|
|
|
+ url: '/center-data/environmentBigData/getEnvironmentTotal',
|
|
|
data: param,
|
|
|
method: 'post',
|
|
|
})
|
|
@@ -69,22 +66,18 @@ export function getQhyytj(param) {
|
|
|
}
|
|
|
|
|
|
//重点区域
|
|
|
-export function getZdqy() {
|
|
|
+export function getZdqy(data) {
|
|
|
return request({
|
|
|
- url: '/center-environment/VisuForestCloudBigDataController/selectBigDataImportareaDeptCount',
|
|
|
+ url: '/center-data/environmentBigData/selectBigDataImportareaDeptCount',
|
|
|
method: 'post',
|
|
|
+ data:data
|
|
|
})
|
|
|
}
|
|
|
|
|
|
//设备上报事件数量
|
|
|
export function getSbsbsjsl(param) {
|
|
|
- //暂时传当年,以后再说
|
|
|
- if (param == null) {
|
|
|
- let myDate = new Date();
|
|
|
- param = {day: myDate.getFullYear()}
|
|
|
- }
|
|
|
return request({
|
|
|
- url: '/center-environment/VisuForestCloudBigDataController/getAIEventNum',
|
|
|
+ url: '/center-event/eventreport/getAIEventNum',
|
|
|
data: param,
|
|
|
method: 'post',
|
|
|
})
|
|
@@ -93,20 +86,16 @@ export function getSbsbsjsl(param) {
|
|
|
//重点企业
|
|
|
export function getZdqiye() {
|
|
|
return request({
|
|
|
- url: '/center-environment/VisuForestCloudBigDataController/selectBigDataKeyenterpriseDeptCount',
|
|
|
+ url: '/center-data/environmentBigData/selectBigDataKeyenterpriseDeptCount',
|
|
|
method: 'post',
|
|
|
})
|
|
|
}
|
|
|
|
|
|
//事件趋势
|
|
|
export function getSjqs(param) {
|
|
|
- //暂时传当年,以后再说
|
|
|
- if (param == null) {
|
|
|
- let myDate = new Date();
|
|
|
- param = {day: myDate.getFullYear()}
|
|
|
- }
|
|
|
+
|
|
|
return request({
|
|
|
- url: '/center-environment/VisuForestCloudBigDataController/getEventTrend',
|
|
|
+ url: '/center-event/eventreport/getEventTrend',
|
|
|
data: param,
|
|
|
method: 'post',
|
|
|
})
|
|
@@ -132,7 +121,7 @@ export function getTqqs(param) {
|
|
|
param = {day: myDate.getFullYear() + "-" + month}
|
|
|
}
|
|
|
return request({
|
|
|
- url: '/center-environment/VisuForestCloudBigDataController/selectBigDataByYearMonthFegin',
|
|
|
+ url: '/center-data/environmentBigData/selectBigDataByYearMonthFegin',
|
|
|
data:param,
|
|
|
method: 'post',
|
|
|
})
|
|
@@ -153,7 +142,7 @@ export function getRlt(param) {
|
|
|
param = {day: myDate.getFullYear()}
|
|
|
}
|
|
|
return request({
|
|
|
- url: '/center-environment/VisuForestCloudBigDataController/getHeatMap',
|
|
|
+ url: '/center-event/eventreport/getHeatMap',
|
|
|
method: 'post',
|
|
|
data : param
|
|
|
})
|
|
@@ -162,73 +151,73 @@ export function getRlt(param) {
|
|
|
//车辆信息统计
|
|
|
export function selectCarCount(data) {
|
|
|
return request({
|
|
|
- url: '/center-fire/VisuForestCloudBigDataController/selectCarCount',
|
|
|
- method: 'get',
|
|
|
- params:data
|
|
|
+ url: '/center-data/forestbigdataView/selectCarCount',
|
|
|
+ method: 'post',
|
|
|
+ data:data
|
|
|
})
|
|
|
}
|
|
|
|
|
|
//大数据查询 大气环境数据的走势以月、年进行统计分析
|
|
|
export function findAtmosphereByYear() {
|
|
|
return request({
|
|
|
- url: '/center-environment/VisuForestCloudBigDataController/findAtmosphereByYear',
|
|
|
- method: 'post'
|
|
|
+ url: '/center-data/environmentBigData/findDataByYear',
|
|
|
+ method: 'get'
|
|
|
})
|
|
|
}
|
|
|
|
|
|
//大数据查询 大气环境数据的走势以日、月进行统计分析
|
|
|
export function findAtmosphereByMonth() {
|
|
|
return request({
|
|
|
- url: '/center-environment/VisuForestCloudBigDataController/findAtmosphereByMonth',
|
|
|
- method: 'post'
|
|
|
+ url: '/center-data/environmentBigData/findDataByMonth',
|
|
|
+ method: 'get'
|
|
|
})
|
|
|
}
|
|
|
|
|
|
//大数据查询 污染源数据的走势以月、年进行统计分析
|
|
|
export function findPollutionByYear() {
|
|
|
return request({
|
|
|
- url: '/center-environment/VisuForestCloudBigDataController/findPollutionByYear',
|
|
|
- method: 'post'
|
|
|
+ url: '/center-data/environmentBigData/pollutionFindDataByYear',
|
|
|
+ method: 'get'
|
|
|
})
|
|
|
}
|
|
|
|
|
|
//大数据查询 污染源数据的走势以日、月进行统计分析
|
|
|
export function findPollutionByMonth() {
|
|
|
return request({
|
|
|
- url: '/center-environment/VisuForestCloudBigDataController/findPollutionByMonth',
|
|
|
- method: 'post'
|
|
|
+ url: '/center-data/environmentBigData/pollutionFindDataByMonth',
|
|
|
+ method: 'get'
|
|
|
})
|
|
|
}
|
|
|
|
|
|
//大数据查询 土壤数据的走势以月、年进行统计分析
|
|
|
export function findSoilByYear() {
|
|
|
return request({
|
|
|
- url: '/center-environment/VisuForestCloudBigDataController/findSoilByYear',
|
|
|
- method: 'post'
|
|
|
+ url: '/center-data/environmentBigData/soilFindDataByYear',
|
|
|
+ method: 'get'
|
|
|
})
|
|
|
}
|
|
|
|
|
|
//大数据查询 土壤数据的走势以日、月进行统计分析
|
|
|
export function findSoilByMonth() {
|
|
|
return request({
|
|
|
- url: '/center-environment/VisuForestCloudBigDataController/findSoilByMonth',
|
|
|
- method: 'post'
|
|
|
+ url: '/center-data/environmentBigData/soilFindDataByMonth',
|
|
|
+ method: 'get'
|
|
|
})
|
|
|
}
|
|
|
|
|
|
//大数据查询 水质监测数据的走势以月、年进行统计分析
|
|
|
export function findWaterqualityByYear() {
|
|
|
return request({
|
|
|
- url: '/center-environment/VisuForestCloudBigDataController/findWaterqualityByYear',
|
|
|
- method: 'post'
|
|
|
+ url: '/center-data/environmentBigData/waterQualityFindDataByYear',
|
|
|
+ method: 'get'
|
|
|
})
|
|
|
}
|
|
|
|
|
|
//大数据查询 水质监测数据的走势以日、月进行统计分析
|
|
|
export function findWaterqualityByMonth() {
|
|
|
return request({
|
|
|
- url: '/center-environment/VisuForestCloudBigDataController/findWaterqualityByMonth',
|
|
|
- method: 'post'
|
|
|
+ url: '/center-data/environmentBigData/waterQualityFindDataByMonth',
|
|
|
+ method: 'get'
|
|
|
})
|
|
|
}
|
|
|
|