From 1eeae82f74cbb3469ad8931e45b6fc77a945b912 Mon Sep 17 00:00:00 2001
From: kongzy <kongzy>
Date: 星期一, 23 十月 2023 16:10:08 +0800
Subject: [PATCH] 姑苏实验室去除价格确认过程

---
 src/main/webapp/index.xhtml |   34 ++++++++++++++++++++--------------
 1 files changed, 20 insertions(+), 14 deletions(-)

diff --git a/src/main/webapp/index.xhtml b/src/main/webapp/index.xhtml
index 815e1c9..22e051a 100644
--- a/src/main/webapp/index.xhtml
+++ b/src/main/webapp/index.xhtml
@@ -13,18 +13,21 @@
 <head></head>
 <ui:composition template="layouts/default.xhtml">
     <ui:define name="title">智慧实验室试剂全过程安全管理系统</ui:define>
+<!--    <ui:define name="title">智能安全危险化学品全生命周期管控系统</ui:define>-->
 
     <ui:define name="north">
         <h:form id="northForm">
             <p:panelGrid styleClass="header">
                 <p:row>
                     <p:column styleClass="header-logo">
-                        <p:graphicImage value="/resources/images/${institute.name}logo.png" style="width: 80px;height: 80px"></p:graphicImage>
+                        <p:graphicImage value="#{loginController.logo}" style="width: 80px;height: 80px"></p:graphicImage>
                     </p:column>
                     <p:column styleClass="header-title">
-                        <p:outputLabel value="${institute.name}"></p:outputLabel>
+                        <p:outputLabel value="#{loginController.title}"></p:outputLabel>
+<!--                        <p:outputLabel value="中国科学院苏州纳米技术与纳米仿生研究所"></p:outputLabel>-->
                         <br/>
                         <p:outputLabel value="智慧实验室试剂全过程安全管理系统" style="color: #ffd74a"></p:outputLabel>
+<!--                        <p:outputLabel value="智能安全危险化学品全生命周期管控系统" style="color: #ffd74a"></p:outputLabel>-->
                     </p:column>
                     <p:column styleClass="header-personal">
                         <h:inputHidden id="ischange" value="#{loginController.ischange}"></h:inputHidden>
@@ -107,12 +110,17 @@
                                     <p:submenu label="#{menu.title}" rendered="#{menuController.isDispRootMenu(menu)}"
                                                style="border: none"
                                                styleClass="#{menu.icon}">
+
                                         <c:forEach items="#{menu.subMenu}" var="subMenu">
-                                            <p:menuitem value="#{subMenu.title}"
-                                                        actionListener="#{menuController.goToPage(subMenu)}"
-                                                        update=":centerRootPanel,@form"
-                                                        containerStyleClass="#{menuController.currentPage==subMenu.page?'menu-item-selected':''}"
-                                                        rendered="#{menuController.isPermitted(subMenu.privilegeCode)}"></p:menuitem>
+                                            <c:if test="#{menuController.activeEnv ne 'gslab' or subMenu.id ne 'price_mng'}" >
+                                                <p:menuitem value="#{subMenu.title}"
+                                                            actionListener="#{menuController.goToPage(subMenu)}"
+                                                            update=":centerRootPanel,@form"
+                                                            containerStyleClass="#{menuController.currentPage==subMenu.page?'menu-item-selected':''}"
+                                                            rendered="#{menuController.isPermitted(subMenu.privilegeCode)}">
+                                                </p:menuitem>
+                                            </c:if>
+
                                         </c:forEach>
                                     </p:submenu>
                                 </p:panelMenu>
@@ -127,6 +135,10 @@
                         </c:if>
                     </c:forEach>
                 </c:if>
+                <!-- 添加系统链接 -->
+
+                                
+                                
             </p:panelGrid>
         </h:form>
     </ui:define>
@@ -139,13 +151,7 @@
     </ui:define>
 
     <ui:define name="south">
-        Copyright © 2017  ${institute.name}
-        <!--<p:commandLink id="nonAjax" src="http:beian.miit.gov.cn/"   ajax="false">
-        <h:outputText value="苏ICP备13012319号-1" />
-        </p:commandLink>-->
-        <a href="http://beian.miit.gov.cn">苏ICP备10220403号-6</a>
+        <a style="text-align: center;display: block" href="http://beian.miit.gov.cn" target="_Blank">Copyright©2017 中国科学院苏州纳米技术与纳米仿生研究所 苏ICP备10220403号-6</a>
     </ui:define>
-
-
 </ui:composition>
 </html>

--
Gitblit v1.9.2