SMRPA02300_학력별분기별현황.xrw 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <schflagqurtyylist>
  11. <dutplceinst/>
  12. <dutplceinstnm/>
  13. <scholflagnm/>
  14. <mancnt/>
  15. <scholexppayamt/>
  16. </schflagqurtyylist>
  17. </main>
  18. <target/>
  19. <send>
  20. <payappmm_s/>
  21. <qurtyy/>
  22. <payyy/>
  23. <payappmm_e/>
  24. </send>
  25. </root>
  26. </instance>
  27. <script type="javascript" ev:event="xforms-ready">
  28. <![CDATA[
  29. misfGridInit(grd_schflagqurtyylist);
  30. //misfMsterDetailSet(grd_schflagqurtyylist,null,"TRRPA02301","N");
  31. var now = new Date();
  32. var yyyy = now.getYear();
  33. ipt_payappmm.value=yyyy;
  34. ]]>
  35. </script>
  36. <submission id="TRRPA02301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/schflagqurtyylist"/>
  37. </model>
  38. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  39. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  40. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  41. <script type="javascript" src="../../../mis/acntcommonweb/js/AcntCommon.js"/>
  42. <script type="javascript">
  43. <![CDATA[
  44. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  45. function fInitialize() {
  46. model.removeNodeset("/root/main/schflagqurtyylist");
  47. model.resetInstanceNode("/root/send");
  48. model.refresh();
  49. }
  50. ]]>
  51. </script>
  52. </xhtml:head>
  53. <xhtml:body guideline="1,1350;1,1349;" style="margin-left:8; margin-right:8; ">
  54. <group id="group3" scroll="auto" style="left:0px; top:38px; width:1195px; height:740px; ">
  55. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:10px; width:1194px; height:35px; "/>
  56. <group id="group2" style="left:0px; top:0px; width:580px; height:5px; "/>
  57. <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:227px; height:13px; ">학력별 분기별 학비보조금 지급내역</caption>
  58. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
  59. <datagrid id="grd_schflagqurtyylist" nodeset="/root/main/schflagqurtyylist" caption="기관코드^기관명^학력^인원^지급액" colsep="^" colwidth="57, 200, 157, 196, 277, 100" dataheight="23" defaultrows="0" extendlastcol="scroll" mergecells="byrestriccol" mergecellsfixedcols="never" mergecellsfixedrows="never" rowheader="select" rowheight="23" rowsep="|" style="left:0px; top:75px; width:1194px; height:645px; ">
  60. <col ref="dutplceinst" visibility="hidden" style="text-align:center; "/>
  61. <col ref="dutplceinstnm" style="text-align:center; "/>
  62. <col ref="scholflagnm" style="text-align:center; "/>
  63. <col ref="mancnt" format="#,###" style="text-align:right; padding-right:10; "/>
  64. <col ref="scholexppayamt" format="#,###" style="text-align:right; padding-right:10; "/>
  65. <col ref="scholflag" visibility="hidden" style="text-align:center; "/>
  66. </datagrid>
  67. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1125px; top:16px; width:56px; height:22px; text-align:left; ">
  68. <caption>조회</caption>
  69. <script type="javascript" ev:event="DOMActivate">
  70. <![CDATA[
  71. if(ipt_payappmm.value==""){
  72. messageBox("지급년월은","I003");
  73. return;
  74. }
  75. if(cmb_qurtyy.value==""){
  76. messageBox("분기는","I003");
  77. return;
  78. }
  79. //misfMsterDetailRetrieve();
  80. submit("TRRPA02301");
  81. for(i=1; i< grd_schflagqurtyylist.rows; i++){
  82. var scholflag=model.getValue(grd_schflagqurtyylist.attribute("nodeset")+"["+i+"]/scholflag");
  83. if(scholflag =='99'){
  84. grd_schflagqurtyylist.rowstyle(i, "data", "background-color") = "#ccffff";
  85. }
  86. }
  87. ]]>
  88. </script>
  89. </button>
  90. <line id="line13" class="line_4" style="x1:1110px; y1:16px; x2:1110px; y2:38px; "/>
  91. <caption id="caption2" class="search_name" style="left:15px; top:19; width:86px; height:17px; ">지급년도 :</caption>
  92. <input id="ipt_payappmm" ref="/root/send/payyy" class="input_s_essential" inputtype="date" format="yyyy" style="left:100px; top:18; width:100px; height:19px; ">
  93. <script type="javascript" ev:event="xforms-value-changed">
  94. <![CDATA[
  95. ipt_payappmm_s.value=ipt_payappmm.value;
  96. ipt_payappmm_e.value=ipt_payappmm.value;
  97. var qurtyy=cmb_qurtyy.value;
  98. if(qurtyy=='1'){
  99. ipt_payappmm_s.value=ipt_payappmm.value+"01";
  100. ipt_payappmm_e.value=ipt_payappmm.value+"03";
  101. }else if(qurtyy=='2'){
  102. ipt_payappmm_s.value=ipt_payappmm.value+"04";
  103. ipt_payappmm_e.value=ipt_payappmm.value+"06";
  104. }else if(qurtyy=='3'){
  105. ipt_payappmm_s.value=ipt_payappmm.value+"07";
  106. ipt_payappmm_e.value=ipt_payappmm.value+"09";
  107. }else if(qurtyy=='4'){
  108. ipt_payappmm_s.value=ipt_payappmm.value+"10";
  109. ipt_payappmm_e.value=ipt_payappmm.value+"12";
  110. }
  111. ]]>
  112. </script>
  113. </input>
  114. <select1 id="cmb_qurtyy" ref="/root/send/qurtyy" class="combo_default" appearance="minimal" style="left:289px; top:18; width:85px; height:19px; ">
  115. <choices>
  116. <item>
  117. <label>1분기</label>
  118. <value>1</value>
  119. </item>
  120. <item>
  121. <label>2분기</label>
  122. <value>2</value>
  123. </item>
  124. <item>
  125. <label>3분기</label>
  126. <value>3</value>
  127. </item>
  128. <item>
  129. <label>4분기</label>
  130. <value>4</value>
  131. </item>
  132. </choices>
  133. <script type="javascript" ev:event="xforms-value-changed">
  134. <![CDATA[
  135. var qurtyy=cmb_qurtyy.value;
  136. if(qurtyy=='1'){
  137. ipt_payappmm_s.value=ipt_payappmm.value+"01";
  138. ipt_payappmm_e.value=ipt_payappmm.value+"03";
  139. }else if(qurtyy=='2'){
  140. ipt_payappmm_s.value=ipt_payappmm.value+"04";
  141. ipt_payappmm_e.value=ipt_payappmm.value+"06";
  142. }else if(qurtyy=='3'){
  143. ipt_payappmm_s.value=ipt_payappmm.value+"07";
  144. ipt_payappmm_e.value=ipt_payappmm.value+"09";
  145. }else if(qurtyy=='4'){
  146. ipt_payappmm_s.value=ipt_payappmm.value+"10";
  147. ipt_payappmm_e.value=ipt_payappmm.value+"12";
  148. }
  149. ]]>
  150. </script>
  151. </select1>
  152. <caption id="caption3" class="search_name" style="left:205px; top:19; width:86px; height:17px; ">분 기 :</caption>
  153. <input id="ipt_payappmm_s" ref="/root/send/payappmm_s" visibility="hidden" style="left:415px; top:18; width:130px; height:19px; "/>
  154. <input id="ipt_payappmm_e" ref="/root/send/payappmm_e" visibility="hidden" style="left:550px; top:18; width:130px; height:19px; "/>
  155. <button id="button19" class="btn2_letter4" style="left:1125px; top:49px; width:64px; height:19px; ">
  156. <caption>엑셀저장</caption>
  157. <script type="javascript" ev:event="DOMActivate">
  158. <![CDATA[
  159. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  160. if (fileName != "")
  161. {
  162. grd_schflagqurtyylist.saveExcel(fileName, "SheetName", true, true, "", "");
  163. }
  164. ]]>
  165. </script>
  166. </button>
  167. </group>
  168. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1194px; height:27px; ">
  169. <button id="button9" class="btn3_letter4" visibility="hidden" style="left:58px; top:3px; width:80px; height:22px; ">
  170. <caption>화면이동</caption>
  171. </button>
  172. <line id="line11" class="line_6" style="x1:0; y1:25; x2:1194; y2:25; "/>
  173. <button id="button10" class="btn4_letter3" style="left:1115px; top:3px; width:68px; height:22px; ">
  174. <caption>초기화</caption>
  175. <script type="javascript" ev:event="DOMActivate">
  176. <![CDATA[
  177. var updtdata = getGridUpdateData(grd_schflagqurtyylist);
  178. if (updtdata != "" ) {
  179. var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 초기화 작업을","Q003");
  180. if (ret != 6) { // not OK
  181. return;
  182. }
  183. }
  184. fInitialize();
  185. ]]>
  186. </script>
  187. </button>
  188. <button id="button1" class="btn6_letter2" visibility="hidden" style="left:0px; top:3px; width:56px; height:22px; ">
  189. <caption>출력</caption>
  190. <script type="javascript" ev:event="DOMActivate">
  191. <![CDATA[
  192. exeReportPreview("RPRPA02300", "XMLSTR", "", "", "", "true", "", "", "", "");
  193. ]]>
  194. </script>
  195. </button>
  196. <button id="button2" class="btn4_letter5" style="left:1022px; top:3px; width:92px; height:22px; ">
  197. <caption>내역서출력</caption>
  198. <script type="javascript" ev:event="DOMActivate">
  199. <![CDATA[
  200. exeReportPreview("RPRPA02300", "XMLSTR", "/root/main/send");
  201. ]]>
  202. </script>
  203. </button>
  204. </group>
  205. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  206. <caption id="caption4" class="tit_1" style="left:0px; top:0px; width:840px; height:14px; ">학력별,분기별현황</caption>
  207. </group>
  208. </xhtml:body>
  209. </xhtml:html>