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 ++++++------
Source/plt-web/plt-web-parent/plt-web/src/main/resources/menuConfig.json | 17 -----------------
2 files changed, 6 insertions(+), 23 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);
diff --git a/Source/plt-web/plt-web-parent/plt-web/src/main/resources/menuConfig.json b/Source/plt-web/plt-web-parent/plt-web/src/main/resources/menuConfig.json
index bf727e3..29a49d0 100644
--- a/Source/plt-web/plt-web-parent/plt-web/src/main/resources/menuConfig.json
+++ b/Source/plt-web/plt-web-parent/plt-web/src/main/resources/menuConfig.json
@@ -113,23 +113,6 @@
"soruce": "",
"path": "views/systemModel/mangeModel/index"
},
- "modelManagmentNode": {
- "hasChildren": true,
- "children": [],
- "childType": -1,
- "id": "business",
- "name": "涓氬姟鍔熻兘妯″潡",
- "parentId": "VCIBaseTreeNode",
- "code": "business",
- "alias": "model",
- "category": "0",
- "meta": {
- "keepAlive": false
- },
- "sort": 3,
- "soruce": "",
- "path": "views/systemModel/businessModel/index"
- },
"operateNode": {
"hasChildren": true,
"children": [],
--
Gitblit v1.9.3