79 lines
2.3 KiB
Plaintext
79 lines
2.3 KiB
Plaintext
<%@page import="com.bonus.core.DateTimeHelper"%>
|
|
<%@ page contentType="text/html;charset=UTF-8" %>
|
|
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
|
<!DOCTYPE html >
|
|
<html lang="en">
|
|
<meta name="renderer" content="webkit">
|
|
<head>
|
|
<%@include file="../baseset.jsp" %>
|
|
<%@include file="../systemset.jsp" %>
|
|
</head>
|
|
<style type="text/css">
|
|
.widget-toolbar a{
|
|
vertical-align:middle;
|
|
}
|
|
</style>
|
|
<body>
|
|
<div class="page-content" >
|
|
<div class="row-fluid">
|
|
<div class="col-xs-12">
|
|
<table id="baseTable">
|
|
<thead>
|
|
<tr>
|
|
<th style="width:10%"class="center">考试人员</th>
|
|
<th style="width:10%"class="center">身份证号</th>
|
|
<th style="width:10%" class="center">考试场次</th>
|
|
<th style="width:10%" class="center">是否交卷</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<c:choose>
|
|
<c:when test="${Lists.size() > 0}">
|
|
<c:forEach items="${Lists}" var="user" varStatus="idx">
|
|
<c:if test="${user.delFlag eq 1}">
|
|
<tr style="background-color: #8fc48f">
|
|
<td valign="middle" class="center">${user.name}</td>
|
|
<td valign="middle" class="center">${user.idcard}</td>
|
|
<td valign="middle" class="center">${user.times}</td>
|
|
<td valign="middle" class="center">
|
|
已交卷
|
|
</td>
|
|
</tr>
|
|
</c:if>
|
|
<c:if test="${user.delFlag eq 0}">
|
|
<tr style="background-color: #ff9b94">
|
|
<td valign="middle" class="center">${user.name}</td>
|
|
<td valign="middle" class="center">${user.idcard}</td>
|
|
<td valign="middle" class="center">${user.times}</td>
|
|
<td valign="middle" class="center">
|
|
未交卷
|
|
</td>
|
|
</tr>
|
|
</c:if>
|
|
</c:forEach>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<tr><td colspan='6' class='center'>暂无人员</td></tr>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
<script type="text/javascript">
|
|
function getInfo() {
|
|
var Lists = '${Lists}';
|
|
var obj = {};
|
|
var num = 0;
|
|
for(var i of Lists){
|
|
if(i.delFlag == 0){
|
|
num++;
|
|
}
|
|
}
|
|
obj.num = num;
|
|
return obj;
|
|
}
|
|
</script>
|
|
</html> |