|
@@ -178,7 +178,9 @@
|
|
|
|
|
|
|
|
|
this.pageList(this.selectedIndex, this.pageIndex).then(page => {
|
|
|
- this.allCount = page.recordsTotal;
|
|
|
+ if(this.allCount==0){
|
|
|
+ this.allCount = page.recordsTotal;
|
|
|
+ }
|
|
|
|
|
|
if (this.pageIndex == 1) {
|
|
|
this.allList = page.data;
|
|
@@ -263,6 +265,10 @@
|
|
|
this.curDate = year + "-" + month + "-" + day;
|
|
|
|
|
|
this.queryList(true);
|
|
|
+ this.query().then(page => {
|
|
|
+ console.log(page)
|
|
|
+ this.obj=page;
|
|
|
+ });
|
|
|
});
|
|
|
},
|
|
|
|