From 49601b3427ddff7e31131cfa429489933c26e80b Mon Sep 17 00:00:00 2001 From: liweiliang123 <106959139+liweiliang123@users.noreply.github.com> Date: Fri, 16 Jun 2023 09:55:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/user/userCustomer.js | 13 ++ src/views/user/UserCertification/index.vue | 90 +++---------- src/views/user/userCustomer/index.vue | 143 +++++++-------------- src/views/user/wallet/index.vue | 70 +++------- 4 files changed, 98 insertions(+), 218 deletions(-) diff --git a/src/api/user/userCustomer.js b/src/api/user/userCustomer.js index e86e244..d70e96d 100644 --- a/src/api/user/userCustomer.js +++ b/src/api/user/userCustomer.js @@ -35,6 +35,19 @@ export function updateUserCustomer(data) { }) } +// 用户状态修改 +export function changeUserStatus(userId, status) { + const data = { + userId, + status + } + return request({ + url: '/user/userCustomer/changeStatus', + method: 'put', + data: data + }) +} + // 删除个人用户 export function delUserCustomer(userId) { return request({ diff --git a/src/views/user/UserCertification/index.vue b/src/views/user/UserCertification/index.vue index e2edd61..01773ea 100644 --- a/src/views/user/UserCertification/index.vue +++ b/src/views/user/UserCertification/index.vue @@ -193,20 +193,13 @@ @@ -222,65 +215,18 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 请选择字典生成 - - - - - - + + + 审核通过 + 驳回 + + + - - - - - - - - - + +