修改bug 52549 标准法规清单--翻页之后的页码不对,应该是第二页,目前显示第一页
This commit is contained in:
+8
-4
@@ -32,7 +32,7 @@
|
||||
class="common-button-primary"
|
||||
size="small"
|
||||
v-btn-permission="'072efe80c5459dd47fedd2d14f59ff7f'"
|
||||
@click="searchSarAccess">
|
||||
@click="searchSarAccessPage1">
|
||||
查询
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
@@ -263,8 +263,8 @@ export default {
|
||||
searchSarAccess() {
|
||||
this.$http.get("sarLawsDetailedList/sar-laws-detailed-list/getAllStand", {
|
||||
sortKey: 1,
|
||||
page: 1,
|
||||
pageSize: 10,
|
||||
page: this.sarSarAccessEOSearch.page,
|
||||
pageSize: this.sarSarAccessEOSearch.pageSize,
|
||||
...this.sarSarAccessEOSearch
|
||||
}, {
|
||||
_this: this
|
||||
@@ -286,7 +286,7 @@ export default {
|
||||
});
|
||||
this.tableLoading = false;
|
||||
this.sarAccessListDatas = arr;
|
||||
this.sarSarAccessEOSearch.page = 1;
|
||||
// this.sarSarAccessEOSearch.page = 1;
|
||||
this.sarAccessListTotal = res.data.total;
|
||||
}, e => {
|
||||
|
||||
@@ -300,6 +300,10 @@ export default {
|
||||
this.sarSarAccessEOSearch.pageSize = this.$store.getters.userInfo.configContent;
|
||||
this.searchSarAccess();
|
||||
},
|
||||
searchSarAccessPage1() {
|
||||
this.sarSarAccessEOSearch.page = 1
|
||||
this.searchSarAccess();
|
||||
},
|
||||
clearSearch() {
|
||||
this.sarSarAccessEOSearch.countryArea = "";
|
||||
this.sarSarAccessEOSearch.detailedListName = "";
|
||||
|
||||
Reference in New Issue
Block a user