From 4e5f204e3c41d2c01a8e8fdecdbb04bee28d9f9a Mon Sep 17 00:00:00 2001 From: super_liu <396572590@qq.com> Date: Tue, 5 Apr 2022 09:22:27 +0800 Subject: [PATCH] feat: There is no way the, bug #52303 --- .../details/otherLawsStandDetails/index.vue | 36 ++++++++----------- 1 file changed, 14 insertions(+), 22 deletions(-) diff --git a/src/pages/details/otherLawsStandDetails/index.vue b/src/pages/details/otherLawsStandDetails/index.vue index a9e70eedb..b10744694 100644 --- a/src/pages/details/otherLawsStandDetails/index.vue +++ b/src/pages/details/otherLawsStandDetails/index.vue @@ -111,6 +111,15 @@
+ ++ + {{ item }} + +
+ - + { - if (res.ok) { - let name = '' - let pageType = '' - const standType = res.data.standType || 'BUSINESS' - switch (standType) { - case 'INLAND': - name = 'OtherStandardDetails' - pageType = 'INLAND_STAND' - break - case 'FOREIGN': - name = 'OtherStandardDetails' - pageType = 'FOREIGN_STAND' - break - case 'BUSINESS': - name = 'OtherBussStandardDetails' - pageType = 'BUSINESS_STAND' - break - } + if (res.ok && res.data) { + let name = 'OtherLawsStandDetails' + let pageType = 'FOREIGN_LAWS' let routeUrl = this.$router.resolve({ name: name, params: { @@ -1684,8 +1678,6 @@ export default { } }) window.open(routeUrl.href, '_blank') - } else { - this.$message.error(res.message) } }, e => { })