SPAAA02200_확인서출력.xrw 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>확인서출력</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <send>
  10. <savedata/>
  11. </send>
  12. <main>
  13. <aaa>
  14. <issrem/>
  15. <isscnts/>
  16. <status/>
  17. <actstatflag/>
  18. <joinorgseqno/>
  19. <voluntrfromdd/>
  20. <voluntrtodd/>
  21. <no/>
  22. </aaa>
  23. <returnsts>
  24. <statusinfo>
  25. <restatus/>
  26. <voluntrid/>
  27. <actstatflag/>
  28. </statusinfo>
  29. </returnsts>
  30. </main>
  31. <init/>
  32. <hidden/>
  33. </root>
  34. </instance>
  35. <script type="javascript" ev:event="xforms-ready">
  36. <![CDATA[
  37. fInit();
  38. ]]>
  39. </script>
  40. <submission id="TXAAA02601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/returnsts"/>
  41. </model>
  42. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  43. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  44. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  45. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  46. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  47. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  48. </xhtml:head>
  49. <script type="javascript">
  50. <![CDATA[
  51. var sParamMsg = "";
  52. // 초기값
  53. function fInit()
  54. {
  55. if(checkOpener()){
  56. sParamMsg = opener.javascript.getParameter("SMAAA01700_Param");
  57. //alert("여기는 타냐!");
  58. }
  59. //alert("sParamMsg : ", sParamMsg);
  60. if(sParamMsg == "Y"){//교직원봉사자신청화면에서 Open한경우-kys-20091005
  61. ipt_fromdd.visible = true;
  62. ipt_todd.visible = true;
  63. caption2.visible = true;
  64. cap_fromtodd.visible = true;
  65. model.makeValue("/root/main/aaa/voluntrfromdd", "20080101");//디폴트 20080101
  66. ipt_fromdd.refresh();
  67. }
  68. }
  69. //확인
  70. function fSendParam()
  71. {
  72. opener.model.makeValue("/root/main/aaa/report/issrem",model.getValue("/root/main/aaa/issrem"));
  73. opener.model.makeValue("/root/main/aaa/report/isscnts",model.getValue("/root/main/aaa/isscnts"));
  74. opener.model.makeValue("/root/main/aaa/report/no",model.getValue("/root/main/aaa/no"));
  75. opener.model.makeValue("/root/main/aaa/report/status","i");
  76. //20091005-kys-이력조회기간추가(교직원봉사자신청화면에서 Open한경우)
  77. if(sParamMsg == "Y"){
  78. if(model.getValue("/root/main/aaa/voluntrfromdd")=="" || model.getValue("/root/main/aaa/voluntrtodd")=="") {
  79. messageBox("조회기간은", "I003", "");
  80. return;
  81. }
  82. opener.model.makeValue("/root/send/reqdata/voluntrfromdd",model.getValue("/root/main/aaa/voluntrfromdd"));
  83. opener.model.makeValue("/root/send/reqdata/voluntrtodd",model.getValue("/root/main/aaa/voluntrtodd"));
  84. }
  85. model.refresh();
  86. window.close();
  87. }
  88. ]]>
  89. </script>
  90. <xhtml:body pagewidth="465" pageheight="260" guideline="1,499;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  91. <group id="grp_btn" scroll="auto" style="left:0px; top:139px; width:425px; height:30px; ">
  92. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:423px; y2:0px; "/>
  93. <button id="btn_confirm" class="btn4_letter2" navindex="3" style="left:308px; top:5px; width:56px; height:22px; ">
  94. <caption>출력</caption>
  95. <script type="javascript" ev:event="DOMActivate">
  96. <![CDATA[
  97. fSendParam();
  98. //model.close();
  99. ]]>
  100. </script>
  101. </button>
  102. <button id="btn_cancel" class="btn4_letter2" navindex="4" style="left:367px; top:5px; width:56px; height:22px; ">
  103. <caption>취소</caption>
  104. <script type="javascript" ev:event="DOMActivate">
  105. <![CDATA[
  106. opener.model.removeNodeset("/root/main/aaa/report/status");
  107. model.refresh();
  108. model.close();
  109. ]]>
  110. </script>
  111. </button>
  112. </group>
  113. <group id="group1" scroll="auto" style="left:0px; top:35px; width:425px; height:100px; ">
  114. <line id="line8" class="line_2" style="x1:0px; y1:42px; x2:423px; y2:42px; "/>
  115. <caption id="caption7" class="cell_1" style="left:0px; top:63px; width:85px; height:35px; vertical-align:middle; ">담당자</caption>
  116. <textarea id="tar_rem" ref="/root/main/aaa/issrem" navindex="2" maxlength="25" style="left:88px; top:65px; width:332px; height:33px; "/>
  117. <textarea id="textarea1" ref="/root/main/aaa/isscnts" navindex="1" maxlength="25" style="left:88px; top:27px; width:332px; height:35px; "/>
  118. <caption id="caption1" class="cell_1" style="left:0px; top:27px; width:85px; height:35px; vertical-align:middle; ">내용</caption>
  119. <caption id="caption3" class="cell_1" style="left:0px; top:2px; width:85px; height:24px; vertical-align:middle; ">서류번호</caption>
  120. <input id="input1" ref="/root/main/aaa/no" navindex="0" style="left:88px; top:4px; width:332px; height:19px; "/>
  121. </group>
  122. <caption id="caption2" visibility="hidden" style="left:224px; top:8px; width:15px; height:15px; ">~</caption>
  123. <input id="ipt_todd" ref="/root/main/aaa/voluntrtodd" class="input_search" visibility="hidden" inputtype="date" style="left:243px; top:8px; width:90px; height:19px; "/>
  124. <input id="ipt_fromdd" ref="/root/main/aaa/voluntrfromdd" class="input_search" visibility="hidden" inputtype="date" style="left:128px; top:8px; width:90px; height:19px; "/>
  125. <caption id="cap_fromtodd" class="search_name" visibility="hidden" style="left:7px; top:8px; width:113px; height:17px; ">이력조회기간 :</caption>
  126. </xhtml:body>
  127. </xhtml:html>