From cfbdfe4a12470fa0d05208c444f1b1ca72e88577 Mon Sep 17 00:00:00 2001 From: duan Date: Wed, 10 Aug 2022 16:17:29 +0800 Subject: [PATCH] =?UTF-8?q?feat(src/views/reagent/client):=20=E5=AE=8C?= =?UTF-8?q?=E6=88=90=E6=9F=9C=E4=BD=93=E7=AE=A1=E7=90=86=20=E5=88=86?= =?UTF-8?q?=E9=85=8D=E6=8A=BD=E5=B1=89=E6=9D=83=E9=99=90=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E3=80=81=E5=88=86=E9=85=8D=E7=A6=81=E7=94=A8=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E3=80=81=E5=88=A0=E9=99=A4=E6=9F=9C=E4=BD=93?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E3=80=81=E6=B8=85=E7=A9=BA=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/reagent/client.js | 72 +++++++ src/views/reagent/client/index.vue | 318 ++++++++++++++++++++++++++++- 2 files changed, 382 insertions(+), 8 deletions(-) diff --git a/src/api/reagent/client.js b/src/api/reagent/client.js index fd8fd3d..f8678b2 100644 --- a/src/api/reagent/client.js +++ b/src/api/reagent/client.js @@ -26,3 +26,75 @@ export function update_status(data) { data }) } + +// /api/client/get_client_drawer +export function get_client_drawer(data) { + return request({ + url: '/api/client/get_client_drawer', + method: 'post', + data + }) +} + +// /api/client/get_drawer_power +export function get_drawer_power(data) { + return request({ + url: '/api/client/get_drawer_power', + method: 'post', + data + }) +} + +// /api/client/set_drawer_power +export function set_drawer_power(data) { + return request({ + url: '/api/client/set_drawer_power', + method: 'post', + data + }) +} +// /api/client/user_ban_list +export function user_ban_list(data) { + return request({ + url: '/api/client/user_ban_list', + method: 'post', + data + }) +} + +// /api/client/user_ban_confirm +export function user_ban_confirm(data) { + return request({ + url: '/api/client/user_ban_confirm', + method: 'post', + data + }) +} + +// /api/client/user_ban_relieve +export function user_ban_relieve(data) { + return request({ + url: '/api/client/user_ban_relieve', + method: 'post', + data + }) +} + +// /api/client/del +export function del(data) { + return request({ + url: '/api/client/del', + method: 'post', + data + }) +} + +// /api/client/client_empty +export function client_empty(data) { + return request({ + url: '/api/client/client_empty', + method: 'post', + data + }) +} + diff --git a/src/views/reagent/client/index.vue b/src/views/reagent/client/index.vue index 14bf8c4..eac4f7a 100644 --- a/src/views/reagent/client/index.vue +++ b/src/views/reagent/client/index.vue @@ -6,9 +6,9 @@ 搜索 新增自定义柜体 柜体锁定/解锁 - 分配抽屉权限 - 分配禁用用户 - 清空数据 + 分配抽屉权限 + 分配禁用用户 + 清空数据
@@ -97,7 +97,7 @@ @current-change="pageChange" />
- + @@ -181,12 +181,107 @@ 确定 + +
+ + + + 确认禁用 + 解除禁用 +
+ + + + + + + + + +
+ +
+
+ +
+ + 搜索 + 确认禁用 + 解除禁用 +
+ + + + + + + + + + + + +
+ +
+ +