|
@@ -248,9 +248,9 @@ export default {
|
|
|
}
|
|
|
|
|
|
const data = await getEchartData({ category: this.activeItem.value, timeBegin, timeEnd });
|
|
|
-
|
|
|
- const reusltData = data.hs.data.splice(data.real.data.length - 1, data.hs.data.length - data.real.data.length);
|
|
|
- const reusltTime = data.hs.time.splice(data.real.time.length - 1, data.hs.time.length - data.real.time.length);
|
|
|
+
|
|
|
+ const reusltData = data.hs.data.splice(data.real.data.length, data.hs.data.length - data.real.data.length);
|
|
|
+ const reusltTime = data.hs.time.splice(data.real.time.length, data.hs.time.length - data.real.time.length);
|
|
|
|
|
|
let xAxisData = [];
|
|
|
// const realOneList = [];
|
|
@@ -365,6 +365,10 @@ export default {
|
|
|
nh3: 'NH₃',
|
|
|
cod: 'COD',
|
|
|
ss: 'SS',
|
|
|
+ qyxsy1: '#1缺氧硝酸盐',
|
|
|
+ qyxsy2: '#2缺氧硝酸盐',
|
|
|
+ qynh31: '#1缺氧氨氮',
|
|
|
+ qynh32: '#2缺氧氨氮'
|
|
|
}
|
|
|
this.comparisonList = response.rows.map(item => ({ ...item, category: whiteList[item.category] }));
|
|
|
this.total = response.total;
|