From 47237dc9177d3a6e719e556ef284ee6dacfb683d Mon Sep 17 00:00:00 2001 From: yanyizhou <2311759275@qq.com> Date: Fri, 20 Aug 2021 09:54:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B8=85=E5=8D=95=E7=9A=84?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../accessStandardsAndRegulations/pages/addEdit.vue | 4 ++-- .../pages/projectAddEit.vue | 10 ++++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue index cf8d0d45c..9c96bcccc 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue @@ -1360,11 +1360,11 @@ export default { loading: 'loadData' }, res => { if (res.ok) { - if(res.message === '修改成功'){ this.$router.push({ name: 'AccessStandardsAndRegulations' }) - } + }else { + this.$message.error('已存在此国家/地区清单,修改失败') } }, e => { }) diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue index 6761aa645..f8afe0544 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue @@ -1289,10 +1289,12 @@ export default { loading: 'loadData' }, res => { if (res.ok) { - this.isNext = true - this.$router.push({ - name: 'AccessStandardsAndRegulations' - }) + this.isNext = true + this.$router.push({ + name: 'AccessStandardsAndRegulations' + }) + }else { + this.$message.error('已存在此车型类别清单,修改失败') } }, e => { })