diff --git a/src/main/webapp/assets/modular/system/role/role_edit_data_scope.js b/src/main/webapp/assets/modular/system/role/role_edit_data_scope.js index 62f4acc5..af9f2ac4 100644 --- a/src/main/webapp/assets/modular/system/role/role_edit_data_scope.js +++ b/src/main/webapp/assets/modular/system/role/role_edit_data_scope.js @@ -42,7 +42,7 @@ layui.use(['form', 'admin', 'HttpRequest', 'ztree'], function () { form.render(); // 初始化选择组织机构的界面 - var ztree = new $ZTree("deptTree", Feng.ctxPath + "/hrOrganization/zTree?roleId=" + result.data.roleId); + var ztree = new $ZTree("deptTree", Feng.ctxPath + "/hrOrganization/roleBindOrgScope?roleId=" + result.data.roleId); ztree.setSettings(setting); ztree.init();