SMRPD10600_인력산정.xrw 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  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>Untitle</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list>
  11. <dutyempstate/>
  12. </list>
  13. </main>
  14. <send>
  15. <retrparams>
  16. <instcd/>
  17. <frym/>
  18. <toym/>
  19. <dutunitcd/>
  20. <dutunitnm/>
  21. </retrparams>
  22. </send>
  23. <init/>
  24. <temp/>
  25. </root>
  26. </instance>
  27. <submission id="TRRPD10601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams" resultref="/root/main/list"/>
  28. </model>
  29. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  30. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  31. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  32. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  33. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  34. <script type="javascript" src="../../../mis/dligclaznsmngtweb/js/RPD001.js"/>
  35. <script type="javascript" ev:event="xforms-ready">
  36. <![CDATA[
  37. fInit();
  38. ]]>
  39. </script>
  40. <script type="javascript">
  41. <![CDATA[
  42. function fInit()
  43. {
  44. model.removenode("/root/main/list/dutyempstate");
  45. // misfComboComCdListMulti("Z0007","cmb_instcd");
  46. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  47. var dt = new Date(parseInt(getCurrentDate().substr(0, 4), 10), parseInt(getCurrentDate().substr(4, 2), 10) - 1, parseInt(getCurrentDate().substr(6, 2), 10));
  48. var sDay = dt.getMonth();
  49. var sDay = (sDay.toString().length == 1) ? "0" + sDay : sDay;
  50. model.setValue("/root/send/retrparams/instcd", getUserInfo("dutplceinstcd"));
  51. model.setValue("/root/send/retrparams/frym", getCurrentDate().substr(0, 4) + "01");
  52. model.setValue("/root/send/retrparams/toym", getCurrentDate().substr(0, 4) + sDay);
  53. misfMsterDetailSet(grd_dutyempstate, null, "TRRPD10601", "Y");
  54. model.refresh();
  55. grd_dutyempstate.rowHeight(0) = 35;
  56. }
  57. function fRetrieve()
  58. {
  59. submit("TRRPD10601");
  60. }
  61. ]]>
  62. </script>
  63. </xhtml:head>
  64. <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  65. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  66. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">인력산정</caption>
  67. </group>
  68. <group id="group3" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  69. <caption id="caption102" class="tit_2" style="left:5px; top:58px; width:144px; height:13px; ">계산</caption>
  70. <line id="line98" class="line_1" style="x1:0px; y1:74px; x2:1195px; y2:74px; "/>
  71. <line id="line5" class="line_2" style="x1:40px; y1:-418px; x2:720px; y2:-418px; "/>
  72. <group id="group2" style="left:0px; top:15px; width:1195px; height:35px; vertical-align:top; ">
  73. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1195px; height:35px; "/>
  74. <button id="button1" class="btn1_letter2" navindex="4" selected="true" style="left:1125px; top:7px; width:56px; height:22px; text-align:left; ">
  75. <caption>조회</caption>
  76. <script type="javascript" ev:event="DOMActivate">
  77. <![CDATA[
  78. fRetrieve();
  79. ]]>
  80. </script>
  81. </button>
  82. <line id="line1" class="line_4" style="x1:1110px; y1:7px; x2:1110px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  83. <select1 id="cmb_instcd" ref="/root/send/retrparams/instcd" class="combo_search" navindex="1" appearance="minimal" style="left:102px; top:8px; width:173px; height:19px; ">
  84. <choices>
  85. <itemset>
  86. <label/>
  87. <value/>
  88. </itemset>
  89. </choices>
  90. </select1>
  91. <caption id="caption29" class="search_name" style="left:14px; top:9px; width:86px; height:17px; ">근무기관 :</caption>
  92. <caption id="caption9" class="search_name" style="left:305px; top:9px; width:87px; height:17px; ">조회기간 :</caption>
  93. <caption id="caption10" class="search_n_b" style="left:480px; top:9px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  94. <input id="input5" ref="/root/send/retrparams/toym" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:495px; top:8px; width:80px; height:19px; "/>
  95. <button id="btn_dutdept" class="icon_search" visibility="visible" style="left:790px; top:10px; width:16px; height:16px; ">
  96. <caption/>
  97. <script type="javascript" ev:event="DOMActivate">
  98. <![CDATA[
  99. misfOpenPopUpList("02", ipt_dutunitcd, "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd");
  100. model.refresh();
  101. ]]>
  102. </script>
  103. </button>
  104. <input id="ipt_dutunitnm" ref="/root/send/retrparams/dutunitnm" class="input_search" navindex="3" visibility="visible" style="left:810px; top:8px; width:134px; height:19px; ">
  105. <script type="javascript" ev:event="xforms-value-changed">
  106. <![CDATA[
  107. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
  108. model.refresh();
  109. ]]>
  110. </script>
  111. <script type="javascript" ev:event="onkeypress">
  112. <![CDATA[
  113. if(event.keyCode == 13)
  114. {
  115. ipt_dutunitnm.value = ipt_dutunitnm.currentText;
  116. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
  117. model.refresh();
  118. }
  119. ]]>
  120. </script>
  121. </input>
  122. <input id="ipt_dutunitcd" ref="/root/send/retrparams/dutunitcd" class="input_s_essential" navindex="2" visibility="visible" maxlength="10" style="left:701px; top:8px; width:85px; height:19px; ">
  123. <script type="javascript" ev:event="xforms-value-changed">
  124. <![CDATA[
  125. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
  126. model.refresh();
  127. ]]>
  128. </script>
  129. <script type="javascript" ev:event="onkeypress">
  130. <![CDATA[
  131. if(event.keyCode == 13)
  132. {
  133. ipt_dutunitcd.value = ipt_dutunitcd.currentText;
  134. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
  135. model.refresh();
  136. }
  137. ]]>
  138. </script>
  139. </input>
  140. <caption id="caption11" class="search_name" style="left:610px; top:9px; width:87px; height:17px; ">근무부서 :</caption>
  141. <input id="ipt_frym" ref="/root/send/retrparams/frym" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:395px; top:8px; width:80px; height:19px; ">
  142. <script type="javascript" ev:event="xforms-value-changed">
  143. <![CDATA[
  144. var instcd = cmb_instcd.value;
  145. if( getStringLength(ipt_frym.value) == "6" ) {
  146. model.removeNodeset(cmb_instcd.attribute("ref"));
  147. model.makeNode("/root/send/retrparams/instcd");
  148. misfComboInstCdListMulti("cmb_instcd",ipt_frym.value+"31","","N");
  149. cmb_instcd.value = instcd;
  150. model.refresh();
  151. }
  152. ]]>
  153. </script>
  154. </input>
  155. </group>
  156. <datagrid id="grd_dutyempstate" nodeset="/root/main/list/dutyempstate" caption="기관^근무부서^남녀&#xA;구분^인원^실근무시간^근무가능시간^업무과다시간^1인평균근무시간&#xA;(여성근로시간기준)^인력증감^적정인력^1인연장근무시간^1인당휴가사용일" colsep="^" colwidth="0, 180, 60, 50, 100, 100, 100, 120, 80, 100, 100, 100" frozencols="1" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheight="0" rowsep="|" style="left:0px; top:79px; width:1195px; height:661px; ">
  157. <col ref="instnm"/>
  158. <col ref="dutunitnm"/>
  159. <col ref="gndr" style="text-align:center; "/>
  160. <col ref="dutempcnt" style="text-align:center; "/>
  161. <col ref="rlduttmcnt" style="text-align:right; padding-right:2; "/>
  162. <col ref="duttm" style="text-align:right; padding-right:2; "/>
  163. <col ref="dutovtm" style="text-align:right; padding-right:2; "/>
  164. <col ref="priavgduttm" style="text-align:right; padding-right:2; "/>
  165. <col ref="emphl" style="text-align:right; padding-right:2; "/>
  166. <col ref="emp" style="text-align:right; padding-right:2; "/>
  167. <col ref="ovtm" style="text-align:right; padding-right:2; "/>
  168. <col ref="vali" style="text-align:right; padding-right:2; "/>
  169. </datagrid>
  170. <button id="button2" class="btn2_letter4" visibility="hidden" style="left:1060px; top:54px; width:64px; height:19px; ">
  171. <caption>인력산정</caption>
  172. </button>
  173. <button id="btn_excel" class="btn2_letter4" style="left:1130px; top:54px; width:64px; height:19px; ">
  174. <caption>엑셀저장</caption>
  175. <script type="javascript" ev:event="DOMActivate">
  176. <![CDATA[
  177. misfSaveExcel(grd_dutyempstate);
  178. ]]>
  179. </script>
  180. </button>
  181. </group>
  182. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  183. <button id="button89" class="btn6_letter2" visibility="hidden" style="left:0px; top:3px; width:56px; height:22px; ">
  184. <caption>출력</caption>
  185. </button>
  186. <line id="line6" class="line_2" style="x1:0px; y1:25; x2:1195px; y2:25; "/>
  187. </group>
  188. </xhtml:body>
  189. </xhtml:html>