diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue index 3f6d1ab06..29a2cad08 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue @@ -748,6 +748,7 @@ export default { }, data() { return { + seniorQueryFlag: false, textStatusMap: {}, countryAreaMap: {}, // 编辑抽屉状态 @@ -1036,7 +1037,9 @@ export default { // formData.issueTime = formData.issueTime ? formData.issueTime[1] : null }*/ this.sarAccessInfo = formData + this.sarAccessInfo.page = 1 this.showQueryMore = false + this.seniorQueryFlag = true this.selectLawsStands(1) }, @@ -1100,6 +1103,7 @@ export default { }, // 点数据搜索 查询按钮 事件 searchLawsStands() { + this.seniorQueryFlag = false this.showTableFlag = false this.sarAccessInfo.page = 1 this.selectLawsStands() @@ -1640,12 +1644,21 @@ export default { drawerPageChange(page) { this.drawerPage = page this.sarAccessInfo.page = this.drawerPage - this.selectLawsStands() + if (this.seniorQueryFlag) { + this.selectLawsStands(1) + } else { + this.selectLawsStands() + } + }, // 数据搜索table分页条数改变回调 drawerPageSizeChange() { this.sarAccessInfo.pageSize = this.$store.getters.userInfo.configContent - this.selectLawsStands() + if (this.seniorQueryFlag) { + this.selectLawsStands(1) + } else { + this.selectLawsStands() + } }, // 点击 导出、全部导出按钮事件 exportAccessInfo(type) {