SMRPD00200_개인근태집계조회.xrw 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322
  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. <list>
  11. <dutsumlist/>
  12. <valiuselist/>
  13. <abslatelist/>
  14. </list>
  15. </main>
  16. <send>
  17. <retrparams>
  18. <instcd/>
  19. <dutyy/>
  20. <dutunitcd/>
  21. <dutunitnm/>
  22. <emplno/>
  23. <emplnm/>
  24. <dutplceinst/>
  25. </retrparams>
  26. </send>
  27. <init/>
  28. <temp/>
  29. </root>
  30. </instance>
  31. <submission id="TRRPD00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams" resultref="/root/main/list"/>
  32. </model>
  33. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  34. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  35. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  36. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  37. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  38. <script type="javascript" src="../../../mis/dligclaznsmngtweb/js/RPD001.js"/>
  39. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  40. <script type="javascript" ev:event="xforms-ready">
  41. <![CDATA[
  42. fInitialize();
  43. ]]>
  44. </script>
  45. <script type="javascript">
  46. <![CDATA[
  47. var DUT_UNIT_CD = "";
  48. var DUT_UNIT_NM = "";
  49. function fInitialize()
  50. {
  51. model.removenode("/root/main/list/dutsumlist");
  52. model.removenode("/root/main/list/valiuselist");
  53. model.removenode("/root/main/list/abslatelist");
  54. model.setValue("/root/send/retrparams/dutyy", getCurrentDate().substr(0, 6));
  55. // misfComboComCdListMulti("Z0007","cmb_instcd");
  56. misfComboInstCdListMulti("cmb_instcd",getCurrentDate().substr(0, 8),"","Y");
  57. misfGetAndSetUserInfo();
  58. misfGetUserAuth();
  59. rpdfSetControlAuthDuty();
  60. misfMsterDetailSet(grd_dutsumlist, null, "TRRPD00201", "Y");
  61. model.setValue("/root/send/retrparams/instcd", getUserInfo("dutplceinstcd"));
  62. model.setValue("/root/send/retrparams/dutunitcd", DUT_UNIT_CD);
  63. model.setValue("/root/send/retrparams/dutunitnm", DUT_UNIT_NM);
  64. model.setValue("/root/send/retrparams/emplno", getUserInfo("userid"));
  65. model.setValue("/root/send/retrparams/emplnm", getUserInfo("usernm"));
  66. ipt_emplno.disabled = true
  67. ipt_emplnm.disabled = true
  68. btn_help.disabled = true
  69. grd_dutsumlist.rowHeight(0) = 23;
  70. grd_dutsumlist.rowHeight(1) = 23;
  71. model.refresh();
  72. }
  73. function fRetrieve()
  74. {
  75. submit("TRRPD00201");
  76. }
  77. ]]>
  78. </script>
  79. </xhtml:head>
  80. <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-right:8; ">
  81. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  82. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">개인근태집계조회</caption>
  83. </group>
  84. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  85. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  86. <line id="line13" class="line_4" style="x1:1110px; y1:16px; x2:1110px; y2:38px; "/>
  87. <caption id="caption278" class="tit_2" style="left:5px; top:54px; width:162px; height:13px; ">개인근태집계목록</caption>
  88. <line id="line207" class="line_1" style="x1:0px; y1:69px; x2:1195px; y2:69px; "/>
  89. <datagrid id="grd_dutsumlist" nodeset="/root/main/list/dutsumlist" caption="사원번호^성명^근무부서코드^근무부서명^법휴^법휴^법휴^법휴^법휴^보호휴가^보호휴가^보호휴가^지각^결근^공가^경조휴가^병가^휴직^공상|사원번호^성명^근무부서코드^근무부서명^발 생^사 용^1↓ 발생^1↓사용^잔 여 ^발 생^사 용^잔 여^지각^결근^공가^경조휴가^병가^휴직^공상" colsep="^" colwidth="75, 80, 80, 193, 81, 72, 55, 55, 76, 55, 55, 55, 55, 55, 71, 69, 69, 69, 69" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:74px; width:1195px; height:71px; ">
  90. <col ref="emplno" style="text-align:center; "/>
  91. <col ref="emplnm" style="text-align:center; "/>
  92. <col ref="dutplcedeptcd" style="text-align:center; "/>
  93. <col ref="deptnm" style="text-align:center; "/>
  94. <col ref="genryearno" style="text-align:center; "/>
  95. <col ref="useyearno" style="text-align:center; "/>
  96. <col ref="olmtgenryearno" visibility="hidden" style="text-align:center; "/>
  97. <col ref="olmtspreyearno" visibility="hidden" style="text-align:center; "/>
  98. <col ref="spreyearno" style="text-align:center; "/>
  99. <col ref="genrhealholi" visibility="hidden" style="text-align:center; "/>
  100. <col ref="usehealholi" visibility="hidden" style="text-align:center; "/>
  101. <col ref="sprehealholi" visibility="hidden" style="text-align:center; "/>
  102. <col ref="lateness" visibility="hidden" format="99" style="text-align:center; "/>
  103. <col ref="absence" visibility="hidden" format="99" style="text-align:center; "/>
  104. <col ref="public1" visibility="hidden" format="99" style="text-align:center; "/>
  105. <col ref="holi" visibility="hidden" format="99" style="text-align:center; "/>
  106. <col ref="sick" visibility="hidden" format="99" style="text-align:center; "/>
  107. <col ref="suspense" visibility="hidden" format="99" style="text-align:center; "/>
  108. <col ref="publict" visibility="hidden" format="99" style="text-align:center; "/>
  109. </datagrid>
  110. <caption id="caption5" class="search_name" style="left:10px; top:19px; width:86px; height:17px; ">근무기관 :</caption>
  111. <caption id="caption1" class="search_name" style="left:260px; top:19px; width:86px; height:17px; ">근무년월 :</caption>
  112. <input id="ipt_dutym" ref="/root/send/retrparams/dutyy" class="input_search" navindex="2" inputtype="date" format="yyyy-mm" style="left:355px; top:18px; width:95px; height:19px; text-align:center; ">
  113. <script type="javascript" ev:event="xforms-value-changed">
  114. <![CDATA[
  115. var instcd = cmb_instcd.value;
  116. if( getStringLength(ipt_dutym.value) == "6" ) {
  117. model.removeNodeset(cmb_instcd.attribute("ref"));
  118. model.makeNode("/root/send/retrparams/instcd");
  119. misfComboInstCdListMulti("cmb_instcd",ipt_dutym.value+"31","","Y");
  120. cmb_instcd.value = instcd;
  121. model.refresh();
  122. }
  123. ]]>
  124. </script>
  125. </input>
  126. <select1 id="cmb_instcd" ref="/root/send/retrparams/instcd" class="combo_search" navindex="1" appearance="minimal" style="left:100px; top:18px; width:145px; height:19px; ">
  127. <choices>
  128. <itemset>
  129. <label/>
  130. <value/>
  131. </itemset>
  132. </choices>
  133. </select1>
  134. <button id="btn_dutdept" class="icon_search" style="left:633px; top:20px; width:16px; height:16px; ">
  135. <caption/>
  136. <script type="javascript" ev:event="DOMActivate">
  137. <![CDATA[
  138. // misfOpenPopUpList("02", ipt_dutdeptcd, "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd");
  139. misfOpenPopUpList("02", ipt_dutdeptcd,"","dutunitcd,dutunitnm", cmb_instcd.value + "," + ipt_dutym.value+"31", "instcd,basedd");
  140. model.refresh();
  141. ]]>
  142. </script>
  143. </button>
  144. <caption id="caption2" class="search_name" style="left:467px; top:19px; width:88px; height:17px; ">근무부서 :</caption>
  145. <input id="ipt_dutdeptnm" ref="/root/send/retrparams/dutunitnm" class="input_search" navindex="4" style="left:651px; top:18px; width:114px; height:19px; ">
  146. <script type="javascript" ev:event="onkeypress">
  147. <![CDATA[
  148. if(event.keyCode == 13)
  149. {
  150. if(ipt_dutdeptnm.value == ipt_dutdeptnm.currentText) return;
  151. ipt_dutdeptnm.value = ipt_dutdeptnm.currentText;
  152. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
  153. model.refresh();
  154. }
  155. ]]>
  156. </script>
  157. <script type="javascript" ev:event="xforms-value-changed">
  158. <![CDATA[
  159. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
  160. model.refresh();
  161. ]]>
  162. </script>
  163. </input>
  164. <input id="ipt_dutdeptcd" ref="/root/send/retrparams/dutunitcd" class="input_search" navindex="3" maxlength="10" style="left:555px; top:18px; width:75px; height:19px; text-align:center; ">
  165. <script type="javascript" ev:event="onkeypress">
  166. <![CDATA[
  167. if(event.keyCode == 13)
  168. {
  169. if(ipt_dutdeptcd.value == ipt_dutdeptcd.currentText) return;
  170. ipt_dutdeptcd.value = ipt_dutdeptcd.currentText;
  171. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
  172. model.refresh();
  173. }
  174. ]]>
  175. </script>
  176. <script type="javascript" ev:event="xforms-value-changed">
  177. <![CDATA[
  178. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
  179. model.refresh();
  180. ]]>
  181. </script>
  182. </input>
  183. <button id="btn_help" class="icon_search" style="left:939px; top:20px; width:16px; height:16px; ">
  184. <caption/>
  185. <script type="javascript" ev:event="DOMActivate">
  186. <![CDATA[
  187. rpbfOpenPopUpList("SPRPB00101", ipt_emplno, "emplno,emplnm,dutunitcd,dutunitnm,dutplceinst", "", "N");
  188. if(model.getValue("/root/send/retrparams/emplno") != "" && model.getValue("/root/send/retrparams/emplnm") != "" && getUserInfo("dutplceinstcd") == "001")
  189. {
  190. model.setValue("/root/send/retrparams/instcd", model.getValue("/root/send/retrparams/dutplceinst"));
  191. }
  192. model.refresh();
  193. ]]>
  194. </script>
  195. </button>
  196. <caption id="caption3" class="search_name" style="left:780px; top:19px; width:86px; height:17px; ">사원번호 :</caption>
  197. <input id="ipt_emplno" ref="/root/send/retrparams/emplno" class="input_search" disabled="true" navindex="5" maxlength="8" style="left:869px; top:18px; width:65px; height:19px; ">
  198. <script type="javascript" ev:event="xforms-value-changed">
  199. <![CDATA[
  200. rpbfValidationCheck("EMPLNO", "emplno,emplnm,dutunitcd,dutunitnm,dutplceinst");
  201. model.refresh();
  202. ]]>
  203. </script>
  204. <script type="javascript" ev:event="onkeypress">
  205. <![CDATA[
  206. if(event.keyCode == 13)
  207. {
  208. ipt_emplno.value = ipt_emplno.currentText;
  209. rpbfValidationCheck("EMPLNO", "emplno,emplnm,dutunitcd,dutunitnm,dutplceinst");
  210. if(model.getValue("/root/send/retrparams/emplno") != "" && model.getValue("/root/send/retrparams/emplnm") != "" && getUserInfo("dutplceinstcd") == "001")
  211. {
  212. model.setValue("/root/send/retrparams/instcd", model.getValue("/root/send/retrparams/dutplceinst"));
  213. }
  214. model.refresh();
  215. }
  216. ]]>
  217. </script>
  218. </input>
  219. <input id="ipt_emplnm" ref="/root/send/retrparams/emplnm" class="input_search" disabled="true" navindex="6" style="left:960px; top:18px; width:90px; height:19px; ">
  220. <script type="javascript" ev:event="xforms-value-changed">
  221. <![CDATA[
  222. rpbfValidationCheck("EMPLNM", "emplno,emplnm,dutunitcd,dutunitnm,dutplceinst");
  223. model.refresh();
  224. ]]>
  225. </script>
  226. <script type="javascript" ev:event="onkeypress">
  227. <![CDATA[
  228. if(event.keyCode == 13)
  229. {
  230. ipt_emplnm.value = ipt_emplnm.currentText;
  231. rpbfValidationCheck("EMPLNM", "emplno,emplnm,dutunitcd,dutunitnm,dutplceinst");
  232. if(model.getValue("/root/send/retrparams/emplno") != "" && model.getValue("/root/send/retrparams/emplnm") != "" && getUserInfo("dutplceinstcd") == "001")
  233. {
  234. model.setValue("/root/send/retrparams/instcd", model.getValue("/root/send/retrparams/dutplceinst"));
  235. }
  236. model.refresh();
  237. }
  238. ]]>
  239. </script>
  240. </input>
  241. <caption id="caption4" class="tit_2" style="left:5px; top:157px; width:136px; height:14px; ">개인 복무 신청 내역</caption>
  242. <line id="line1" class="line_1" style="x1:0px; y1:172px; x2:1195px; y2:172px; "/>
  243. <caption id="caption7" class="tit_2" visibility="hidden" style="left:5px; top:510px; width:229px; height:14px; ">법휴 신청내역 및 지각/결근 내역</caption>
  244. <line id="line2" class="line_1" style="x1:0px; y1:525px; x2:1195px; y2:525px; "/>
  245. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:16px; width:56px; height:22px; ">
  246. <caption>조회</caption>
  247. <script type="javascript" ev:event="DOMActivate">
  248. <![CDATA[
  249. fRetrieve();
  250. ]]>
  251. </script>
  252. </button>
  253. <datagrid id="grd_valiuselist" nodeset="/root/main/list/valiuselist" caption="사용일자^근무코드^근무명^사용횟수^밤근무월제한일수|사용일자^근무코드^근무명^사용횟수^밤근무월제한일수" colsep="^" colwidth="100, 70, 300, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:0px; top:177px; width:1195px; height:321px; ">
  254. <col ref="dutdd" format="yyyy-mm-dd" style="text-align:center; "/>
  255. <col ref="dutcd" type="output" style="text-align:center; vertical-align:middle; "/>
  256. <col ref="dutnm"/>
  257. <col ref="usecnts" style="text-align:center; vertical-align:middle; "/>
  258. </datagrid>
  259. <datagrid id="grd_abslatelist" nodeset="/root/main/list/abslatelist" caption="근무코드^근무명^신청일^신청기간^신청기간^일수^승인여부^신청사유^복무비용^비용지급일자^부서장&#xA;입력여부^부서장승인^인사팀승인^지출결의확인^기관코드^사번^근무지부서^밤근무월제한일수|근무코드^근무명^신청일^시작일^종료일^일수^승인여부^신청사유^복무비용^비용지급일자^부서장&#xA;입력여부^부서장승인^인사팀승인^지출결의확인^기관코드^사번^근무지부서^밤근무월제한일수" colsep="^" colwidth="70, 100, 120, 120, 120, 100, 100, 412, 0, 0, 0, 0, 0, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:0px; top:177px; width:1195px; height:563px; ">
  260. <col ref="dutcd" type="output" style="text-align:center; vertical-align:middle; "/>
  261. <col ref="dutnm"/>
  262. <col ref="srvarmappdd" format="yyyy-mm-dd" style="text-align:center; "/>
  263. <col ref="srvarmfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
  264. <col ref="srvarmtodd" format="yyyy-mm-dd" style="text-align:center; "/>
  265. <col ref="srvarmdayno" style="text-align:center; vertical-align:middle; "/>
  266. <col/>
  267. <col ref="appresn"/>
  268. <col ref="srvarmcost" visibility="hidden"/>
  269. <col ref="srvarmcostpaydd" visibility="hidden"/>
  270. <col disabled="true" ref="deprtmangrinptyn" visibility="hidden" style="text-align:center; "/>
  271. <col ref="deprtmangraprvyn"/>
  272. <col ref="psnworkapryn" visibility="hidden"/>
  273. <col ref="expsaactrelcnfm" visibility="hidden"/>
  274. <col ref="instcd" visibility="hidden"/>
  275. <col ref="emplno" visibility="hidden"/>
  276. <col ref="dutplcedeptcd" visibility="hidden"/>
  277. <script type="javascript" ev:event="xforms-value-changed">
  278. <![CDATA[
  279. fSetHoliLen();
  280. ]]>
  281. </script>
  282. </datagrid>
  283. </group>
  284. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  285. <line id="line4" class="line_6" style="x1:0px; y1:25; x2:1195px; y2:25; "/>
  286. </group>
  287. </xhtml:body>
  288. </xhtml:html>