diff --git a/src/api/ecology/river-trend.js b/src/api/ecology/river-trend.js index 9072e5b..bf27367 100644 --- a/src/api/ecology/river-trend.js +++ b/src/api/ecology/river-trend.js @@ -22,6 +22,6 @@ export const getRiverStationPoint = function () { } // 统计图表 -export const riverWaterTrend = function () { - return axios.get('/api/waterFunctionArea/trendChart/data') +export const riverWaterTrend = function (data) { + return axios.post('/waterFunctionArea/trendChart/data',data) } diff --git a/src/views/water/river/trend/index.vue b/src/views/water/river/trend/index.vue index bc4a693..10811be 100644 --- a/src/views/water/river/trend/index.vue +++ b/src/views/water/river/trend/index.vue @@ -39,7 +39,7 @@ v-model:value="queryParams.riverType" @change="handleRiverChange" allowClear - placeholder="请选择区域等级" + placeholder="请选择江河类别" > { if (res.data.code == 0) { this.sectionOptions = this.buildSectionSelect(res.data.data)