SMRPD12000_미사용연차휴가사용촉진통지서.xrw 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  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>SMRPD12000_미사용 연차휴가 일수 및 사용촉진 통지서</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list>
  11. <unuseyearno/>
  12. </list>
  13. </main>
  14. <send>
  15. <retrparams>
  16. <instcd/>
  17. <dutym/>
  18. <dutunitcd/>
  19. <dutunitnm/>
  20. <teamcd/>
  21. <teamnm/>
  22. <emplno/>
  23. <emplnm/>
  24. <dutunitcd1/>
  25. </retrparams>
  26. </send>
  27. <init/>
  28. <temp/>
  29. <report>
  30. <unuseyearno/>
  31. </report>
  32. </root>
  33. </instance>
  34. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  35. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  36. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  37. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  38. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  39. <script type="javascript" src="../../../mis/miscommonweb/js/RAC001.js"/>
  40. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  41. <script type="javascript" src="../../../mis/dligclaznsmngtweb/js/RPD001.js"/>
  42. <submission id="TRRPD12001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams" resultref="/root/main/list"/>
  43. </model>
  44. <script type="javascript" ev:event="xforms-ready">
  45. <![CDATA[
  46. fInit();
  47. ]]>
  48. </script>
  49. <script type="javascript">
  50. <![CDATA[
  51. function fInit()
  52. {
  53. model.removenode("/root/main/list/unuseyearno");
  54. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  55. misfGetAndSetUserInfo();
  56. misfGetUserAuth();
  57. rpdfDeptComboCdList(cmb_dutplce,'Y'); // 근무부서 조회
  58. rpdfSetDutUnitCombo(); // 조회된 근무부서를 콤보에 세팅해줌
  59. model.setValue("/root/send/retrparams/instcd", getUserInfo("dutplceinstcd"));
  60. model.setValue("/root/send/retrparams/dutunitcd", DUT_UNIT_CD);
  61. model.setValue("/root/send/retrparams/dutunitnm", DUT_UNIT_NM);
  62. model.setValue("/root/send/retrparams/dutunitcd1", DUT_UNIT_CD);
  63. model.setValue("/root/send/retrparams/dutym", getCurrentDate().substr(0, 6));
  64. if(getUserInfo("dutplceinstcd") == "001" && DUTY_PART_YN == "Y") {
  65. cmb_instcd.disabled = false;
  66. ipt_dutplcedeptcd.disabled = false;
  67. btn_dutplcedepthelp.disabled = false;
  68. ipt_dutplcedeptnm.disabled = false;
  69. cmb_dutplce.visible = false ;
  70. }
  71. else if ( DUTY_PART_YN == "Y" ) {
  72. cmb_instcd.disabled = true;
  73. ipt_dutplcedeptcd.disabled = false;
  74. btn_dutplcedepthelp.disabled = false;
  75. ipt_dutplcedeptnm.disabled = false;
  76. cmb_dutplce.visible = false ;
  77. }
  78. else {
  79. cmb_instcd.disabled = true;
  80. cmb_dutplce.visible = true ;
  81. ipt_dutplcedeptcd.visible = false ;
  82. ipt_dutplcedeptnm.visible = false ;
  83. btn_dutplcedepthelp.visible = false ;
  84. }
  85. model.refresh();
  86. }
  87. ]]>
  88. </script>
  89. </xhtml:head>
  90. <xhtml:body style="text-align:center; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  91. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  92. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:261px; height:14px; ">미사용 연차휴가 일수 및 사용촉진 통지서</caption>
  93. <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
  94. </group>
  95. <group id="group3" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  96. <line id="line1" class="line_1" style="x1:0px; y1:64px; x2:1195px; y2:64px; "/>
  97. <caption id="caption9" class="tit_2" style="left:5px; top:49px; width:139px; height:13px; ">연차휴가 사용현황</caption>
  98. <datagrid id="grd_unuseyearno" nodeset="/root/main/list/unuseyearno" caption="기관^부서^직위^사원번호^성명^입사일자^연차휴가일수^1년미만가용휴가일수^사용연차일수^미사용연차휴가일수^instcd" colsep="^" colwidth="150, 150, 100, 80, 110, 100, 120, 130, 120, 130, 100" explorerbar="sortshow" frozencols="3" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="16" rowsep="|" style="left:0px; top:69px; width:1195px; height:665px; ">
  99. <col ref="instnm" visibility="hidden"/>
  100. <col ref="dutunitnm"/>
  101. <col ref="jobposnm" style="text-align:center; "/>
  102. <col ref="emplno"/>
  103. <col ref="emplnm"/>
  104. <col ref="entcodd" format="yyyy-mm-dd"/>
  105. <col ref="genryearno" style="text-align:center; "/>
  106. <col ref="olmtspreyearno" visibility="hidden" style="text-align:center; "/>
  107. <col ref="useyearno" style="text-align:center; "/>
  108. <col ref="spreyearno" style="text-align:center; "/>
  109. <col ref="instcd" visibility="hidden"/>
  110. <script type="javascript" ev:event="ondblclick">
  111. <![CDATA[
  112. model.removeNodeset("/root/report");
  113. model.makeNode("/root/report/unuseyearno");
  114. model.copyNode("/root/report/unuseyearno","/root/main/list/unuseyearno["+ grd_unuseyearno.row +"]");
  115. exeReportPreview("RPRPD12001", "XMLSTR");
  116. ]]>
  117. </script>
  118. </datagrid>
  119. <button id="btn_excsave" class="btn2_letter4" style="left:1128px; top:44px; width:64px; height:19px; ">
  120. <caption>엑셀저장</caption>
  121. <script type="javascript" ev:event="DOMActivate">
  122. <![CDATA[
  123. misfSaveExcel(grd_unuseyearno);
  124. ]]>
  125. </script>
  126. </button>
  127. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:36px; background-color:#fffbf2; border-color:#ffd799; "/>
  128. <select1 id="cmb_instcd" ref="/root/send/retrparams/instcd" class="combo_s_essential" navindex="1" appearance="minimal" style="left:105px; top:8px; width:185px; height:19px; text-align:left; ">
  129. <choices>
  130. <itemset>
  131. <label/>
  132. <value/>
  133. </itemset>
  134. </choices>
  135. </select1>
  136. <button id="btn_emplhelp" class="icon_search" style="left:1007px; top:8px; width:16px; height:16px; ">
  137. <caption/>
  138. <script type="javascript" ev:event="DOMActivate">
  139. <![CDATA[
  140. rpbfOpenPopUpList("SPRPB00101", ipt_emplno, "emplno,emplnm,dutunitcd,dutunitnm", "", "N","Y");
  141. model.refresh();
  142. ]]>
  143. </script>
  144. </button>
  145. <caption id="caption1" class="search_name" style="left:322px; top:8px; width:86px; height:17px; ">소속부서 :</caption>
  146. <caption id="caption2" class="search_name" style="left:851px; top:8px; width:86px; height:17px; ">사원번호 :</caption>
  147. <input id="ipt_emplnm" ref="/root/send/retrparams/emplnm" class="input_search" navindex="7" style="left:1026px; top:8px; width:65px; height:19px; ">
  148. <script type="javascript" ev:event="onkeypress">
  149. <![CDATA[
  150. if(event.keyCode == 13)
  151. {
  152. if(ipt_emplnm.value == ipt_emplnm.currentText) return;
  153. ipt_emplnm.value = ipt_emplnm.currentText;
  154. rpbfValidationCheck("EMPLNM", "emplno,emplnm,dutunitcd,dutunitnm");
  155. model.refresh();
  156. }
  157. ]]>
  158. </script>
  159. <script type="javascript" ev:event="xforms-value-changed">
  160. <![CDATA[
  161. rpbfValidationCheck("EMPLNM", "emplno,emplnm");
  162. model.refresh();
  163. ]]>
  164. </script>
  165. </input>
  166. <input id="ipt_dutplcedeptnm" ref="/root/send/retrparams/dutunitnm" class="input_search" navindex="3" style="left:514px; top:8px; width:115px; height:19px; ">
  167. <script type="javascript" ev:event="onkeypress">
  168. <![CDATA[
  169. if(event.keyCode == 13)
  170. {
  171. racfDeptValidCheck("dutunitcd,dutunitnm");
  172. model.refresh();
  173. }
  174. ]]>
  175. </script>
  176. <script type="javascript" ev:event="xforms-value-changed">
  177. <![CDATA[
  178. racfDeptValidCheck("dutunitcd,dutunitnm");
  179. model.refresh();
  180. ]]>
  181. </script>
  182. </input>
  183. <button id="btn_dutplcedepthelp" class="icon_search" style="left:494px; top:8px; width:16px; height:16px; ">
  184. <caption/>
  185. <script type="javascript" ev:event="DOMActivate">
  186. <![CDATA[
  187. rpbfOpenDeptCdHelp(ipt_dutplcedeptcd, "dutunitcd,dutunitnm",cmb_instcd.value,"instcd");
  188. model.refresh();
  189. ]]>
  190. </script>
  191. </button>
  192. <caption id="caption5" class="search_name" style="left:650px; top:8px; width:86px; height:17px; ">조회년월 :</caption>
  193. <input id="ipt_emplno" ref="/root/send/retrparams/emplno" class="input_search" navindex="6" style="left:939px; top:8px; width:65px; height:19px; ">
  194. <script type="javascript" ev:event="onkeypress">
  195. <![CDATA[
  196. if(event.keyCode == 13)
  197. {
  198. if(ipt_emplno.value == ipt_emplno.currentText) return;
  199. ipt_emplno.value = ipt_emplno.currentText;
  200. rpbfValidationCheck("EMPLNO", "emplno,emplnm,dutunitcd,dutunitnm");
  201. model.refresh();
  202. }
  203. ]]>
  204. </script>
  205. <script type="javascript" ev:event="xforms-value-changed">
  206. <![CDATA[
  207. rpbfValidationCheck("EMPLNO", "emplno,emplnm");
  208. model.refresh();
  209. ]]>
  210. </script>
  211. </input>
  212. <input id="ipt_dutplcedeptcd" ref="/root/send/retrparams/dutunitcd" class="input_search" navindex="2" maxlength="10" style="left:410px; top:8px; width:80px; height:19px; ">
  213. <script type="javascript" ev:event="onkeypress">
  214. <![CDATA[
  215. if(event.keyCode == 13)
  216. {
  217. racfDeptValidCheck("dutunitcd,dutunitnm");
  218. model.refresh();
  219. }
  220. ]]>
  221. </script>
  222. <script type="javascript" ev:event="xforms-value-changed">
  223. <![CDATA[
  224. racfDeptValidCheck("dutunitcd,dutunitnm");
  225. model.refresh();
  226. ]]>
  227. </script>
  228. </input>
  229. <caption id="caption7" class="search_name" style="left:16px; top:8px; width:86px; height:17px; ">근무기관 :</caption>
  230. <button id="btn_search" class="btn1_letter2" navindex="8" selected="true" style="left:1125px; top:7px; width:56px; height:22px; text-align:left; ">
  231. <caption>조회</caption>
  232. <script type="javascript" ev:event="DOMActivate">
  233. <![CDATA[
  234. submit("TRRPD12001");
  235. ]]>
  236. </script>
  237. </button>
  238. <line id="line5" class="line_4" style="x1:1110px; y1:7px; x2:1110px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  239. <input id="ipt_dutym" ref="/root/send/retrparams/dutym" class="input_s_essential" navindex="1" inputtype="date" format="yyyy-mm" style="left:738px; top:8px; width:85px; height:19px; text-align:center; ">
  240. <script type="javascript" ev:event="xforms-value-changed">
  241. <![CDATA[
  242. var instcd = cmb_instcd.value;
  243. if( getStringLength(ipt_dutym.value) == "6" ) {
  244. misfComboInstCdListMulti("cmb_instcd",ipt_dutym.value+"31","","N");
  245. cmb_instcd.value = instcd;
  246. model.refresh();
  247. }
  248. btn_search.dispatch("DOMActivate");
  249. ]]>
  250. </script>
  251. </input>
  252. <select1 id="cmb_dutplce" ref="/root/send/retrparams/dutunitcd1" class="combo_s_essential" visibility="hidden" appearance="minimal" style="left:410px; top:8px; width:220px; height:19px; text-align:left; ">
  253. <choices>
  254. <itemset>
  255. <label/>
  256. <value/>
  257. </itemset>
  258. </choices>
  259. <script type="javascript" ev:event="xforms-value-changed">
  260. <![CDATA[
  261. model.setValue(ipt_dutplcedeptcd.attribute("ref"), cmb_dutplce.value );
  262. model.setValue(ipt_dutplcedeptnm.attribute("ref"), cmb_dutplce.label );
  263. model.refresh();
  264. ]]>
  265. </script>
  266. </select1>
  267. </group>
  268. <group id="group5" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  269. <button id="button89" class="btn6_letter2" style="left:0px; top:3px; width:56px; height:22px; ">
  270. <caption>출력</caption>
  271. <script type="javascript" ev:event="DOMActivate">
  272. <![CDATA[
  273. model.copyNode("/root/report","/root/main/list");
  274. exeReportPreview("RPRPD12001", "XMLSTR");
  275. ]]>
  276. </script>
  277. </button>
  278. <line id="line7" class="line_6" style="x1:0px; y1:25; x2:1195px; y2:25; "/>
  279. </group>
  280. </xhtml:body>
  281. </xhtml:html>