From 4f9f886ad9eceac56fd62703af9c78d3d47d0101 Mon Sep 17 00:00:00 2001 From: songyunpeng Date: Tue, 12 May 2020 13:21:02 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=AF=E5=88=86=E5=9F=8B=E7=82=B9=20?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=AE=A1=E6=A0=B8=E4=B8=8D=E9=80=9A=E8=BF=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/user/user-add-or-update.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/modules/user/user-add-or-update.vue b/src/views/modules/user/user-add-or-update.vue index b71e98b..dc29264 100644 --- a/src/views/modules/user/user-add-or-update.vue +++ b/src/views/modules/user/user-add-or-update.vue @@ -226,8 +226,8 @@ export default { } }) }).catch(() => { }) - } else { - this.$http[!this.dataForm.id ? 'post' : 'post']('/app-user/user/audit/', postData).then(({ data: res }) => { + } else if (postData.state === '2') { + this.$http[!this.dataForm.id ? 'post' : 'post']('/app-user/user/auditNoPass/', postData).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) }