diff --git a/dangan-ui/src/api/system/user.js b/dangan-ui/src/api/system/user.js index f2f76ef..91d77c0 100644 --- a/dangan-ui/src/api/system/user.js +++ b/dangan-ui/src/api/system/user.js @@ -133,3 +133,20 @@ export function deptTreeSelect() { method: 'get' }) } + +// 加载对应用户勾选目录列表树 +export function userMenuTreeselect(userId) { + return request({ + url: '/dangan/catalog/userMenuTreeselect/' + parseStrEmpty(userId), + method: 'get' + }) +} + +// 修改用户目录权限 +export function userMuRelation(data) { + return request({ + url: '/dangan/userMuRelation/modify', + method: 'put', + data: data + }) +} diff --git a/dangan-ui/src/views/system/user/index.vue b/dangan-ui/src/views/system/user/index.vue index 6b2a0aa..a01a16a 100644 --- a/dangan-ui/src/views/system/user/index.vue +++ b/dangan-ui/src/views/system/user/index.vue @@ -186,6 +186,8 @@ v-hasPermi="['system:user:resetPwd']">重置密码 分配角色 + 档案目录 @@ -337,11 +339,38 @@ 取 消 + + + + + + 展开/折叠 + 全选/全不选 + 父子联动 + + + + + + \ No newline at end of file +