diff --git a/src/pages/regulatoryRepository/systemSearch/components/DialogTable.vue b/src/pages/regulatoryRepository/systemSearch/components/DialogTable.vue index 66e6c026a..6d127c4d3 100644 --- a/src/pages/regulatoryRepository/systemSearch/components/DialogTable.vue +++ b/src/pages/regulatoryRepository/systemSearch/components/DialogTable.vue @@ -145,6 +145,9 @@ width="200" show-overflow-tooltip label="标准名称"> + { this.dict = { ...res.data } }) + }, + handlePreview (row) { + let name,pageType; + switch (row.dataSource) { + case '国内标准库': + name = 'OtherStandardDetails' + pageType = 'INLAND_STAND' + break + case '海外标准库': + name = 'OtherStandardDetails' + pageType = 'FOREIGN_STAND' + break + case '企业标准库': + name = 'OtherBussStandardDetails' + pageType = 'BUSINESS_STAND' + break + } + const id = row.standId + const routeUrl = this.$router.resolve({ name, params: { id, pageType } }) + window.open(routeUrl.href, '_blank') } } }