修改江河接口地址
This commit is contained in:
@@ -36,7 +36,7 @@
|
|||||||
<a-col :lg="6" :md="12" :sm="24" :xs="24">
|
<a-col :lg="6" :md="12" :sm="24" :xs="24">
|
||||||
<a-form-item label="江河类别:">
|
<a-form-item label="江河类别:">
|
||||||
<a-select
|
<a-select
|
||||||
v-model:value="queryParams.regionLevel"
|
v-model:value="queryParams.riverType"
|
||||||
@change="handleRiverChange"
|
@change="handleRiverChange"
|
||||||
allowClear
|
allowClear
|
||||||
placeholder="请选择区域等级"
|
placeholder="请选择区域等级"
|
||||||
@@ -91,6 +91,7 @@
|
|||||||
<a-select
|
<a-select
|
||||||
v-model:value="queryParams.yco"
|
v-model:value="queryParams.yco"
|
||||||
:options="yOptions"
|
:options="yOptions"
|
||||||
|
:disabled="yDisable"
|
||||||
allowClear
|
allowClear
|
||||||
placeholder="请选择纵坐标"
|
placeholder="请选择纵坐标"
|
||||||
>
|
>
|
||||||
@@ -125,7 +126,7 @@ export default {
|
|||||||
queryParams: {
|
queryParams: {
|
||||||
yearList: [],
|
yearList: [],
|
||||||
monthList: [],
|
monthList: [],
|
||||||
lakeType:'',
|
riverType:'',
|
||||||
placeList: [],
|
placeList: [],
|
||||||
xco: "Xco_1", // 横坐标
|
xco: "Xco_1", // 横坐标
|
||||||
yco:"",
|
yco:"",
|
||||||
@@ -172,7 +173,7 @@ export default {
|
|||||||
|
|
||||||
innerSection: [], // 内湖断面
|
innerSection: [], // 内湖断面
|
||||||
specialSection: [], // 专湖断面
|
specialSection: [], // 专湖断面
|
||||||
|
yDisable:false,
|
||||||
monthOptions: [
|
monthOptions: [
|
||||||
// {
|
// {
|
||||||
// label: "全部",
|
// label: "全部",
|
||||||
@@ -255,7 +256,15 @@ export default {
|
|||||||
},
|
},
|
||||||
// 指标
|
// 指标
|
||||||
handleIndexChange(e){
|
handleIndexChange(e){
|
||||||
if(e.indexOf('全选')>-1){
|
|
||||||
|
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=>(
|
this.queryParams.monitorIndexList = [...this.indicatorOptions.map(item=>(
|
||||||
item.value
|
item.value
|
||||||
))]
|
))]
|
||||||
|
|||||||
Reference in New Issue
Block a user