SMRWP10600_고용보험대상자등록.xrw 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  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. <empinsuryn>
  11. <empinsurynlist/>
  12. </empinsuryn>
  13. </main>
  14. <send>
  15. <empinsuryn>
  16. <instcd/>
  17. <payym/>
  18. <prfshipflag/>
  19. <emplno/>
  20. <emplnm/>
  21. </empinsuryn>
  22. <save>
  23. <empinsurynlist/>
  24. </save>
  25. </send>
  26. </root>
  27. </instance>
  28. <script type="javascript" ev:event="xforms-ready">
  29. <![CDATA[
  30. misfGridInit(grd_empinsurynlist);
  31. misfMsterDetailSet(grd_empinsurynlist, null, "TRRWP10601" ,"Y");
  32. var curdate = getCurrentDate();
  33. model.setValue(ipt_payym.attribute("ref") , curdate.substr(0, 6));
  34. misfComboComCdListMulti("Z0007,R0058","cmb_instcd,cmb_prfshipflag");
  35. addComboItem( "cmb_prfshipflag", "[-- 전체 --]", "", "above");
  36. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  37. model.setValue(cmb_prfshipflag.attribute("ref") , "");
  38. misfGetUserAuth();
  39. if (DUTY_PAY_YN == "Y" ) {
  40. cmb_instcd.disabled = false;
  41. }
  42. else {
  43. cmb_instcd.disabled = true;
  44. }
  45. model.refresh();
  46. model.setFocus("cmb_instcd");
  47. ]]>
  48. </script>
  49. <submission id="TRRWP10601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/empinsuryn" resultref="/root/main/empinsuryn"/>
  50. <submission id="TXRWP10601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
  51. </model>
  52. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  53. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  54. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  55. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  56. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  57. <script type="javascript" src="../../../mis/paybnusmngtweb/js/RWP001.js"/>
  58. </xhtml:head>
  59. <xhtml:body style="margin-left:8; margin-right:8; ">
  60. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  61. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">고용 보험 대상자 등록</caption>
  62. </group>
  63. <group id="group2" scroll="auto" style="left:0px; top:38; width:1195px; height:744px; ">
  64. <line id="line9" class="line_1" style="x1:0px; y1:69px; x2:1193px; y2:69px; "/>
  65. <caption id="caption34" class="tit_2" style="left:6px; top:52px; width:186px; height:14px; ">고용보험 대상자 List</caption>
  66. <group id="grp_sea" style="left:0px; top:10; width:1195px; height:35px; vertical-align:top; ">
  67. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  68. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1124px; top:7px; width:56px; height:22px; text-align:left; ">
  69. <caption>조회</caption>
  70. <script type="javascript" ev:event="DOMActivate">
  71. <![CDATA[
  72. misfMsterDetailRetrieve();
  73. ]]>
  74. </script>
  75. </button>
  76. <line id="line5" class="line_4" style="x1:1109px; y1:7px; x2:1109px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  77. <input id="ipt_payym" ref="/root/send/empinsuryn/payym" class="input_default" inputtype="date" format="yyyy-mm" style="left:324px; top:7px; width:101px; height:19px; text-align:center; vertical-align:middle; "/>
  78. <caption id="cap_payym" class="search_name" style="left:250px; top:8px; width:70px; height:17px; ">지급월:</caption>
  79. <select1 id="cmb_instcd" ref="/root/send/empinsuryn/instcd" class="combo_s_essential" appearance="minimal" style="left:69px; top:7px; width:171px; height:19px; ">
  80. <choices>
  81. <itemset>
  82. <label/>
  83. <value/>
  84. </itemset>
  85. </choices>
  86. <script type="javascript" ev:event="xforms-value-changed">
  87. <![CDATA[
  88. btn_search.dispatch("DOMActivate");
  89. ]]>
  90. </script>
  91. </select1>
  92. <caption id="cap_instcd" class="search_name" style="left:10px; top:8px; width:61px; height:17px; ">기관:</caption>
  93. <select1 id="cmb_prfshipflag" ref="/root/send/empinsuryn/prfshipflag" class="combo_s_essential" appearance="minimal" style="left:532px; top:7px; width:171px; height:19px; ">
  94. <choices>
  95. <itemset>
  96. <label/>
  97. <value/>
  98. </itemset>
  99. </choices>
  100. <script type="javascript" ev:event="xforms-value-changed">
  101. <![CDATA[
  102. btn_search.dispatch("DOMActivate");
  103. ]]>
  104. </script>
  105. </select1>
  106. <caption id="caption1" class="search_name" style="left:446px; top:8px; width:81px; height:17px; ">급여분류:</caption>
  107. <caption id="caption2" class="search_name" style="left:740px; top:8px; width:61px; height:17px; ">사번:</caption>
  108. <input id="ipt_emplnm" ref="/root/send/empinsuryn/emplnm" class="input_default" style="left:894px; top:7px; width:106px; height:19px; ">
  109. <script type="javascript" ev:event="onkeyup">
  110. <![CDATA[
  111. if (ipt_emplnm.currentText != null && ipt_emplnm.currentText != "" ) {
  112. inputEnterKey("ipt_emplnm", "xforms-value-changed");
  113. inputEnterKey("btn_search", "DOMActivate");
  114. }
  115. ]]>
  116. </script>
  117. <script type="javascript" ev:event="xforms-value-changed">
  118. <![CDATA[
  119. var recv_list = "emplno,emplnm" ;
  120. rpbfValidationCheck("EMPLNM", recv_list);
  121. model.refresh();
  122. ]]>
  123. </script>
  124. </input>
  125. <button id="btn_emplno" class="icon_search" style="left:873px; top:7px; width:16px; height:16px; ">
  126. <caption/>
  127. <script type="javascript" ev:event="DOMActivate">
  128. <![CDATA[
  129. var recv_list = "emplno,emplnm" ;
  130. rpbfOpenPopUpList("SPRPB00101", ipt_emplno, recv_list,"","N");
  131. model.refresh();
  132. if (model.getValue(ipt_emplno.attribute("ref")).length > 0) {
  133. btn_search.dispatch("DOMActivate");
  134. }
  135. ]]>
  136. </script>
  137. </button>
  138. <input id="ipt_emplno" ref="/root/send/empinsuryn/emplno" class="input_default" style="left:799px; top:7px; width:70px; height:19px; ">
  139. <script type="javascript" ev:event="onkeyup">
  140. <![CDATA[
  141. if (ipt_emplno.currentText != null && ipt_emplno.currentText != "" ) {
  142. inputEnterKey("ipt_emplno", "xforms-value-changed");
  143. inputEnterKey("btn_search", "DOMActivate");
  144. }
  145. ]]>
  146. </script>
  147. <script type="javascript" ev:event="xforms-value-changed">
  148. <![CDATA[
  149. var recv_list = "emplno,emplnm" ;
  150. rpbfValidationCheck("EMPLNO", recv_list);
  151. model.refresh();
  152. ]]>
  153. </script>
  154. </input>
  155. </group>
  156. <datagrid id="grd_empinsurynlist" nodeset="/root/main/empinsuryn/empinsurynlist" caption="선택^사원번호^성명^입사일^부서^직군^직위^직종^직급^호봉^급여분류|선택^사원번호^성명^입사일^부서^직군^직위^직종^직급^호봉^급여분류" colsep="^" colwidth="40, 83, 87, 111, 285, 115, 115, 127, 102, 87, 110" dataheight="25" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:75px; width:1193px; height:665px; ">
  157. <col checkvalue="Y,N" ref="empinsuyn" type="checkbox"/>
  158. <col ref="emplno"/>
  159. <col ref="emplnm"/>
  160. <col disabled="true" ref="entcodd" format="yyyy-mm-dd"/>
  161. <col ref="deptnm"/>
  162. <col ref="grupjoblnnm" visibility="hidden"/>
  163. <col ref="jobposnm"/>
  164. <col ref="jobkindnm"/>
  165. <col ref="jobgradnm"/>
  166. <col ref="payclsnm"/>
  167. <col ref="prfshipflagnm"/>
  168. </datagrid>
  169. <button id="btn_saveexcel" class="btn2_letter4" style="left:1130px; top:49px; width:64px; height:19px; ">
  170. <caption>엑셀저장</caption>
  171. <script type="javascript" ev:event="DOMActivate">
  172. <![CDATA[
  173. var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  174. if (fileName != "")
  175. {
  176. grd_empinsurynlist.saveExcel(fileName);
  177. }
  178. ]]>
  179. </script>
  180. </button>
  181. <button id="btn_allselect" class="btn2_letter4" style="left:158px; top:49px; width:64px; height:19px; ">
  182. <caption>전체선택</caption>
  183. <script type="javascript" ev:event="DOMActivate">
  184. <![CDATA[
  185. for (var i = grd_empinsurynlist.fixedRows; i < grd_empinsurynlist.rows; i++) {
  186. grd_empinsurynlist.valueMatrix(i, grd_empinsurynlist.colRef("empinsuyn")) = "Y";
  187. grd_empinsurynlist.rowStatus(i) = "2";
  188. }
  189. ]]>
  190. </script>
  191. </button>
  192. <button id="btn_allunselect" class="btn2_letter6" style="left:225px; top:49px; width:86px; height:19px; ">
  193. <caption>전체선택취소</caption>
  194. <script type="javascript" ev:event="DOMActivate">
  195. <![CDATA[
  196. for (var i = grd_empinsurynlist.fixedRows; i < grd_empinsurynlist.rows; i++) {
  197. grd_empinsurynlist.valueMatrix(i, grd_empinsurynlist.colRef("empinsuyn")) = "N";
  198. grd_empinsurynlist.rowStatus(i) = "2";
  199. }
  200. ]]>
  201. </script>
  202. </button>
  203. </group>
  204. <group id="grp_btn" scroll="auto" style="left:0; top:12; width:1195px; height:27px; ">
  205. <button id="btn_save" class="btn4_letter2" style="left:1124px; top:3px; width:56px; height:22px; ">
  206. <caption>저장</caption>
  207. <script type="javascript" ev:event="DOMActivate">
  208. <![CDATA[
  209. misfSave("TXRWP10601");
  210. btn_search.dispatch("DOMActivate");
  211. ]]>
  212. </script>
  213. </button>
  214. <line id="line4" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  215. </group>
  216. </xhtml:body>
  217. </xhtml:html>