|
@@ -312,7 +312,7 @@ const onSystemWarning = () => {
|
|
}
|
|
}
|
|
|
|
|
|
const isEmpty = (val) => {
|
|
const isEmpty = (val) => {
|
|
- return !(val == null || val == undefined || val == '')
|
|
|
|
|
|
+ return !(val === null || val === undefined || val === '')
|
|
}
|
|
}
|
|
|
|
|
|
const waringTips = () => {
|
|
const waringTips = () => {
|
|
@@ -352,13 +352,13 @@ const waringTips = () => {
|
|
threeTips: []
|
|
threeTips: []
|
|
}
|
|
}
|
|
|
|
|
|
- const qEnum = ['• 好氧池硝酸盐超管控值', '• 好氧池硝酸盐控制目标偏移过大']
|
|
|
|
|
|
+ const qEnum = ['• 好氧池硝酸盐控制目标偏移过大', '• 好氧池硝酸盐超管控值']
|
|
|
|
|
|
const questionCollect = {
|
|
const questionCollect = {
|
|
firstItem: [],
|
|
firstItem: [],
|
|
secondItem: [],
|
|
secondItem: [],
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
if ( isEmpty(hycXsyOne) && isEmpty(htfksdOne) && isEmpty(kzmbplbjz) ) {
|
|
if ( isEmpty(hycXsyOne) && isEmpty(htfksdOne) && isEmpty(kzmbplbjz) ) {
|
|
if (( hycXsyOne - htfksdOne ) > kzmbplbjz ) {
|
|
if (( hycXsyOne - htfksdOne ) > kzmbplbjz ) {
|
|
questionCollect.firstItem.push('北池');
|
|
questionCollect.firstItem.push('北池');
|
|
@@ -377,7 +377,7 @@ const waringTips = () => {
|
|
questionCollect.secondItem.push('南池');
|
|
questionCollect.secondItem.push('南池');
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
if ( isEmpty(hycXsyOne) && isEmpty(qycYxyOne) && isEmpty(qycAdOne) ) {
|
|
if ( isEmpty(hycXsyOne) && isEmpty(qycYxyOne) && isEmpty(qycAdOne) ) {
|
|
if (qycYxyOne + qycAdOne - hycXsyOne > xhycbjz) {
|
|
if (qycYxyOne + qycAdOne - hycXsyOne > xhycbjz) {
|
|
result.twoTips.push('北池');
|
|
result.twoTips.push('北池');
|