From ea79b08b0e22236047cae104854372199186d80e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E7=AC=99=E6=AD=8C?= <2277317060@qq.com> Date: Tue, 16 Jul 2024 17:05:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0poolName?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mesnac-ui/src/api/system/user.js | 12 ++++++++ mesnac-ui/src/layout/components/Navbar.vue | 36 +++++++++++++++++++++- mesnac-ui/src/store/modules/user.js | 8 ++++- mesnac-ui/src/utils/request.js | 3 ++ 4 files changed, 57 insertions(+), 2 deletions(-) diff --git a/mesnac-ui/src/api/system/user.js b/mesnac-ui/src/api/system/user.js index 9b0211a..78f26e6 100644 --- a/mesnac-ui/src/api/system/user.js +++ b/mesnac-ui/src/api/system/user.js @@ -134,3 +134,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/mesnac-ui/src/layout/components/Navbar.vue b/mesnac-ui/src/layout/components/Navbar.vue index 466cd98..8093f88 100644 --- a/mesnac-ui/src/layout/components/Navbar.vue +++ b/mesnac-ui/src/layout/components/Navbar.vue @@ -7,6 +7,20 @@