selectinfo01_01.html 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <title>监管转办客户投诉分析表</title>
  6. <style>
  7. body,html{padding:0;margin:0;}
  8. *{padding:0;margin:0;}
  9. .title{width:85%;padding:0;margin:10px auto 20px auto;line-height:20px;font-size:20px;font-weight:bold; font-family:"Microsoft YaHei"; text-align:center; color:#404040;}
  10. .time{width:85%;padding:0;margin:0 auto;line-height:30px;font-size:14px; font-family:"Microsoft YaHei"; text-align:center;color:#8c8c8c}
  11. .time .dc{width:auto;padding:0 10px;background:#7ea6d2;height:24px;line-height:20px;color:#fff; outline:none;border:#9ebfe4 1px solid; cursor:pointer; border-radius:5px; display:block;margin:3px 0; float:left;}
  12. .time span{padding:0;margin:0;float:left;}
  13. .table{width:85%;margin:10px auto;padding:0;border-top: rgba(10, 10, 10, 0.96) 1px solid;border-left: #0a0a0a 1px solid;}
  14. .table tr{width:100%;margin:0;padding:0;}
  15. .table tr td{margin:0;padding:0;border-bottom: #0a0a0a 1px solid;border-right: #0a0a0a 1px solid;min-height:30px;line-height:24px;padding:5px;font-size:14px; font-family:"Microsoft YaHei"; text-align:center;color:#4e4e4e;}
  16. </style>
  17. <script type="text/ecmascript" src="${ctx}/assets/lib/jquery/1.9.1/jquery.js"></script>
  18. <script type="text/ecmascript" src="${ctx}/assets/lib/jquery/base64.js"></script>
  19. <script type="text/ecmascript" src="${ctx}/assets/lib/jquery/tableExport.js"></script>
  20. <script type="text/javascript" src="${ctx}/assets/js/tablesMergeCell.js"></script>
  21. <script type="text/javascript">
  22. <!--根据下方table的id(tables)调用tableExport.js的tableExport方法导出表格-->
  23. function exportTable() {
  24. $("td:hidden").remove();
  25. $("#tables").tableExport({fileName: '监管转办客户投诉分析表',type:"xls",escape:"false"});
  26. }
  27. //下载附件
  28. function downFile(filePath,fileName) {
  29. window.open('${ctx}/downloadFile.do?FileDownloadPath='+filePath+'&FileDownloadName='+fileName,'Derek','resizable=yes,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no');
  30. }
  31. $(function () {
  32. $('#tables').tablesMergeCell({
  33. cols: [0,1]
  34. });
  35. })
  36. </script>
  37. </head>
  38. <body>
  39. <div class="time">
  40. <span><input class="dc" value="导出Excel" type="button" onclick="exportTable()"/></span>
  41. <div style="clear:both;"></div>
  42. </div>
  43. <table id="tables" width="85%" cellpadding="0" cellspacing="0" border="0" class="table">
  44. ${tableData!''}
  45. </table>
  46. </body>
  47. </html>