From 70268b9d1b009d5247c1298bb0c1132e6677595d Mon Sep 17 00:00:00 2001 From: zyn Date: Tue, 28 Nov 2023 10:04:24 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BD=93=E7=B3=BB=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E5=8F=AF=E6=9F=A5=E7=9C=8B=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../systemSearch/components/DialogTable.vue | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) 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') } } }