|
@@ -135,6 +135,7 @@ export default {
|
|
|
beforeRouteEnter(to, from, next) {
|
|
|
next(vm => {
|
|
|
Object.assign(vm, to.params);
|
|
|
+ vm.inCurrentPage=to.params.currentPage;
|
|
|
})
|
|
|
},
|
|
|
methods: {
|
|
@@ -158,6 +159,10 @@ export default {
|
|
|
api.diagBasePage(param).then((res) => {
|
|
|
this.list = res.data.data.records
|
|
|
this.total = res.data.data.total;
|
|
|
+ if(this.inCurrentPage!==undefined){
|
|
|
+ this.currentPage=this.inCurrentPage;
|
|
|
+ this.inCurrentPage = undefined;
|
|
|
+ }
|
|
|
})
|
|
|
},
|
|
|
filterDatas() {
|
|
@@ -243,7 +248,7 @@ export default {
|
|
|
this.clearFilter();
|
|
|
};
|
|
|
const param = {
|
|
|
- current: this.currentPage,
|
|
|
+ current: this.inCurrentPage||this.currentPage,
|
|
|
size: this.pageSize,
|
|
|
disName: this.filter.disName.trim(),
|
|
|
modifier: this.filter.modifier, //操作人
|