统计代码优化

This commit is contained in:
shixiaoman
2021-11-26 10:13:34 +08:00
parent 07f7cf6b66
commit 028aa411ce
9 changed files with 419 additions and 244 deletions

View File

@@ -120,6 +120,7 @@
/* 刷新表格 */
reload() {
this.loading=true;
this.momData = [];
listMonthCompositeIndex(this.where).then((res) => {
console.log(res.data.data);
if (res.data.code == 0) {

View File

@@ -62,7 +62,6 @@
return {
data: [],
momData: [],
yoyData: [],
datasource: {},
columns: [{
title: '断面类型',
@@ -129,6 +128,7 @@
/* 刷新表格 */
reload() {
this.loading = true;
this.momData = [];
listMonthWaterQualitySandard(this.where).then((res) => {
console.log(res.data.data);
if (res.data.code == 0) {

View File

@@ -59,7 +59,6 @@
return {
data: [],
momData: [],
yoyData: [],
datasource: {},
columns: [{
title: '断面名称',
@@ -124,6 +123,7 @@
/* 刷新表格 */
reload() {
this.loading = true;
this.momData = [];
listMonthCompositeIndex(this.where).then((res) => {
console.log(res.data.data);
if (res.data.code == 0) {

View File

@@ -125,6 +125,7 @@
/* 刷新表格 */
reload() {
this.loading = true;
this.momData = [];
listMonthWaterQualitySandard(this.where).then((res) => {
console.log(res.data.data);
if (res.data.code == 0) {