
import axios from 'axios';

// 获取市级下拉

export const listInfoUrl = '/drinkingWater/drinkingWaterDict';
export const listInfo = function (data) {
    return axios.get(listInfoUrl,data)
}

// 县级
export const countyListInfoUrl = '/drinkingWater/drinkingWaterCountyDict';
export const countyListInfo = function (data) {
    return axios.get(countyListInfoUrl,data)
}

// 村级
export const villageListInfoUrl = '/drinkingWater/drinkingWaterVillageBottomDict';
export const villageListInfo = function (data) {
    return axios.get(villageListInfoUrl,data)
}

// 下拉结束

// 市级监测数据报送表
export const pageBsaeListUrl = '/drinkingWater/drinkingWater/AnalysePage';
export const analysePageData = function (data) {
    return axios.post(pageBsaeListUrl,data)
}

//市级—报送情况说明表
export const pageDescListUrl = '/drinkingWater/drinkingWater/getDescripForm';
export const getDescripForm = function (data) {
    return axios.post(pageDescListUrl,data)
}



//市级—取水量统计
export const pageanalyseListUrl = '/drinkingWater/drinkingWater/AnalysePage';
export const getWaterCount = function (data) {
    return axios.post(pageanalyseListUrl,data)
}

//市级—超标评价
export const overStandardtUrl = '/drinkingWater/drinkingWater/getWaterEvaluate';
export const overStandardCount = function (data) {
    return axios.post(overStandardtUrl,data)
}


//市级—水质类别
export const waterQualityUrl = '/drinkingWater/drinkingWater/getWaterQualityCategory';
export const waterQualityData = function (data) {
    return axios.post(waterQualityUrl,data)
}

//市级—水质统计
export const waterQualityCountUrl = '/drinkingWater/drinkingWater/getWaterQualityStatistics';
export const waterQualityCountData = function (data) {
    return axios.post(waterQualityCountUrl,data)
}

//市级—水质达标情况
export const waterQualityUpUrl = '/drinkingWater/drinkingWater/getWaterQualityStandard';
export const waterQualityUpData = function (data) {
    return axios.post(waterQualityUpUrl,data)
}

//市级—备用水源营养指数
export const waterNutritionalUrl = '/drinkingWater/drinkingWater/getCompositeNutritionIndex';
export const waterNutritionalData = function (data) {
    return axios.post(waterNutritionalUrl,data)
}



// 县级
//监测数据报送表
export const countyPageBsaeListUrl = '/drinkingWater/drinkingWater/CountyAnalysePage';
export const countyPageBsaeData = function (data) {
    return axios.post(countyPageBsaeListUrl,data)
}

//报送情况说明表
export const countyDescripFormUrl = '/drinkingWater/drinkingWater/getCountyDescripForm';
export const countyDescripFormData = function (data) {
    return axios.post(countyDescripFormUrl,data)
}

//县级—超标评价
export const countyOverStandardtUrl = '/drinkingWater/drinkingWater/getWaterEvaluate';
export const countyOverStandardCount = function (data) {
    return axios.post(countyOverStandardtUrl,data)
}

//县级—水质类别
export const countyWaterQualityUrl = '/drinkingWater/drinkingWater/getWaterQualityCategory';
export const countyWaterQualityData = function (data) {
    return axios.post(countyWaterQualityUrl,data)
}

//县级—水质统计
export const countyWaterQualityCountUrl = '/drinkingWater/drinkingWater/getWaterQualityStatistics';
export const countyWaterQualityCountData = function (data) {
    return axios.post(countyWaterQualityCountUrl,data)
}

//县级—水质达标情况
export const countyWaterQualityUpUrl = '/drinkingWater/drinkingWater/getWaterQualityStandard';
export const countyWaterQualityUpData = function (data) {
    return axios.post(countyWaterQualityUpUrl,data)
}


// 农村
export const villageAnalysePageUrl = '/drinkingWaterVillage/drinkingWaterVillage/VillageAnalysePage';
export const villageAnalysePageData = function (data) {
    return axios.post(villageAnalysePageUrl,data)
}

//农村—水质类别
export const villageWaterQualityUrl = '/drinkingWaterVillage/drinkingWaterVillage/getWaterQualityCategoryVillage';
export const villageWaterQualityData = function (data) {
    return axios.post(villageWaterQualityUrl,data)
}

//农村—水质达标情况
export const villageWaterQualityUpUrl = '/drinkingWaterVillage/drinkingWaterVillage/getWaterQualityStandard';
export const villageWaterQualityUpData = function (data) {
    return axios.post(villageWaterQualityUpUrl,data)
}

//农村—超标评价
export const villageOverStandardtUrl = '/drinkingWaterVillage/drinkingWaterVillage/getWaterVillageEvaluate';
export const villageOverStandardCount = function (data) {
    return axios.post(villageOverStandardtUrl,data)
}


// /api/waterFunctionArea/drinkingWaterEvaluationStandard

export const filterList = function (data) {
    return axios.post('/waterFunctionArea/drinkingWaterEvaluationStandard',data)
}

