From a4c3a759dbc1d737e416e49d838440ac4fe303d0 Mon Sep 17 00:00:00 2001 From: yangzijiao Date: Mon, 26 Jul 2021 17:04:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=87=E5=87=86=E6=B3=95=E8=A7=84=E6=B8=85?= =?UTF-8?q?=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/addEdit.vue | 25 +++++++++++-------- .../pages/details.vue | 18 ++++++++----- .../pages/otherAddEit.vue | 2 +- .../pages/projectAddEit.vue | 4 +-- 4 files changed, 29 insertions(+), 20 deletions(-) diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue index 77f06915a..cd7aa0210 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue @@ -237,13 +237,13 @@ > { if (res.ok) { - this.$message.success('编辑成功') + //this.$message.success('编辑成功') this.isNext = true this.$router.push({ name: 'AccessStandardsAndRegulations' @@ -1896,12 +1899,12 @@ export default { }) }, // 点击查看 - handlePreview (item) { - let routerName = item.sarType === 'FOREIGN_LAWS' ? 'OtherLawsDetails' : 'OtherStandardDetails' + handlePreview (data) { + let routerName = data.sarType === 'FOREIGN_LAWS' ? 'OtherLawsDetails' : 'OtherStandardDetails' let routeUrl = this.$router.resolve({ name: routerName, params: { - id: item.resId, + id: data.id, pageType: this.sarAccessInfoSearch.dataSource } }) diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue index 32b738445..5ed5e64f2 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue @@ -212,14 +212,13 @@ align="center"> + +