From 9862b515716da110bca87909727a81a7073d2cd6 Mon Sep 17 00:00:00 2001 From: zyn Date: Wed, 31 Jan 2024 13:52:11 +0800 Subject: [PATCH] =?UTF-8?q?feature(=E6=A0=87=E5=87=86=E8=B7=9F=E8=B8=AA?= =?UTF-8?q?=E6=B8=85=E5=8D=95):=20=E6=9F=A5=E8=AF=A2=E6=A1=86=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=9F=A5=E7=9C=8B=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hzwlComponents/StandardListDrawer.vue | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/components/hzwlComponents/StandardListDrawer.vue b/src/components/hzwlComponents/StandardListDrawer.vue index e40d62fd9..36cd47d7f 100644 --- a/src/components/hzwlComponents/StandardListDrawer.vue +++ b/src/components/hzwlComponents/StandardListDrawer.vue @@ -655,6 +655,25 @@ export default { selectionChange (selection) { this.selectedList = selection }, + // 点击查看 + handlePreview (item) { + let name = '', id = item.id, pageType = '' + if (item.standType === 'INLAND') { + name = 'OtherStandardDetails' + pageType = 'INLAND_STAND' + }else if (item.standType === 'FOREIGN') { + name = 'OtherStandardDetails' + pageType = 'FOREIGN_STAND' + }else if (item.country !== undefined) { + name = 'OtherLawsStandDetails' + pageType = 'LAWS_STAND' + } else { + name = 'OtherBussStandardDetails' + pageType = 'BUSINESS_STAND' + } + const routeUrl = this.$router.resolve({ name, params: { id, pageType } }) + window.open(routeUrl.href, '_blank') + }, onDrag () { this.$emit('dragIn', { list: this.selectedList,