diff --git a/ruoyi-ui/src/views/kaohe/employee/index.vue b/ruoyi-ui/src/views/kaohe/employee/index.vue index 5b410f5..480c369 100644 --- a/ruoyi-ui/src/views/kaohe/employee/index.vue +++ b/ruoyi-ui/src/views/kaohe/employee/index.vue @@ -469,6 +469,7 @@ export default { } // 部门角色 deptRole if(userInfo.roles.length===1 && userInfo.roles[0]==='deptRole'){ + this.isEmployee = true; this.queryParams.deptId = userInfo.deptId } this.getList()