修改接口地址
This commit is contained in:
@@ -22,6 +22,6 @@ export const getRiverStationPoint = function () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 统计图表
|
// 统计图表
|
||||||
export const riverWaterTrend = function () {
|
export const riverWaterTrend = function (data) {
|
||||||
return axios.get('/api/waterFunctionArea/trendChart/data')
|
return axios.post('/waterFunctionArea/trendChart/data',data)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
v-model:value="queryParams.riverType"
|
v-model:value="queryParams.riverType"
|
||||||
@change="handleRiverChange"
|
@change="handleRiverChange"
|
||||||
allowClear
|
allowClear
|
||||||
placeholder="请选择区域等级"
|
placeholder="请选择江河类别"
|
||||||
>
|
>
|
||||||
<a-select-option
|
<a-select-option
|
||||||
v-for="item in regionLevelOptions"
|
v-for="item in regionLevelOptions"
|
||||||
@@ -173,6 +173,8 @@ export default {
|
|||||||
{ label: "纳污红线", value: "纳污红线", limit:"0.5",color:"#209f53" },
|
{ label: "纳污红线", value: "纳污红线", limit:"0.5",color:"#209f53" },
|
||||||
],
|
],
|
||||||
waterIndexOption:[
|
waterIndexOption:[
|
||||||
|
{ label: "全选", value: "全选", limit:"0",color:"#209f53" },
|
||||||
|
{ label: "水温", value: "水温", limit:"2",color:"#209f53" },
|
||||||
{ label: "ph", value: "ph", limit:"9",color:"#209f53" },
|
{ label: "ph", value: "ph", limit:"9",color:"#209f53" },
|
||||||
{ label: "溶解氧", value: "溶解氧", limit:"6",color:"#bbb443" },
|
{ label: "溶解氧", value: "溶解氧", limit:"6",color:"#bbb443" },
|
||||||
{ label: "高锰酸盐指数", value: "高锰酸盐指数", limit:"4",color:"#209f53" },
|
{ label: "高锰酸盐指数", value: "高锰酸盐指数", limit:"4",color:"#209f53" },
|
||||||
@@ -308,7 +310,7 @@ export default {
|
|||||||
this.queryParams.placeList = [];
|
this.queryParams.placeList = [];
|
||||||
this.queryParams.monitorIndexList = [];
|
this.queryParams.monitorIndexList = [];
|
||||||
this.yDisable = false
|
this.yDisable = false
|
||||||
|
|
||||||
if(type){
|
if(type){
|
||||||
this.sectionOptions = []
|
this.sectionOptions = []
|
||||||
this.indicatorOptions = []
|
this.indicatorOptions = []
|
||||||
@@ -343,7 +345,7 @@ export default {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
if(type==this.regionLevelOptions[3].value){
|
if(type==this.regionLevelOptions[3].value){
|
||||||
this.indicatorOptions = [...this.allIndexOptions];
|
this.indicatorOptions = [...this.waterIndexOption];
|
||||||
getRiverStationPoint().then((res) => {
|
getRiverStationPoint().then((res) => {
|
||||||
if (res.data.code == 0) {
|
if (res.data.code == 0) {
|
||||||
this.sectionOptions = this.buildSectionSelect(res.data.data)
|
this.sectionOptions = this.buildSectionSelect(res.data.data)
|
||||||
|
|||||||
Reference in New Issue
Block a user