From dec6b727f4dde9803633231bb63c5e5f30db8843 Mon Sep 17 00:00:00 2001
From: yanyizhou <2311759275@qq.com>
Date: Tue, 16 Nov 2021 11:17:42 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B7=9F=E8=B8=AA=E6=B8=85=E5=8D=95=20-=20?=
=?UTF-8?q?=E6=89=8B=E5=8A=A8=E6=9F=A5=E6=89=BE=20=E7=A9=B6=E6=9E=81?=
=?UTF-8?q?=E4=BA=BA=E6=80=A7=E5=8C=96=E9=80=82=E9=85=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../page/listTracking.vue | 29 ++++++++++++++++++-
1 file changed, 28 insertions(+), 1 deletion(-)
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('分页查询完毕')