码迷,mamicode.com
首页 > 其他好文 > 详细

显示功能

时间:2017-08-04 21:31:08      阅读:141      评论:0      收藏:0      [点我收藏+]

标签:uri   item   erp   个人   bar   data-   ems   isa   nes   

<%-- 
    Document   : menu
    Created on : 2017-7-14, 17:05:22
    Author     : sbkj-zyh
--%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<aside class="Hui-aside">
    <div class="menu_dropdown bk_2">
        <%--
    权限1.0
    <dl id="menu-system">
                <dt><i class="Hui-iconfont"></i> 系统管理<i class="Hui-iconfont menu_dropdown-arrow"></i></dt>
                <dd>
                        <ul>
                            <c:if test="${Suser.userNo==null}">
                                <li><a data-href="tohersystem/company/list" data-title="企业管理" href="javascript:void(0)">企业管理</a></li>
                                <li><a data-href="tohersystem/authority/list" data-title="权限管理" href="javascript:void(0)">权限管理</a></li>
                                <li><a data-href="tohersystem/groupmanage/list.do" data-title="分组管理" href="javascript:void(0)">分组管理</a></li>
                            </c:if>
                            <c:if test="${Suser.isAdmin==1 and Suser.userNo!=null}">
                                <li><a data-href="tohersystem/configure/list.do" data-title="系统配置" href="javascript:void(0)">系统配置</a></li>
                                <li><a data-href="tohersystem/staffmanage/list.do" data-title="员工管理" href="javascript:void(0)">员工管理</a></li>
                                <li><a data-href="tohersystem/groupmanage/list.do" data-title="分组管理" href="javascript:void(0)">分组管理</a></li>
                                <li><a data-href="tohersystem/loginlog/list.do" data-title="员工登录日志" href="javascript:void(0)">员工登录日志</a></li>
                            </c:if>
                            <c:choose>
                                <c:when test="${Suser.isAdmin==1 and Suser.userNo!=null}">
                                <li><a data-href="tohersystem/migration/list.do" data-title="套餐迁转" href="javascript:void(0)">套餐迁转</a></li>
                                <li><a data-href="tohersystem/outbound/list.do" data-title="外呼宽带" href="javascript:void(0)">外呼宽带</a></li>
                                </c:when>
                                <c:when test="${Suser.parentNo!=null and Suser.isAdmin !=1}">
                                <li><a data-href="tohersystem/psmigration/list.do" data-title="套餐迁转" href="javascript:void(0)">套餐迁转</a></li>
                                <li><a data-href="tohersystem/psoutbound/list.do" data-title="外呼宽带" href="javascript:void(0)">外呼宽带</a></li>
                                </c:when>
                           </c:choose>
                        </ul>
                </dd>
        
        <dl id="menu-member">
                        <dt><i class="Hui-iconfont"></i> 个人业务<i class="Hui-iconfont menu_dropdown-arrow"></i></dt>
                        <dd>
                                <ul>
                                        <li><a data-href="toherPBusiness/mymigration/list.do" data-title="我的套餐迁转" href="javascript:;">我的套餐迁转</a></li>
                                        <li><a data-href="toherPBusiness/myoutbound/list.do" data-title="我的外呼宽带" href="javascript:;">我的外呼宽带</a></li>
                                </ul>
                        </dd>
                </dl>
        
        </dl>
        
        权限2.0
        <dl id="menu-member">
            <dt><i class="Hui-iconfont"></i> 系统管理<i class="Hui-iconfont menu_dropdown-arrow"></i></dt>
            <dd>
                <ul>
                    <c:forEach items="${Sauthority}" var="authority">
                        <c:if test="${fn:indexOf(Suser.authorityNo, authority.authorityNo) != -1}"><li><a data-href="${authority.url}" data-title="${authority.authorityName}" href="javascript:;">${authority.authorityName}</a></li></c:if>
                        </c:forEach>
                </ul>
            </dd>
        </dl>
        <dl id="menu-member">
            <dt><i class="Hui-iconfont"></i> 个人业务<i class="Hui-iconfont menu_dropdown-arrow"></i></dt>
            <dd>
                <ul>
                    <c:forEach items="${Sauthority}" var="authority">
                        <c:if test="${fn:indexOf(Suser.authorityNo, authority.authorityNo) != -1}"><li><a data-href="${authority.url}" data-title="${authority.authorityName}" href="javascript:;">${authority.authorityName}</a></li></c:if>
                        </c:forEach>
                </ul>
            </dd>
        </dl>
        --%>
        <!--权限3.0-->
        <c:forEach items="${Sauthority}" var="module">
        <dl id="menu-member">
            <dt><i class="Hui-iconfont">${module.url}</i> ${module.name}<i class="Hui-iconfont menu_dropdown-arrow"></i></dt>
            <dd>
                <ul>
                    <c:forEach items="${module.child}" var="authority">
                        <c:if test="${fn:indexOf(Suser.authorityNo, authority.authorityNo) != -1}"><li><a data-href="${authority.url}" data-title="${authority.authorityName}" href="javascript:;">${authority.authorityName}</a></li></c:if> 
                    </c:forEach>
                </ul>
            </dd>
        </dl>
        </c:forEach>
    </div>
</aside>
<div class="dislpayArrow hidden-xs"><a class="pngfix" href="javascript:void(0);" onClick="displaynavbar(this)"></a></div>

  

显示功能

标签:uri   item   erp   个人   bar   data-   ems   isa   nes   

原文地址:http://www.cnblogs.com/itchenfirst/p/7287062.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!