<%-- 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>
时间: 2024-10-10 10:43:27