江河统计bug修复

This commit is contained in:
shixiaoman
2021-12-07 17:11:01 +08:00
parent 012f8b168c
commit 95c8da8c1c
8 changed files with 383 additions and 184 deletions

View File

@@ -185,6 +185,7 @@
this.loading = true;
listAutoStandard(this.where).then((res) => {
console.log(res.data.data);
this.datasource = [];
if (res.data.code == 0) {
this.$message.success(res.data.msg);
for (var key in res.data.data) {
@@ -246,10 +247,14 @@
if (month == '12') {
target.december = e.waterQualityCategory;
}
target.standardRate = e.standardRate;
target.standard = e.standard;
console.log(arr.length);
if(arr.length == '12'){
target.standardRate = e.standardRate;
target.standard = e.standard;
}
})
this.datasource.push(target);
}
} else {