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 @@ - + - - + + - - - - - + + + + + + {{ + (typeList && typeList.length > 0 && typeList.length) || "" + }} + - - - - - - - + - + + + {{ nickName }} @@ -43,21 +70,111 @@ + + + + + + + + + + + + + + + + + + + + + + +