From 2c1d292491be2745c62454f8df2f9022747a1601 Mon Sep 17 00:00:00 2001 From: panqihua Date: Thu, 12 Jan 2023 08:20:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E6=89=B9=E9=87=8F=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E7=94=A8=E6=88=B7=E7=8A=B6=E6=80=81=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=20=E8=B0=83=E6=95=B4=E7=94=A8=E6=88=B7=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/user.js | 9 ++++ src/views/system/user/index.vue | 84 +++++++++++++++------------------ 2 files changed, 46 insertions(+), 47 deletions(-) diff --git a/src/api/system/user.js b/src/api/system/user.js index e5c5d14..17c4a18 100644 --- a/src/api/system/user.js +++ b/src/api/system/user.js @@ -141,3 +141,12 @@ export function phoneSelect(phonenumber) { method: "get", }); } + +//批量更新状态 +export function updateStatus(data) { + return request({ + url: "/system/user/updateStatus", + method: "put", + params: data, + }); +} diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index 86141c5..327a34d 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -5,50 +5,53 @@ - - + + + + - - - + + + - + - 搜索 + + + + + + + 查询 重置 - 新增 + 新增用户 - 修改 + 批量开启 - 删除 + 批量禁用 - 导入 - - - 导出 + 导出 @@ -236,7 +239,7 @@