|
@@ -121,12 +121,12 @@ const initEchart = () => {
|
|
|
|
|
|
// 污泥处理-生化反应
|
|
|
echartMdu.setOption(echartColumnarOptions([
|
|
|
- wnclYyzqCo2.toFixed(2),
|
|
|
- wnclDdclCo2.toFixed(2),
|
|
|
- (wnclHyfjCh4Co2 + wnclHyfjN2oCo2).toFixed(2),
|
|
|
- (wnclWnfsCo2).toFixed(2),
|
|
|
- (wnclBwqrsCh4Co2 + wnclBwqrsN2oCo2 + wnclWnrjByhCo2).toFixed(2),
|
|
|
- (wnclWnrjQtCh4Co2 + wnclWnrjQtN2oCo2).toFixed(2)
|
|
|
+ (wnclYyzqCo2 || 0).toFixed(2),
|
|
|
+ (wnclDdclCo2 || 0).toFixed(2),
|
|
|
+ (wnclHyfjCh4Co2 || 0 + wnclHyfjN2oCo2 || 0).toFixed(2),
|
|
|
+ (wnclWnfsCo2 || 0).toFixed(2),
|
|
|
+ (wnclBwqrsCh4Co2 || 0 + wnclBwqrsN2oCo2 || 0 + wnclWnrjByhCo2 || 0).toFixed(2),
|
|
|
+ (wnclWnrjQtCh4Co2 || 0 + wnclWnrjQtN2oCo2 || 0).toFixed(2)
|
|
|
]));
|
|
|
|
|
|
const baseEnum = {
|
|
@@ -204,7 +204,8 @@ const onSubmit = async () => {
|
|
|
|
|
|
initPageData();
|
|
|
} else {
|
|
|
- initAllMonth();
|
|
|
+ const [ firstMonth ] = await initAllMonth();
|
|
|
+ inpVal.value = firstMonth;
|
|
|
initPageData();
|
|
|
}
|
|
|
}
|