修改联动
This commit is contained in:
@@ -65,7 +65,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
|
||||||
mode="multiple"
|
:mode="selectModel"
|
||||||
v-model:value="queryParams.monitorIndexList"
|
v-model:value="queryParams.monitorIndexList"
|
||||||
:options="indicatorOptions"
|
:options="indicatorOptions"
|
||||||
placeholder="请选择监测指标"
|
placeholder="请选择监测指标"
|
||||||
@@ -143,6 +143,7 @@ export default {
|
|||||||
yearOptions: [],
|
yearOptions: [],
|
||||||
indicatorOptions: [
|
indicatorOptions: [
|
||||||
],
|
],
|
||||||
|
selectModel:'multiple',
|
||||||
allIndexOptions:[
|
allIndexOptions:[
|
||||||
{ label: "全选", value: "全选", limit:"0",color:"#209f53" },
|
{ label: "全选", value: "全选", limit:"0",color:"#209f53" },
|
||||||
{ label: "五日生化需氧量", value: "五日生化需氧量", limit:"3",color:"#209f53" },
|
{ label: "五日生化需氧量", value: "五日生化需氧量", limit:"3",color:"#209f53" },
|
||||||
@@ -171,6 +172,13 @@ export default {
|
|||||||
{ label: "全因子", value: "全因子", limit:"0.025",color:"#209f53" },
|
{ label: "全因子", value: "全因子", limit:"0.025",color:"#209f53" },
|
||||||
{ label: "纳污红线", value: "纳污红线", limit:"0.5",color:"#209f53" },
|
{ label: "纳污红线", value: "纳污红线", limit:"0.5",color:"#209f53" },
|
||||||
],
|
],
|
||||||
|
waterIndexOption:[
|
||||||
|
{ label: "ph", value: "ph", limit:"9",color:"#209f53" },
|
||||||
|
{ label: "溶解氧", value: "溶解氧", limit:"6",color:"#bbb443" },
|
||||||
|
{ label: "高锰酸盐指数", value: "高锰酸盐指数", limit:"4",color:"#209f53" },
|
||||||
|
{ label: "氨氮", value: "氨氮", limit:"0.5",color:"#ad3abe" },
|
||||||
|
{ label: "总磷", value: "总磷", limit:"0.025",color:"#20749f" },
|
||||||
|
],
|
||||||
|
|
||||||
innerSection: [], // 内湖断面
|
innerSection: [], // 内湖断面
|
||||||
specialSection: [], // 专湖断面
|
specialSection: [], // 专湖断面
|
||||||
@@ -260,8 +268,10 @@ export default {
|
|||||||
|
|
||||||
if(e=='全因子' || e=='纳污红线'){
|
if(e=='全因子' || e=='纳污红线'){
|
||||||
this.yDisable = true
|
this.yDisable = true
|
||||||
|
this.selectModel = 'default'
|
||||||
this.queryParams.yco = 'Yco_3'
|
this.queryParams.yco = 'Yco_3'
|
||||||
}else{
|
}else{
|
||||||
|
this.selectModel = 'multiple'
|
||||||
this.yDisable = false
|
this.yDisable = false
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -296,6 +306,9 @@ export default {
|
|||||||
|
|
||||||
handleRiverChange(type){
|
handleRiverChange(type){
|
||||||
this.queryParams.placeList = [];
|
this.queryParams.placeList = [];
|
||||||
|
this.queryParams.monitorIndexList = [];
|
||||||
|
this.yDisable = false
|
||||||
|
|
||||||
if(type){
|
if(type){
|
||||||
this.sectionOptions = []
|
this.sectionOptions = []
|
||||||
this.indicatorOptions = []
|
this.indicatorOptions = []
|
||||||
@@ -340,7 +353,7 @@ export default {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
console.log('this.sectionOptions',this.sectionOptions)
|
// console.log('this.sectionOptions',this.sectionOptions)
|
||||||
},
|
},
|
||||||
// 趋势图
|
// 趋势图
|
||||||
drawTrend() {
|
drawTrend() {
|
||||||
|
|||||||
Reference in New Issue
Block a user