diff --git a/ruoyi-ui/src/api/system/dept.js b/ruoyi-ui/src/api/system/dept.js index 2debf5aca..c1ac52fd3 100644 --- a/ruoyi-ui/src/api/system/dept.js +++ b/ruoyi-ui/src/api/system/dept.js @@ -9,6 +9,23 @@ export function listDept(query) { }) } +// 查询多幼儿园列表 +export function getDeptsInfo() { + return request({ + url: '/system/dept/getDeptsInfo', + method: 'get' + }) +} + + +// 切换部门 +export function changeDept(deptId) { + return request({ + url: '/system/dept/changeDept/'+deptId, + method: 'post' + }) +} + // 查询部门详细 export function getDept(deptId) { return request({ diff --git a/ruoyi-ui/src/layout/components/Navbar.vue b/ruoyi-ui/src/layout/components/Navbar.vue index 53054fea3..0f63a5fed 100644 --- a/ruoyi-ui/src/layout/components/Navbar.vue +++ b/ruoyi-ui/src/layout/components/Navbar.vue @@ -1,6 +1,11 @@
- +
+ + 切换园所 + 个人中心 @@ -38,12 +45,13 @@