Commit 69829827fe4733e35b47a4172e01ec99b5d88daf

Authored by RuoYi
1 parent 89607fb0

菜单&数据权限新增(展开/折叠 全选/全不选 父子联动)

ruoyi-system/src/main/resources/mapper/system/SysRoleMapper.xml
... ... @@ -97,8 +97,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
97 97 <if test="roleKey != null and roleKey != ''">role_key,</if>
98 98 <if test="roleSort != null and roleSort != ''">role_sort,</if>
99 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 102 <if test="status != null and status != ''">status,</if>
103 103 <if test="remark != null and remark != ''">remark,</if>
104 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 440 menuIds: [],
441 441 deptIds: [],
442 442 menuCheckStrictly: true,
  443 + deptCheckStrictly: true,
443 444 remark: undefined
444 445 };
445 446 this.resetForm("form");
... ...