<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/include/taglib.jsp" %>
<!DOCTYPE html>
<html>
<head>
<title>详细</title>
<%@ include file="/include/header.jsp"%>
<link type="text/css" rel="stylesheet" href="${ctx}/css/index.css" />
</head>
<body class="">
	<div class="dialog_main">
		<div class="b_box">
			<table class="c_table m_t10">
				<tr>
					<td class="t_tit">编号</td>
					<td>${id} </td>
				</tr>
				<tr>
					<td class="t_tit">任务ID</td>
					<td>${sub_gid}</td>
				</tr>
				<tr>
					<td class="t_tit">评分1</td>
					<td>${score1}</td>
				</tr>
				<tr>
					<td class="t_tit">评分2</td>
					<td>${score2}</td>
				</tr>
				<tr>
					<td class="t_tit">评分3</td>
					<td>${score3}</td>
				</tr>
				<tr>
					<td class="t_tit">任务类型</td>
					<td>${type}</td>
				</tr>
				<tr>
					<td class="t_tit">任务名称</td>
					<td>${name}</td>
				</tr>
				<tr>
					<td class="t_tit">当前状态</td>
					<td>${status.status}</td>
				</tr>
				<tr>
					<td class="t_tit">当前执行人</td>
					<td>${now.user.userCnName}</td>
				</tr>
				<table>
					<thead>
						<td>用户</td>
						<td>状态</td>
						<td>描述</td>
						<td>时间</td>
					</thead>
					<tbody>
					<c:forEach items="${history}" var="one">
						<tr>
							<td>${one.user.userCnName }</td>
							<td>${one.status }</td>
							<td>${one.status }</td>
							<td>${one.taskTime }</td>
						</tr>
					</c:forEach>
					</tbody>
				</table>
				<%-- <tr>
					<td class="t_tit">now</td>
					<td>${now}</td>
				</tr>
				 <tr>
					<td class="t_tit">history</td>
					<td>${history}</td>
				</tr> --%>
				<%-- <tr>
					<td class="t_tit">status</td>
					<td>${status}</td>
				</tr> --%>
			</table>			
		</div>
		<div class="action_box m_t10 t_c">
			<input type="button" class="b_btn" id="returnBtn" value="返回" />
		</div>
	</div>

	<script type="text/javascript">
		$(function(){
			// 注册返回按钮事件
			$("#returnBtn").click(function () {
				// 关闭弹窗窗口
				parent.sysTaskDialog.close();
	        });
		});
	</script>
</body>
</html>