Commit fb8b4ed6 authored by zhangyanni's avatar zhangyanni

报名列表

parent 36209e8e
......@@ -123,6 +123,13 @@
this.tableData = response.result.records;
}
this.totalPage = response.result.total;
if(response.result.pages<this.page){
this.page = 1;
this.$store.dispatch('applyListPageAction',{path:this.$route.path,pars:this.page});
if(response.result.pages!=0){
this.getInitFunc();
}
}
let flags = (this.page >= response.result.pages) ? false : true;
this.isHaveMore(flags);
} else {
......
......@@ -146,6 +146,13 @@
}
this.total = response.result.total;
this.searchVisible = true;
if(response.result.pages<this.page){
this.page = 1;
this.$store.dispatch('applySearchListPageAction',{path:this.$route.path,pars:this.page});
if(response.result.pages!=0){
this.getInitFunc();
}
}
let flags = (this.page >= response.result.pages) ? false : true;
this.isHaveMore(flags);
if(response.result.total==0){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment