SMAAA01800_봉사자확인서발급이력조회.xrw 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  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. <main>
  10. <cond>
  11. <flag/>
  12. <fromdd/>
  13. <todd/>
  14. </cond>
  15. <cnfmreptref>
  16. <cnfmreptreflist>
  17. <voluntrflag/>
  18. <voluntrnm/>
  19. <baptnm/>
  20. <brthdd/>
  21. <issdd/>
  22. <issseqno/>
  23. <isspsn/>
  24. <reisstims/>
  25. </cnfmreptreflist>
  26. </cnfmreptref>
  27. <report>
  28. <usernm/>
  29. </report>
  30. </main>
  31. <init>
  32. <voluntrflag/>
  33. </init>
  34. <send>
  35. <reqdata/>
  36. </send>
  37. </root>
  38. </instance>
  39. <script type="javascript" ev:event="xforms-ready">
  40. <![CDATA[
  41. fInit();
  42. ]]>
  43. </script>
  44. <submission id="TRZBC00101" method="post" mediatype="application/x-www-form-urlencoded"/>
  45. <submission id="TRAAA01801" ref="/root/send/reqdata" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main/cnfmreptref"/>
  46. </model>
  47. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  48. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  49. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  50. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  51. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  52. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  53. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  54. </xhtml:head>
  55. <script type="javascript">
  56. <![CDATA[
  57. //초기화
  58. function fInit()
  59. {
  60. model.removeNodeset("/root/main/cnfmreptref/cnfmreptreflist");
  61. //조회기간 세팅(월의 첫날짜와 마지막 날짜)
  62. var sDate = getNewDate();
  63. var CurrentDate = getCurrentDate();
  64. var usernm = getUserInfo("usernm"); //담당자.
  65. model.setValue("/root/main/report/usernm", usernm);
  66. lastDate = sDate.getFullYear();
  67. lastDate = lastDate.toString() + (( sDate.getMonth() + 1 > 9 ) ? sDate.getMonth() + 1 : "0" + (sDate.getMonth() + 1));
  68. lastDate = lastDate.toString() + sDate.getMonthDay();
  69. model.setValue("/root/main/cond/fromdd", CurrentDate.substr(0,6)+"01");
  70. model.setValue("/root/main/cond/todd", lastDate);
  71. addComboItem("rdo_voluntrflag", "전체", "%", "above");
  72. zbcfGetCodeList( new Array("A0510"), new Array("/root/init/voluntrflag"), true);
  73. model.setValue("/root/main/cond/flag", "%");
  74. model.refresh();
  75. }
  76. //초기화버튼 클릭시
  77. function fReset(){
  78. var btn = messageBox("초기화를 ", "Q004");
  79. if (btn == '6') {
  80. model.removeNodeset("/root/main/cnfmreptref/cnfmreptreflist");
  81. var sDate = getNewDate();
  82. var CurrentDate = getCurrentDate();
  83. lastDate = sDate.getFullYear();
  84. lastDate = lastDate.toString() + (( sDate.getMonth() + 1 > 9 ) ? sDate.getMonth() + 1 : "0" + (sDate.getMonth() + 1));
  85. lastDate = lastDate.toString() + sDate.getMonthDay();
  86. model.setValue("/root/main/cond/fromdd", CurrentDate.substr(0,6)+"01");
  87. model.setValue("/root/main/cond/todd", lastDate);
  88. model.setValue("/root/main/cond/flag", "%");
  89. model.refresh();
  90. } else if (btn == '7') {
  91. return;
  92. }
  93. }//fReset END
  94. //조회버튼클릭시
  95. function fCnfmReptRefList() {
  96. if (model.getValue("/root/main/cond/fromdd") == "" ) {
  97. messageBox("발급기간은 ","I003");
  98. model.setFocus("ipt_fromdd");
  99. return false;
  100. }
  101. if (model.getValue("/root/main/cond/fromdd").length != 8 ) {
  102. messageBox("올바른 발급기간 항목을","C001");
  103. model.setFocus("ipt_fromdd");
  104. return false;
  105. }
  106. if (model.getValue("/root/main/cond/todd") == "" ) {
  107. messageBox("발급기간은 ","I003");
  108. model.setFocus("ipt_todd");
  109. return false;
  110. }
  111. if (model.getValue("/root/main/cond/todd").length != 8 ) {
  112. messageBox("올바른 발급기간 항목을","C001");
  113. model.setFocus("ipt_todd");
  114. return false;
  115. }
  116. if (model.getValue("/root/main/cond/fromdd") > model.getValue("/root/main/cond/todd")) {
  117. messageBox("올바른 발급기간을","C001");
  118. model.setFocus("ipt_fromdd");
  119. return false;
  120. }
  121. model.removenode("/root/send/reqdata");
  122. model.makeNode("/root/send/reqdata");
  123. model.copyNode("/root/send/reqdata", "/root/main/cond");
  124. submit("TRAAA01801");
  125. model.refresh();
  126. }
  127. ]]>
  128. </script>
  129. <xhtml:body guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  130. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  131. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:184px; height:14px; ">확인서 발급이력 조회</caption>
  132. </group>
  133. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  134. <caption id="caption1" class="tit_2" style="left:5px; top:58px; width:215px; height:13px; ">봉사자확인서 발급이력조회</caption>
  135. <line id="line12" class="line_1" style="x1:0px; y1:72px; x2:1194px; y2:72px; "/>
  136. <group id="group1" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  137. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  138. <button id="button6" class="btn1_letter2" style="left:1122px; top:7px; width:56px; height:22px; ">
  139. <caption>조회</caption>
  140. <script type="javascript" ev:event="DOMActivate">
  141. <![CDATA[
  142. fCnfmReptRefList();
  143. ]]>
  144. </script>
  145. </button>
  146. <caption id="cap_fromdd" class="search_name" style="left:15px; top:9px; width:110px; height:17px; ">확인서구분 :</caption>
  147. <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
  148. <select1 id="rdo_voluntrflag" ref="/root/main/cond/flag" overflow="visible" appearance="full" cols="4" cellspacing="15" style="left:124px; top:10px; width:356px; height:20px; border-style:none; ">
  149. <choices>
  150. <itemset nodeset="/root/init/voluntrflag/A0510">
  151. <label ref="cdnm"/>
  152. <value ref="cdid"/>
  153. </itemset>
  154. </choices>
  155. </select1>
  156. <caption id="caption2" class="search_name" style="left:570px; top:10px; width:95px; height:17px; ">발급기간 :</caption>
  157. <input id="ipt_fromdd" ref="/root/main/cond/fromdd" class="input_search" inputtype="date" style="left:663px; top:10px; width:90px; height:19px; "/>
  158. <input id="ipt_todd" ref="/root/main/cond/todd" class="input_search" inputtype="date" style="left:781px; top:10px; width:90px; height:19px; "/>
  159. <caption id="cap_middle" style="left:766px; top:10px; width:16px; height:19px; ">~</caption>
  160. </group>
  161. <datagrid id="grd_studvoluntrlist" nodeset="/root/main/cnfmreptref/cnfmreptreflist" autoresize="true" caption="확인서구분^봉사자명^세례명^생년월일^발행일자^발행번호^발행자^재발행수" colwidth="130, 130, 130, 180, 180, 180, 130, 130" dataheight="25" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" colsep="^" style="left:0px; top:76px; width:1194px; height:665px; ">
  162. <col ref="voluntrflag" style="text-align:left; "/>
  163. <col ref="voluntrnm" style="text-align:left; "/>
  164. <col ref="baptnm" style="text-align:left; "/>
  165. <col ref="brthdd" format="yyyy-mm-dd" style="text-align:center; "/>
  166. <col ref="issdd" format="yyyy-mm-dd" style="text-align:center; "/>
  167. <col ref="issseqno" style="text-align:center; "/>
  168. <col ref="isspsn" style="text-align:center; "/>
  169. <col ref="reisstims" style="text-align:center; "/>
  170. </datagrid>
  171. </group>
  172. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
  173. <button id="button10" class="btn4_letter3" style="left:1126px; top:3px; width:68px; height:22px; ">
  174. <caption>초기화</caption>
  175. <script type="javascript" ev:event="DOMActivate">
  176. <![CDATA[
  177. fReset();
  178. ]]>
  179. </script>
  180. </button>
  181. <line id="line16" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  182. <line id="line37" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  183. </group>
  184. </xhtml:body>
  185. </xhtml:html>