SMRPD03300_근태집계조회.xrw 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  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. </list>
  13. </main>
  14. <send>
  15. <retrparams>
  16. <instcd/>
  17. <frdutym/>
  18. <todutym/>
  19. <dutunitcd/>
  20. <dutunitnm/>
  21. <retrflag>T</retrflag>
  22. </retrparams>
  23. </send>
  24. <init/>
  25. <temp/>
  26. </root>
  27. </instance>
  28. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  29. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  30. <submission id="TRRPD03301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams" resultref="/root/main/list"/>
  31. </model>
  32. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  33. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  34. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  35. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  36. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  37. <script type="javascript" src="../../../mis/dligclaznsmngtweb/js/RPD001.js"/>
  38. <script type="javascript" ev:event="xforms-ready">
  39. <![CDATA[
  40. fInitialize();
  41. ]]>
  42. </script>
  43. <script type="javascript">
  44. <![CDATA[
  45. // var DUT_UNIT_CD = "";
  46. // var DUT_UNIT_NM = "";
  47. // var DUTY_RESP_YN = ""; // 복무 책임자
  48. // var DUTY_PART_YN = ""; // 인사 복무 담당자
  49. function fInitialize()
  50. {
  51. model.removenode("/root/main/list/dutsumlist");
  52. // misfComboComCdListMulti("Z0007","cmb_instcd");
  53. model.setValue("/root/send/retrparams/frdutym", getCurrentDate().substr(0, 6));
  54. model.setValue("/root/send/retrparams/todutym", getCurrentDate().substr(0, 6));
  55. misfComboInstCdListMulti("cmb_instcd", ipt_dutym.value+getCurrentDate().substr(6, 2),"","N");
  56. misfGetAndSetUserInfo();
  57. model.setValue("/root/send/retrparams/instcd", getUserInfo("dutplceinstcd"));
  58. model.setValue("/root/send/retrparams/dutunitcd", DUT_UNIT_CD);
  59. model.setValue("/root/send/retrparams/dutunitnm", DUT_UNIT_NM);
  60. if(getUserInfo("dutplceinstcd") == "001") cmb_instcd.disabled = false;
  61. else cmb_instcd.disabled = true;
  62. grd_dutsumlist.rowHeight(0) = 22;
  63. grd_dutsumlist.rowHeight(1) = 22;
  64. grd_dutsumlist.rowHeight(2) = 22;
  65. btn_search.dispatch("DOMActivate");
  66. model.refresh();
  67. }
  68. ]]>
  69. </script>
  70. </xhtml:head>
  71. <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-right:8; ">
  72. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  73. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">근태집계조회</caption>
  74. </group>
  75. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  76. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  77. <line id="line13" class="line_4" style="x1:1110px; y1:16px; x2:1110px; y2:38px; "/>
  78. <caption id="caption278" class="tit_2" style="left:5px; top:54px; width:162px; height:14px; ">근태집계목록</caption>
  79. <line id="line207" class="line_1" style="x1:0px; y1:69px; x2:1195px; y2:69px; "/>
  80. <datagrid id="grd_dutsumlist" nodeset="/root/main/list/dutsumlist" caption="부서^직위^사원번호^성명^주민번호^근무일수합계^근무일수합계^근무일수합계^근무일수합계^근무일수합계^근무일수합계^근무일수합계^근무일수합계^근무일수합계^휴식일^휴식일^휴식일^휴식일^휴식일^휴식일^휴식일^휴식일^휴식일^휴식일^휴식일^휴식일^휴식일^휴식일^휴식일^휴식일^지각^연장&#xA;수당^야간&#xA;수당^인계&#xA;수당^조출&#xA;수당^명절&#xA;수당^개원&#xA;기념&#xA;수당^당직&#xA;수당|부서^직위^사원번호^성명^주민번호^실질근로일^실질근로일^실질근로일^실질근로일^공가^공가^소계^연장^합계^대휴^기본휴일^기본휴일^기본휴일^기본휴일^기본휴일^휴일^휴일^휴일^휴일^휴일^휴일^휴일^휴일^결근^합계^지각^연장&#xA;수당^야간&#xA;수당^인계&#xA;수당^조출&#xA;수당^명절&#xA;수당^개원&#xA;기념&#xA;수당^당직&#xA;수당|부서^직위^사원번호^성명^주민번호^M^D^E^N^P^PT^소계^연장^합계^OF1^OF^V^V1^C^소계^B^H^S^S1^S2^S3^S4^소계^A^합계^L^연장&#xA;수당^야간&#xA;수당^인계&#xA;수당^조출&#xA;수당^명절&#xA;수당^개원&#xA;기념&#xA;수당^당직&#xA;수당" colsep="^" colwidth="100, 80, 65, 80, 100, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 50, 50, 50, 50, 50, 50, 50" dataheight="25" extendlastcol="scroll" frozencols="4" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:74px; width:1195px; height:670px; border-right-color:#3366ff; ">
  81. <col ref="dutplcedeptnm"/>
  82. <col ref="jobposnm"/>
  83. <col ref="emplno" style="text-align:center; "/>
  84. <col ref="emplnm"/>
  85. <col ref="rregno"/>
  86. <col ref="m" style="text-align:right; padding-right:5; "/>
  87. <col ref="d" style="text-align:right; padding-right:5; "/>
  88. <col ref="e" style="text-align:right; padding-right:5; "/>
  89. <col ref="n" style="text-align:right; padding-right:5; "/>
  90. <col ref="p" style="text-align:right; padding-right:5; "/>
  91. <col ref="pt" style="text-align:right; padding-right:5; "/>
  92. <col ref="dutysum" style="text-align:right; padding-right:5; "/>
  93. <col ref="overtime" style="text-align:right; padding-right:5; "/>
  94. <col ref="totdutysum" style="text-align:right; padding-right:5; "/>
  95. <col ref="of1" style="text-align:right; padding-right:5; "/>
  96. <col ref="off1" style="text-align:right; padding-right:5; "/>
  97. <col ref="v" style="text-align:right; padding-right:5; "/>
  98. <col ref="v1" style="text-align:right; padding-right:5; "/>
  99. <col ref="c" style="text-align:right; padding-right:5; "/>
  100. <col ref="baseholisum" style="text-align:right; padding-right:5; "/>
  101. <col ref="b" style="text-align:right; padding-right:5; "/>
  102. <col ref="h" style="text-align:right; padding-right:5; "/>
  103. <col ref="s" style="text-align:right; padding-right:5; "/>
  104. <col ref="s1" style="text-align:right; padding-right:5; "/>
  105. <col ref="s2" style="text-align:right; padding-right:5; "/>
  106. <col ref="s3" style="text-align:right; padding-right:5; "/>
  107. <col ref="s4" style="text-align:right; padding-right:5; "/>
  108. <col ref="holisum" style="text-align:right; padding-right:5; "/>
  109. <col ref="a" style="text-align:right; padding-right:5; "/>
  110. <col ref="totholisum" style="text-align:right; padding-right:5; "/>
  111. <col ref="l" style="text-align:right; padding-right:5; "/>
  112. <col ref="over" style="text-align:right; padding-right:5; "/>
  113. <col ref="night" style="text-align:right; padding-right:5; "/>
  114. <col ref="dutypass" visibility="hidden" style="text-align:right; padding-right:5; "/>
  115. <col ref="early" visibility="hidden" style="text-align:right; padding-right:5; "/>
  116. <col ref="natiholi" visibility="hidden" style="text-align:right; padding-right:5; "/>
  117. <col ref="hospopen" visibility="hidden" style="text-align:right; padding-right:5; "/>
  118. <col ref="nightduty" style="text-align:right; padding-right:5; "/>
  119. </datagrid>
  120. <caption id="caption5" class="search_name" style="left:10px; top:19px; width:86px; height:17px; ">소속기관 :</caption>
  121. <caption id="caption1" class="search_name" style="left:290px; top:19px; width:86px; height:17px; ">근무년월 :</caption>
  122. <input id="ipt_dutym" ref="/root/send/retrparams/frdutym" class="input_search" inputtype="date" format="yyyy-mm" style="left:380px; top:18px; width:85px; height:19px; text-align:center; ">
  123. <script type="javascript" ev:event="xforms-value-changed">
  124. <![CDATA[
  125. var instcd = cmb_instcd.value;
  126. if( getStringLength(ipt_dutym.value) == "6" ) {
  127. model.removeNodeset(cmb_instcd.attribute("ref"));
  128. model.makeNode("/root/send/retrparams/instcd");
  129. misfComboInstCdListMulti("cmb_instcd",ipt_dutym.value+"31","","N");
  130. cmb_instcd.value = instcd;
  131. model.refresh();
  132. }
  133. btn_search.dispatch("DOMActivate");
  134. ]]>
  135. </script>
  136. </input>
  137. <select1 id="cmb_instcd" ref="/root/send/retrparams/instcd" class="combo_search" appearance="minimal" style="left:100px; top:18px; width:155px; height:19px; ">
  138. <choices>
  139. <itemset>
  140. <label/>
  141. <value/>
  142. </itemset>
  143. </choices>
  144. <script type="javascript" ev:event="xforms-value-changed">
  145. <![CDATA[
  146. btn_search.dispatch("DOMActivate");
  147. ]]>
  148. </script>
  149. </select1>
  150. <button id="btn_dutdept" class="icon_search" style="left:763px; top:20px; width:16px; height:16px; ">
  151. <caption/>
  152. <script type="javascript" ev:event="DOMActivate">
  153. <![CDATA[
  154. misfOpenPopUpList("02", ipt_dutdeptcd, "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd");
  155. model.refresh();
  156. ]]>
  157. </script>
  158. </button>
  159. <caption id="caption2" class="search_name" style="left:602px; top:19px; width:88px; height:17px; ">근무부서 :</caption>
  160. <input id="ipt_dutdeptnm" ref="/root/send/retrparams/dutunitnm" class="input_search" navindex="3" style="left:781px; top:18px; width:114px; height:19px; ">
  161. <script type="javascript" ev:event="onkeypress">
  162. <![CDATA[
  163. if(event.keyCode == 13)
  164. {
  165. if(ipt_dutdeptnm.value == ipt_dutdeptnm.currentText) return;
  166. ipt_dutdeptnm.value = ipt_dutdeptnm.currentText;
  167. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
  168. model.refresh();
  169. }
  170. ]]>
  171. </script>
  172. <script type="javascript" ev:event="xforms-value-changed">
  173. <![CDATA[
  174. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
  175. model.refresh();
  176. ]]>
  177. </script>
  178. </input>
  179. <input id="ipt_dutdeptcd" ref="/root/send/retrparams/dutunitcd" class="input_search" navindex="2" maxlength="10" style="left:690px; top:18px; width:70px; height:19px; text-align:center; ">
  180. <script type="javascript" ev:event="onkeypress">
  181. <![CDATA[
  182. if(event.keyCode == 13)
  183. {
  184. if(ipt_dutdeptcd.value == ipt_dutdeptcd.currentText) return;
  185. ipt_dutdeptcd.value = ipt_dutdeptcd.currentText;
  186. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
  187. model.refresh();
  188. }
  189. ]]>
  190. </script>
  191. <script type="javascript" ev:event="xforms-value-changed">
  192. <![CDATA[
  193. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
  194. model.refresh();
  195. ]]>
  196. </script>
  197. </input>
  198. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:17px; width:56px; height:22px; ">
  199. <caption>조회</caption>
  200. <script type="javascript" ev:event="DOMActivate">
  201. <![CDATA[
  202. submit("TRRPD03301");
  203. ]]>
  204. </script>
  205. </button>
  206. <select1 id="rdo_retrflag" ref="/root/send/retrparams/retrflag" visibility="hidden" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:930px; top:20px; width:110px; height:15px; border-style:none; ">
  207. <choices>
  208. <item>
  209. <label>시간</label>
  210. <value>T</value>
  211. </item>
  212. <item>
  213. <label>횟수</label>
  214. <value>C</value>
  215. </item>
  216. </choices>
  217. </select1>
  218. <input id="input1" ref="/root/send/retrparams/todutym" class="input_search" inputtype="date" format="yyyy-mm" style="left:480px; top:18px; width:85px; height:19px; text-align:center; ">
  219. <script type="javascript" ev:event="xforms-value-changed">
  220. <![CDATA[
  221. btn_search.dispatch("DOMActivate");
  222. ]]>
  223. </script>
  224. </input>
  225. <caption id="caption3" style="left:467px; top:20px; width:15px; height:20px; ">~</caption>
  226. <button id="btn_excsave" class="btn2_letter4" style="left:1127px; top:49px; width:64px; height:19px; ">
  227. <caption>엑셀저장</caption>
  228. <script type="javascript" ev:event="DOMActivate">
  229. <![CDATA[
  230. misfSaveExcel(grd_dutsumlist);
  231. ]]>
  232. </script>
  233. </button>
  234. </group>
  235. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  236. <line id="line4" class="line_6" style="x1:0px; y1:25; x2:1195px; y2:25; "/>
  237. </group>
  238. </xhtml:body>
  239. </xhtml:html>