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