From 6f4146288dd0bd91dc7f384d5b191d87393b322f Mon Sep 17 00:00:00 2001 From: smallchill Date: Sun, 5 Dec 2021 22:48:16 +0800 Subject: [PATCH] =?UTF-8?q?:heavy=5Fplus=5Fsign:=20=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E9=94=99=E8=AF=AF=E6=AC=A1=E6=95=B0=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E8=AF=BB=E5=8F=96=EF=BC=8C=E6=96=B0=E5=A2=9E=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E7=AB=AF=E6=89=8B=E5=8A=A8=E8=A7=A3=E9=94=81=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/user.js | 10 +++++++++ src/views/system/user.vue | 45 +++++++++++++++++++++++++++++---------- 2 files changed, 44 insertions(+), 11 deletions(-) diff --git a/src/api/system/user.js b/src/api/system/user.js index 14e597d..c8a8101 100644 --- a/src/api/system/user.js +++ b/src/api/system/user.js @@ -118,3 +118,13 @@ export const grant = (userIds, roleIds) => { } }) } + +export const unlock = (userIds) => { + return request({ + url: '/api/blade-user/unlock', + method: 'post', + params: { + userIds, + } + }) +} diff --git a/src/views/system/user.vue b/src/views/system/user.vue index 0e50af3..1709b49 100644 --- a/src/views/system/user.vue +++ b/src/views/system/user.vue @@ -59,6 +59,13 @@ icon="el-icon-setting" @click="handlePlatform">平台配置 + 账号解封 +