diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listTracking.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listTracking.vue index e9ba17252..d8b90b8c6 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listTracking.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listTracking.vue @@ -291,11 +291,13 @@ @click="clearLawBtn"> + 数据获取中 { this.lawInfoTable = [] @@ -636,10 +651,14 @@ export default { this.lawInfoTable = res.data.list this.handleSelectTotal = res.data.count if ((this.lawInfoTable.length === 0 || this.lawInfoTable === []) && this.handleSelectForm.page !== 1) { + this.lawInfoTableLoading = true this.handleSelectPageChange(1) + }else { + this.lawInfoTableLoading = false } }else { this.$message.error(res.message) + this.lawInfoTableLoading = false } },e=>{ this.lawInfoTable = [] @@ -655,10 +674,14 @@ export default { this.lawInfoTable = res.data.list this.handleSelectTotal = res.data.count if ((this.lawInfoTable.length === 0 || this.lawInfoTable === []) && this.handleSelectForm.page !== 1) { + this.lawInfoTableLoading = true this.handleSelectPageChange(1) + }else { + this.lawInfoTableLoading = false } }else { this.$message.error(res.message) + this.lawInfoTableLoading = false } },e=>{ this.lawInfoTable = [] @@ -670,11 +693,13 @@ export default { } }, handleSelectPageChange(page){ + this.lawInfoTableLoading = true this.handleSelectForm.page = page console.log(this.handleSelectForm.page) this.searchLawBtn() }, handleSelectPageSizeChange(pageSize){ + this.lawInfoTableLoading = true this.handleSelectForm.pageSize = this.$store.getters.userInfo.configContent console.log(this.handleSelectForm.pageSize) this.searchLawBtn() @@ -687,6 +712,7 @@ export default { //点击手动查找按钮 handleSelect() { this.selectModal = true + this.lawInfoTableLoading = true this.handleSelectForm.standType = this.handleSelectForm.dataSource this.clearLawBtn() this.searchLawBtn() @@ -866,6 +892,7 @@ export default { //分页查询 searchSarAccess (advanceSearch) { console.log('准备开始分页查询') + this.tableLoading = true this.$http.get("sarIssueTrack/issueTrack", { current: this.sarSarAccessEOSearch.page, pageSize: this.$store.getters.userInfo.configContent, @@ -877,8 +904,8 @@ export default { let arr = res.data; console.log('分页查询中',arr) this.sarAccessListDatas = arr.records - this.tableLoading = false this.sarAccessListTotal = res.data.total + this.tableLoading = false }, e => { }); console.log('分页查询完毕')