IndustryDocPop.jsp 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. <%--
  2. - FileName : IndustryDocPop.jsp
  3. - Author(s) : lsm
  4. -
  5. --%>
  6. <%@ page contentType="text/html; charset=utf-8" %>
  7. <%@ page import="com.udapsoft.waf.system.HandlerStorage" %>
  8. <%@ page import="kr.co.hsnc.common.util.ValueObject" %>
  9. <%@ page import="kr.co.hsnc.common.sql.RowSet" %>
  10. <%@ page import="com.udapsoft.waf.common.ui.*" %>
  11. <%@ page import="com.udapsoft.waf.common.util.StringUtils" %>
  12. <%@ page import="kr.co.hsnc.common.config.WAFConfig" %>
  13. <%@ include file="/jsp/work/taglib.jsp" %>
  14. <jsp:useBean id="ctx" class="com.udapsoft.waf.system.context.SessionContext" scope="session" />
  15. <%
  16. ctx.init(request, response);
  17. HandlerStorage storage = ctx.getHandlerStorage();
  18. ValueObject params = storage.getParams();
  19. ValueObject user = storage.getUser();
  20. ValueObject IndustryPop = storage.getValueObject("DocInfoPop");
  21. String event = storage.getEvent();
  22. %>
  23. <script type="text/javascript">
  24. $(function(){
  25. $("#btn_close").click(function(){
  26. parent.fLayerPopClose('IndustryPop');
  27. });
  28. $("#btn_save").click(function(){
  29. var f = document.form1;
  30. $("#fevent").val("GET_SAVE");
  31. if(confirm("산업재해 은폐금지 서약서를 확인하셨습니까?"))
  32. {
  33. submitXmlRequest("/portal/bid/IndustryDocPopSave_form.screen", "GET_INDUSTRY_SAVE", f);
  34. }
  35. });
  36. $(".icon_x").click(function(){
  37. window.close();
  38. });
  39. $("#btn_print").click(function(){
  40. jQuery("#btn_save").hide();
  41. jQuery("#btn_print").hide();
  42. jQuery("#btn_close").hide();
  43. $("#title1").css({ 'font-size' : 32});
  44. $("#text1").css({ 'font-size' : 20});
  45. window.print();
  46. $("#btn_close").click();
  47. //self.close();
  48. });
  49. });
  50. $(document).ready(function(){
  51. if("<%=params.get("p_gubun")%>" == "buyer"){
  52. jQuery("#btn_save").hide();
  53. }
  54. });
  55. function doResult(resultObj) {
  56. var f = document.form1;
  57. try
  58. {
  59. document.form1.isSubmit = false;
  60. if($("#fevent").val() == "GET_SAVE")
  61. {
  62. if (resultObj.getSuccess())
  63. {
  64. alert("산업재해 은폐금지 서약서 확인이 완료되었습니다.");
  65. window.close();
  66. parent.$.searchList(); //showmodal 조치
  67. }
  68. else
  69. {
  70. dlgErrorMsg( resultObj );
  71. }
  72. }
  73. }
  74. catch(errorObject) {
  75. showErrorDlg("doResult()", errorObject);
  76. }
  77. }
  78. </script>
  79. <modular:search id="form1">
  80. <modular:key id="fevent" />
  81. </modular:search>
  82. <form id="form1" name="form1" method="post" modular:type="search">
  83. <input type="hidden" name="fevent" id="fevent" value="">
  84. <input type="hidden" name="industry_yn" id="industry_yn" value="<%=params.get("p_industry_yn") %>" />
  85. <input type="hidden" name="bid_no" id="bid_no" value="<%=params.get("p_bid_no") %>" />
  86. <input type="hidden" name="bid_deg" id="bid_deg" value="<%=params.get("p_bid_deg") %>" />
  87. <input type="hidden" name="vendor_cd" id="vendor_cd" value="<%=params.get("p_vendor_cd") %>" />
  88. <input type="hidden" name="dept_nm" id="dept_nm" value="<%=params.get("p_dept_nm") %>" />
  89. <input type="hidden" name="industry_yn_dy" id="industry_yn_dy" value="<%=params.get("p_industry_yn_dy") %>" />
  90. <input type="hidden" name="vendor_name" id="vendor_name" value="<%=params.get("p_vendor_name") %>" />
  91. <input type="hidden" name="gubun" id="gubun" value="<%=params.get("p_gubun") %>" />
  92. <div style="width: 100%; text-align: center; margin-top: 10px; margin-bottom: 15px;" >
  93. <span id="title1" style="font-size: 25px; font-weight: bold;"><u>산업재해 은폐금지 서약서</u></span>
  94. </div>
  95. <table cellspacing="0" cellpadding="0" border="0" bordercolordark="#FFFFF" bordercolorlight="#d2d2d2" class="input_table" style="width: 450px;">
  96. <!-- <col width="*"> -->
  97. <div id="text1" style="width: 100%; vertical-align: middle; float: left; text-align: left; padding-bottom: 8px; line-height:50%" >
  98. <div style="width: 100%; vertical-align: middle; float: left; text-align: left; padding-bottom: 8px; line-height:130%" >
  99. <br></br>
  100. </div>
  101. <div style="margin-left:15px; width: 93%; vertical-align: middle; float: left; text-align: center; padding-bottom: 8px; line-height:130%" >
  102. <br>산업재해 발생시 안전 관련 법규 및 규정에 따라 즉각 귀사&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</br>
  103. <br>안전보건총괄책임자에게 보고할 것이며, 사고를 은폐할 경우 향후</br>
  104. <br>입찰제한, 등록취소 등 귀사의 제재조치에 따를 것을 서약합니다.</br>
  105. </div>
  106. <div style="width: 100%; vertical-align: middle; float: left; text-align: left; padding-bottom: 8px; line-height:130%" >
  107. <!-- <br>이상과 같이 서약하며 만일 이 서약을 위반하여 귀사의 유형 또는 무형의 재산에 손해를 끼쳤을 경우나 또는 권리를 침해하혔을 경우에는 민.형사상의 모든 책임을 질 것이며 귀사의 어떠한 조치라도 이의를 제기하지 않겠기에 서약을 제출합니다.</br> -->
  108. </div>
  109. <div style="margin-left:15px; width: 93%; vertical-align: middle; float: left; text-align: center; padding-bottom: 8px; line-height:130%; font-weight: bold;" >
  110. <br></br>
  111. <br></br>
  112. <br><%=IndustryPop.get("moral_yn_dy")%></br>
  113. <br></br>
  114. <br></br>
  115. </div>
  116. <div style="margin-left:11px; width: 93%; vertical-align: middle; float: left; text-align: right; padding-bottom: 8px; line-height:130%; font-weight: bold;" >
  117. <br></br>
  118. <br>(서약인) 소 재 지 : <%=IndustryPop.get("address") %></br>
  119. <br>회 사 명 : <%=IndustryPop.get("vendor_name") %></br>
  120. <br>대 표 이 사 : <%=IndustryPop.get("rep_name") %></br>
  121. </div>
  122. <div style="width: 100%; vertical-align: middle; float: left; text-align: center; padding-bottom: 8px; line-height:100%; font-weight: bold;" >
  123. <br></br>
  124. <br></br>
  125. <br>SGC이앤씨(주) 귀중</br>
  126. </div>
  127. </div>
  128. </table>
  129. <div style="width: 480px; text-align: center; margin-top: 20px;">
  130. <span id="save" name="save" class="btnSearch center"><a href="javascript:void(0);" id="btn_save">확인</a></span>
  131. <span id="print" name="print" class="btnSearch center"><a href="javascript:void(0);" id="btn_print">인쇄</a></span>
  132. <span id="close" name="close" class="btnSearch center"><a href="javascript:void(0);" id="btn_close">닫기</a></span>
  133. </div>
  134. </form>