xSMRPS04100_부서교육이수자등록.xrw 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932
  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>SMRPS04100_부서교육이수자등록</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list1>
  11. <educlist/>
  12. </list1>
  13. <list2>
  14. <eductrgtmanlist/>
  15. </list2>
  16. <list3>
  17. <emplist/>
  18. </list3>
  19. <list4>
  20. <excellist/>
  21. </list4>
  22. </main>
  23. <send>
  24. <retrparams1>
  25. <appyy/>
  26. <educflag/>
  27. <posinstcd/>
  28. <chrgdeptcd/>
  29. <chrgdeptnm/>
  30. <chrgteamnm/>
  31. <chrgteamcd/>
  32. <chrgunitnm/>
  33. <chrgunitcd/>
  34. <grdunitcd/>
  35. <emplno/>
  36. </retrparams1>
  37. <retrparams2>
  38. <appyy/>
  39. <depteduccd/>
  40. </retrparams2>
  41. <retrparams3>
  42. <instcd/>
  43. <dutunitcd/>
  44. <dutunitnm/>
  45. <prfshipflag/>
  46. <holyordflag/>
  47. <grupjoblncd/>
  48. <grupjoblnnm/>
  49. <njobgradcd/>
  50. <njobgradnm/>
  51. <jobkindcd/>
  52. <jobkindnm/>
  53. <jobrespcd/>
  54. <jobrespnm/>
  55. <frentcodd/>
  56. <toentcodd/>
  57. <frcorddd/>
  58. <tocorddd/>
  59. <anual/>
  60. <gender/>
  61. <jobrestfrdd/>
  62. <jobresttodd/>
  63. <emplno/>
  64. <emplnm/>
  65. <educinstcd/>
  66. <appyy/>
  67. <depteduccd/>
  68. </retrparams3>
  69. </send>
  70. <init>
  71. <tempnode>
  72. <appyy/>
  73. <value/>
  74. <label>
  75. <전체/>
  76. </label>
  77. </tempnode>
  78. <rowcount>0</rowcount>
  79. <item>
  80. <value/>
  81. <label>전체</label>
  82. </item>
  83. <item>
  84. <value>M</value>
  85. <label>남</label>
  86. </item>
  87. <item>
  88. <value>F</value>
  89. <label>여</label>
  90. </item>
  91. <itemset>
  92. <set1>
  93. <value/>
  94. <label>전체</label>
  95. </set1>
  96. </itemset>
  97. <emplinfo/>
  98. </init>
  99. <temp/>
  100. </root>
  101. </instance>
  102. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  103. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  104. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  105. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  106. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  107. <script type="javascript" src="../../../mis/educationmngtweb/js/RPS001.js"/>
  108. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  109. <script type="javascript" ev:event="xforms-ready">
  110. <![CDATA[
  111. fInit();
  112. ]]>
  113. </script>
  114. <script type="javascript" ev:event="xforms-model-construct-done">
  115. <![CDATA[
  116. grd_emplist.fixedcellcheckbox(0,grd_emplist.colRef("chk")) = true; // 그리드에 있는 전체선택 체크박스
  117. grd_eductrgtmanlist.fixedcellcheckbox(0,grd_eductrgtmanlist.colRef("chk")) = true;
  118. ]]>
  119. </script>
  120. <script type="javascript">
  121. <![CDATA[
  122. function fInit() {
  123. // user정보조회
  124. model.setValue(ipt_emplno1.attribute("ref"),getUserInfo("userid"));
  125. submit("TRRPS04000");
  126. model.setValue("/root/send/retrparams1/appyy", getCurrentDate().substr(0, 4));
  127. model.setValue(ipt_posinstcd.attribute("ref"),model.getValue("/root/init/emplinfo/dutplceinst"));
  128. model.setValue(ipt_chrgdeptnm.attribute("ref"),model.getValue("/root/init/emplinfo/dutdeptnm"));
  129. model.setValue(ipt_chrgdeptcd.attribute("ref"), model.getValue("/root/init/emplinfo/dutdeptcd"));
  130. model.setValue(ipt_chrgteamnm.attribute("ref"),model.getValue("/root/init/emplinfo/dutteamnm"));
  131. model.setValue(ipt_chrgteamcd.attribute("ref"),model.getValue("/root/init/emplinfo/dutteamcd"));
  132. model.setValue(ipt_chrgunitnm.attribute("ref"), model.getValue("/root/init/emplinfo/dutunitnm"));
  133. model.setValue(ipt_chrgunitcd.attribute("ref"), model.getValue("/root/init/emplinfo/dutunitcd"));
  134. cmb_dutinstcd.value = model.getValue("/root/init/emplinfo/dutplceinst");
  135. ipt_dutunitnm.value = model.getValue("/root/init/emplinfo/dutunitnm");
  136. ipt_dutunitcd.value = model.getValue("/root/init/emplinfo/dutunitcd");
  137. model.refresh();
  138. misfComboComCdListMulti("Z0007,R0058,R0066", "cmb_dutinstcd,cmb_prfshipflag,cmb_holyordflag", null, "Y");
  139. rpsEducSetComboList("M01-002", "cmb_educflag", "Y");
  140. model.removenode("/root/main/list1/educlist");
  141. model.removenode("/root/main/list2/eductrgtmanlist");
  142. model.removenode("/root/main/list3/emplist");
  143. model.makeNode("/root/main/list3");
  144. model.setValue("/root/init/tempnode/appyy", "/root/send/retrparams1/appyy");
  145. model.setValue("/root/send/retrparams3/frentcodd", "19000101");
  146. model.setValue("/root/send/retrparams3/toentcodd", getCurrentDate());
  147. if( getUserInfo("dutplceinstcd") == '001' ||
  148. (getUserInfo("dutplceinstcd") == '012' && (getUserInfo("dutplcecd") == '4020500000' || getUserInfo("dutplcecd") == '4020503000') ) ) ;
  149. else {
  150. cmb_dutinstcd.disabled = true;
  151. }
  152. misfMsterDetailSet(grd_educlist, null, "TRRPS04101", "N", "byRow");
  153. misfMsterDetailSet(grd_eductrgtmanlist, null, "TRRPS00302", "Y");
  154. misfMsterDetailSet(grd_emplist, null, "TRRPS00303", "N");
  155. model.refresh();
  156. }
  157. function fEducListRetrieve()
  158. {
  159. var iRowIdx = grd_educlist.row;
  160. submit("TRRPS00301");
  161. if(grd_educlist.rows > 1) {
  162. if(iRowIdx == -1) iRowIdx = 1;
  163. else
  164. if(iRowIdx > grd_educlist.rows) iRowIdx = grd_educlist.rows - 1;
  165. grd_educlist.row = iRowIdx;
  166. grd_educlist.select(iRowIdx, 1, iRowIdx, 10) = true;
  167. grd_educlist.dispatch("onrowchanged");
  168. }
  169. else {
  170. model.removeNodeset("/root/main/list2/eductrgtmanlist");
  171. model.refresh();
  172. }
  173. }
  174. function fEducTrgtManListRetrieve() {
  175. model.setValue("/root/send/retrparams2/appyy", grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("appyy")));
  176. model.setValue("/root/send/retrparams2/depteduccd", grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("depteduccd")));
  177. submit("TRRPS04102");
  178. model.refresh();
  179. }
  180. function fEmpListRetrieve() {
  181. model.setValue("/root/send/retrparams2/appyy", grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("appyy")));
  182. model.setValue("/root/send/retrparams2/depteduccd", grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("depteduccd")));
  183. model.removeNodeset("/root/main/list3/emplist");
  184. submit("TRRPS04103");
  185. if( ipt_emplno.value != "" ) {
  186. if( fCheckEmplno(ipt_emplno.value) ) {
  187. ;
  188. }
  189. else {
  190. if( grd_emplist.rows == grd_emplist.fixedRows ) {
  191. messageBox("이 교육의 다른 차수에 이미 등록되어 있습니다.","I007");
  192. }
  193. }
  194. }
  195. }
  196. function fRgstTrgtManList() {
  197. if(grd_educlist.rows == 1) {
  198. messageBox("교육내용을", "C002");
  199. return;
  200. }
  201. var cnt = 0;
  202. for(var i=0; i<=grd_emplist.rows; i++) {
  203. var sChk = grd_emplist.valueMatrix(i, grd_emplist.colRef("chk"));
  204. if(sChk == "Y") {
  205. cnt++;
  206. var sEmplno = model.getValue(grd_emplist.nodeset + "[" + i + "]/emplno");
  207. var iRowIdx = grd_eductrgtmanlist.findRow(sEmplno, 0, grd_eductrgtmanlist.colRef("emplno"));
  208. if(iRowIdx != -1) continue;
  209. grd_eductrgtmanlist.addRow(false);
  210. grd_eductrgtmanlist.addStatus(iRowIdx, "insert");
  211. fSetTrgtManInfo(grd_eductrgtmanlist.row, i);
  212. }
  213. }
  214. }
  215. function fSetTrgtManInfo(iTrgtManRowIdx, iEmpListRowIdx)
  216. {
  217. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/depteduccd", grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("depteduccd")) );
  218. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/appyy", grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("appyy")) );
  219. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/emplno", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/emplno"));
  220. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/emplnm", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/emplnm"));
  221. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/prfshipflag", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/prfshipflag"));
  222. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/prfshipnm", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/prfshipnm"));
  223. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/dutinstcd", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/dutinstcd"));
  224. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/dutinstnm", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/dutinstnm"));
  225. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/dutdeptcd", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/dutdeptcd"));
  226. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/dutdeptnm", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/dutdeptnm"));
  227. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/holyordflag", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/holyordflag"));
  228. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/holyordnm", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/holyordnm"));
  229. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/grupjoblncd", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/grupjoblncd"));
  230. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/grupjoblnnm", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/grupjoblnnm"));
  231. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/njobgradcd", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/njobgradcd"));
  232. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/njobgradnm", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/njobgradnm"));
  233. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/anual", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/anual"));
  234. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/jobkindcd", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/jobkindcd"));
  235. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/jobkindnm", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/jobkindnm"));
  236. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/jobrespcd", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/jobrespcd"));
  237. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/jobrespnm", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/jobrespnm"));
  238. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/gender", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/gender"));
  239. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/entcodd", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/entcodd"));
  240. }
  241. function fSave() {
  242. if( misfSave("TXRPS04101") )
  243. messageBox("","I001");
  244. fEducTrgtManListRetrieve();
  245. for(var idx = grd_emplist.fixedRows; idx <= grd_emplist.rows; idx++ ) {
  246. if(grd_emplist.valueMatrix(idx,grd_emplist.colRef("chk")) == 'Y' ) {
  247. grd_emplist.deleteRow(idx,false);
  248. idx--;
  249. }
  250. }
  251. }
  252. function fLoadExcel() {
  253. if(grd_educlist.rows == 1)
  254. {
  255. messageBox("교육내용을", "C002");
  256. return;
  257. }
  258. var fileName = window.fileDialog("open", ",", false, "", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  259. grd_loadexcel.loadExcel(fileName);
  260. grd_loadexcel.rebuild();
  261. var sEmplno = "";
  262. var iRowIdx = -1;
  263. for(var i=1; i<grd_loadexcel.rows; i++)
  264. {
  265. sEmplno = grd_loadexcel.valueMatrix(i, grd_loadexcel.colRef("emplno"));
  266. if(sEmplno == "") continue;
  267. iRowIdx = grd_eductrgtmanlist.findRow(sEmplno, 0, grd_eductrgtmanlist.colRef("emplno"));
  268. if(iRowIdx != -1)
  269. {
  270. continue;
  271. }
  272. else
  273. {
  274. grd_eductrgtmanlist.addRow(false);
  275. model.setValue(grd_eductrgtmanlist.nodeset + "[" + grd_eductrgtmanlist.row + "]/depteduccd", model.getValue(grd_educlist.nodeset + "[" + grd_educlist.row + "]/depteduccd"));
  276. model.setValue(grd_eductrgtmanlist.nodeset + "[" + grd_eductrgtmanlist.row + "]/appyy", model.getValue(grd_educlist.nodeset + "[" + grd_educlist.row + "]/appyy"));
  277. model.setValue(grd_eductrgtmanlist.nodeset + "[" + grd_eductrgtmanlist.row + "]/emplno", model.getValue(grd_loadexcel.nodeset + "[" + i + "]/emplno"));
  278. }
  279. }
  280. model.refresh();
  281. }
  282. function fCheckEmplno( emplno ) {
  283. for ( var idx = grd_eductrgtmanlist.fixedRows; idx <= grd_eductrgtmanlist.rows; idx++ ) {
  284. if( grd_eductrgtmanlist.valueMatrix(idx, grd_eductrgtmanlist.colRef("emplno")) == emplno ) {
  285. messageBox("이미 이수자로 등록되어 있습니다.","I999");
  286. return true;
  287. }
  288. }
  289. return false;
  290. }
  291. ]]>
  292. </script>
  293. <submission id="TRRPS04000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/emplinfo"/>
  294. <submission id="TRRPS04101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams1" resultref="/root/main/list1/educlist"/>
  295. <submission id="TRRPS04102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams2" resultref="/root/main/list2"/>
  296. <submission id="TRRPS04103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams3" resultref="/root/main/list3"/>
  297. <submission id="TRRPS00304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams3" resultref="/root/main/list3"/>
  298. <submission id="TXRPS04101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list2/eductrgtmanlist" resultref="/root/temp"/>
  299. <bind id="bind1" ref="/root/init/rowcount" calculate="count(/root/main/list2/eductrgtmanlist)" type="xsd:int"/>
  300. </model>
  301. </xhtml:head>
  302. <xhtml:body pagewidth="1211" pageheight="784" guideline="1,1195;" style="margin-left:8; margin-right:8; ">
  303. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  304. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">부서교육이수자등록</caption>
  305. </group>
  306. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  307. <datagrid id="grd_educlist" nodeset="/root/main/list1/educlist" autoresize="true" caption="적용년도^교육코드^부(실)^과(팀)^부서^교육명" colsep="^" colwidth="57, 72, 80, 70, 70, 130" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="25" rowsep="|" selectionmode="byrow" style="left:0px; top:79px; width:341px; height:271px; ">
  308. <col ref="appyy" visibility="hidden"/>
  309. <col ref="depteduccd" visibility="hidden"/>
  310. <col ref="chrgdeptnm"/>
  311. <col ref="chrgteamnm"/>
  312. <col ref="chrgunitnm"/>
  313. <col ref="educnm"/>
  314. <script type="javascript" ev:event="ondblclick">
  315. <![CDATA[
  316. model.setValue(ipt_depteduccd.attribute("ref"),grd_educlist.valueMatrix(grd_educlist.row,grd_educlist.colRef("depteduccd")) );
  317. model.setValue("/root/send/retrparams3/appyy",ipt_yyyy.value);
  318. fEducTrgtManListRetrieve();
  319. btn_search2.dispatch("DOMActivate");
  320. model.refresh();
  321. ]]>
  322. </script>
  323. </datagrid>
  324. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:360px; width:340px; height:373px; background-color:#fffbf2; border-color:#ffd799; "/>
  325. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:9px; width:1194px; height:37px; background-color:#fffbf2; border-color:#ffd799; "/>
  326. <line id="line13" class="line_4" style="x1:1095px; y1:14px; x2:1095px; y2:40px; "/>
  327. <caption id="caption10" class="search_name" style="left:17px; top:18px; width:90px; height:17px; ">년 도 :</caption>
  328. <caption id="caption3" class="search_name" style="left:881px; top:18px; width:91px; height:17px; ">교육구분 :</caption>
  329. <line id="line5" class="line_1" style="x1:0px; y1:75px; x2:1194px; y2:76px; "/>
  330. <caption id="caption9" class="tit_2" style="left:5px; top:60px; width:169px; height:13px; ">교육과정</caption>
  331. <caption id="caption7" class="search_name" style="left:9px; top:626px; width:116px; height:17px; ">성 직 구 분 :</caption>
  332. <line id="line1" class="line_4" style="x1:275px; y1:370px; x2:275px; y2:387px; "/>
  333. <caption id="caption8" class="search_name" style="left:9px; top:370px; width:116px; height:17px; ">기 관 :</caption>
  334. <caption id="caption5" class="search_name" style="left:9px; top:422px; width:111px; height:17px; ">교 직 구 분 :</caption>
  335. <caption id="caption12" class="search_name" style="left:9px; top:448px; width:110px; height:17px; ">직 군 :</caption>
  336. <caption id="caption11" class="search_name" style="left:9px; top:575px; width:110px; height:17px; ">직 종 :</caption>
  337. <caption id="caption14" class="search_name" style="left:9px; top:474px; width:110px; height:17px; ">직 책 :</caption>
  338. <caption id="caption15" class="search_name" style="left:9px; top:524px; width:108px; height:17px; ">신 직 급 :</caption>
  339. <input id="ipt_yyyy" ref="/root/send/retrparams1/appyy" class="input_s_essential" inputtype="date" format="yyyy" style="left:105px; top:18px; width:82px; height:19px; text-align:center; ">
  340. <script type="javascript" ev:event="xforms-value-changed">
  341. <![CDATA[
  342. model.setValue("/root/init/tempnode/appyy", "/root/send/retrparams1/appyy");
  343. fEducListRetrieve();
  344. ]]>
  345. </script>
  346. </input>
  347. <select1 id="cmb_educflag" ref="/root/send/retrparams1/educflag" class="combo_search" appearance="minimal" style="left:968px; top:18px; width:112px; height:19px; ">
  348. <choices>
  349. <itemset>
  350. <label/>
  351. <value/>
  352. </itemset>
  353. </choices>
  354. <script type="javascript" ev:event="xforms-value-changed">
  355. <![CDATA[
  356. fEducListRetrieve();
  357. ]]>
  358. </script>
  359. </select1>
  360. <caption id="caption13" class="tit_2" style="left:350px; top:60px; width:169px; height:13px; ">이수자 목록</caption>
  361. <caption id="caption16" class="tit_2" style="left:347px; top:363px; width:169px; height:13px; ">교직원목록</caption>
  362. <datagrid id="grd_emplist" nodeset="/root/main/list3/emplist" autoresize="true" caption="^사원번호^성명^교직구분코드^교직구분^근무기관코드^근무기관^근무부서코드^근무부서^성직구분코드^성직구분^직군코드^직군^신직급코드^신직급^년차^직종코드^직종^직책코드^직책^성별^입사일자" colsep="^" colwidth="25, 65, 60, 0, 60, 0, 110, 0, 100, 0, 55, 0, 70, 0, 53, 35, 0, 68, 0, 38, 42, 66" dataheight="25" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="byrow" style="left:346px; top:379px; width:849px; height:354px; ">
  363. <col checkvalue="Y,N" ref="chk" type="checkbox"/>
  364. <col ref="emplno" style="text-align:center; "/>
  365. <col ref="emplnm" style="text-align:center; "/>
  366. <col ref="prfshipflag" visibility="hidden"/>
  367. <col ref="prfshipnm"/>
  368. <col ref="dutinstcd" visibility="hidden"/>
  369. <col ref="dutinstnm"/>
  370. <col ref="dutdeptcd" visibility="hidden"/>
  371. <col ref="dutdeptnm"/>
  372. <col ref="holyordflag" visibility="hidden"/>
  373. <col ref="holyordnm"/>
  374. <col ref="grupjoblncd" visibility="hidden"/>
  375. <col ref="grupjoblnnm"/>
  376. <col ref="njobgradcd" visibility="hidden"/>
  377. <col ref="njobgradnm"/>
  378. <col ref="anual" style="text-align:right; "/>
  379. <col ref="jobkindcd" visibility="hidden"/>
  380. <col ref="jobkindnm"/>
  381. <col ref="jobrespcd" visibility="hidden"/>
  382. <col ref="jobrespnm"/>
  383. <col disabled="true" ref="gender" type="combo" style="text-align:center; ">
  384. <choices>
  385. <itemset nodeset="/root/init/item">
  386. <label ref="label"/>
  387. <value ref="value"/>
  388. </itemset>
  389. </choices>
  390. </col>
  391. <col ref="entcodd" format="yyyy-mm-dd" style="text-align:center; "/>
  392. <script type="javascript" ev:event="onaftersort">
  393. <![CDATA[
  394. grd_emplist.gridToInstance();
  395. ]]>
  396. </script>
  397. <script type="javascript" ev:event="ondblclick">
  398. <![CDATA[
  399. if(grd_educlist.rows == 1) {
  400. messageBox("교육내용을", "C002");
  401. return;
  402. }
  403. var sEmplno = model.getValue(grd_emplist.nodeset + "[" + grd_emplist.row + "]/emplno");
  404. var iRowIdx = grd_eductrgtmanlist.findRow(sEmplno, 0, grd_eductrgtmanlist.colRef("emplno"));
  405. if(iRowIdx != -1) {
  406. messageBox("중복 등록", "E008");
  407. return;
  408. }
  409. // 직원을 이수자로 등록한다.
  410. grd_eductrgtmanlist.addRow(false);
  411. fSetTrgtManInfo(grd_eductrgtmanlist.row, grd_emplist.row);
  412. model.refresh();
  413. ]]>
  414. </script>
  415. </datagrid>
  416. <caption id="caption17" class="search_name" style="left:9px; top:601px; width:115px; height:17px; ">근 무 부 서 :</caption>
  417. <button id="btn_search" class="btn1_letter2" style="left:1119px; top:17px; width:56px; height:22px; ">
  418. <caption>조회</caption>
  419. <script type="javascript" ev:event="DOMActivate">
  420. <![CDATA[
  421. model.removeNodeset("/root/main/list1");
  422. model.refresh();
  423. model.makeNode("/root/main/list1/educlist");
  424. submit("TRRPS04101");
  425. grd_educlist.autoResize = true;
  426. ]]>
  427. </script>
  428. </button>
  429. <button id="btn_search2" class="btn1_letter2" style="left:280px; top:369px; width:56px; height:22px; ">
  430. <caption>조회</caption>
  431. <script type="javascript" ev:event="DOMActivate">
  432. <![CDATA[
  433. if( grd_educlist.rows == 1 ) {
  434. model.setValue("/root/send/retrparams3/educinstcd", cmb_dutinstcd.value);
  435. model.setValue("/root/send/retrparams3/appyy", ipt_yyyy.value);
  436. model.removeNodeset("/root/main/list3/emplist");
  437. submit("TRRPS00304");
  438. }
  439. else {
  440. fEmpListRetrieve();
  441. }
  442. ]]>
  443. </script>
  444. </button>
  445. <select1 id="cmb_dutinstcd" ref="/root/send/retrparams3/instcd" class="combo_s_essential" disabled="true" appearance="minimal" style="left:95px; top:370px; width:175px; height:19px; ">
  446. <choices>
  447. <itemset>
  448. <label/>
  449. <value/>
  450. </itemset>
  451. </choices>
  452. </select1>
  453. <input id="ipt_dutunitcd" ref="/root/send/retrparams3/dutunitcd" class="input_search" disabled="true" navindex="2" visibility="visible" maxlength="10" style="left:233px; top:600px; width:88px; height:19px; text-align:center; ">
  454. <script type="javascript" ev:event="xforms-value-changed">
  455. <![CDATA[
  456. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_dutinstcd.value, "instcd");
  457. model.refresh();
  458. ]]>
  459. </script>
  460. </input>
  461. <input id="ipt_dutunitnm" ref="/root/send/retrparams3/dutunitnm" class="input_search" disabled="true" navindex="3" style="left:120px; top:601px; width:90px; height:19px; ">
  462. <script type="javascript" ev:event="xforms-value-changed">
  463. <![CDATA[
  464. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_dutinstcd.value, "instcd");
  465. model.refresh();
  466. ]]>
  467. </script>
  468. </input>
  469. <button id="btn_dutunit" class="icon_search" disabled="true" style="left:215px; top:601px; width:16px; height:16px; ">
  470. <caption/>
  471. <script type="javascript" ev:event="DOMActivate">
  472. <![CDATA[
  473. misfOpenPopUpList("02", ipt_dutunitnm, "", "dutunitcd,dutunitnm", cmb_dutinstcd.value, "instcd");
  474. model.refresh();
  475. ]]>
  476. </script>
  477. </button>
  478. <select1 id="cmb_prfshipflag" ref="/root/send/retrparams3/prfshipflag" class="combo_search" appearance="minimal" style="left:121px; top:422px; width:88px; height:19px; ">
  479. <choices>
  480. <itemset>
  481. <label/>
  482. <value/>
  483. </itemset>
  484. </choices>
  485. </select1>
  486. <select1 id="cmb_holyordflag" ref="/root/send/retrparams3/holyordflag" class="combo_search" appearance="minimal" style="left:120px; top:626px; width:90px; height:19px; ">
  487. <choices>
  488. <itemset>
  489. <label/>
  490. <value/>
  491. </itemset>
  492. </choices>
  493. </select1>
  494. <datagrid id="grd_eductrgtmanlist" nodeset="/root/main/list2/eductrgtmanlist" autoresize="true" caption="교육코드^적용년월^^사원번호^성명^교직구분코드^교직구분^근무기관코드^근무기관^근무부서코드^근무부서^성직구분코드^성직구분^직군코드^직군^신직급코드^신직급^현직급발령일^년차^직종코드^직종^직책코드^직책^직책발령일자^성별^입사일자" colsep="^" colwidth="72, 72, 25, 65, 60, 0, 60, 0, 110, 0, 100, 0, 54, 0, 70, 0, 53, 100, 35, 0, 67, 0, 40, 100, 41, 66" dataheight="25" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" selectionmode="byrow" style="left:346px; top:79px; width:849px; height:271px; ">
  495. <col ref="depteduccd" visibility="hidden"/>
  496. <col ref="appyy" visibility="hidden"/>
  497. <col checkvalue="Y,N" ref="chk" type="checkbox"/>
  498. <col ref="emplno" style="text-align:center; "/>
  499. <col ref="emplnm" style="text-align:center; "/>
  500. <col ref="prfshipflag" visibility="hidden"/>
  501. <col ref="prfshipnm"/>
  502. <col ref="dutinstcd" visibility="hidden"/>
  503. <col ref="dutinstnm"/>
  504. <col ref="dutdeptcd" visibility="hidden"/>
  505. <col ref="dutdeptnm"/>
  506. <col ref="holyordflag" visibility="hidden"/>
  507. <col ref="holyordnm"/>
  508. <col ref="grupjoblncd" visibility="hidden"/>
  509. <col ref="grupjoblnnm"/>
  510. <col ref="njobgradcd" visibility="hidden"/>
  511. <col ref="njobgradnm"/>
  512. <col ref="jobgradorddd" format="yyyy-mm-dd"/>
  513. <col ref="anual" style="text-align:right; "/>
  514. <col ref="jobkindcd" visibility="hidden"/>
  515. <col ref="jobkindnm"/>
  516. <col ref="jobrespcd" visibility="hidden"/>
  517. <col ref="jobrespnm"/>
  518. <col ref="jobresporddd" format="yyyy-mm-dd"/>
  519. <col disabled="true" ref="gender" type="combo" style="text-align:center; ">
  520. <choices>
  521. <itemset nodeset="/root/init/item">
  522. <label ref="label"/>
  523. <value ref="value"/>
  524. </itemset>
  525. </choices>
  526. </col>
  527. <col ref="entcodd" format="yyyy-mm-dd" style="text-align:center; "/>
  528. <script type="javascript" ev:event="onaftersort">
  529. <![CDATA[
  530. grd_eductrgtmanlist.gridToInstance();
  531. ]]>
  532. </script>
  533. </datagrid>
  534. <button id="btn_addtrgtman" class="btn5_letter5" style="left:1118px; top:357px; width:75px; height:19px; ">
  535. <caption>이수자등록</caption>
  536. <script type="javascript" ev:event="DOMActivate">
  537. <![CDATA[
  538. if( grd_educlist.valueMatrix(grd_educlist.row,grd_educlist.colRef("depteduccd")) == "" ) {
  539. messageBox("교육을","C002");
  540. return;
  541. }
  542. fRgstTrgtManList();
  543. model.refresh();
  544. ]]>
  545. </script>
  546. </button>
  547. <button id="btn_saveexcel" class="btn2_letter4" style="left:1007px; top:54px; width:64px; height:19px; ">
  548. <caption>엑셀저장</caption>
  549. <script type="javascript" ev:event="DOMActivate">
  550. <![CDATA[
  551. misfSaveExcel(grd_eductrgtmanlist);
  552. ]]>
  553. </script>
  554. </button>
  555. <button id="btn_loadexcel" class="btn2_letter4" style="left:1072px; top:54px; width:64px; height:19px; ">
  556. <caption>엑셀입력</caption>
  557. <script type="javascript" ev:event="DOMActivate">
  558. <![CDATA[
  559. fLoadExcel();
  560. ]]>
  561. </script>
  562. </button>
  563. <button id="btn_delrow" class="btn2_letter3" style="left:1140px; top:54px; width:53px; height:19px; ">
  564. <caption>행삭제</caption>
  565. <script type="javascript" ev:event="DOMActivate">
  566. <![CDATA[
  567. var rowcnt = grd_eductrgtmanlist.rows;
  568. for( var i = 1; i < rowcnt; i++ ) {
  569. if( grd_eductrgtmanlist.valueMatrix(i, grd_eductrgtmanlist.colRef("chk")) == "Y" ) {
  570. grd_eductrgtmanlist.removeStatus(i, "insert");
  571. grd_eductrgtmanlist.addStatus(i, "delete");
  572. }
  573. }
  574. grd_eductrgtmanlist.refresh();
  575. ]]>
  576. </script>
  577. </button>
  578. <datagrid id="grd_loadexcel" nodeset="/root/main/list4/excellist" visibility="hidden" caption="사번" colsep="^" colwidth="80" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:1075px; top:215px; width:120px; height:96px; ">
  579. <col ref="emplno" style="text-align:center; "/>
  580. </datagrid>
  581. <caption id="caption21" class="search_name" style="left:9px; top:396px; width:121px; height:17px; ">입 사 일 자 :</caption>
  582. <caption id="caption22" style="left:216px; top:396px; width:11px; height:20px; ">~</caption>
  583. <input id="ipt_frentcodd" ref="/root/send/retrparams3/frentcodd" class="input_s_essential" inputtype="date" style="left:121px; top:396px; width:88px; height:19px; "/>
  584. <input id="ipt_toentcodd" ref="/root/send/retrparams3/toentcodd" class="input_s_essential" inputtype="date" style="left:233px; top:396px; width:88px; height:19px; "/>
  585. <output id="opt_cnt" ref="/root/init/rowcount" class="output_fix" format="#,###" style="left:920px; top:54px; width:60px; height:19px; text-align:right; "/>
  586. <caption id="caption24" class="ex_3" style="left:810px; top:56px; width:115px; height:16px; ">총 이수자 인원 :</caption>
  587. <caption id="caption23" class="search_name" style="left:9px; top:652px; width:110px; height:17px; ">년 차 :</caption>
  588. <input id="ipt_anual" ref="/root/send/retrparams3/anual" class="input_search" format="99" style="left:120px; top:652px; width:90px; height:19px; text-align:center; "/>
  589. <caption id="caption25" class="search_name" style="left:9px; top:677px; width:110px; height:17px; ">성 별 :</caption>
  590. <line id="line3" class="line_1" style="x1:0px; y1:351px; x2:1194px; y2:351px; "/>
  591. <button id="button1" class="icon_search" style="left:215px; top:704px; width:16px; height:16px; ">
  592. <caption/>
  593. <script type="javascript" ev:event="DOMActivate">
  594. <![CDATA[
  595. rpbfOpenPopUpList("SPRPB00101", ipt_emplno, "emplno,emplnm", "", "N");
  596. if( fCheckEmplno(ipt_emplno.value) ) ;
  597. else {
  598. btn_search2.dispatch("DOMActivate");
  599. }
  600. model.refresh();
  601. ]]>
  602. </script>
  603. </button>
  604. <input id="ipt_emplnm" ref="/root/send/retrparams3/emplnm" class="input_search" navindex="3" style="left:120px; top:704px; width:90px; height:19px; ">
  605. <script type="javascript" ev:event="xforms-value-changed">
  606. <![CDATA[
  607. var recv_list = "emplno,emplnm";
  608. rpbfValidationCheck("emplno", recv_list);
  609. model.refresh();
  610. ]]>
  611. </script>
  612. </input>
  613. <input id="ipt_emplno" ref="/root/send/retrparams3/emplno" class="input_search" navindex="2" visibility="visible" maxlength="10" style="left:233px; top:703px; width:88px; height:19px; text-align:center; ">
  614. <script type="javascript" ev:event="xforms-value-changed">
  615. <![CDATA[
  616. var recv_list = "emplno,emplnm";
  617. rpbfValidationCheck("emplnm", recv_list);
  618. model.refresh();
  619. ]]>
  620. </script>
  621. </input>
  622. <caption id="caption4" class="search_name" style="left:9px; top:704px; width:110px; height:17px; ">성 명 :</caption>
  623. <button id="button2" class="icon_search" style="left:215px; top:575px; width:16px; height:16px; ">
  624. <caption/>
  625. <script type="javascript" ev:event="DOMActivate">
  626. <![CDATA[
  627. var recv_list = "jobkindcd,jobkindnm";
  628. rpbfOpenComCdHelp(ipt_jobkindcd,"R0061", recv_list);
  629. model.refresh();
  630. ]]>
  631. </script>
  632. </button>
  633. <input id="ipt_jobkindnm" ref="/root/send/retrparams3/jobkindnm" class="input_search" navindex="3" style="left:120px; top:575px; width:90px; height:19px; ">
  634. <script type="javascript" ev:event="xforms-value-changed">
  635. <![CDATA[
  636. misfValidationCheck("03", "R0061", "jobkindcd,jobkindnm" );
  637. model.refresh();
  638. ]]>
  639. </script>
  640. </input>
  641. <input id="ipt_jobkindcd" ref="/root/send/retrparams3/jobkindcd" class="input_search" navindex="2" visibility="visible" maxlength="10" style="left:233px; top:574px; width:88px; height:19px; text-align:center; ">
  642. <script type="javascript" ev:event="xforms-value-changed">
  643. <![CDATA[
  644. misfValidationCheck("03", "R0061", "jobkindcd,jobkindnm" );
  645. model.refresh();
  646. ]]>
  647. </script>
  648. </input>
  649. <input id="ipt_njobgradcd" ref="/root/send/retrparams3/njobgradcd" class="input_search" navindex="2" visibility="visible" maxlength="10" style="left:233px; top:523px; width:88px; height:19px; text-align:center; ">
  650. <script type="javascript" ev:event="xforms-value-changed">
  651. <![CDATA[
  652. misfValidationCheck("03", "R0064", "njobgradcd,njobgradnm" );
  653. model.refresh();
  654. ]]>
  655. </script>
  656. <script type="javascript" ev:event="onkeypress">
  657. <![CDATA[
  658. if(event.keyCode == 13)
  659. {
  660. ipt_dutunitcd.value = ipt_dutunitcd.currentText;
  661. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_dutinstcd.value, "instcd");
  662. model.refresh();
  663. }
  664. ]]>
  665. </script>
  666. </input>
  667. <button id="button3" class="icon_search" style="left:215px; top:524px; width:16px; height:16px; ">
  668. <caption/>
  669. <script type="javascript" ev:event="DOMActivate">
  670. <![CDATA[
  671. var recv_list = "njobgradcd,njobgradnm";
  672. rpbfOpenComCdHelp(ipt_njobgradcd,"R0064", recv_list);
  673. model.refresh();
  674. ]]>
  675. </script>
  676. </button>
  677. <input id="ipt_njobgradcdnm" ref="/root/send/retrparams3/njobgradnm" class="input_search" navindex="3" style="left:120px; top:524px; width:90px; height:19px; ">
  678. <script type="javascript" ev:event="xforms-value-changed">
  679. <![CDATA[
  680. misfValidationCheck("03", "R0064", "njobgradcd,njobgradnm" );
  681. model.refresh();
  682. ]]>
  683. </script>
  684. <script type="javascript" ev:event="onkeypress">
  685. <![CDATA[
  686. if(event.keyCode == 13) {
  687. ipt_dutunitnm.value = ipt_dutunitnm.currentText;
  688. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_dutinstcd.value, "instcd");
  689. model.refresh();
  690. }
  691. ]]>
  692. </script>
  693. </input>
  694. <input id="ipt_jobrespcd" ref="/root/send/retrparams3/jobrespcd" class="input_search" navindex="2" visibility="visible" maxlength="10" style="left:233px; top:473px; width:88px; height:19px; text-align:center; ">
  695. <script type="javascript" ev:event="xforms-value-changed">
  696. <![CDATA[
  697. misfValidationCheck("03", "R0063", "jobrespcd,jobrespnm" );
  698. model.refresh();
  699. ]]>
  700. </script>
  701. <script type="javascript" ev:event="onkeypress">
  702. <![CDATA[
  703. if(event.keyCode == 13)
  704. {
  705. ipt_dutunitcd.value = ipt_dutunitcd.currentText;
  706. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_dutinstcd.value, "instcd");
  707. model.refresh();
  708. }
  709. ]]>
  710. </script>
  711. </input>
  712. <input id="ipt_jobrespnm" ref="/root/send/retrparams3/jobrespnm" class="input_search" navindex="3" style="left:120px; top:474px; width:90px; height:19px; ">
  713. <script type="javascript" ev:event="xforms-value-changed">
  714. <![CDATA[
  715. misfValidationCheck("03", "R0063", "jobrespcd,jobrespnm" );
  716. model.refresh();
  717. ]]>
  718. </script>
  719. <script type="javascript" ev:event="onkeypress">
  720. <![CDATA[
  721. if(event.keyCode == 13) {
  722. ipt_dutunitnm.value = ipt_dutunitnm.currentText;
  723. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_dutinstcd.value, "instcd");
  724. model.refresh();
  725. }
  726. ]]>
  727. </script>
  728. </input>
  729. <button id="button4" class="icon_search" style="left:215px; top:474px; width:16px; height:16px; ">
  730. <caption/>
  731. <script type="javascript" ev:event="DOMActivate">
  732. <![CDATA[
  733. var recv_list = "jobrespcd,jobrespnm";
  734. rpbfOpenComCdHelp(ipt_jobrespcd,"R0063", recv_list);
  735. model.refresh();
  736. ]]>
  737. </script>
  738. </button>
  739. <button id="button5" class="icon_search" style="left:215px; top:448px; width:16px; height:16px; ">
  740. <caption/>
  741. <script type="javascript" ev:event="DOMActivate">
  742. <![CDATA[
  743. var recv_list = "grupjoblncd,grupjoblnnm";
  744. rpbfOpenComCdHelp(ipt_grupjoblncd,"R0059", recv_list);
  745. model.refresh();
  746. ]]>
  747. </script>
  748. </button>
  749. <input id="ipt_grupjoblncd" ref="/root/send/retrparams3/grupjoblncd" class="input_search" navindex="2" visibility="visible" maxlength="10" style="left:233px; top:447px; width:88px; height:19px; text-align:center; "/>
  750. <input id="ipt_grupjoblncdnm" ref="/root/send/retrparams3/grupjoblnnm" class="input_search" navindex="3" style="left:120px; top:448px; width:90px; height:19px; "/>
  751. <line id="line2" class="line_3" style="x1:347px; y1:377px; x2:1194px; y2:377px; "/>
  752. <line id="line4" class="line_3" style="x1:343px; y1:354px; x2:343px; y2:734px; "/>
  753. <line id="line6" class="line_3" style="x1:343px; y1:78px; x2:343px; y2:351px; "/>
  754. <select1 id="rdo_gender" ref="/root/send/retrparams3/gender" appearance="full" cellspacing="10" cols="3" overflow="visible" style="left:120px; top:677px; width:195px; height:20px; border-style:none; ">
  755. <choices>
  756. <itemset nodeset="/root/init/item">
  757. <label ref="label"/>
  758. <value ref="value"/>
  759. </itemset>
  760. </choices>
  761. </select1>
  762. <caption id="caption20" class="search_name" style="left:9px; top:549px; width:112px; height:17px; ">현직급발령일 :</caption>
  763. <input id="ipt_frcorddd" ref="/root/send/retrparams3/frcorddd" class="input_search" inputtype="date" style="left:120px; top:499px; width:88px; height:19px; "/>
  764. <input id="ipt_tocorddd" ref="/root/send/retrparams3/tocorddd" class="input_search" inputtype="date" style="left:233px; top:499px; width:88px; height:19px; "/>
  765. <caption id="caption18" class="search_name" style="left:9px; top:499px; width:112px; height:17px; ">직책발령일자 :</caption>
  766. <caption id="caption19" style="left:216px; top:499px; width:13px; height:17px; ">~</caption>
  767. <input id="ipt_jobrestfrdd" ref="/root/send/retrparams3/jobrestfrdd" class="input_search" inputtype="date" style="left:120px; top:549px; width:88px; height:19px; "/>
  768. <input id="ipt_jobresttodd" ref="/root/send/retrparams3/jobresttodd" class="input_search" inputtype="date" style="left:233px; top:549px; width:88px; height:19px; "/>
  769. <caption id="caption26" style="left:216px; top:549px; width:13px; height:12px; ">~</caption>
  770. <button id="btn_remove" class="btn2_letter3" style="left:1063px; top:357px; width:53px; height:19px; ">
  771. <caption>초기화</caption>
  772. <script type="javascript" ev:event="DOMActivate">
  773. <![CDATA[
  774. model.removenode("/root/main/list3");
  775. grd_emplist.refresh();
  776. ]]>
  777. </script>
  778. </button>
  779. <button id="button6" class="icon_search" visibility="hidden" style="left:420px; top:18px; width:16px; height:16px; ">
  780. <caption/>
  781. <script type="javascript" ev:event="DOMActivate">
  782. <![CDATA[
  783. misfOpenPopUpList("02", ipt_chrgdeptnm, "", "chrgdeptcd,chrgdeptnm", ipt_posinstcd.value, "instcd");
  784. model.refresh();
  785. ]]>
  786. </script>
  787. </button>
  788. <input id="ipt_chrgdeptnm" ref="/root/send/retrparams1/chrgdeptnm" class="input_search" disabled="true" appearance="input" style="left:300px; top:18px; width:115px; height:19px; ">
  789. <script type="javascript" ev:event="xforms-value-changed">
  790. <![CDATA[
  791. if( ipt_chrgdeptnm.value.getByteLength() == '0' ) {
  792. ipt_chrgdeptcd.value = "" ;
  793. }
  794. model.refresh();
  795. ]]>
  796. </script>
  797. </input>
  798. <caption id="caption1" class="search_name" style="left:230px; top:18px; width:86px; height:17px; ">부(실) :</caption>
  799. <input id="ipt_chrgdeptcd" ref="/root/send/retrparams1/chrgdeptcd" disabled="true" visibility="hidden" style="left:340px; top:35px; width:50px; height:19px; "/>
  800. <button id="button7" class="icon_search" visibility="hidden" style="left:639px; top:18px; width:16px; height:16px; ">
  801. <caption/>
  802. <script type="javascript" ev:event="DOMActivate">
  803. <![CDATA[
  804. misfOpenPopUpList("02", ipt_chrgdeptnm, "", "chrgdeptcd,chrgdeptnm", ipt_posinstcd.value, "instcd");
  805. model.refresh();
  806. ]]>
  807. </script>
  808. </button>
  809. <button id="button8" class="icon_search" style="left:829px; top:18px; width:16px; height:16px; ">
  810. <caption/>
  811. <script type="javascript" ev:event="DOMActivate">
  812. <![CDATA[
  813. misfOpenPopUpList("02", ipt_chrgunitnm, "", "chrgunitcd,chrgunitnm", ipt_posinstcd.value, "instcd");
  814. // unit이 달라지면 상위 부서도 가져온다..
  815. model.setValue("/root/send/search/grdunitcd", ipt_chrgunitcd.value);
  816. model.setValue("/root/send/search/emplno", "" );
  817. submit("TRRPS04000");
  818. model.setValue("/root/send/search/chrgdeptnm", model.getValue("/root/init/emplinfo/dutdeptnm"));
  819. model.setValue("/root/send/search/chrgdeptcd", model.getValue("/root/init/emplinfo/dutdeptcd"));
  820. model.setValue("/root/send/search/chrgteamnm", model.getValue("/root/init/emplinfo/dutteamnm"));
  821. model.setValue("/root/send/search/chrgteamcd", model.getValue("/root/init/emplinfo/dutteamcd"));
  822. model.refresh();
  823. ]]>
  824. </script>
  825. </button>
  826. <input id="ipt_chrgunitnm" ref="/root/send/retrparams1/chrgunitnm" class="input_search" appearance="input" style="left:735px; top:18px; width:90px; height:19px; ">
  827. <script type="javascript" ev:event="xforms-value-changed">
  828. <![CDATA[
  829. if( ipt_chrgunitnm.value.getByteLength() == '0' ) {
  830. ipt_chrgunitcd.value = "" ;
  831. }
  832. model.refresh();
  833. ]]>
  834. </script>
  835. </input>
  836. <input id="ipt_chrgunitcd" ref="/root/send/retrparams1/chrgunitcd" disabled="true" visibility="hidden" style="left:760px; top:37px; width:50px; height:19px; "/>
  837. <caption id="caption2" class="search_name" style="left:465px; top:18px; width:86px; height:17px; ">과(팀) :</caption>
  838. <caption id="caption27" class="search_name" style="left:675px; top:18px; width:86px; height:17px; ">부서 :</caption>
  839. <input id="ipt_chrgteamnm" ref="/root/send/retrparams1/chrgteamnm" class="input_search" disabled="true" appearance="input" style="left:535px; top:18px; width:100px; height:19px; ">
  840. <script type="javascript" ev:event="xforms-value-changed">
  841. <![CDATA[
  842. if( ipt_chrgteamnm.value.getByteLength() == '0' ) {
  843. ipt_chrgteamcd.value = "" ;
  844. }
  845. model.refresh();
  846. ]]>
  847. </script>
  848. </input>
  849. <input id="ipt_chrgteamcd" ref="/root/send/retrparams1/chrgteamcd" disabled="true" visibility="hidden" style="left:560px; top:35px; width:50px; height:19px; "/>
  850. <input id="ipt_posinstcd" ref="/root/send/retrparams1/posinstcd" visibility="hidden" style="left:620px; top:50px; width:50px; height:19px; "/>
  851. <input id="ipt_emplno1" ref="/root/send/retrparams1/emplno" visibility="hidden" style="left:685px; top:50px; width:50px; height:19px; "/>
  852. <input id="ipt_depteduccd" ref="/root/send/retrparams3/depteduccd" class="input_search" format="99" style="left:230px; top:635px; width:90px; height:19px; text-align:center; "/>
  853. </group>
  854. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  855. <button id="button89" class="btn6_letter2" visibility="hidden" style="left:5px; top:5px; width:56px; height:22px; ">
  856. <caption>출력</caption>
  857. </button>
  858. <button id="btn_save" class="btn4_letter2" navindex="20000" style="left:1139px; top:3px; width:56px; height:22px; ">
  859. <caption>저장</caption>
  860. <script type="javascript" ev:event="DOMActivate">
  861. <![CDATA[
  862. var rowcnt = grd_eductrgtmanlist.rows-1;
  863. for( var i = 0; i < rowcnt; i++ ) {
  864. grd_eductrgtmanlist.fixedcellischeck(0, 5) = false; // 전체 체크박스를 초기화
  865. grd_eductrgtmanlist.fixedcellischeck(i, 5) = false;
  866. }
  867. grd_eductrgtmanlist.refresh();
  868. fSave();
  869. model.refresh();
  870. ]]>
  871. </script>
  872. </button>
  873. </group>
  874. </xhtml:body>
  875. </xhtml:html>