oldMenu.jsp 10.0 KB
<%--
  Created by IntelliJ IDEA.
  User: kangmor
  Date: 2015/9/14
  Time: 9:40
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" pageEncoding="UTF-8" %>
<ul class="page-sidebar-menu" data-keep-expanded="false" data-auto-scroll="true" data-slide-speed="200">
    <!-- DOC: To remove the sidebar toggler from the sidebar you just need to completely remove the below "sidebar-toggler-wrapper" LI element -->
    <li class="sidebar-toggler-wrapper">
        <!-- BEGIN SIDEBAR TOGGLER BUTTON -->
        <div class="sidebar-toggler">
        </div>
        <!-- END SIDEBAR TOGGLER BUTTON -->
    </li>
    <!-- DOC: To remove the search box from the sidebar you just need to completely remove the below "sidebar-search-wrapper" LI element -->
    <%--<li>--%>
    <%--<a href="${ctx}/storage/kanban.html">--%>
    <%--<i class="icon-list"></i>--%>
    <%--<span class="title">KANBAN</span>--%>
    <%--<span class="arrow "></span>--%>
    <%--</a>--%>
    <%--</li>--%>
    <li class="start">
        <a href="${ctx}/storage/chart.html">
            <i class="icon-home"></i>
            <span class="title"><fmt:message key="menu.home"/></span>
        </a>
    </li>



    <security:authorize ifAnyGranted="ROLE_MANAGE_STACK_OUT">
        <li id="menu-storage">
            <a href="javascript:;">
                <i class="icon-cloud-download"></i>
                <span class="title"><fmt:message key="menu.cloud"/></span>
                <span class="arrow "></span>
            </a>
            <ul class="sub-menu">
                <li>
                    <%--<a href="${ctx}/storage/areaSearch.html">--%>
                        <a href="${ctx}/storage/areaView.html">
                            <%--<i class="icon-basket"></i>--%>
                        <fmt:message key="menu.cloud.storage"/></a>
                </li>
                <li>
                        <%--<a href="${ctx}/storage/areaSearch.html">--%>
                    <a href="${ctx}/storage/manualStorage.html">
                            <%--<i class="icon-basket"></i>--%>
                        <fmt:message key="手动仓"/></a>
                </li>
                <li>
                        <%--<a href="${ctx}/storage/areaSearch.html">--%>
                    <a href="${ctx}/storage/virtualStorage.html">
                            <%--<i class="icon-basket"></i>--%>
                        <fmt:message key="虚拟仓"/></a>
                </li>
                <c:if test="${loginUser.debug}">
                    <li>
                        <a href="${ctx}/storage/storageSearch.html">
                                <%--<i class="icon-home"></i>--%>
                            <fmt:message key="料仓管理"/></a>
                    </li>
                </c:if>
                <li>
                    <a href="${ctx}/dataLog/search.html">
                        <fmt:message key="出入库日志"/></a>
                </li>
                <li>
                    <a href="${ctx}/storage/alarmInfoSearch.html">
                        <fmt:message key="报警日志"/></a>
                </li>
                <!--
      <li>
        <a href="${ctx}/storage/componentUpdate.html">
          新建元器件</a>
      </li>
      -->
            </ul>
        </li>
    </security:authorize>

    <%--工单管理权限及出库权限可进入--%>
    <security:authorize ifAnyGranted="ROLE_MANAGE_FEEDER,ROLE_MANAGE_SPECIFIEDBATCH,ROLE_MANAGE_STACK_OUT,ROLE_FEEDER_VIEW">
        <li id="menu-workOrder">
            <a href="javascript:;">
                <i class="icon-doc"></i>
      <span class="title">
        <fmt:message key="menu.batch"/>
      </span>
                <span class="arrow "></span>
            </a>
            <ul class="sub-menu">
            <security:authorize ifAnyGranted="ROLE_MANAGE_FEEDER,ROLE_MANAGE_STACK_OUT,ROLE_FEEDER_VIEW">
                <li>
                    <a href="${ctx}/workOrder/feederSearch.html">
                            <%--<i class="icon-basket"></i>--%>
                        <fmt:message key="menu.batch.feeder"/></a>
                </li>
            </security:authorize>
        <security:authorize ifAnyGranted="ROLE_MANAGE_SPECIFIEDBATCH,ROLE_MANAGE_STACK_OUT">
                <li>
                    <a href="${ctx}/workOrder/specifiedBatchSearch.html">
                            <%--<i class="icon-basket"></i>--%>
                        <fmt:message key="menu.batch.specifiedBatch"/></a>
                </li>
            </security:authorize>
                <c:if test="${loginUser.debug}">
                    <li>
                        <a href="${ctx}/storage/workOrderTotal.html">
                        <%--<i class="icon-bar-chart"></i>--%>
                        工单汇总</a>
                        </li>
                    <li>
                        <a href="${ctx}/workOrder/workOrderSearch.html">
                                <%--<i class="icon-bar-chart"></i>--%>
                            <fmt:message key="menu.workOrder.search"/></a>
                    </li>
                    <li>
                        <a href="${ctx}/workOrder/workOrderUpdate.html">
                                <%--<i class="icon-bulb"></i>--%>
                            <fmt:message key="menu.workOrder.new"/></a>
                    </li>
                </c:if>
            </ul>
        </li>
    </security:authorize>

    <%--产品管理,BOM管理,出库    权限--%>
    <security:authorize ifAnyGranted="ROLE_MANAGE_COMPONENT,ROLE_MANAGE_STACK_OUT">
        <li id="menu-component">
            <a href="javascript:;">
                <i class="icon-film"></i>
      <span class="title">
        <fmt:message key="menu.component"/></span>
                <span class="arrow "></span>
            </a>
            <ul class="sub-menu">
                <c:if test="${loginUser.debug}">
                    <%--BOM管理--%>
                <security:authorize ifAnyGranted="ROLE_MANAGE_BOM">
                    <li>
                        <a href="${ctx}/component/bomSearch.html">
                            <fmt:message key="menu.component.bom"/></a>
                    </li>
                </security:authorize>
                </c:if>
                    <%--库存管理--%>
                        <li>
                            <a href="${ctx}/component/inventory.html">
                                <fmt:message key="menu.component.inventory"/></a>
                        </li>
                    <%--料件数量修改--%>
                <li>
                    <a href="${ctx}/component/ReelNumModify.html">
                        <fmt:message key="料件数量修改"/></a>
                </li>
                    <%-- 查找出库  出库权限--%>
                <security:authorize ifAnyGranted="ROLE_MANAGE_STACK_OUT">
                    <li>
                        <a href="${ctx}/component/storagePosFind.html">
                            <fmt:message key="menu.cloud.checkOut"/></a>
                    </li>
                </security:authorize>
                    <%--物料管理--%>
                <security:authorize ifAnyGranted="ROLE_MANAGE_COMPONENT">
                    <li>
                        <a href="${ctx}/component/componentSearch.html">
                            <fmt:message key="menu.component.search"/></a>
                    </li>
                </security:authorize>
            </ul>
        </li>
    </security:authorize>


    <%--条码管理--%>
    <security:authorize ifAnyGranted="ROLE_MANAGE_BARCODE">
        <li id="menu-barcode">
            <a href="javascript:;">
                <i class="icon-grid"></i>
                <span class="title"><fmt:message key="menu.barCode"/></span>
                <span class="arrow "></span>
            </a>
            <ul class="sub-menu">
                <li>
                    <a href="${ctx}/barcode/barcodeUpdate.html">
                        <fmt:message key="menu.barCode.new"/></a>
                </li>
                <li>
                    <a href="${ctx}/barcode/barcodeSearch.html">
                        <fmt:message key="menu.barCode.search"/></a>
                </li>
            </ul>
        </li>
    </security:authorize>

    <%--角色及权限管理--%>
    <security:authorize ifAnyGranted="ROLE_MANAGE_USER,ROLE_MANAGE_ROLE">
        <li id="menu-user">
            <a href="javascript:;">
                <i class="icon-user-follow"></i>
                <span class="title"><fmt:message key="系统"/></span>
                <span class="arrow "></span>
            </a>
            <ul class="sub-menu">
            <security:authorize ifAnyGranted="ROLE_MANAGE_USER">
                <li>
                    <a href="${ctx}/user/users.html">
                            <%--<i class="icon-home"></i>--%>
                        <fmt:message key="menu.user.account"/></a>
                </li>
            </security:authorize>

                <security:authorize ifAnyGranted="ROLE_MANAGE_ROLE">
                    <li>
                        <a href="${ctx}/user/roleSearch.html">
                                <%--<i class="icon-basket"></i>--%>
                            <fmt:message key="menu.user.role"/></a>
                    </li>
                </security:authorize>

                <li>
                    <a href="${ctx}/system/runStatus.html">
                            <%--<i class="icon-basket"></i>--%>
                        <fmt:message key="运行统计" /></a>
                </li>

                <li>
                    <a href="${ctx}/system/settings.html">
                            <%--<i class="icon-basket"></i>--%>
                        <fmt:message key="系统设置" /></a>
                </li>
            </ul>
            </a>
        </li>
    </security:authorize>


    <%--<li>--%>
        <%--<a href="javascript:;">--%>
            <%--<i class="icon-question"></i>--%>
            <%--<span class="title"><fmt:message key="menu.help"/></span>--%>
            <%--<span class="arrow "></span>--%>
        <%--</a>--%>
    <%--</li>--%>
</ul>