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