diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue index c4cfc9b43..5593b545e 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue @@ -66,6 +66,7 @@
+ 数据获取中 { this.sarAccessListDatas = res.data.records + this.sarAccessListDatas.forEach(item => { + // 国家地区转换 + if (item.countryArea !== null || item.countryArea !== "") { + let k = (item.countryArea || "").split(',') + for (let i in this.countryOptions) { + for (let m = 0; m< k.length; m++) { + if (this.countryOptions[i].value === k[m]) { + k[m] = this.countryOptions[i].label + } + item.countryArea = k.join(',') + } + } + } + }) this.sarSarAccessEOSearch.page = 1 this.sarAccessListTotal = res.data.total + this.tableLoading = false }, e => { }); @@ -349,6 +366,9 @@ export default { }) } }, + created() { + this.searchSarAccess(); + }, mounted() { // 分页查询数据 this.searchSarAccess(); diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOther.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOther.vue index b0af84fa9..2be49a492 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOther.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOther.vue @@ -57,6 +57,7 @@
+ 数据获取中 { }); diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listProject.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listProject.vue index 50f1509bf..822bb4bd8 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listProject.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listProject.vue @@ -67,6 +67,7 @@
+ 数据获取中 { @@ -405,6 +408,7 @@ export default { } } }) + this.tableLoading = false this.sarSarAccessEOSearch.page = 1 this.sarAccessListTotal = res.data.total }, e => {