| | |
| | | menuVO.setHasChildren(false); |
| | | menuVO.setCategory(1); |
| | | menuVO.setFunctionType(2); |
| | | menuVO.setSource(info.image); |
| | | buttonList.add(menuVO); |
| | | } |
| | | } |
| | |
| | | //} |
| | | functionVO.setPath(menu.resourceB); |
| | | functionVO.setParentId(menu.parentId); |
| | | functionVO.setCode(menu.aliasName); |
| | | //functionVO.setCode(menu.aliasName); |
| | | functionVO.setAlias(menu.aliasName); |
| | | functionVO.setName(menu.name); |
| | | functionVO.getMeta().put("keepAlive",false); |
| | | functionVO.getMeta().put("keepAlive",true); |
| | | functionVO.setSort((int) menu.seq); |
| | | try { |
| | | functionVO.setChildren(findChildFunctionVO(menu.id, map)); |
| | |
| | | menuVO.setHasChildren(false); |
| | | menuVO.setCategory(1); |
| | | menuVO.setFunctionType(3); |
| | | menuVO.setSource(info.image); |
| | | menuVOList.add(menuVO); |
| | | } |
| | | } |
| | |
| | | menuVO.setFunctionType(2); |
| | | menuVO.setChildType(0); |
| | | menuVO.setRemark(operateInfo.desc); |
| | | menuVO.getMeta().put("keepAlive",false); |
| | | menuVO.getMeta().put("keepAlive",true); |
| | | menuVO.setSort((int) operateInfo.seq); |
| | | menuVO.setModeType("operateObject"); |
| | | menuVO.setHasChildren(false); |
| | | menuVO.setSource(operateInfo.image); |
| | | menuVOList.add(menuVO); |
| | | } |
| | | }catch (PLException e) { |
| | |
| | | menuVO.setResourceMobile(funcInfo.resourceMobile); |
| | | menuVO.setPath(funcInfo.resourceB); |
| | | menuVO.setParentId(funcInfo.parentId); |
| | | menuVO.setCode(funcInfo.aliasName); |
| | | //menuVO.setCode(funcInfo.aliasName); |
| | | menuVO.setAlias(funcInfo.aliasName); |
| | | menuVO.setName(funcInfo.name); |
| | | menuVO.getMeta().put("keepAlive",false); |
| | | 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.setFunctionType(menu.functionType); |
| | | functionVO.setIsValid(menu.isValid); |
| | | functionVO.setPath(menu.resourceB); |
| | | functionVO.setCode(menu.aliasName); |
| | | //functionVO.setCode(menu.aliasName); |
| | | functionVO.setAlias(menu.aliasName); |
| | | functionVO.setParentId(menu.parentId); |
| | | functionVO.setName(menu.name); |
| | | functionVO.getMeta().put("keepAlive",false); |
| | | 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.setParentId(funcObj.parentId); |
| | | menuVO.setChildType((int) type); |
| | | menuVO.setName(funcObj.name); |
| | | menuVO.getMeta().put("keepAlive",false); |
| | | 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)){ |