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 => { })