PayItemOutDashBoardFilePop.jsp 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. <%--
  2. - FileName : SuppSearchId.jsp
  3. - Author(s) : 이성민
  4. -
  5. - Description: 계정 찾기
  6. --%>
  7. <%@ page contentType="text/html; charset=utf-8" %>
  8. <%@ page import="com.udapsoft.waf.system.HandlerStorage" %>
  9. <%@ page import="com.udapsoft.waf.common.ui.*" %>
  10. <%@ page import="kr.co.hsnc.common.util.*"%>
  11. <%@ page import="kr.co.hsnc.common.sql.*" %>
  12. <%@page import="java.net.URLEncoder"%>
  13. <%@ page import="kr.co.udapsoft.ebid.buyer.common.file.FileManager"%>
  14. <%@ include file="/jsp/work/taglib.jsp" %>
  15. <jsp:useBean id="ctx" class="com.udapsoft.waf.system.context.SessionContext" scope="session" />
  16. <%
  17. ctx.init(request, response);
  18. HandlerStorage storage = ctx.getHandlerStorage();
  19. ValueObject params = storage.getParams();
  20. ValueObject user = storage.getUser();
  21. String event = storage.getEvent();
  22. RowSet autofile_list = storage.getRowSet("fileList");
  23. %>
  24. <script type="text/javascript">
  25. $(function(){
  26. $(".icon_x").click(function(){
  27. window.close();
  28. });
  29. });
  30. function zipFileDown(){
  31. var url="/common/file/FileDownloadServlet";
  32. url += "?mode=zipDown";
  33. url += "&fileName=계약서";
  34. url += "&zipAutoFile=Y";
  35. url += "&type=OUT";
  36. url += "&subContModId=<%=autofile_list.getRow(0).get("SUB_CONT_MOD_ID")%>";
  37. window.open(url, "_fileDown", "toolbar=no, width=400, height=100, top=500, left=400, toolbar=no,directories=no,status=no,scrollbars=yes,resize=no,menubar=no,target=new");
  38. }
  39. </script>
  40. <modular:search id="form1">
  41. <modular:key id="fevent" />
  42. </modular:search>
  43. <form id="form1" name="form1" method="post" modular:type="search" action="">
  44. <INPUT type="hidden" name="fevent" id="fevent" value="">
  45. <input type="hidden" name="signeddata" id="signeddata" value="" />
  46. <input type="hidden" name="ESTI_SIGNDATA" id="ESTI_SIGNDATA" value="" />
  47. <INPUT type='hidden' name="sItemInfo" value="">
  48. <input type="hidden" name="p_job_div_gubun" id="p_job_div_gubun" value="" />
  49. <input type="hidden" name="p_mail" id="p_mail" value="" />
  50. <input type="hidden" name="p_corp_id" id="p_corp_id" value="" />
  51. <input type="hidden" name="p_user_id" id="p_user_id" value="" />
  52. <input type="hidden" name="p_reSizeGubun" id="p_reSizeGubun" value="N" />
  53. <table class="form-table" style="width: 100%;">
  54. <colgroup>
  55. <col width="30%" />
  56. <col width="70%" />
  57. <col width="15%" />
  58. <col width="35%" />
  59. <col width="10%" />
  60. <tr>
  61. <th></th>
  62. <td class="button" style="text-align: right;">
  63. <span class="btnSearch center"><a href="javascript:zipFileDown();" id="btnZipDown">모두저장(ZIP)</a></span>
  64. </td>
  65. </tr>
  66. <tr>
  67. <th>파일명</th>
  68. <td>
  69. <div id="auto_attach_file_view" class="attach_file_view">
  70. <ul>
  71. <%
  72. for(int i=0;i<autofile_list.size();i++){
  73. %>
  74. <li><a href="/common/file/FileDownloadServlet?mode=fpDown&filePath=/cont/<%=autofile_list.getRow(i).get("FILE_PATH")%>&fileName=<%=URLEncoder.encode(autofile_list.getRow(i).get("FILE_NAME"), "UTF-8") +"."+ autofile_list.getRow(i).get("FILE_EXT")%>&fileRealName=<%=autofile_list.getRow(i).get("UNIQUE_FILE_NAME")%>"><%=i+1%> : <%=autofile_list.getRow(i).get("FILE_NAME")%> (<%=autofile_list.getRow(i).get("FILE_SIZE").trim() %>)</a></li>
  75. <%
  76. }
  77. %>
  78. </ul>
  79. </div>
  80. </td>
  81. </tr>
  82. </table>
  83. </form>