| | |
| | | boolean bAdmin = RightControlUtil.isAdminOrDeveloperOrRoot(curUser.getUserName()); |
| | | |
| | | if (bAdmin) |
| | | funcObjs = funcDel.getModuleListByParentId("systemManagmentNode", false); |
| | | funcObjs = funcDel.getModuleListByParentId("system", false); |
| | | else |
| | | funcObjs = funcDel.getModuleListByParentId("modelManagmentNode", false); |
| | | funcObjs = funcDel.getModuleListByParentId("business", false); |
| | | |
| | | funMap.clear(); |
| | | for(int k = 0;k < funcObjs.length;k++) { |
| | |
| | | |
| | | for (int i = 0; i < funcObjs.length; i++) { |
| | | VCIBaseTreeNode node = new VCIBaseTreeNode(funcObjs[i].getName(), funcObjs[i]); |
| | | //if ("modelManagmentNode".equals(funcObjs[i].getParentId())) { |
| | | //if ("business".equals(funcObjs[i].getParentId())) { |
| | | // if(res && list.contains(funcObjs[i].getId())) { |
| | | // continue; |
| | | // } |