江河分页代码优化
This commit is contained in:
@@ -306,8 +306,8 @@
|
|||||||
/* 刷新表格 */
|
/* 刷新表格 */
|
||||||
reload() {
|
reload() {
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
this.datasource = {};
|
|
||||||
listWaterSiteMonthTotal(this.where).then((res) => {
|
listWaterSiteMonthTotal(this.where).then((res) => {
|
||||||
|
this.datasource = {};
|
||||||
if (res.data.code == 0) {
|
if (res.data.code == 0) {
|
||||||
this.$message.success(res.data.msg);
|
this.$message.success(res.data.msg);
|
||||||
this.datasource = res.data.data;
|
this.datasource = res.data.data;
|
||||||
|
|||||||
@@ -185,9 +185,9 @@
|
|||||||
/* 刷新表格 */
|
/* 刷新表格 */
|
||||||
reload() {
|
reload() {
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
this.momData = [];
|
|
||||||
this.yoyData = [];
|
|
||||||
listWaterSiteYoy(this.where).then((res) => {
|
listWaterSiteYoy(this.where).then((res) => {
|
||||||
|
this.momData = [];
|
||||||
|
this.yoyData = [];
|
||||||
console.log(res.data.data);
|
console.log(res.data.data);
|
||||||
if (res.data.code == 0) {
|
if (res.data.code == 0) {
|
||||||
this.$message.success(res.data.msg);
|
this.$message.success(res.data.msg);
|
||||||
|
|||||||
Reference in New Issue
Block a user