From 8257e74ec55a4fa6a38c665704fa5a05a91571c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=9E=97?= Date: Tue, 25 Jan 2022 10:39:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=A5=E5=8F=A3=E5=9C=B0?= =?UTF-8?q?=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/ecology/river-trend.js | 4 ++-- src/views/water/river/trend/index.vue | 8 +++++--- 2 files changed, 7 insertions(+), 5 deletions(-) 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)