分页bug修复

This commit is contained in:
shixiaoman
2021-12-09 15:34:18 +08:00
parent 3ff74b9b8c
commit 3717fdcb69
4 changed files with 4 additions and 4 deletions

View File

@@ -162,8 +162,8 @@
/* 刷新表格 */
reload() {
this.loading=true;
this.momData = [];
listAvgCompositeIndex(this.where).then((res) => {
this.momData = [];
console.log(res.data.data);
if (res.data.code == 0) {
this.$message.success(res.data.msg);

View File

@@ -165,9 +165,9 @@
/* 刷新表格 */
reload() {
this.loading = true;
this.momData = [];
listAvgWaterQualitySandard(this.where).then((res) => {
console.log(res.data.data);
this.momData = [];
if (res.data.code == 0) {
this.$message.success(res.data.msg);
res.data.data.forEach((m) => {

View File

@@ -167,9 +167,9 @@
/* 刷新表格 */
reload() {
this.loading = true;
this.momData = [];
listMonthCompositeIndex(this.where).then((res) => {
console.log(res.data.data);
this.momData = [];
if (res.data.code == 0) {
this.$message.success(res.data.msg);
res.data.data.forEach((m) => {