diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listTracking.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listTracking.vue index 1a295802f..6b6a9e845 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listTracking.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listTracking.vue @@ -536,14 +536,45 @@ export default { methods: { // 点击查看 handlePreview(item) { - let routeUrl = this.$router.resolve({ - name: 'OtherStandardDetails', - params: { - id: item.id, - pageType: 'INLAND_STAND' - } - }) - window.open(routeUrl.href, '_blank') + console.log('539',item) + if (item.standType === "INLAND"){ + let routeUrlINLAND = this.$router.resolve({ + name: 'OtherStandardDetails', + params: { + id: item.id, + pageType: 'INLAND_STAND' + } + }) + window.open(routeUrlINLAND.href, '_blank') + }else if (item.standType === "FOREIGN"){ + let routeUrlFOREIGN = this.$router.resolve({ + name: 'OtherStandardDetails', + params: { + id: item.id, + pageType: 'FOREIGN_STAND' + } + }) + window.open(routeUrlFOREIGN.href, '_blank') + } else if (item.country !== undefined){ + let routeUrlLAWS = this.$router.resolve({ + name: 'OtherLawsStandDetails', + params: { + id: item.id, + pageType: 'LAWS_STAND' + } + }) + window.open(routeUrlLAWS.href, '_blank') + }else { + let routeUrlBUSINESS = this.$router.resolve({ + name: 'OtherBussStandardDetails', + params: { + id: item.id, + pageType: 'BUSINESS_STAND' + } + }) + window.open(routeUrlBUSINESS.href, '_blank') + } + }, // 将文本状态的id与name对应 setMap(data) {