77 lines
3.9 KiB
Plaintext
77 lines
3.9 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.questionId})">
|
||
|
|
<td valign="middle" class="center">
|
||
|
|
<label>
|
||
|
|
<input type="checkbox" id="inp${user.examId}" value="${user.examId}" class="ace inp cb" >
|
||
|
|
<span class="lbl">
|
||
|
|
</span>
|
||
|
|
</label>
|
||
|
|
</td>
|
||
|
|
<th valign="middle" class="center">${(page.pageNum-1)*page.pageSize+idx.index+1}</th>
|
||
|
|
<th valign="middle" class="center">${user.examName}</th>
|
||
|
|
<th valign="middle" class="center">${user.releaseTime}</th>
|
||
|
|
<th valign="middle" class="center">${user.startTime}</th>
|
||
|
|
<th valign="middle" class="center">${user.examTime}</th>
|
||
|
|
<th valign="middle" class="center">${user.fabuUserid}</th>
|
||
|
|
<th valign="middle" class="center">${user.examCount}</th>
|
||
|
|
|
||
|
|
<c:choose>
|
||
|
|
<c:when test="${user.isActive eq '0'}">
|
||
|
|
<th valign="middle" class="center" style="color:red;">未开始</th>
|
||
|
|
</c:when>
|
||
|
|
<c:when test="${user.isActive eq '1'}">
|
||
|
|
<th valign="middle" class="center" style="color:green;">进行中</th>
|
||
|
|
</c:when>
|
||
|
|
<c:when test="${user.isActive eq '3'}">
|
||
|
|
<th valign="middle" class="center" style="color:green;">查人中</th>
|
||
|
|
</c:when>
|
||
|
|
<c:otherwise>
|
||
|
|
<th valign="middle" class="center">已结束</th>
|
||
|
|
</c:otherwise>
|
||
|
|
</c:choose>
|
||
|
|
<th style="vertical-align:middle;" class="center">
|
||
|
|
<c:choose>
|
||
|
|
<c:when test="${user.isActive eq '0'}">
|
||
|
|
<a href="#" onclick="startExam(`${user.examId}`, `${user.examTime}`,`${re}`)" style="color: red;">开始考试</a>
|
||
|
|
</c:when>
|
||
|
|
<c:when test="${user.isActive eq '3'}">
|
||
|
|
<a href="#" onclick="viewExam(`${user.examId}`, `${user.examCount}`)" style="color: red;">查看考试人员</a>
|
||
|
|
</c:when>
|
||
|
|
</c:choose>
|
||
|
|
<c:if test="${user.isActive != '3'}">
|
||
|
|
<a href='#' title="查看考试人员" onclick="viewExamPerson(`${user.examId}`,`${user.isActive}`)" class="aBtnNoTD" ><i class='glyphicon glyphicon-eye-open'></i></a>
|
||
|
|
<c:if test="${user.isActive == '2'}">
|
||
|
|
<a href='#' title="导出答题明细" onclick="exportcj(`${user.examId}`, `${user.examName}`)" class="lrspace3" ><i class='glyphicon glyphicon-arrow-down'></i></a>
|
||
|
|
</c:if>
|
||
|
|
</c:if>
|
||
|
|
<a title="修改" onclick="edit(`${user.examId}`, `${user.isActive}`, `${user.examCount}`)" class="lrspace3" ><i class='icon-edit-sign color bigger-140'></i></a>
|
||
|
|
<a href='#' title='删除' onclick='del(`${user.examId}`, `${user.isActive}`)' class='aBtnNoTD' ><i class='icon-remove-sign col bigger-140'></i></a>
|
||
|
|
<c:if test="${user.isActive eq 1}">
|
||
|
|
<a href='#' title='终止考试' onclick='stopExam(`${user.examId}`)' class='aBtnNoTD' ><i class='glyphicon glyphicon-remove'></i></a>
|
||
|
|
</c:if>
|
||
|
|
<c:if test="${user.isActive eq 3}">
|
||
|
|
<a href='#' title='选择座位' onclick='selectSeat(`${user.examId}`,`${user.examPersonNum}`)' class='aBtnNoTD' ><i class='glyphicon glyphicon-calendar'></i></a>
|
||
|
|
</c:if>
|
||
|
|
<c:if test="${user.isActive != 3}">
|
||
|
|
<a href='#' title='查看人员与座位对应情况' onclick='checkSeat(`${user.examId}`,`${user.examPersonNum}`)' class='aBtnNoTD' ><i class='glyphicon glyphicon-th'></i></a>
|
||
|
|
</c:if>
|
||
|
|
</th>
|
||
|
|
</tr>
|
||
|
|
<c:set var="flag" value="false" scope="request"/>
|
||
|
|
</c:forEach>
|
||
|
|
<tr>
|
||
|
|
<td colspan="12" class="center" >
|
||
|
|
<%@include file="../paging.jsp" %>
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
</c:when>
|
||
|
|
<c:otherwise>
|
||
|
|
<tr><td colspan='12' class='center'>没有相关数据</td></tr>
|
||
|
|
</c:otherwise>
|
||
|
|
</c:choose>
|