import axios from 'axios';

// 湖库断面，区域
export const getLakeDropdown = function () {
    return axios.get(`/lakeLibrary/lakeCityDict/list`)
}

// 湖库专湖断面，区域
export const getSpecialLakeDropdown = function () {
    return axios.get(`/lakeLibrary/lakeSpecialDict/specialDictPage`)
}



// 湖库水质分析城市内湖原始数据接口
export const cityOriginalUrl = '/lakeLibrary/wateAnalysis/city/originalData'
export const cityOriginalData = function (data) {
    return axios.post(cityOriginalUrl,data)
}

//城市内湖综合营养指数接口
export const cityComprehensiveNutritionUrl = '/lakeLibrary/wateAnalysis/city/comprehensiveNutrition';
export const cityComprehensiveNutritionData = function (data) {
    return axios.post(cityComprehensiveNutritionUrl,data)
}


// 城市内湖平均数据接口
export const cityAverageUrl = '/lakeLibrary/wateAnalysis/city/average';
export const cityAverageData = function (data) {
    return axios.post(cityAverageUrl,data)
}


// 城市内湖平均营养指数接口
export const cityAverageNutritionUrl = '/lakeLibrary/wateAnalysis/city/averageNutrition';
export const cityAverageNutrition = function (data) {
    return axios.post(cityAverageNutritionUrl,data)
}

// 城市内湖平均营养指数接口
export const cityYearContrastUrl = '/lakeLibrary/wateAnalysis/city/yearContrast';
export const cityYearContrastData = function (data) {
    return axios.post(cityYearContrastUrl,data)
}

// 专项湖库
// 专项湖库原始数据接口
export const specialOriginalUrl = '/lakeLibrary/wateAnalysis/special/originalData'
export const specialOriginalData = function (data) {
    return axios.post(specialOriginalUrl,data)
}

//专项湖库综合营养指数接口
export const specialComprehensiveNutritionUrl = '/lakeLibrary/wateAnalysis/special/comprehensiveNutrition';
export const specialComprehensiveNutritionData = function (data) {
    return axios.post(specialComprehensiveNutritionUrl,data)
}


// 专项湖库平均数据接口
export const specialAverageUrl = '/lakeLibrary/wateAnalysis/special/average';
export const specialAverageData = function (data) {
    return axios.post(specialAverageUrl,data)
}


// 专项湖库平均营养指数接口
export const specialAverageNutritionUrl = '/lakeLibrary/wateAnalysis/special/averageNutrition';
export const specialAverageNutrition = function (data) {
    return axios.post(specialAverageNutritionUrl,data)
}

// 专项湖库平均营养指数接口
export const specialYearContrastUrl = '/lakeLibrary/wateAnalysis/special/yearContrast';
export const specialYearContrastData = function (data) {
    return axios.post(specialYearContrastUrl,data)
}