1、修改文件:src/main/webapp/WEB-INF/roadflow_resources/scripts/formDesigner/common.js
var rootId = ''; var org_rang = $element.attr("data-org_rang"); if (org_rang && $.trim(org_rang).length > 0) { if(org_rang == '0'){ rootId = '{<initiatorDeptId>}'; } else if(org_rang == '1'){ rootId = '{<userDeptId>}'; } else if(org_rang == '2'){ var org_rang_2_value = $element.attr("data-org_rang_2_value"); if (org_rang_2_value && $.trim(org_rang_2_value).length > 0) { rootId = org_rang_2_value; } } } if (rootId.length > 0) { $element.attr("rootid", rootId); }
2、修改文件:src/main/java/cn/roadflow/controller/controls/SelectOrganizesController.java
model.addAttribute("rootid", Wildcard.filterWildcard(getParameter(request,"rootid")));
3、修改文件:src/main/webapp/WEB-INF/roadflow_views/controls/selectOrganizes/index.jsp
${"0".equals(isChangeType)||rootid.length()>0?"disabled='disabled'":""}