44 lines
2.5 KiB
Plaintext
44 lines
2.5 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>
|
|
<th valign="middle" style="vertical-align: middle !important;" class="center">${(page.pageNum-1)*page.pageSize+idx.index+1}</th>
|
|
<th valign="middle" style="vertical-align: middle !important;" class="center">${user.examName}</th>
|
|
<th valign="middle" style="vertical-align: middle !important;" class="center">${user.examCount}</th>
|
|
<th valign="middle" style="vertical-align: middle !important;" class="center">${user.examPerson}</th>
|
|
<th valign="middle" style="vertical-align: middle !important;" class="center">${user.specialName}</th>
|
|
<th valign="middle" style="vertical-align: middle !important;" class="center">${user.startTime}</th>
|
|
<th valign="middle" style="vertical-align: middle !important;" class="center">${user.endTime}</th>
|
|
<th valign="middle" style="vertical-align: middle !important;" class="center">${user.grade}</th>
|
|
<c:choose>
|
|
<c:when test="${user.grade*1 > 90}">
|
|
<th valign="middle" style="vertical-align: middle !important;" class="center" style="color:green;">通过</th>
|
|
</c:when>
|
|
<c:when test="${user.grade*1 eq 90}">
|
|
<th valign="middle" style="vertical-align: middle !important;" class="center" style="color:green;">通过</th>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<th valign="middle" style="vertical-align: middle !important;" class="center">不通过</th>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
<th style="vertical-align:middle;" style="vertical-align: middle !important;" class="center">
|
|
<a href='#' title='查看成绩单' onclick='view(`${user.examId}`, `${user.id}`,`1`)' class='aBtnNoTD' ><i class='icon-zoom-in color-p bigger-160'></i></a>
|
|
<a href='#' title='删除' onclick='del(`${user.examId}`, `${user.userId}`)' class='aBtnNoTD' ><i class='icon-remove-sign col bigger-160'></i></a>
|
|
</th>
|
|
</tr>
|
|
<c:set var="flag" value="false" scope="request"/>
|
|
</c:forEach>
|
|
<tr>
|
|
<td colspan="10" class="center" >
|
|
<%@include file="../paging.jsp" %>
|
|
</td>
|
|
</tr>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<tr><td colspan='10' class='center'>没有相关数据</td></tr>
|
|
</c:otherwise>
|
|
</c:choose> |