From 69829827fe4733e35b47a4172e01ec99b5d88daf Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期一, 21 九月 2020 14:10:01 +0800 Subject: [PATCH] 菜单&数据权限新增(展开/折叠 全选/全不选 父子联动) --- ruoyi-ui/src/views/system/role/index.vue | 1 + ruoyi-system/src/main/resources/mapper/system/SysRoleMapper.xml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ruoyi-system/src/main/resources/mapper/system/SysRoleMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysRoleMapper.xml index 2cc23e8..818941f 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysRoleMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysRoleMapper.xml @@ -97,8 +97,8 @@ <if test="roleKey != null and roleKey != ''">role_key,</if> <if test="roleSort != null and roleSort != ''">role_sort,</if> <if test="dataScope != null and dataScope != ''">data_scope,</if> - <if test="menuCheckStrictly != null and menuCheckStrictly != ''">menu_check_strictly,</if> - <if test="deptCheckStrictly != null and deptCheckStrictly != ''">dept_check_strictly,</if> + <if test="menuCheckStrictly != null">menu_check_strictly,</if> + <if test="deptCheckStrictly != null">dept_check_strictly,</if> <if test="status != null and status != ''">status,</if> <if test="remark != null and remark != ''">remark,</if> <if test="createBy != null and createBy != ''">create_by,</if> diff --git a/ruoyi-ui/src/views/system/role/index.vue b/ruoyi-ui/src/views/system/role/index.vue index 9c760f6..f54a7e7 100644 --- a/ruoyi-ui/src/views/system/role/index.vue +++ b/ruoyi-ui/src/views/system/role/index.vue @@ -440,6 +440,7 @@ menuIds: [], deptIds: [], menuCheckStrictly: true, + deptCheckStrictly: true, remark: undefined }; this.resetForm("form"); -- Gitblit v1.9.2