| | |
| | | menuVO.setHasChildren(false); |
| | | menuVO.setCategory(1); |
| | | menuVO.setFunctionType(2); |
| | | menuVO.setSource(info.image); |
| | | buttonList.add(menuVO); |
| | | } |
| | | } |
| | |
| | | menuVO.setHasChildren(false); |
| | | menuVO.setCategory(1); |
| | | menuVO.setFunctionType(3); |
| | | menuVO.setSource(info.image); |
| | | menuVOList.add(menuVO); |
| | | } |
| | | } |
| | |
| | | menuVO.setSort((int) operateInfo.seq); |
| | | menuVO.setModeType("operateObject"); |
| | | menuVO.setHasChildren(false); |
| | | menuVO.setSource(operateInfo.image); |
| | | menuVOList.add(menuVO); |
| | | } |
| | | }catch (PLException e) { |
| | |
| | | menuVO.setName(funcInfo.name); |
| | | menuVO.getMeta().put("keepAlive",true); |
| | | menuVO.setSort((int) funcInfo.seq); |
| | | menuVO.setRemark(funcInfo.desc); |
| | | if(this.checkChildObject(menuVO.getId()) == 0){ |
| | | menuVO.setHasChildren(false); |
| | | }else{ |
| | |
| | | functionVO.setName(menu.name); |
| | | functionVO.getMeta().put("keepAlive",true); |
| | | functionVO.setSort((int) menu.seq); |
| | | functionVO.setRemark(menu.desc); |
| | | functionVO.setChildren(findChildFunctionVO(menu.id,map)); |
| | | if(functionVO.getChildren().size() > 0){ |
| | | functionVO.setHasChildren(true); |
| | |
| | | menuVO.setName(funcObj.name); |
| | | menuVO.getMeta().put("keepAlive",true); |
| | | menuVO.setSort((int) funcObj.seq); |
| | | menuVO.setRemark(funcObj.desc); |
| | | findChildAuthFunctionVO(menuVO, isAll); |
| | | functionVO.getChildren().add(menuVO); |
| | | functionVO.setHasChildren(true); |
| | |
| | | /* if(resourceControlTypeEnum == null){ |
| | | resourceControlTypeEnum = ResourceControlTypeEnum.BS; |
| | | }*/ |
| | | Map<String, RoleRightVO> roleRightMap = uiManagerServiceI.getRoleRightMap(null); |
| | | Map<String, List<RoleRightVO>> roleRightMap = uiManagerServiceI.getRoleRightMap(null); |
| | | for (PLUILayout allPLUILayout : platformClientUtil.getUIService().getAllPLUILayouts()) { |
| | | if(treeQueryObject.getConditionMap().getOrDefault("type","").equals(allPLUILayout.plRelatedType) |
| | | && treeQueryObject.getConditionMap().getOrDefault("context","").equals(allPLUILayout.plCode)){ |