<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../common/init.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>试题中心</title>
<%@ include file="../common/top.jsp"%>
<link href="${ctx }/resources/css/main.css" rel="stylesheet" type="text/css" />
<link rel='stylesheet' href='${ctx}/resources/css/easyui.css' type='text/css' media='screen' />
<link rel='stylesheet' href='${ctx}/resources/css/easyui/icon.css' type='text/css' media='screen' />
<link rel='stylesheet' href='${ctx}/resources/css/user-center-style.css' type='text/css' media='screen' />
<link href="${ctx }/resources/css/component.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="${ctx}/resources/js/My97DatePicker/WdatePicker.js" ></script>
<script type="text/javascript" src="${ctx}/resources/js/jquery.easyui.min.js"></script>
<script type="text/javascript" src="${ctx}/resources/js/easyui-lang-zh_CN.js"></script>

<%@ include file="../common/validation.jsp"%>
<script type="text/javascript">
	function formatDate(date){
		var d = new Date(date);
		return (d.getFullYear()+"-"+(d.getMonth()+1)+"-"+d.getDate()+" "+d.getHours()+":"+d.getMinutes()+":"+d.getSeconds());
	}
</script>

</head>
<body>
<%@ include file="../common/header.jsp"%>
<div id="content">  
    <%@ include file="../common/sub_menu.jsp"%>
    <div id="page" class="page">
        <div class="page-header">导入历史记录</div>
        <div class="page-body">
               <table id="dg" class="easyui-datagrid"
                   data-options="url:'${ctx}/queryHistorylist',fitColumns:true,striped:true,toolbar: '#tb',pagination:true">
                   <thead>
                       <tr class="title" align="center">
                           <th data-options="field:'importTime',width:100, formatter: formatDate" >导入时间</th>
                           <th data-options="field:'questionCount',width:110">试题数量</th>
                           <th data-options="field:'fileName',width:50">文件名</th>
                           <th data-options="field:'fileUUId',width:110">文件唯一标识</th>
                           <th data-options="field:'id',width:60">导入编号</th>
                       </tr>
                   </thead>
                 </table>
                 
                 <div id="tb" style="height:auto">
                      <span>导入日期：从</span>
                      <input name="fromDate"  onclick='WdatePicker()'   readonly="readonly" value="" />
                      <span>至</span>
                      <input name="endDate" onclick='WdatePicker()'   readonly="readonly" value="" />
                      <a href="#" class="easyui-linkbutton" iconCls="icon-search">查找</a>
                 </div>
            
        </div>
    </div>
</div>
</body>
</html>