SMRWD06100_식수제외자조회.xrw 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  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. <dietexpt>
  11. <dietexptlist/>
  12. </dietexpt>
  13. </main>
  14. <send>
  15. <dietexpt>
  16. <instcd/>
  17. <fromdd/>
  18. <todd/>
  19. <mealflag/>
  20. <emplno/>
  21. <emplnm/>
  22. <exceptflag/>
  23. </dietexpt>
  24. </send>
  25. </root>
  26. </instance>
  27. <script type="javascript" ev:event="xforms-ready">
  28. <![CDATA[
  29. misfGridInit(grd_dietexptlist);
  30. misfMsterDetailSet(grd_dietexptlist, null, "TRRWD06101" ,"N");
  31. var curdate = getCurrentDate();
  32. model.setValue(ipt_fromdd.attribute("ref") , curdate.substr(0, 8));
  33. model.setValue(ipt_todd.attribute("ref") , curdate.substr(0, 8));
  34. if (getUserInfo("dutplceinstcd") == "001" || getUserInfo("dutplceinstcd") == "103" || getUserInfo("dutplceinstcd") == "012" ) {
  35. model.setValue(cmb_instcd.attribute("ref") , "012");
  36. }
  37. else {
  38. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd") );
  39. }
  40. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  41. misfComboComCdListMulti("R0350","cmb_exceptflag");
  42. model.setFocus("ipt_fromdd");
  43. ]]>
  44. </script>
  45. <submission id="TRRWD06101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/dietexpt" resultref="/root/main/dietexpt"/>
  46. </model>
  47. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  48. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  49. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  50. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  51. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  52. <script type="javascript" src="../../../mis/paybnusmngtweb/js/RWP001.js"/>
  53. </xhtml:head>
  54. <xhtml:body style="margin-left:8; margin-right:8; ">
  55. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  56. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">식수 제외자 조회</caption>
  57. </group>
  58. <group id="group2" scroll="auto" style="left:0px; top:38; width:1195px; height:744px; ">
  59. <line id="line9" class="line_1" style="x1:0px; y1:69px; x2:1193px; y2:69px; "/>
  60. <caption id="caption34" class="tit_2" style="left:6px; top:52px; width:186px; height:14px; ">수도직 급여 List</caption>
  61. <group id="grp_sea" style="left:0px; top:10; width:1195px; height:35px; vertical-align:top; ">
  62. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  63. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1124px; top:7px; width:56px; height:22px; text-align:left; ">
  64. <caption>조회</caption>
  65. <script type="javascript" ev:event="DOMActivate">
  66. <![CDATA[
  67. misfMsterDetailRetrieve();
  68. ]]>
  69. </script>
  70. </button>
  71. <line id="line5" class="line_4" style="x1:1109px; y1:7px; x2:1109px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  72. <input id="ipt_fromdd" ref="/root/send/dietexpt/fromdd" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:250px; top:7px; width:100px; height:19px; text-align:center; vertical-align:middle; "/>
  73. <caption id="cap_payym" class="search_name" style="left:196px; top:8px; width:55px; height:17px; ">기간:</caption>
  74. <caption id="caption21" class="search_name" style="left:475px; top:8px; width:61px; height:17px; ">끼니:</caption>
  75. <select1 id="cmb_mealflag" ref="/root/send/dietexpt/mealflag" class="combo_s_essential" appearance="minimal" style="left:531px; top:7px; width:89px; height:19px; ">
  76. <choices>
  77. <item>
  78. <label>전체</label>
  79. <value/>
  80. </item>
  81. <item>
  82. <label>조식</label>
  83. <value>1</value>
  84. </item>
  85. <item>
  86. <label>중식</label>
  87. <value>2</value>
  88. </item>
  89. <item>
  90. <label>석식</label>
  91. <value>3</value>
  92. </item>
  93. </choices>
  94. </select1>
  95. <caption id="caption1" class="search_name" style="left:5px; top:8px; width:56px; height:17px; ">기관:</caption>
  96. <select1 id="cmb_instcd" ref="/root/send/dietexpt/instcd" class="combo_s_essential" disabled="true" appearance="minimal" style="left:61px; top:7px; width:125px; height:19px; ">
  97. <choices>
  98. <itemset>
  99. <label/>
  100. <value/>
  101. </itemset>
  102. </choices>
  103. </select1>
  104. <input id="ipt_todd" ref="/root/send/dietexpt/todd" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:363px; top:7px; width:100px; height:19px; text-align:center; vertical-align:middle; "/>
  105. <caption id="caption2" style="left:351px; top:7px; width:10px; height:20px; ">-</caption>
  106. <button id="btn_emplno" class="icon_search" style="left:767px; top:7px; width:16px; height:16px; ">
  107. <caption/>
  108. <script type="javascript" ev:event="DOMActivate">
  109. <![CDATA[
  110. var recv_list = "emplno,emplnm" ;
  111. rpbfOpenPopUpList("SPRPB00101", ipt_emplnos, recv_list,"1","N");
  112. model.refresh();
  113. if (model.getValue(ipt_emplnos.attribute("ref")).length > 0) {
  114. btn_search.dispatch("DOMActivate");
  115. }
  116. ]]>
  117. </script>
  118. </button>
  119. <caption id="caption7" class="search_name" style="left:634px; top:8px; width:63px; height:17px; ">사번 :</caption>
  120. <input id="ipt_emplnos" ref="/root/send/dietexpt/emplno" class="input_essential" style="left:695px; top:7px; width:70px; height:19px; ">
  121. <script type="javascript" ev:event="xforms-value-changed">
  122. <![CDATA[
  123. var recv_list = "emplno,emplnm" ;
  124. rpbfValidationCheck("EMPLNO", recv_list);
  125. model.refresh();
  126. if (model.getValue(ipt_emplnos.attribute("ref")).length > 0) {
  127. btn_search.dispatch("DOMActivate");
  128. }
  129. ]]>
  130. </script>
  131. </input>
  132. <input id="ipt_emplnms" ref="/root/send/dietexpt/emplnm" class="input_default" style="left:784px; top:7px; width:104px; height:19px; ">
  133. <script type="javascript" ev:event="xforms-value-changed">
  134. <![CDATA[
  135. var recv_list = "emplno,emplnm" ;
  136. rpbfValidationCheck("EMPLNM", recv_list);
  137. model.refresh();
  138. if (model.getValue(ipt_emplnos.attribute("ref")).length > 0) {
  139. btn_search.dispatch("DOMActivate");
  140. }
  141. ]]>
  142. </script>
  143. </input>
  144. <caption id="caption3" class="search_name" style="left:901px; top:8px; width:81px; height:17px; ">제외구분:</caption>
  145. <select1 id="cmb_exceptflag" ref="/root/send/dietexpt/exceptflag" class="combo_s_essential" appearance="minimal" style="left:985px; top:7px; width:110px; height:19px; ">
  146. <choices>
  147. <itemset>
  148. <label/>
  149. <value/>
  150. </itemset>
  151. </choices>
  152. </select1>
  153. </group>
  154. <datagrid id="grd_dietexptlist" nodeset="/root/main/dietexpt/dietexptlist" caption="일자^사번^성명^교직구분^근무기관^근무부서^입사일^퇴사일^카드ID^식수시간^제외구분|일자^사번^성명^교직구분^근무기관^근무부서^입사일^퇴사일^카드ID^식수시간^제외구분" colsep="^" colwidth="103, 82, 100, 100, 126, 132, 91, 90, 136, 73, 121" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:75px; width:1193px; height:665px; ">
  155. <col ref="eatdd" format="yyyy-mm-dd"/>
  156. <col ref="emplno"/>
  157. <col ref="emplnm"/>
  158. <col ref="prfshipflagnm"/>
  159. <col ref="instnm"/>
  160. <col ref="deptnm"/>
  161. <col ref="entcodd" format="yyyy-mm-dd"/>
  162. <col ref="retiredd" format="yyyy-mm-dd"/>
  163. <col ref="cardid"/>
  164. <col ref="eattm"/>
  165. <col ref="exceptnm"/>
  166. </datagrid>
  167. <button id="btn_saveexcel" class="btn2_letter4" style="left:1130px; top:49px; width:64px; height:19px; ">
  168. <caption>엑셀저장</caption>
  169. <script type="javascript" ev:event="DOMActivate">
  170. <![CDATA[
  171. var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  172. if (fileName != "")
  173. {
  174. grd_dietexptlist.saveExcel(fileName);
  175. }
  176. ]]>
  177. </script>
  178. </button>
  179. </group>
  180. <group id="grp_btn" scroll="auto" style="left:0; top:12; width:1195px; height:27px; ">
  181. <line id="line4" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  182. </group>
  183. </xhtml:body>
  184. </xhtml:html>