Commit 69829827fe4733e35b47a4172e01ec99b5d88daf
1 parent
89607fb0
菜单&数据权限新增(展开/折叠 全选/全不选 父子联动)
Showing
2 changed files
with
3 additions
and
2 deletions
ruoyi-system/src/main/resources/mapper/system/SysRoleMapper.xml
| @@ -97,8 +97,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | @@ -97,8 +97,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | ||
| 97 | <if test="roleKey != null and roleKey != ''">role_key,</if> | 97 | <if test="roleKey != null and roleKey != ''">role_key,</if> |
| 98 | <if test="roleSort != null and roleSort != ''">role_sort,</if> | 98 | <if test="roleSort != null and roleSort != ''">role_sort,</if> |
| 99 | <if test="dataScope != null and dataScope != ''">data_scope,</if> | 99 | <if test="dataScope != null and dataScope != ''">data_scope,</if> |
| 100 | - <if test="menuCheckStrictly != null and menuCheckStrictly != ''">menu_check_strictly,</if> | ||
| 101 | - <if test="deptCheckStrictly != null and deptCheckStrictly != ''">dept_check_strictly,</if> | 100 | + <if test="menuCheckStrictly != null">menu_check_strictly,</if> |
| 101 | + <if test="deptCheckStrictly != null">dept_check_strictly,</if> | ||
| 102 | <if test="status != null and status != ''">status,</if> | 102 | <if test="status != null and status != ''">status,</if> |
| 103 | <if test="remark != null and remark != ''">remark,</if> | 103 | <if test="remark != null and remark != ''">remark,</if> |
| 104 | <if test="createBy != null and createBy != ''">create_by,</if> | 104 | <if test="createBy != null and createBy != ''">create_by,</if> |
ruoyi-ui/src/views/system/role/index.vue
| @@ -440,6 +440,7 @@ export default { | @@ -440,6 +440,7 @@ export default { | ||
| 440 | menuIds: [], | 440 | menuIds: [], |
| 441 | deptIds: [], | 441 | deptIds: [], |
| 442 | menuCheckStrictly: true, | 442 | menuCheckStrictly: true, |
| 443 | + deptCheckStrictly: true, | ||
| 443 | remark: undefined | 444 | remark: undefined |
| 444 | }; | 445 | }; |
| 445 | this.resetForm("form"); | 446 | this.resetForm("form"); |