From e9eb9ee7bec1dd64e3b9a494a2814a5bc3952709 Mon Sep 17 00:00:00 2001
From: yuxc <yuxc@vci-tech.com>
Date: 星期五, 27 十二月 2024 11:57:43 +0800
Subject: [PATCH] 1、主要优化业务类型加载过慢由于重复加载平台的属性、枚举数据,属性数据通过第一次加载全部进行传递解决,枚举数据通过新增枚举的本地线程工具类来进行实现。

---
 Source/Client/PLTClient/src/com/vci/client/framework/rightConfig/modelConfig/ModuleConfigMainPanel.java |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Source/Client/PLTClient/src/com/vci/client/framework/rightConfig/modelConfig/ModuleConfigMainPanel.java b/Source/Client/PLTClient/src/com/vci/client/framework/rightConfig/modelConfig/ModuleConfigMainPanel.java
index 6d5a572..7b68673 100644
--- a/Source/Client/PLTClient/src/com/vci/client/framework/rightConfig/modelConfig/ModuleConfigMainPanel.java
+++ b/Source/Client/PLTClient/src/com/vci/client/framework/rightConfig/modelConfig/ModuleConfigMainPanel.java
@@ -141,7 +141,7 @@
 				FunctionClientDelegate funcDel = new FunctionClientDelegate(LogonApplication.getUserEntityObject());
 				if (!selectNode.isExpand()) {
 					selectNode.setExpand(true);
-					if (object instanceof FunctionObject || object.equals("modelManagmentNode") || object.equals("systemManagmentNode")) {
+					if (object instanceof FunctionObject || object.equals("business") || object.equals("system")) {
 						String parentId = "";
 						if(object instanceof FunctionObject){
 							parentId = ((FunctionObject) object).getId();
@@ -214,11 +214,11 @@
 	private void initTree(VCIBaseTreeNode rootNode, String puid) {
 		// 绠$悊鍔熻兘瀹氫箟
 		systemConstructionTree = new VCIBaseTreeNode(LocaleDisplay.getI18nString("rmip.framework.systemFunctionTree.systemFunctionModel",
-				"RMIPFramework", getLocale()), "systemManagmentNode");
+				"RMIPFramework", getLocale()), "system");
 		
 		// 涓氬姟鍔熻兘瀹氫箟
 		modelConstructionTree = new VCIBaseTreeNode(LocaleDisplay.getI18nString("rmip.framework.systemFunctionTree.businessFunctionModel",
-				"RMIPFramework", getLocale()), "modelManagmentNode");
+				"RMIPFramework", getLocale()), "business");
 		
 		// 鎿嶄綔瀹氫箟
 		operateTypeNode = new VCIBaseTreeNode(LocaleDisplay.getI18nString("rmip.framework.operateType.operateTypeModel.file",
@@ -267,7 +267,7 @@
 		if (object instanceof OperateObject|| object.equals("operateNode")) {
 			newPanel = new OperateMangePanel(object,transmitTreeObject);
 		}
-		else if (object.equals("modelManagmentNode") || object.equals("systemManagmentNode") || object instanceof FunctionObject) {
+		else if (object.equals("business") || object.equals("system") || object instanceof FunctionObject) {
 			newPanel = new ModelManagementPanel(object,transmitTreeObject, this);
 		}
 		else if (object instanceof FuncOperationObject){

--
Gitblit v1.9.3