修改江河接口地址

This commit is contained in:
庞东林
2022-01-24 17:55:48 +08:00
parent 2a64ed2be3
commit b3b6440179

View File

@@ -36,7 +36,7 @@
<a-col :lg="6" :md="12" :sm="24" :xs="24">
<a-form-item label="江河类别:">
<a-select
v-model:value="queryParams.regionLevel"
v-model:value="queryParams.riverType"
@change="handleRiverChange"
allowClear
placeholder="请选择区域等级"
@@ -91,6 +91,7 @@
<a-select
v-model:value="queryParams.yco"
:options="yOptions"
:disabled="yDisable"
allowClear
placeholder="请选择纵坐标"
>
@@ -125,7 +126,7 @@ export default {
queryParams: {
yearList: [],
monthList: [],
lakeType:'',
riverType:'',
placeList: [],
xco: "Xco_1", // 横坐标
yco:"",
@@ -172,7 +173,7 @@ export default {
innerSection: [], // 内湖断面
specialSection: [], // 专湖断面
yDisable:false,
monthOptions: [
// {
// label: "全部",
@@ -255,6 +256,14 @@ export default {
},
// 指标
handleIndexChange(e){
if(e=='全因子' || e=='纳污红线'){
this.yDisable = true
this.queryParams.yco = 'Yco_3'
}else{
this.yDisable = false
}
if(e.indexOf('全选')>-1){
this.queryParams.monitorIndexList = [...this.indicatorOptions.map(item=>(
item.value