From f3c14a5417ee5c07b12b2e9220a7a76dde44a3e9 Mon Sep 17 00:00:00 2001 From: zhaoxiaolin Date: Tue, 18 Jul 2023 11:49:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E5=8E=82=E6=95=B0=E6=8D=AE=E6=BA=90?= =?UTF-8?q?=E5=88=87=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/user.js | 12 ++ src/layout/components/Navbar.vue | 320 +++++++++++++++++++++++++------ src/store/modules/user.js | 32 +++- src/utils/request.js | 3 + 4 files changed, 303 insertions(+), 64 deletions(-) diff --git a/src/api/system/user.js b/src/api/system/user.js index c8ffdeb..3b071f9 100644 --- a/src/api/system/user.js +++ b/src/api/system/user.js @@ -133,3 +133,15 @@ export function deptTreeSelect() { method: 'get' }) } + +// 用户状态修改 +export function changePoolName(poolName) { + const data = { + poolName + } + return request({ + url: '/system/user/changePoolName', + method: 'put', + data: data + }) +} diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index a35c4d5..996385b 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -1,33 +1,60 @@