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 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 请选择字典生成 - - - - - - + + + 审核通过 + 驳回 + + + - - - - - - - - - + +