28 lines
699 B
JavaScript
28 lines
699 B
JavaScript
import axios from 'axios';
|
|
|
|
// 江河水点位
|
|
|
|
export const getRiverPoint = function () {
|
|
return axios.get('/waterFunctionArea/surfaceWaterPoint')
|
|
}
|
|
|
|
// 自治区
|
|
export const getRiverProvicePoint = function () {
|
|
return axios.get('/waterFunctionArea/autonomousWaterFunctionAreaPoint')
|
|
}
|
|
|
|
// 国家级
|
|
export const getRiverNationalPoint = function () {
|
|
return axios.get('/waterFunctionArea/nationalLevelWaterFunctionAreaPoint')
|
|
}
|
|
|
|
// 水站
|
|
export const getRiverStationPoint = function () {
|
|
return axios.get('/waterFunctionArea/WaterStationPoint')
|
|
}
|
|
|
|
// 统计图表
|
|
export const riverWaterTrend = function (data) {
|
|
return axios.post('/waterFunctionArea/trendChart/data',data)
|
|
}
|