From 99e3c97bbd971baa86d50f8969d60411c53c2d0b Mon Sep 17 00:00:00 2001 From: ludc <ludc@vci-tech.com> Date: 星期一, 06 一月 2025 11:24:57 +0800 Subject: [PATCH] 菜单返回参数调整,系统模块配置菜单去掉操作模块 --- Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/impl/SmFunctionQueryServicePlatformImpl.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/impl/SmFunctionQueryServicePlatformImpl.java b/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/impl/SmFunctionQueryServicePlatformImpl.java index 1608adc..e9c4efa 100644 --- a/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/impl/SmFunctionQueryServicePlatformImpl.java +++ b/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/impl/SmFunctionQueryServicePlatformImpl.java @@ -418,7 +418,7 @@ //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)); @@ -571,7 +571,7 @@ 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); @@ -604,7 +604,7 @@ //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); if(this.checkChildObject(menuVO.getId()) == 0){ menuVO.setHasChildren(false); @@ -648,11 +648,11 @@ 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.setChildren(findChildFunctionVO(menu.id,map)); if(functionVO.getChildren().size() > 0){ @@ -680,7 +680,7 @@ 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); findChildAuthFunctionVO(menuVO, isAll); functionVO.getChildren().add(menuVO); -- Gitblit v1.9.3