63 lines
2.1 KiB
Plaintext
63 lines
2.1 KiB
Plaintext
|
|
<%@ page contentType="text/html;charset=UTF-8" %>
|
||
|
|
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||
|
|
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
|
||
|
|
<%@ taglib prefix="fns" uri="/WEB-INF/tlds/fns.tld" %>
|
||
|
|
|
||
|
|
<c:choose>
|
||
|
|
<c:when test="${page.totalRecord > 0}">
|
||
|
|
<c:forEach items="${page.results}" var="user" varStatus="idx">
|
||
|
|
<tr ondblclick="setChecked(${user.id})">
|
||
|
|
<th valign="middle" class="center">
|
||
|
|
<label>
|
||
|
|
<input type="checkbox" id="inp${user.id}" value="${user.id}" class="ace inp cb" >
|
||
|
|
<span class="lbl">
|
||
|
|
</span>
|
||
|
|
</label>
|
||
|
|
</th>
|
||
|
|
<th valign="middle" class="center">${(page.pageNum-1)*page.pageSize+idx.index+1}</th>
|
||
|
|
<th valign="middle" class="center">${user.loginName}</th>
|
||
|
|
<th valign="middle" class="center">${user.name}</th>
|
||
|
|
<th valign="middle" class="center">
|
||
|
|
${user.sex}
|
||
|
|
<%-- <c:if test="${user.sex eq 1}">
|
||
|
|
男
|
||
|
|
</c:if>
|
||
|
|
<c:if test="${user.sex eq 0}">
|
||
|
|
女
|
||
|
|
</c:if> --%>
|
||
|
|
</th>
|
||
|
|
<th valign="middle" class="center">${fns:nullPlaceholder(user.telphone,'----')}</th>
|
||
|
|
<c:if test="${empty user.totalName}">
|
||
|
|
<th valign="middle" class="center">综合管理部</th>
|
||
|
|
</c:if>
|
||
|
|
<c:if test="${not empty user.totalName}">
|
||
|
|
<th valign="middle" class="center">${user.totalName}</th>
|
||
|
|
</c:if>
|
||
|
|
<th valign="middle" class="center">
|
||
|
|
<c:choose>
|
||
|
|
<c:when test="${empty user.roles}">
|
||
|
|
暂未分配
|
||
|
|
</c:when>
|
||
|
|
<c:otherwise>
|
||
|
|
<c:forEach items="${user.roles}" var="role">
|
||
|
|
<c:if test="${flag}">,</c:if>
|
||
|
|
${role.name}
|
||
|
|
<c:set var="flag" value="true" scope="request"/>
|
||
|
|
</c:forEach>
|
||
|
|
</c:otherwise>
|
||
|
|
</c:choose>
|
||
|
|
</th>
|
||
|
|
<th valign="middle" class="center">${fns:nullPlaceholder(user.createDate,'----')}</th>
|
||
|
|
</tr>
|
||
|
|
<c:set var="flag" value="false" scope="request"/>
|
||
|
|
</c:forEach>
|
||
|
|
<tr>
|
||
|
|
<td colspan="11" class="center" >
|
||
|
|
<%@include file="../paging.jsp" %>
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
</c:when>
|
||
|
|
<c:otherwise>
|
||
|
|
<tr><td colspan='11' class='center'>没有相关数据</td></tr>
|
||
|
|
</c:otherwise>
|
||
|
|
</c:choose>
|