部分代码:
<!-- 开始循环 -->
<c:choose>
<c:when test="${not empty varList}">
<c:if test="${QX.cha == 1 }">
<c:forEach items="${varList}" var="var" varStatus="vs">
<tr>
<td class='center' style="width: 30px;"><label><input
type='checkbox' name='ids' value="${var.USER_ID}" /><span
class="lbl"></span></label></td>
<td class='center' style="width: 30px;">${vs.index+1}</td>
<td>${var.NAME}</td>
<td>${var.SNO}</td>
<td>${var.GENDER}</td>
<td>${var.DEPARTMENT}</td>
<td>${var.CARD_TYPE}</td>
<td>${var.CARD_CODE}</td>
<td>${var.BIRTHDAY}</td>
<td>${var.IDENTITY}</td>
<td>${var.CREATE_DATE}</td>
<td>${var.REMARK}</td>
<td style="width: 30px;" class="center">
<div class='hidden-phone visible-desktop btn-group'>
<c:if test="${QX.edit != 1 && QX.del != 1 }">
<span
class="label label-large label-grey arrowed-in-right arrowed-in"><i
class="icon-lock" title="无权限"></i></span>
</c:if>
<div class="inline position-relative">
<button class="btn btn-mini btn-info"
data-toggle="dropdown">
<i class="icon-cog icon-only"></i>
</button>
<ul
class="dropdown-menu dropdown-icon-only dropdown-light pull-right dropdown-caret dropdown-close">
<c:if test="${QX.edit == 1 }">
<li><a style="cursor: pointer;" title="编辑"
onclick="edit('${var.USER_ID}');"
class="tooltip-success" data-rel="tooltip" title=""
data-placement="left"><span class="green"><i
class="icon-edit"></i></span></a></li>
</c:if>
<c:if test="${QX.del == 1 }">
<li><a style="cursor: pointer;" title="删除"
onclick="del('${var.USER_ID}');"
class="tooltip-error" data-rel="tooltip" title=""
data-placement="left"><span class="red"><i
class="icon-trash"></i></span> </a></li>
</c:if>
<li><a style="cursor: pointer;" title="详细"
onclick="del('${var.USER_ID}');"
class="tooltip-error" data-rel="tooltip" title=""
data-placement="left"><span class="red"><i
class="icon-info-sign"></i></span> </a></li>
</ul>
</div>
</div>
</td>
</tr>
<tr style="display:none"><td>详细信息</td></tr>
慕粉丶文