diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/index.vue index 31c81689c..dee7151d1 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/index.vue @@ -79,22 +79,23 @@ export default { } } }); - if(this.country === true){ - this.tabValue = "listOfCountries" - return; - }else if(this.project === true){ - this.tabValue = "listProject" - return; - }else if(this.tracking === true){ - this.tabValue = "listTracking" - return; - }else if(this.other === true){ - this.tabValue = "listOther" - return; - }else if(this.library === true){ - this.tabValue = "localProductsOrProjectLibrary" - return; - } + this.tabValue = this.country ? 'listOfCountries' : (this.project ? 'listProject' : (this.tracking ? 'listTracking' : (this.other ? 'listOther' : (this.library ? 'localProductsOrProjectLibrary' : '')))) + // if(this.country){ + // this.tabValue = "listOfCountries" + // return; + // }else if(this.project){ + // this.tabValue = "listProject" + // return; + // }else if(this.tracking){ + // this.tabValue = "listTracking" + // return; + // }else if(this.other){ + // this.tabValue = "listOther" + // return; + // }else if(this.library){ + // this.tabValue = "localProductsOrProjectLibrary" + // return; + // } }, beforeRouteLeave(to, from, next) { const toName = ["ListOfStandardsAndRegulationsDetails", "AccessStandardDetails", "LocalProductDetail", "OtherAddEit"]; diff --git a/src/pages/regulatoryRepository/dataStatis/index.vue b/src/pages/regulatoryRepository/dataStatis/index.vue index cb117b7a3..1995d18cd 100644 --- a/src/pages/regulatoryRepository/dataStatis/index.vue +++ b/src/pages/regulatoryRepository/dataStatis/index.vue @@ -1,88 +1,50 @@ - - + + - - + + - - + + - - + + - - + + -