Explorar el Código

恢复考试详情页

ting.yin hace 6 años
padre
commit
c1277ac5c8

+ 34 - 0
stmms-web/src/main/webapp/WEB-INF/views/modules/exam/examInfo.jsp

@@ -0,0 +1,34 @@
+<%@ page contentType="text/html;charset=UTF-8" %>
+<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
+<html>
+<head>
+	<title>考试详情</title>
+	<meta name="decorator" content="default"/>
+	<%@include file="/WEB-INF/views/include/head.jsp" %>
+</head>
+<body>
+	<%-- <%@include file="/WEB-INF/views/include/examInfoNavTabs.jsp" %> --%>
+	<table id="contentTable" class="table table-striped table-bordered table-condensed">
+		<thead>
+			<tr>
+				<th>名称</th>
+				<th>属性</th>
+				<th>操作</th>
+			</tr>
+		</thead>
+		<tbody>
+		<c:forEach items="${list}" var="vo">
+			<tr>
+				<td>${vo.name}</td>
+				<td>${vo.attr}</td>
+				<td>
+				<c:if test="${vo.url!='' && web_user.schoolAdmin==true}">
+				<a href="${ctx}${vo.url}" >进入</a>
+				</c:if>
+				</td>
+			</tr>
+		</c:forEach>
+		</tbody>
+	</table>
+</body>
+</html>

+ 1 - 1
stmms-web/src/main/webapp/WEB-INF/views/modules/exam/examList.jsp

@@ -44,7 +44,7 @@
 				<td><fmt:formatDate value="${exam.examTime}" pattern="yyyy-MM-dd" /></td>
 				<td>${exam.status.name}</td>
 				<td>
-    				<a href="${ctx}/admin/exam-select/${exam.id}">详情</a>
+    				<a href="${ctx}/admin/exam-view/${exam.id}">详情</a>
 				</td>
 			</tr>
 		</c:forEach>