<!doctype html>
|
<html class="no-js">
|
<head>
|
<meta charset="utf-8">
|
[#include "/business/pages/include/static.html" /]
|
<title>批量导入</title>
|
</head>
|
<body>
|
<div class="table_basic">
|
<form id="myform" method="post" enctype="multipart/form-data">
|
<table class="table_basic_info" style="width:85%;height:100%;">
|
<tr>
|
<td colspan="2"><a href="${base}/upload/template/batchTemplate.xls" target="_blank"><font color="red">(点此下载模板文件)</font></a></td>
|
</tr>
|
<tr>
|
<td colspan="2"><input type="file" name="file" value="浏览"/><input id="import" name="import" type="button" value="导入"/></td>
|
</tr>
|
</table>
|
</form>
|
</div>
|
<script type="text/javascript">
|
$(function(){
|
$("#import").click(function(){
|
var filePath = $("input[name=file]").val();
|
if($.util.isEmpty(filePath)){
|
window.top.popupTips('请选择文件', 2);
|
}else{
|
$("#myform").submit();
|
}
|
});
|
});
|
</script>
|
</body>
|
</html>
|