From 58d043688180074c02a7acd6f0e8abd689b96fbf Mon Sep 17 00:00:00 2001 From: duan Date: Wed, 10 Aug 2022 10:46:52 +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=E6=96=B0=E5=A2=9E=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=EF=BC=8C=E9=94=81=E5=AE=9A=E8=A7=A3=E9=94=81=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 | 18 +++ src/views/reagent/client/index.vue | 233 ++++++++++++++++++++++++++++- 2 files changed, 246 insertions(+), 5 deletions(-) diff --git a/src/api/reagent/client.js b/src/api/reagent/client.js index 64b898c..fd8fd3d 100644 --- a/src/api/reagent/client.js +++ b/src/api/reagent/client.js @@ -8,3 +8,21 @@ export function get_list(data) { data }) } + +// /api/client/add_or_update +export function add_or_update(data) { + return request({ + url: '/api/client/add_or_update', + method: 'post', + data + }) +} + +// /api/client/update_status +export function update_status(data) { + return request({ + url: '/api/client/update_status', + method: 'post', + data + }) +} diff --git a/src/views/reagent/client/index.vue b/src/views/reagent/client/index.vue index d88d552..14bf8c4 100644 --- a/src/views/reagent/client/index.vue +++ b/src/views/reagent/client/index.vue @@ -4,11 +4,15 @@
搜索 - 新增自定义柜体 - 柜体锁定/解锁 + 新增自定义柜体 + 柜体锁定/解锁 分配抽屉权限 分配禁用用户 清空数据 +
+ + +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 取消 + 确定 +
+