SMRPH01000_교원재임용처리.xrw 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  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>SMRPH00900_교원재임용처리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <applist/>
  11. </main>
  12. <send>
  13. <instcd/>
  14. <prfshipflag/>
  15. <basedd/>
  16. </send>
  17. <init>
  18. <emplnototal/>
  19. <scrngvalupd>
  20. <label>1학기</label>
  21. <value>1</value>
  22. <label>2학기</label>
  23. <value>2</value>
  24. </scrngvalupd>
  25. </init>
  26. <hidden/>
  27. <temp/>
  28. </root>
  29. </instance>
  30. <script type="javascript" ev:event="xforms-ready">
  31. <![CDATA[
  32. finit();
  33. ]]>
  34. </script>
  35. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  36. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  37. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  38. <script type="javascript" src="../../../mis/promotnmngtweb/js/RPH001.js"/>
  39. <script type="javascript" src="../../../mis/purccommonweb/js/PURC.js"/>
  40. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  41. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  42. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  43. <script type="javascript" src="../../../mis/valuationmngtweb/js/RPV001.js"/>
  44. <script type="javascript" src="../../../mis/educationmngtweb/js/RPS001.js"/>
  45. <script type="javascript">
  46. <![CDATA[
  47. function finit()
  48. {
  49. misfGridInit(grd_promotnflaglist);
  50. misfComboComCdList('Z0007', cmb_instcd,'N');
  51. misfComboComCdList("R0058",cmb_prfshipflag,'N');
  52. if (getCurrentDate().substr(4,2) > "03" && getCurrentDate().substr(4,2) <= "09" ){
  53. ipt_basedd.value = getCurrentDate().substr(0,4) + "0901";
  54. }else if (getCurrentDate().substr(4,2) > "03" ){
  55. ipt_basedd.value = getCurrentDate().substr(0,4) + "0301";
  56. }else{
  57. ipt_basedd.value = int(getCurrentDate().substr(0,4)) +1 + "0301";
  58. }
  59. model.setValue("/root/send/basedd", ipt_basedd.value);
  60. cmb_instcd.value = '103' ; // 기관(성의교정)
  61. cmb_prfshipflag.select(0); // 교직원구분
  62. // model.refresh();
  63. }
  64. //대상자 산출 버튼 클릭시 실행
  65. function fExecReapp(){
  66. if( !isRequiredControls("cmb_instcd","cmb_prfshipflag","ipt_basedd") ) return;
  67. submit("TRRPH01010");
  68. // btn_search.dispatch("DOMActivate");
  69. }
  70. ]]>
  71. </script>
  72. <submission id="TRRPH01010" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/applist"/>
  73. <bind id="bind1" ref="/root/init/emplnototal" calculate="count(/root/main/applist)" type="xsd:int"/>
  74. <submission id="TXRPH00901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/rphmrentlist" resultref="/root/temp"/>
  75. <submission id="TXRPH00902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
  76. </model>
  77. </xhtml:head>
  78. <xhtml:body guideline="1,1434;" style="margin-left:8; margin-right:8; ">
  79. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  80. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">교원 재임용 처리</caption>
  81. </group>
  82. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:732px; ">
  83. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  84. <caption id="cap_instcd" class="search_name" style="left:15px; top:19px; width:80px; height:17px; ">기 관 :</caption>
  85. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:18px; width:56px; height:22px; ">
  86. <caption>조회</caption>
  87. <script type="javascript" ev:event="DOMActivate">
  88. <![CDATA[
  89. if( !isRequiredControls("cmb_instcd","cmb_prfshipflag","ipt_basedd") ) return;
  90. submit("TRRPH01010");
  91. model.refresh();
  92. ]]>
  93. </script>
  94. </button>
  95. <line id="line13" class="line_4" style="x1:1110px; y1:17px; x2:1110px; y2:39px; "/>
  96. <caption id="caption278" class="tit_2" style="left:5px; top:79px; width:87px; height:13px; ">대상자 목록</caption>
  97. <line id="line207" class="line_1" style="x1:0px; y1:95px; x2:1195px; y2:95px; "/>
  98. <caption id="cap_prfshipflag" class="search_name" style="left:300px; top:19px; width:105px; height:17px; ">교직원구분 :</caption>
  99. <select1 id="cmb_prfshipflag" ref="/root/send/prfshipflag" class="combo_s_essential" disabled="true" appearance="minimal" itemcount="10" style="left:403px; top:18px; width:95px; height:19px; ">
  100. <choices>
  101. <itemset nodeset="/root/init/scrngvalupd">
  102. <label ref="label"/>
  103. <value ref="value"/>
  104. </itemset>
  105. </choices>
  106. <script type="javascript" ev:event="xforms-value-changed">
  107. <![CDATA[
  108. btn_search.dispatch("DOMActivate");
  109. ]]>
  110. </script>
  111. </select1>
  112. <button id="btn_excelsave" class="btn5_letter4" style="left:1018px; top:75px; width:64px; height:19px; ">
  113. <caption>엑셀저장</caption>
  114. <script type="javascript" ev:event="DOMActivate">
  115. <![CDATA[
  116. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  117. if (fileName != "")
  118. {
  119. grd_promotnflaglist.saveExcel(fileName, "sheet1");
  120. }
  121. ]]>
  122. </script>
  123. </button>
  124. <button id="btn_insert" class="btn2_letter3" navindex="12" style="left:1085px; top:75px; width:53px; height:19px; ">
  125. <caption>행추가</caption>
  126. <script type="javascript" ev:event="DOMActivate">
  127. <![CDATA[
  128. rpsfMultiGridIUD(grd_promotnflaglist,"A");
  129. model.refresh();
  130. ]]>
  131. </script>
  132. </button>
  133. <button id="button5" class="btn2_letter3" style="left:1140px; top:75px; width:53px; height:19px; ">
  134. <caption>행삭제</caption>
  135. <script type="javascript" ev:event="DOMActivate">
  136. <![CDATA[
  137. //한 로우씩만 삭제됨.
  138. rpsfMultiGridIUD(grd_promotnflaglist,"D");
  139. model.refresh();
  140. ]]>
  141. </script>
  142. </button>
  143. <caption id="caption3" style="left:830px; top:75px; width:95px; height:20px; font-weight:bold; color:#0000ff; ">* 조회인원수:</caption>
  144. <output id="opt_emplnototal" ref="/root/init/emplnototal" format="#,###" style="left:915px; top:75px; width:65px; height:19px; font-weight:bold; color:#3366ff; text-align:right; "/>
  145. <input id="ipt_basedd" ref="/root/send/basedd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:645px; top:18px; width:105px; height:19px; "/>
  146. <caption id="cap_basedd" class="search_name" style="left:555px; top:19px; width:86px; height:17px; ">승급년월 :</caption>
  147. <input id="int_appocont" ref="/root/main/listdetail/cmt" class="input_default" style="left:85px; top:53px; width:1060px; height:19px; "/>
  148. <caption id="cap_appocont" class="cell_1" style="left:0px; top:50px; width:82px; height:23px; vertical-align:middle; ">발령근거</caption>
  149. <datagrid id="grd_promotnflaglist" nodeset="/root/main/applist" caption="^연번^원소속부서^근무부서^사원번호^성명^최초임용일^재임용일^재임용기간^재임용기간^직위^직종^직급^호봉^처리&#xA;여부^불가&#xA;사유^불가사유기타사항^비고^원소속코드^부서코드^직종^직위^직급^주민등록|^연번^원소속부서^근무부서^사원번호^성명^최초임용일^재임용일^시작일자^종료일자^직위^직종^직급^호봉^처리&#xA;여부^불가&#xA;사유^불가사유기타사항^비고^원소속코드^부서코드^직종^직위^직급^주민등록" colsep="^" colwidth="21, 40, 132, 100, 68, 73, 75, 75, 75, 75, 58, 73, 65, 42, 41, 80, 138, 71, 100, 100, 41, 41, 41, 41, 41, 100" explorerbar="sortshow" frozencols="6" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:95px; width:1190px; height:625px; ">
  150. <col checkvalue="Y,N" ref="ck" type="checkbox"/>
  151. <col id="no" ref="no" style="text-align:center; "/>
  152. <col id="orginstnm" ref="orginstnm"/>
  153. <col id="deptnm" ref="deptnm"/>
  154. <col id="emplno" ref="emplno" style="text-align:center; "/>
  155. <col id="emplnm" ref="emplnm" style="text-align:center; "/>
  156. <col id="fstappntdd" ref="fstappntdd" format="yyyy-mm-dd" style="text-align:center; "/>
  157. <col id="reappntdd" ref="fstappntdd" format="yyyy-mm-dd" style="text-align:center; "/>
  158. <col id="edudeptappntfromdd" ref="edudeptappntfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
  159. <col id="edudeptappnttodd" ref="edudeptappnttodd" format="yyyy-mm-dd" style="text-align:center; "/>
  160. <col id="jobposnm" ref="jobposnm" style="text-align:center; "/>
  161. <col id="jobkindnm" ref="jobkindnm" style="text-align:center; "/>
  162. <col id="gradnm" ref="gradnm" style="text-align:center; "/>
  163. <col id="payclscd" ref="payclscd" style="text-align:center; "/>
  164. <col checkvalue="Y,N" ref="limyn" type="checkbox" style="text-align:center; "/>
  165. <col id="noresn" ref="noresn" type="combo">
  166. <choices>
  167. <itemset>
  168. <label/>
  169. <value/>
  170. </itemset>
  171. </choices>
  172. </col>
  173. <col id="noresnetc" type="input" rref="noresnetc"/>
  174. <col id="remk" type="input" rref="remk"/>
  175. <col id="orginstcd" ref="orginstcd" visibility="hidden"/>
  176. <col id="deptcd" ref="deptcd" visibility="hidden"/>
  177. <col id="jobkindcd" ref="jobkindcd" visibility="hidden"/>
  178. <col id="jobposcd" ref="jobposcd" visibility="hidden"/>
  179. <col id="gradcd" ref="gradcd" visibility="hidden"/>
  180. <col id="rregno" ref="rregno" visibility="hidden"/>
  181. <script type="javascript" ev:event="onclick">
  182. <![CDATA[
  183. /*
  184. var cur_row = grd_promotnflaglist.row;
  185. if ( cur_row > 0 ) {
  186. fEnableUpdateButton();
  187. model.copyNode("/root/main/listdetail","/root/main/promotnflaglist["+(cur_row-1)+"]");
  188. ipt_emplno_d.disabled=true;
  189. ipt_emplnm_d.disabled=true;
  190. btn_emplno.disabled=true;
  191. ipt_gradupym_d.disabled = true;
  192. model.refresh();
  193. */
  194. ]]>
  195. </script>
  196. <script type="javascript" ev:event="onaftersort">
  197. <![CDATA[
  198. grd_promotnflaglist.gridToInstance();
  199. ]]>
  200. </script>
  201. </datagrid>
  202. <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_search" navindex="1" appearance="minimal" style="left:91px; top:19px; width:153px; height:19px; ">
  203. <choices>
  204. <itemset>
  205. <label/>
  206. <value/>
  207. </itemset>
  208. </choices>
  209. <script type="javascript" ev:event="xforms-value-changed">
  210. <![CDATA[
  211. // model.setValue("/root/send/dutcdparams/instcd", cmb_instcd.value)
  212. ]]>
  213. </script>
  214. </select1>
  215. </group>
  216. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:28px; ">
  217. <button id="button16" class="btn3_letter9" style="left:0px; top:3px; width:56px; height:22px; ">
  218. <caption>재임용 대상자 출력</caption>
  219. <script type="javascript" ev:event="DOMActivate">
  220. <![CDATA[
  221. exeReportPreview("RPRPH01101","XMLSTR");
  222. ]]>
  223. </script>
  224. </button>
  225. <line id="line4" class="line_6" style="x1:0px; y1:25; x2:1195px; y2:25; "/>
  226. <button id="btn_exe" class="btn4_letter5" style="left:1037px; top:3px; width:92px; height:22px; ">
  227. <caption>대상자산출</caption>
  228. <script type="javascript" ev:event="DOMActivate">
  229. <![CDATA[
  230. fExecReapp();
  231. ]]>
  232. </script>
  233. </button>
  234. <button id="btn_save" class="btn4_letter2" style="left:1130px; top:3px; width:56px; height:22px; ">
  235. <caption>저장</caption>
  236. <script type="javascript" ev:event="DOMActivate">
  237. <![CDATA[
  238. if(!rpsMulilineGridCheckKey("grd_promotnflaglist")) return;
  239. var updtdata = getGridUpdateData(grd_promotnflaglist);
  240. if (updtdata == "" ) {
  241. messageBox("변경된 데이터가","I004");
  242. return;
  243. }
  244. misfSave("TXRPH00901");
  245. btn_search.dispatch("DOMActivate");
  246. ]]>
  247. </script>
  248. </button>
  249. </group>
  250. </xhtml:body>
  251. </xhtml:html>