1234567891011121314151617181920212223242526272829 |
- <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
- <%String basePath = request.getScheme()+ "://" + request.getServerName() + ":" +request.getServerPort() + request.getContextPath(); %>
- <%@ taglib prefix="s" uri="/struts-tags" %>
- <form id="importHouseForm" method="post" enctype="multipart/form-data">
- <table class="mytable" style="width: 100%;">
- <tr>
- <th>模板文件</th>
- <td colspan="3">
- <a href="<%=basePath%>/mb/house.xls" title="点我下载">模板文件</a>
- </td>
- </tr>
- <tr>
- <th>选择文件</th>
- <td colspan="3">
- <input type="file" id="upload" name="upload">
- <input type="button" value="上传" onclick="javascript:formSubmit()"/>
- </td>
- </tr>
-
- </table>
- </form>
- <div id="message" style="color: red; font-size: 14; margin-top: 10px;"></div>
- <div id="errorList" style="font-size: 14; margin-top: 10px;display: none;"></div>
- <form id="errorForm" method="post" style="display: none">
- <textarea id="errorText" name="error" rows="10" cols="25"></textarea>
- </form>
- <div id="errorShowList" style="font-size: 14; margin-top: 10px;display: none;"></div>
- <input type="button" id="exportBtn" value="导出所有错误信息" style="display: none;" onclick="javascript:exportErrorMsg()"/>
|