From 18c43123b51a1688ab4ae01fe3d171c7d92e619b Mon Sep 17 00:00:00 2001
From: wangting <wangting@vci-tech.com>
Date: 星期四, 16 一月 2025 18:19:34 +0800
Subject: [PATCH] 1、调整会话过期提示 2、流程设计器隐藏拓展按钮,隐藏右下角图标

---
 Source/Client/PLTClient/src/com/vci/client/auth2/utils/RightManagerHelper.java |   32 ++++++++++++++++----------------
 1 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/Source/Client/PLTClient/src/com/vci/client/auth2/utils/RightManagerHelper.java b/Source/Client/PLTClient/src/com/vci/client/auth2/utils/RightManagerHelper.java
index 74ff340..7627676 100644
--- a/Source/Client/PLTClient/src/com/vci/client/auth2/utils/RightManagerHelper.java
+++ b/Source/Client/PLTClient/src/com/vci/client/auth2/utils/RightManagerHelper.java
@@ -55,7 +55,7 @@
 import com.vci.common.qt.object.Symbol;
 //import com.vci.corba.auth2.Auth2ServicePrx;
 import com.vci.corba.framework.data.GrandValue;
-import com.vci.corba.framework.method.FrameworkServicePrx;
+import com.vci.corba.framework.FrameworkServicePrx;
 import com.vci.corba.common.VCIError;
 import com.vci.corba.omd.btm.BtmItem;
 import com.vci.corba.omd.lcm.LifeCycle;
@@ -66,20 +66,20 @@
 import com.vci.corba.portal.data.PLAction;
 
 public class RightManagerHelper {
-	private static FrameworkServicePrx frameService = null;
-
-	public static FrameworkServicePrx getFrameworkService() throws VCIError {
-		if (frameService != null) {
-			return frameService;
-		}
-		try {
-
-			return frameService = ServiceProvider.getFrameService();
-		} catch (Exception e) {
-			ClientLog4j.logger.error(e.getMessage(), e);
-			throw new VCIError("1", new String[] { e.getMessage() });
-		}
-	}
+//	private static FrameworkServicePrx frameService = null;
+//
+//	public static FrameworkServicePrx getFrameworkService() throws VCIError {
+//		if (frameService != null) {
+//			return frameService;
+//		}
+//		try {
+//
+//			return frameService = ServiceProvider.getFrameService();
+//		} catch (Exception e) {
+//			ClientLog4j.logger.error(e.getMessage(), e);
+//			throw new VCIError("1", new String[] { e.getMessage() });
+//		}
+//	}
 
 
 	public static BtmItem getResourceType(AbstractUIFunclet funclet) {
@@ -103,7 +103,7 @@
 	public static GrandValue[] getRightDatas(String typeName) {
 		GrandValue[] dataSets = null;
 		try {
-			dataSets = getFrameworkService().queryGrand(typeName);
+			dataSets = ServiceProvider.getFrameService().queryGrand(typeName);
 		} catch (Throwable e) {
 			JOptionPane.showMessageDialog(LogonApplication.frame,
 					((VCIError) e).messages[0], "閿欒鎻愮ず", JOptionPane.ERROR_MESSAGE);

--
Gitblit v1.9.3