|
@@ -34,8 +34,10 @@ let selectEnum = new Map([
|
|
['0', '进水流量'],
|
|
['0', '进水流量'],
|
|
['1', '北池-好氧池硝酸盐'],
|
|
['1', '北池-好氧池硝酸盐'],
|
|
['2', '南池-好氧池硝酸盐'],
|
|
['2', '南池-好氧池硝酸盐'],
|
|
- ['12', '北池-后反馈设定'],
|
|
|
|
- ['13', '南池-后反馈设定'],
|
|
|
|
|
|
+ ['22', '北池-后反馈设定'],
|
|
|
|
+ ['23', '南池-后反馈设定'],
|
|
|
|
+ ['12', '北池-缺氧硝酸盐'],
|
|
|
|
+ ['13', '南池-缺氧硝酸盐'],
|
|
['3', '北池-缺氧池氨氮'],
|
|
['3', '北池-缺氧池氨氮'],
|
|
['4', '南池-缺氧池氨氮'],
|
|
['4', '南池-缺氧池氨氮'],
|
|
['5', '进水COD-连续检测'],
|
|
['5', '进水COD-连续检测'],
|
|
@@ -44,7 +46,7 @@ let selectEnum = new Map([
|
|
['8', '碳源投加量-北池-计算投药量'],
|
|
['8', '碳源投加量-北池-计算投药量'],
|
|
['9', '碳源投加量-南池-计算投药量'],
|
|
['9', '碳源投加量-南池-计算投药量'],
|
|
['10', '碳源投加量-北池-反馈流量'],
|
|
['10', '碳源投加量-北池-反馈流量'],
|
|
- ['11', '碳源投加量-南池-反馈流量']
|
|
|
|
|
|
+ ['11', '碳源投加量-南池-反馈流量'],
|
|
])
|
|
])
|
|
|
|
|
|
let echartOptions = [
|
|
let echartOptions = [
|
|
@@ -113,9 +115,9 @@ const handleSelectOptions = (selectOptionList) => {
|
|
if ( activeIndex.value === 0 ) {
|
|
if ( activeIndex.value === 0 ) {
|
|
if ( selectOptionList.length <= 1 && selectOptionList.every(item => item > 11) ) {
|
|
if ( selectOptionList.length <= 1 && selectOptionList.every(item => item > 11) ) {
|
|
const [item] = selectOptionList;
|
|
const [item] = selectOptionList;
|
|
- if ( (item == 12 || item == 13) || (!item && item != 0) ) {
|
|
|
|
|
|
+ if ( (item == 22 || item == 23) || (!item && item != 0) ) {
|
|
selectOptions.value.forEach(item => {
|
|
selectOptions.value.forEach(item => {
|
|
- if ( item.value == 12 || item.value == 13 ) {
|
|
|
|
|
|
+ if ( item.value == 22 || item.value == 23 ) {
|
|
item.disabled = true;
|
|
item.disabled = true;
|
|
}
|
|
}
|
|
});
|
|
});
|
|
@@ -123,7 +125,7 @@ const handleSelectOptions = (selectOptionList) => {
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
selectOptions.value.forEach(item => {
|
|
selectOptions.value.forEach(item => {
|
|
- if ( item.value == 12 || item.value == 13 ) {
|
|
|
|
|
|
+ if ( item.value == 22 || item.value == 23 ) {
|
|
item.disabled = false;
|
|
item.disabled = false;
|
|
}
|
|
}
|
|
});
|
|
});
|
|
@@ -147,7 +149,7 @@ const initWaterEchart = async () => {
|
|
const tempArr = [];
|
|
const tempArr = [];
|
|
|
|
|
|
const tempResult = selectValue.value.map(key => {
|
|
const tempResult = selectValue.value.map(key => {
|
|
- if (key == 12 || key == 13) return null;
|
|
|
|
|
|
+ if (key == 22 || key == 23) return null;
|
|
const data = echartDataSource.value[key] || [];
|
|
const data = echartDataSource.value[key] || [];
|
|
|
|
|
|
tempArr.push(data);
|
|
tempArr.push(data);
|
|
@@ -192,7 +194,7 @@ const getWaterEchartOptions = ({ data, xAxis = [] }) => {
|
|
}
|
|
}
|
|
})
|
|
})
|
|
|
|
|
|
- if ( selectValue.value.includes('12') ) {
|
|
|
|
|
|
+ if ( selectValue.value.includes('22') ) {
|
|
const data = xAxis.map(time => [time, props.htfksdOne]);
|
|
const data = xAxis.map(time => [time, props.htfksdOne]);
|
|
series.push({
|
|
series.push({
|
|
name: '北池-后反馈设定',
|
|
name: '北池-后反馈设定',
|