From 39cfe876f9a3cf94122c04396f48159f5c07ccb4 Mon Sep 17 00:00:00 2001 From: "chaojie.li" Date: Thu, 5 Dec 2024 14:34:51 +0800 Subject: [PATCH] =?UTF-8?q?ui=E9=94=99=E4=B9=B1=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Frame/page/jspf/include/jsp_mainmenu.jspf | 226 +++++++++--------- 1 file changed, 119 insertions(+), 107 deletions(-) diff --git a/WebContent/Frame/page/jspf/include/jsp_mainmenu.jspf b/WebContent/Frame/page/jspf/include/jsp_mainmenu.jspf index 7b8216fd8..ab303ad9b 100644 --- a/WebContent/Frame/page/jspf/include/jsp_mainmenu.jspf +++ b/WebContent/Frame/page/jspf/include/jsp_mainmenu.jspf @@ -1,119 +1,131 @@ -<%@page import="com.tenwa.httpclient.resources.QuartzPropertiesUtil"%><% -request.setAttribute("as_main", new com.amarsoft.awe.ui.layout.ASMain(CurPage).init(null).setTitle(PG_TITLE).setContentTitle(PG_CONTENT_TITLE).setContnetText(PG_CONTNET_TEXT).setLeftWidth(PG_LEFT_WIDTH)); -boolean bFlag = false; -List roles = CurUser.getRoleTable(); -String distributorRole = QuartzPropertiesUtil.get("distributor_role"); -distributorRole = distributorRole == null ? "" : distributorRole; -for(String role : roles) { - if(distributorRole.indexOf(role) != -1) { - bFlag = true; - break; - } -} +<%@page import="com.tenwa.httpclient.resources.QuartzPropertiesUtil" %> +<% + request.setAttribute("as_main", new com.amarsoft.awe.ui.layout.ASMain(CurPage).init(null).setTitle(PG_TITLE).setContentTitle(PG_CONTENT_TITLE).setContnetText(PG_CONTNET_TEXT).setLeftWidth(PG_LEFT_WIDTH)); + boolean bFlag = false; + List roles = CurUser.getRoleTable(); + String distributorRole = QuartzPropertiesUtil.get("distributor_role"); + distributorRole = distributorRole == null ? "" : distributorRole; + for (String role : roles) { + if (distributorRole.indexOf(role) != -1) { + bFlag = true; + break; + } + } %> -${as_main.title} -<%@ - include file="/Frame/page/jspf/include/jsp_head_res.jspf" -%> - - - - - - - - - - + ${as_main.title} + + <%@ + include file="/Frame/page/jspf/include/jsp_head_res.jspf" + %> + + + + + + + + + + -
- - -
- -
-
-
-
${as_main.rightTitle}
-
-
-
-
${as_main.menuHtml}
-
<%@ - include file="/Frame/page/jspf/include/jsp_debug.jspf" -%> - +
+ + +
+ +
+
+
+
${as_main.rightTitle} + +
+
+
+
+
+
+
+
${as_main.menuHtml}
+
+
+<%@include file="/Frame/page/jspf/include/jsp_debug.jspf" %> + \ No newline at end of file