SMRPS00300_인사팀확정교육대상자등록.xrw 59 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253
  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>SMRPS00300_인사팀확정교육대상자등록</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list1>
  11. <educlist/>
  12. <educlist1/>
  13. </list1>
  14. <list2>
  15. <eductrgtmanlist/>
  16. </list2>
  17. <list3>
  18. <emplist/>
  19. </list3>
  20. <list4>
  21. <excellist/>
  22. </list4>
  23. </main>
  24. <send>
  25. <retrparams1>
  26. <instcd/>
  27. <appyy/>
  28. <mainbdunit/>
  29. <educflag/>
  30. <instnm/>
  31. </retrparams1>
  32. <retrparams2>
  33. <instcd/>
  34. <educdg/>
  35. <appyy/>
  36. <educcd/>
  37. </retrparams2>
  38. <retrparams3>
  39. <instcd/>
  40. <dutunitcd/>
  41. <dutunitnm/>
  42. <prfshipflag/>
  43. <holyordflag/>
  44. <grupjoblncd/>
  45. <grupjoblnnm/>
  46. <njobgradcd/>
  47. <njobgradnm/>
  48. <jobkindcd/>
  49. <jobkindnm/>
  50. <jobrespcd/>
  51. <jobrespnm/>
  52. <frentcodd/>
  53. <toentcodd/>
  54. <frcorddd/>
  55. <tocorddd/>
  56. <educinstcd/>
  57. <educdg/>
  58. <appyy/>
  59. <educcd/>
  60. <anual/>
  61. <gender/>
  62. <jobrestfrdd/>
  63. <jobresttodd/>
  64. <emplno/>
  65. <emplnm/>
  66. <joblncd/>
  67. <joblnnm/>
  68. <cmcfromdd/>
  69. <cmctodd/>
  70. </retrparams3>
  71. <search>
  72. <searchflag>emplnm</searchflag>
  73. <emplnm/>
  74. <count/>
  75. </search>
  76. </send>
  77. <init>
  78. <tempnode>
  79. <appyy/>
  80. <value/>
  81. <label>
  82. <전체/>
  83. </label>
  84. </tempnode>
  85. <rowcount>0</rowcount>
  86. <item>
  87. <value/>
  88. <label>전체</label>
  89. </item>
  90. <item>
  91. <value>M</value>
  92. <label>남</label>
  93. </item>
  94. <item>
  95. <value>F</value>
  96. <label>여</label>
  97. </item>
  98. <itemset>
  99. <set1>
  100. <value/>
  101. <label>전체</label>
  102. </set1>
  103. </itemset>
  104. </init>
  105. <temp/>
  106. </root>
  107. </instance>
  108. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  109. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  110. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  111. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  112. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  113. <script type="javascript" src="../../../mis/educationmngtweb/js/RPS001.js"/>
  114. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  115. <script type="javascript" ev:event="xforms-ready">
  116. <![CDATA[
  117. // 사용자 권한관리
  118. fCheckAuth() ;
  119. fInit();
  120. ]]>
  121. </script>
  122. <script type="javascript" ev:event="xforms-model-construct-done">
  123. <![CDATA[
  124. grd_emplist.fixedcellcheckbox(0,1) = true; // 그리드에 있는 전체선택 체크박스
  125. grd_eductrgtmanlist.fixedcellcheckbox(0,5) = true;
  126. ]]>
  127. </script>
  128. <script type="javascript">
  129. <![CDATA[
  130. //========================================================================================
  131. //버튼에 대한 화면 권한 체크(R : 읽기, X : 입력/수정/삭제, P : 출력)
  132. //========================================================================================
  133. function fCheckAuth() {
  134. btn_search.disabled = !checkAuth("R") ;
  135. btn_search2.disabled = !checkAuth("R") ;
  136. btn_save.disabled = !checkAuth("X") ;
  137. btn_saveexcel.disabled = !checkAuth("X") ;
  138. }
  139. var sAllSelYn = "N";
  140. function fInit() {
  141. model.setValue("/root/send/retrparams1/appyy", getCurrentDate().substr(0, 4));
  142. misfComboComCdListMulti("Z0007,R0058,R0066", "cmb_dutinstcd,cmb_prfshipflag,cmb_holyordflag", null, "Y");
  143. //rpsEducSetComboList(model.getValue("/root/send/retrparams1/appyy") ,"M01-002,M01-001", "cmb_mainbdunit,cmb_lrgcd", "Y"); --> rpsEducSetComboList("M01-002,M01-001", "cmb_mainbdunit,cmb_lrgcd", "N");
  144. //M02-000 --> M01-002
  145. rpsEducSetComboList("M01-002,M01-001", "cmb_educflag,cmb_mainbdunit", "Y");
  146. model.removenode("/root/main/list1/educlist");
  147. model.removenode("/root/main/list1/educlist1");
  148. model.removenode("/root/main/list2/eductrgtmanlist");
  149. model.removenode("/root/main/list3/emplist");
  150. model.makeNode("/root/main/list3");
  151. misfMsterDetailSet(grd_educlist, null, "TRRPS00301", "N", "byRow");
  152. misfMsterDetailSet(grd_eductrgtmanlist, null, "TRRPS00302", "Y");
  153. misfMsterDetailSet(grd_emplist, null, "TRRPS00303", "N");
  154. misfGetUserAuth();
  155. model.setValue("/root/send/retrparams1/instcd",getUserInfo("dutplceinstcd") );
  156. model.setValue("/root/send/retrparams1/instnm",getUserInfo("dutplceinstnm"));
  157. model.setValue("/root/send/retrparams3/instcd", getUserInfo("dutplceinstcd"));
  158. model.setValue("/root/init/tempnode/appyy", "/root/send/retrparams1/appyy");
  159. model.setValue("/root/send/retrparams3/frentcodd", "19000101");
  160. model.setValue("/root/send/retrparams3/toentcodd", getCurrentDate());
  161. model.refresh();
  162. grd_educlist.rowHeight(0) = 35;
  163. grd_educlist1.rowHeight(0) = 35;
  164. }
  165. function fEducListRetrieve()
  166. {
  167. var iRowIdx = grd_educlist.row;
  168. submit("TRRPS00301");
  169. fListAddCombo() ;
  170. if(grd_educlist.rows > 1) {
  171. if(iRowIdx == -1) iRowIdx = 1;
  172. else
  173. if(iRowIdx > grd_educlist.rows) iRowIdx = grd_educlist.rows - 1;
  174. grd_educlist.row = iRowIdx;
  175. grd_educlist.select(iRowIdx, 1, iRowIdx, 10) = true;
  176. grd_educlist.dispatch("ondblclick");
  177. }
  178. else {
  179. model.removeNodeset("/root/main/list2/eductrgtmanlist");
  180. model.refresh();
  181. }
  182. }
  183. function fEducTrgtManListRetrieve() {
  184. model.setValue("/root/send/retrparams2/instcd", grd_educlist1.valueMatrix(grd_educlist1.row, grd_educlist1.colRef("instcd")));
  185. model.setValue("/root/send/retrparams2/educdg", grd_educlist1.valueMatrix(grd_educlist1.row, grd_educlist1.colRef("educdg")));
  186. model.setValue("/root/send/retrparams2/appyy", grd_educlist1.valueMatrix(grd_educlist1.row, grd_educlist1.colRef("appyy")));
  187. model.setValue("/root/send/retrparams2/educcd", grd_educlist1.valueMatrix(grd_educlist1.row, grd_educlist1.colRef("educcd")));
  188. submit("TRRPS00302");
  189. }
  190. function fEmpListRetrieve() {
  191. sYn = "N";
  192. model.setValue("/root/send/retrparams3/educinstcd", grd_educlist1.valueMatrix(grd_educlist1.row, grd_educlist1.colRef("instcd")));
  193. model.setValue("/root/send/retrparams3/educdg", grd_educlist1.valueMatrix(grd_educlist1.row, grd_educlist1.colRef("educdg")));
  194. model.setValue("/root/send/retrparams3/appyy", grd_educlist1.valueMatrix(grd_educlist1.row, grd_educlist1.colRef("appyy")));
  195. model.setValue("/root/send/retrparams3/educcd", grd_educlist1.valueMatrix(grd_educlist1.row, grd_educlist1.colRef("educcd")));
  196. model.removeNodeset("/root/main/list3/emplist");
  197. submit("TRRPS00303");
  198. if( ipt_emplno.value != "" ) {
  199. if( fCheckEmplno(ipt_emplno.value) ) {
  200. ;
  201. }
  202. else {
  203. if( grd_emplist.rows == grd_emplist.fixedRows ) {
  204. messageBox("이 교육의 다른 차수에 이미 등록되어 있습니다.","I007");
  205. }
  206. }
  207. }
  208. }
  209. function fRgstTrgtManList() {
  210. if(grd_educlist1.rows == 1) {
  211. messageBox("교육내용을", "C002");
  212. return;
  213. }
  214. var educcapa = model.getValue("/root/main/list1/educlist1["+grd_educlist1.row+"]/educcapa");
  215. var emplcnt = opt_cnt.value;
  216. if( educcapa == emplcnt) {
  217. messageBox("정원이 초과되어 더이상 등록","E001");
  218. return;
  219. }
  220. var apppsn = parseInt(educcapa) - parseInt(emplcnt);
  221. var cnt = 0;
  222. for(var i=0; i<=grd_emplist.rows; i++) {
  223. var sChk = grd_emplist.valueMatrix(i, grd_emplist.colRef("chk"));
  224. if( cnt == apppsn) {
  225. messageBox("정원이 초과되어 더이상 등록","E001");
  226. return;
  227. }
  228. if(sChk == "Y") {
  229. cnt++;
  230. var sEmplno = model.getValue(grd_emplist.nodeset + "[" + i + "]/emplno");
  231. var iRowIdx = grd_eductrgtmanlist.findRow(sEmplno, 0, grd_eductrgtmanlist.colRef("emplno"));
  232. if(iRowIdx != -1) continue;
  233. misfGridIUD(grd_eductrgtmanlist, "A");
  234. fSetTrgtManInfo(grd_eductrgtmanlist.row, i);
  235. }
  236. }
  237. }
  238. function fSetTrgtManInfo(iTrgtManRowIdx, iEmpListRowIdx)
  239. {
  240. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/instcd", model.getValue(grd_educlist1.nodeset + "[" + grd_educlist1.row + "]/instcd"));
  241. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/educdg", model.getValue(grd_educlist1.nodeset + "[" + grd_educlist1.row + "]/educdg"));
  242. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/educcd", model.getValue(grd_educlist1.nodeset + "[" + grd_educlist1.row + "]/educcd"));
  243. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/appyy", model.getValue(grd_educlist1.nodeset + "[" + grd_educlist1.row + "]/appyy"));
  244. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/emplno", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/emplno"));
  245. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/emplnm", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/emplnm"));
  246. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/prfshipflag", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/prfshipflag"));
  247. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/prfshipnm", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/prfshipnm"));
  248. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/dutinstcd", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/dutinstcd"));
  249. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/dutinstnm", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/dutinstnm"));
  250. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/dutdeptcd", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/dutdeptcd"));
  251. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/dutdeptnm", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/dutdeptnm"));
  252. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/holyordflag", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/holyordflag"));
  253. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/holyordnm", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/holyordnm"));
  254. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/grupjoblncd", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/grupjoblncd"));
  255. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/grupjoblnnm", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/grupjoblnnm"));
  256. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/njobgradcd", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/njobgradcd"));
  257. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/njobgradnm", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/njobgradnm"));
  258. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/anual", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/anual"));
  259. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/jobkindcd", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/jobkindcd"));
  260. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/jobkindnm", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/jobkindnm"));
  261. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/jobrespcd", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/jobrespcd"));
  262. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/jobrespnm", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/jobrespnm"));
  263. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/gender", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/gender"));
  264. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/entcodd", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/entcodd"));
  265. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/joblnnm", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/joblnnm"));
  266. model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/joblncd", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/joblncd"));
  267. }
  268. function fSave() {
  269. if( misfSave("TXRPS00301") )
  270. messageBox("","I001");
  271. fEducTrgtManListRetrieve();
  272. for(var idx = grd_emplist.fixedRows; idx <= grd_emplist.rows; idx++ ) {
  273. if(grd_emplist.valueMatrix(idx,grd_emplist.colRef("chk")) == 'Y' ) {
  274. grd_emplist.deleteRow(idx,false);
  275. idx--;
  276. }
  277. }
  278. }
  279. function fLoadExcel() {
  280. if(grd_educlist1.rows == 1)
  281. {
  282. messageBox("교육내용을", "C002");
  283. return;
  284. }
  285. var fileName = window.fileDialog("open", ",", false, "", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  286. grd_loadexcel.loadExcel(fileName);
  287. grd_loadexcel.rebuild();
  288. var sEmplno = "";
  289. var iRowIdx = -1;
  290. for(var i=1; i<grd_loadexcel.rows; i++)
  291. {
  292. sEmplno = grd_loadexcel.valueMatrix(i, grd_loadexcel.colRef("emplno"));
  293. if(sEmplno == "") continue;
  294. iRowIdx = grd_eductrgtmanlist.findRow(sEmplno, 0, grd_eductrgtmanlist.colRef("emplno"));
  295. if(iRowIdx != -1)
  296. {
  297. continue;
  298. }
  299. else
  300. {
  301. misfGridIUD(grd_eductrgtmanlist, "A");
  302. model.setValue(grd_eductrgtmanlist.nodeset + "[" + grd_eductrgtmanlist.row + "]/instcd", model.getValue(grd_educlist1.nodeset + "[" + grd_educlist1.row + "]/instcd"));
  303. model.setValue(grd_eductrgtmanlist.nodeset + "[" + grd_eductrgtmanlist.row + "]/educdg", model.getValue(grd_educlist1.nodeset + "[" + grd_educlist1.row + "]/educdg"));
  304. model.setValue(grd_eductrgtmanlist.nodeset + "[" + grd_eductrgtmanlist.row + "]/educcd", model.getValue(grd_educlist1.nodeset + "[" + grd_educlist1.row + "]/educcd"));
  305. model.setValue(grd_eductrgtmanlist.nodeset + "[" + grd_eductrgtmanlist.row + "]/appyy", model.getValue(grd_educlist1.nodeset + "[" + grd_educlist1.row + "]/appyy"));
  306. model.setValue(grd_eductrgtmanlist.nodeset + "[" + grd_eductrgtmanlist.row + "]/emplno", model.getValue(grd_loadexcel.nodeset + "[" + i + "]/emplno"));
  307. }
  308. }
  309. model.refresh();
  310. }
  311. function fPsnCnt() {
  312. opt_cnt.value = grd_eductrgtmanlist.rows;
  313. opt_cnt.refresh();
  314. }
  315. function fListAddCombo() {
  316. // 교육명 세팅
  317. for(var i = grd_educlist.fixedRows, j = grd_educlist1.rows; i < grd_educlist.rows; i++ ) {
  318. if( j == "1" ) { // grd_educlist1에 아무내용도 없을때는 무조건 addrow
  319. grd_educlist1.addRow(false);
  320. grd_educlist1.valueMatrix(i,grd_educlist1.colRef("appyy")) = grd_educlist.valueMatrix(i,grd_educlist.colRef("appyy"));
  321. grd_educlist1.valueMatrix(i,grd_educlist1.colRef("instcd")) = grd_educlist.valueMatrix(i,grd_educlist.colRef("instcd"));
  322. grd_educlist1.valueMatrix(i,grd_educlist1.colRef("educcd")) = grd_educlist.valueMatrix(i,grd_educlist.colRef("educcd"));
  323. grd_educlist1.valueMatrix(i,grd_educlist1.colRef("educcdnm")) = grd_educlist.valueMatrix(i,grd_educlist.colRef("educcdnm"));
  324. j++;
  325. }
  326. else if( grd_educlist.valueMatrix(i,grd_educlist.colRef("educcd")) == grd_educlist1.valueMatrix(1,grd_educlist1.colRef("educcd")) ) {
  327. continue;
  328. }
  329. else if( grd_educlist.valueMatrix(i,grd_educlist.colRef("educcd")) == grd_educlist1.valueMatrix(j,grd_educlist1.colRef("educcd")) ) {
  330. continue;
  331. }
  332. else if( grd_educlist.valueMatrix(i,grd_educlist.colRef("educcd")) != grd_educlist1.valueMatrix(j-1,grd_educlist1.colRef("educcd")) ) {
  333. // educcd가 다른경우
  334. grd_educlist1.addRow(false);
  335. grd_educlist1.valueMatrix(j,grd_educlist1.colRef("appyy")) = grd_educlist.valueMatrix(i,grd_educlist.colRef("appyy"));
  336. grd_educlist1.valueMatrix(j,grd_educlist1.colRef("instcd")) = grd_educlist.valueMatrix(i,grd_educlist.colRef("instcd"));
  337. grd_educlist1.valueMatrix(j,grd_educlist1.colRef("educcd")) = grd_educlist.valueMatrix(i,grd_educlist.colRef("educcd"));
  338. grd_educlist1.valueMatrix(j,grd_educlist1.colRef("educcdnm")) = grd_educlist.valueMatrix(i,grd_educlist.colRef("educcdnm"));
  339. j++;
  340. }
  341. }
  342. // 차수 콤보 세팅
  343. var dg = 1;
  344. for(var i = grd_educlist.fixedRows, j = grd_educlist1.fixedRows; i < grd_educlist.rows; i++ ) {
  345. if( i == grd_educlist.fixedRows && j == grd_educlist1.fixedRows) { // 맨첫번째 row일때
  346. model.makeNode("/root/init/itemset/set"+i+"["+dg+"]/value");
  347. model.makeNode("/root/init/itemset/set"+i+"["+dg+"]/label");
  348. model.setValue("/root/init/itemset/set"+i+"["+dg+"]/value","");
  349. model.setValue("/root/init/itemset/set"+i+"["+dg+"]/label","전체");
  350. dg++;
  351. model.makeNode("/root/init/itemset/set"+i+"["+dg+"]/value");
  352. model.makeNode("/root/init/itemset/set"+i+"["+dg+"]/label");
  353. model.setValue("/root/init/itemset/set"+i+"["+dg+"]/value",grd_educlist.valueMatrix(i,grd_educlist.colRef("educdg")));
  354. model.setValue("/root/init/itemset/set"+i+"["+dg+"]/label",grd_educlist.valueMatrix(i,grd_educlist.colRef("educdg")));
  355. }
  356. else if( grd_educlist.valueMatrix(i,grd_educlist.colRef("educcd")) == grd_educlist1.valueMatrix(1,grd_educlist1.colRef("educcd")) ) {
  357. // 첫번째 row의 educcd와 현재진행중인row의 educcd가 같으면 차수만 추가
  358. dg++;
  359. model.makeNode("/root/init/itemset/set"+j+"["+dg+"]/value");
  360. model.makeNode("/root/init/itemset/set"+j+"["+dg+"]/label");
  361. model.setValue("/root/init/itemset/set"+j+"["+dg+"]/value",grd_educlist.valueMatrix(i,grd_educlist.colRef("educdg")));
  362. model.setValue("/root/init/itemset/set"+j+"["+dg+"]/label",grd_educlist.valueMatrix(i,grd_educlist.colRef("educdg")));
  363. }
  364. else if( grd_educlist.valueMatrix(i,grd_educlist.colRef("educcd")) == grd_educlist1.valueMatrix(j,grd_educlist1.colRef("educcd")) ) {
  365. dg++;
  366. model.makeNode("/root/init/itemset/set"+j+"["+dg+"]/value");
  367. model.makeNode("/root/init/itemset/set"+j+"["+dg+"]/label");
  368. model.setValue("/root/init/itemset/set"+j+"["+dg+"]/value",grd_educlist.valueMatrix(i,grd_educlist.colRef("educdg")));
  369. model.setValue("/root/init/itemset/set"+j+"["+dg+"]/label",grd_educlist.valueMatrix(i,grd_educlist.colRef("educdg")));
  370. }
  371. else if( grd_educlist.valueMatrix(i,grd_educlist.colRef("educcd")) != grd_educlist1.valueMatrix(j,grd_educlist1.colRef("educcd")) ) {
  372. // educcd가 다른경우
  373. dg = 1;
  374. j++
  375. model.makeNode("/root/init/itemset/set"+j+"["+dg+"]/value");
  376. model.makeNode("/root/init/itemset/set"+j+"["+dg+"]/label");
  377. model.setValue("/root/init/itemset/set"+j+"["+dg+"]/value","");
  378. model.setValue("/root/init/itemset/set"+j+"["+dg+"]/label","전체");
  379. dg++;
  380. model.makeNode("/root/init/itemset/set"+j+"["+dg+"]/value");
  381. model.makeNode("/root/init/itemset/set"+j+"["+dg+"]/label");
  382. model.setValue("/root/init/itemset/set"+j+"["+dg+"]/value",grd_educlist.valueMatrix(i,grd_educlist.colRef("educdg")));
  383. model.setValue("/root/init/itemset/set"+j+"["+dg+"]/label",grd_educlist.valueMatrix(i,grd_educlist.colRef("educdg")));
  384. }
  385. }
  386. // itemset을 row별로 설정..
  387. for(var i = grd_educlist1.fixedRows; i < grd_educlist1.rows; i++ ) {
  388. grd_educlist1.cellComboNodeset(i, 4) = "/root/init/itemset/set"+i;
  389. }
  390. grd_educlist1.row = 1; // grd_educlist1그리드의 1번 row를 선택한것과 같음.
  391. model.refresh();
  392. }
  393. function fCheckEmplno( emplno ) {
  394. for ( var idx = grd_eductrgtmanlist.fixedRows; idx <= grd_eductrgtmanlist.rows; idx++ ) {
  395. if( grd_eductrgtmanlist.valueMatrix(idx, grd_eductrgtmanlist.colRef("emplno")) == emplno ) {
  396. messageBox("이미 대상자로 등록되어 있습니다.","I999");
  397. return true;
  398. }
  399. }
  400. return false;
  401. }
  402. function fSearch(pColRef, pValue, pErrorValue, pCount)
  403. {
  404. var endRow = grd_eductrgtmanlist.row;
  405. var endRows = grd_eductrgtmanlist.rows;
  406. var count = 0;
  407. var pStartRow = grd_eductrgtmanlist.fixedRows;
  408. if( (grd_eductrgtmanlist.row+1) == grd_eductrgtmanlist.rows)
  409. {
  410. pStartRow = grd_eductrgtmanlist.fixedRows;
  411. }else
  412. {
  413. pStartRow = grd_eductrgtmanlist.row+1;
  414. }
  415. for(var i = grd_eductrgtmanlist.fixedRows; i < grd_eductrgtmanlist.rows; i++)
  416. {
  417. if(pValue == grd_eductrgtmanlist.valueMatrix(i, grd_eductrgtmanlist.colRef(pColRef)))
  418. {
  419. count++;
  420. }
  421. }
  422. pCount.value = count;
  423. for(var i = pStartRow; i <= endRows; i++)
  424. {
  425. if(pValue == grd_eductrgtmanlist.valueMatrix(i, grd_eductrgtmanlist.colRef(pColRef)))
  426. {
  427. grd_eductrgtmanlist.select(i, 3) = true;
  428. grd_eductrgtmanlist.row = i;
  429. return;
  430. }
  431. if(i == grd_eductrgtmanlist.rows)
  432. {
  433. endRows = endRow;
  434. i=0;
  435. }else if(endRow == i)
  436. {
  437. messageBox("조회한 " + cmb_search.label + "[" + pErrorValue + "]" + "가 없습니다.", "");
  438. return;
  439. }
  440. }
  441. }
  442. ]]>
  443. </script>
  444. <submission id="TRRPS00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams1" resultref="/root/main/list1/educlist"/>
  445. <submission id="TRRPS00302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams2" resultref="/root/main/list2"/>
  446. <submission id="TRRPS00303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams3" resultref="/root/main/list3"/>
  447. <submission id="TRRPS00304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams3" resultref="/root/main/list3"/>
  448. <submission id="TXRPS00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list2/eductrgtmanlist" resultref="/root/temp"/>
  449. <bind id="bind1" ref="/root/init/rowcount" calculate="count(/root/main/list2/eductrgtmanlist)" type="xsd:int"/>
  450. </model>
  451. </xhtml:head>
  452. <xhtml:body pagewidth="1211" pageheight="784" guideline="1,1195;" style="margin-left:8; margin-right:8; ">
  453. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  454. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">인사팀 확정 교육 대상자 등록</caption>
  455. </group>
  456. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  457. <datagrid id="grd_emplist" nodeset="/root/main/list3/emplist" autoresize="true" caption="^사원번호^성명^교직구분코드^교직구분^근무기관코드^근무기관^근무부서코드^근무부서^성직구분코드^직원구분^직군코드^직군^caption1^직렬^신직급코드^신직급^년차^직종코드^직종^직책코드^직책^성별^입사일자^CMC입사일" colsep="^" colwidth="25, 65, 60, 0, 60, 0, 110, 0, 100, 0, 55, 0, 70, 0, 70, 0, 53, 35, 0, 68, 0, 38, 42, 70, 75" dataheight="25" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:346px; top:379px; width:849px; height:354px; ">
  458. <col checkvalue="Y,N" ref="chk" type="checkbox"/>
  459. <col ref="emplno" style="text-align:center; "/>
  460. <col ref="emplnm" style="text-align:center; "/>
  461. <col ref="prfshipflag" visibility="hidden"/>
  462. <col ref="prfshipnm"/>
  463. <col ref="dutinstcd" visibility="hidden"/>
  464. <col ref="dutinstnm"/>
  465. <col ref="dutdeptcd" visibility="hidden"/>
  466. <col ref="dutdeptnm"/>
  467. <col ref="holyordflag" visibility="hidden"/>
  468. <col ref="holyordnm"/>
  469. <col ref="grupjoblncd" visibility="hidden"/>
  470. <col ref="grupjoblnnm" visibility="hidden"/>
  471. <col ref="joblncd" visibility="hidden"/>
  472. <col ref="joblnnm" visibility="hidden"/>
  473. <col ref="njobgradcd" visibility="hidden"/>
  474. <col ref="njobgradnm"/>
  475. <col ref="anual" style="text-align:right; "/>
  476. <col ref="jobkindcd" visibility="hidden"/>
  477. <col ref="jobkindnm"/>
  478. <col ref="jobrespcd" visibility="hidden"/>
  479. <col ref="jobrespnm"/>
  480. <col disabled="true" ref="gender" type="combo" style="text-align:center; ">
  481. <choices>
  482. <itemset nodeset="/root/init/item">
  483. <label ref="label"/>
  484. <value ref="value"/>
  485. </itemset>
  486. </choices>
  487. </col>
  488. <col ref="entcodd" format="yyyy-mm-dd" style="text-align:center; "/>
  489. <col ref="cmcentcodd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
  490. <script type="javascript" ev:event="onaftersort">
  491. <![CDATA[
  492. grd_emplist.gridToInstance();
  493. ]]>
  494. </script>
  495. <script type="javascript" ev:event="ondblclick">
  496. <![CDATA[
  497. if(grd_educlist.rows == 1) {
  498. messageBox("교육내용을", "C002");
  499. return;
  500. }
  501. var sEmplno = model.getValue(grd_emplist.nodeset + "[" + grd_emplist.row + "]/emplno");
  502. var iRowIdx = grd_eductrgtmanlist.findRow(sEmplno, 0, grd_eductrgtmanlist.colRef("emplno"));
  503. if(iRowIdx != -1) {
  504. messageBox("이미 대상자로 등록되어 있습니다.","I999");
  505. return;
  506. }
  507. misfGridIUD(grd_eductrgtmanlist, "A");
  508. fSetTrgtManInfo(grd_eductrgtmanlist.row, grd_emplist.row);
  509. ]]>
  510. </script>
  511. </datagrid>
  512. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:360px; width:340px; height:373px; background-color:#fffbf2; border-color:#ffd799; "/>
  513. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:9px; width:1194px; height:37px; background-color:#fffbf2; border-color:#ffd799; "/>
  514. <line id="line13" class="line_4" style="x1:1095px; y1:14px; x2:1095px; y2:40px; "/>
  515. <caption id="caption1" class="search_name" style="left:236px; top:19px; width:97px; height:17px; ">주체기관 :</caption>
  516. <caption id="caption10" class="search_name" style="left:22px; top:19px; width:90px; height:17px; ">년 도 :</caption>
  517. <caption id="caption2" class="search_name" style="left:535px; top:20px; width:86px; height:17px; ">주체단위 :</caption>
  518. <caption id="caption3" class="search_name" style="left:781px; top:19px; width:91px; height:17px; ">교육구분 :</caption>
  519. <line id="line5" class="line_1" style="x1:0px; y1:75px; x2:1194px; y2:76px; "/>
  520. <caption id="caption9" class="tit_2" style="left:5px; top:60px; width:169px; height:13px; ">교육과정</caption>
  521. <caption id="caption7" class="search_name" style="left:9px; top:623px; width:118px; height:17px; ">직 원 구 분 :</caption>
  522. <line id="line1" class="line_4" style="x1:275px; y1:370px; x2:275px; y2:387px; "/>
  523. <caption id="caption8" class="search_name" style="left:9px; top:370px; width:116px; height:17px; ">근무기관 :</caption>
  524. <caption id="caption5" class="search_name" style="left:9px; top:427px; width:111px; height:17px; ">직 원 분 류 :</caption>
  525. <caption id="caption12" class="search_name" visibility="hidden" style="left:410px; top:620px; width:110px; height:17px; ">직 군 :</caption>
  526. <caption id="caption11" class="search_name" style="left:9px; top:567px; width:110px; height:17px; ">직 종 :</caption>
  527. <caption id="caption14" class="search_name" style="left:9px; top:455px; width:110px; height:17px; ">직 책 :</caption>
  528. <caption id="caption15" class="search_name" style="left:9px; top:511px; width:108px; height:17px; ">신 직 급 :</caption>
  529. <input id="ipt_yyyy" ref="/root/send/retrparams1/appyy" class="input_s_essential" inputtype="date" format="yyyy" style="left:110px; top:18px; width:82px; height:19px; text-align:center; ">
  530. <script type="javascript" ev:event="xforms-value-changed">
  531. <![CDATA[
  532. model.setValue("/root/init/tempnode/appyy", "/root/send/retrparams1/appyy");
  533. fEducListRetrieve();
  534. ]]>
  535. </script>
  536. </input>
  537. <select1 id="cmb_mainbdunit" ref="/root/send/retrparams1/mainbdunit" class="combo_search" appearance="minimal" style="left:625px; top:18px; width:100px; height:19px; ">
  538. <choices>
  539. <itemset>
  540. <label/>
  541. <value/>
  542. </itemset>
  543. </choices>
  544. <script type="javascript" ev:event="xforms-value-changed">
  545. <![CDATA[
  546. fEducListRetrieve();
  547. ]]>
  548. </script>
  549. </select1>
  550. <select1 id="cmb_educflag" ref="/root/send/retrparams1/educflag" class="combo_search" appearance="minimal" style="left:868px; top:18px; width:142px; height:19px; ">
  551. <choices>
  552. <itemset>
  553. <label/>
  554. <value/>
  555. </itemset>
  556. </choices>
  557. <script type="javascript" ev:event="xforms-value-changed">
  558. <![CDATA[
  559. fEducListRetrieve();
  560. ]]>
  561. </script>
  562. </select1>
  563. <caption id="caption13" class="tit_2" style="left:347px; top:60px; width:169px; height:13px; ">대상자목록</caption>
  564. <caption id="caption16" class="tit_2" style="left:347px; top:363px; width:169px; height:14px; ">직원목록</caption>
  565. <datagrid id="grd_educlist1" nodeset="/root/main/list1/educlist1" autoresize="true" caption="적용년도^기관^교육코드^교육명^차수^신청인원&#xA;/정원^신청인원&#xA;/정원" colsep="^" colwidth="28, 26, 23, 230, 45, 30, 30" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="25" rowsep="|" style="left:0px; top:79px; width:340px; height:271px; ">
  566. <col ref="appyy" visibility="hidden"/>
  567. <col ref="instcd" visibility="hidden"/>
  568. <col ref="educcd" type="input" visibility="hidden"/>
  569. <col ref="educcdnm" style="text-align:left; "/>
  570. <col ref="educdg" type="combo" style="text-align:center; ">
  571. <choices>
  572. <itemset nodeset="/root/init/itemset/set1">
  573. <label ref="label"/>
  574. <value ref="value"/>
  575. </itemset>
  576. </choices>
  577. </col>
  578. <col ref="emplcnt" style="text-align:right; "/>
  579. <col ref="educcapa" style="text-align:right; "/>
  580. <script type="javascript" ev:event="ondblclick">
  581. <![CDATA[
  582. // row를 선택했을때 교육코드에 따라 차수콤보를 변경한다.
  583. var rowcnt = grd_eductrgtmanlist.rows-1;
  584. for( var i = 0; i < rowcnt; i++ ) {
  585. grd_eductrgtmanlist.fixedcellischeck(0, 5) = false; // 전체 체크박스를 초기화
  586. model.removenode("/root/main/list2/eductrgtmanlist");
  587. }
  588. grd_educlist1.row = grd_educlist1.row;
  589. grd_educlist1.col = grd_educlist1.colRef("educcd");
  590. grd_educlist1.editCell();
  591. grd_educlist1.endEditCell();
  592. grd_eductrgtmanlist.refresh();
  593. fEducTrgtManListRetrieve();
  594. ]]>
  595. </script>
  596. <script type="javascript" ev:event="xforms-value-changed">
  597. <![CDATA[
  598. // 콤보박스의 내용이 변경되었을때...
  599. for(var i = grd_educlist.fixedRows; i < grd_educlist.rows; i++ ) {
  600. if( grd_educlist.valueMatrix(i,grd_educlist.colRef("educcd")) == grd_educlist1.valueMatrix(grd_educlist1.row,grd_educlist1.colRef("educcd")) ) {
  601. if(grd_educlist.valueMatrix(i,grd_educlist.colRef("educdg")) == grd_educlist1.valueMatrix(grd_educlist1.row,grd_educlist1.colRef("educdg")) ) {
  602. grd_educlist1.valueMatrix(grd_educlist1.row,grd_educlist1.colRef("emplcnt")) = grd_educlist.valueMatrix(i,grd_educlist.colRef("emplcnt"));
  603. grd_educlist1.valueMatrix(grd_educlist1.row,grd_educlist1.colRef("educcapa")) = grd_educlist.valueMatrix(i,grd_educlist.colRef("educcapa"));
  604. }
  605. else if( grd_educlist1.valueMatrix(grd_educlist1.row,grd_educlist1.colRef("educdg")) == "" ) {
  606. // 전체를 선택하면 신청인원/정원을 공백으로 설정한다.
  607. grd_educlist1.valueMatrix(grd_educlist1.row,grd_educlist1.colRef("emplcnt")) = "";
  608. grd_educlist1.valueMatrix(grd_educlist1.row,grd_educlist1.colRef("educcapa")) = "";
  609. }
  610. }
  611. else if( grd_educlist.valueMatrix(i,grd_educlist.colRef("educcd")) != grd_educlist1.valueMatrix(grd_educlist1.row,grd_educlist1.colRef("educcd")) ) {
  612. // educcd가 다른경우
  613. continue;
  614. }
  615. }
  616. fEducTrgtManListRetrieve();
  617. ]]>
  618. </script>
  619. </datagrid>
  620. <caption id="caption17" class="search_name" style="left:9px; top:595px; width:116px; height:17px; ">근 무 부 서 :</caption>
  621. <button id="btn_search" class="btn1_letter2" style="left:1119px; top:17px; width:56px; height:22px; ">
  622. <caption>조회</caption>
  623. <script type="javascript" ev:event="DOMActivate">
  624. <![CDATA[
  625. model.removeNodeset("/root/main/list1");
  626. model.refresh();
  627. model.makeNode("/root/main/list1/educlist");
  628. fEducListRetrieve(); // 그리드에 교육명과 차수 콤보만드는 함수
  629. fEducTrgtManListRetrieve(); // 선택된 교육에 따른 대상자 보여주는 함수
  630. grd_educlist1.autoResize = true;
  631. ]]>
  632. </script>
  633. </button>
  634. <button id="btn_search2" class="btn1_letter2" style="left:280px; top:369px; width:56px; height:22px; ">
  635. <caption>조회</caption>
  636. <script type="javascript" ev:event="DOMActivate">
  637. <![CDATA[
  638. if( grd_educlist1.rows == 1 ) {
  639. model.setValue("/root/send/retrparams3/educinstcd", cmb_dutinstcd.value);
  640. model.setValue("/root/send/retrparams3/appyy", ipt_yyyy.value);
  641. model.removeNodeset("/root/main/list3/emplist");
  642. submit("TRRPS00304");
  643. }
  644. else {
  645. fEmpListRetrieve();
  646. }
  647. ]]>
  648. </script>
  649. </button>
  650. <select1 id="cmb_dutinstcd" ref="/root/send/retrparams3/instcd" class="combo_s_essential" appearance="minimal" style="left:95px; top:370px; width:175px; height:19px; ">
  651. <choices>
  652. <itemset>
  653. <label/>
  654. <value/>
  655. </itemset>
  656. </choices>
  657. </select1>
  658. <input id="ipt_dutunitcd" ref="/root/send/retrparams3/dutunitcd" class="input_search" navindex="2" visibility="visible" maxlength="10" style="left:240px; top:594px; width:93px; height:19px; text-align:center; ">
  659. <script type="javascript" ev:event="xforms-value-changed">
  660. <![CDATA[
  661. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_dutinstcd.value, "instcd");
  662. model.refresh();
  663. ]]>
  664. </script>
  665. </input>
  666. <input id="ipt_dutunitnm" ref="/root/send/retrparams3/dutunitnm" class="input_search" navindex="3" style="left:122px; top:595px; width:95px; height:19px; ">
  667. <script type="javascript" ev:event="xforms-value-changed">
  668. <![CDATA[
  669. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_dutinstcd.value, "instcd");
  670. model.refresh();
  671. ]]>
  672. </script>
  673. </input>
  674. <button id="btn_dutunit" class="icon_search" style="left:222px; top:595px; width:16px; height:16px; ">
  675. <caption/>
  676. <script type="javascript" ev:event="DOMActivate">
  677. <![CDATA[
  678. misfOpenPopUpList("02", ipt_dutunitnm, "", "dutunitcd,dutunitnm", cmb_dutinstcd.value, "instcd");
  679. model.refresh();
  680. ]]>
  681. </script>
  682. </button>
  683. <select1 id="cmb_prfshipflag" ref="/root/send/retrparams3/prfshipflag" class="combo_search" appearance="minimal" style="left:122px; top:427px; width:95px; height:19px; ">
  684. <choices>
  685. <itemset>
  686. <label/>
  687. <value/>
  688. </itemset>
  689. </choices>
  690. </select1>
  691. <select1 id="cmb_holyordflag" ref="/root/send/retrparams3/holyordflag" class="combo_search" appearance="minimal" style="left:122px; top:623px; width:95px; height:19px; ">
  692. <choices>
  693. <itemset>
  694. <label/>
  695. <value/>
  696. </itemset>
  697. </choices>
  698. </select1>
  699. <datagrid id="grd_eductrgtmanlist" nodeset="/root/main/list2/eductrgtmanlist" autoresize="true" caption="교육기관^교육차수^교육코드^적용년월^^사원번호^성명^교직구분코드^직원분류^근무기관코드^근무기관^근무부서코드^근무부서^성직구분코드^직원구분^직군코드^직군^직렬코드^직렬^신직급코드^신직급^현직급발령일^년차^직종코드^직종^직책코드^직책^직책발령일자^성별^입사일자^CMC입사일^이메일^핸드폰" colsep="^" colwidth="0, 0, 0, 0, 25, 65, 60, 0, 60, 0, 110, 0, 100, 0, 54, 0, 70, 0, 70, 0, 53, 100, 35, 0, 67, 0, 40, 100, 41, 70, 75, 100, 100" dataheight="25" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" selectionmode="byrow" style="left:346px; top:79px; width:849px; height:271px; ">
  700. <col ref="instcd"/>
  701. <col ref="educdg"/>
  702. <col ref="educcd"/>
  703. <col ref="appyy"/>
  704. <col checkvalue="Y,N" ref="chk" type="checkbox"/>
  705. <col ref="emplno" style="text-align:center; "/>
  706. <col ref="emplnm" style="text-align:center; "/>
  707. <col ref="prfshipflag" visibility="hidden"/>
  708. <col ref="prfshipnm"/>
  709. <col ref="dutinstcd" visibility="hidden"/>
  710. <col ref="dutinstnm"/>
  711. <col ref="dutdeptcd" visibility="hidden"/>
  712. <col ref="dutdeptnm"/>
  713. <col ref="holyordflag" visibility="hidden"/>
  714. <col ref="holyordnm"/>
  715. <col ref="grupjoblncd" visibility="hidden"/>
  716. <col ref="grupjoblnnm" visibility="hidden"/>
  717. <col ref="joblncd" visibility="hidden"/>
  718. <col ref="joblnnm" visibility="hidden"/>
  719. <col ref="njobgradcd" visibility="hidden"/>
  720. <col ref="njobgradnm"/>
  721. <col ref="jobgradorddd" format="yyyy-mm-dd" style="text-align:center; "/>
  722. <col ref="anual" style="text-align:right; "/>
  723. <col ref="jobkindcd" visibility="hidden"/>
  724. <col ref="jobkindnm"/>
  725. <col ref="jobrespcd" visibility="hidden"/>
  726. <col ref="jobrespnm"/>
  727. <col ref="jobresporddd" format="yyyy-mm-dd" style="text-align:center; "/>
  728. <col disabled="true" ref="gender" type="combo" style="text-align:center; ">
  729. <choices>
  730. <itemset nodeset="/root/init/item">
  731. <label ref="label"/>
  732. <value ref="value"/>
  733. </itemset>
  734. </choices>
  735. </col>
  736. <col ref="entcodd" format="yyyy-mm-dd" style="text-align:center; "/>
  737. <col ref="cmcentcodd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
  738. <col ref="email" visibility="hidden"/>
  739. <col ref="mpphone" visibility="hidden"/>
  740. <script type="javascript" ev:event="onaftersort">
  741. <![CDATA[
  742. grd_eductrgtmanlist.gridToInstance();
  743. ]]>
  744. </script>
  745. <script type="javascript" ev:event="onrowchanged">
  746. <![CDATA[
  747. grd_eductrgtmanlist.selectionmode = "byrow";
  748. grd_eductrgtmanlist.isSelected(grd_eductrgtmanlist.row) = true;
  749. grd_eductrgtmanlist.focusColor = "#ccffcc";
  750. ]]>
  751. </script>
  752. </datagrid>
  753. <button id="btn_addtrgtman" class="btn5_letter5" style="left:1118px; top:357px; width:75px; height:19px; ">
  754. <caption>대상자등록</caption>
  755. <script type="javascript" ev:event="DOMActivate">
  756. <![CDATA[
  757. if( grd_educlist1.valueMatrix(grd_educlist1.row,grd_educlist1.colRef("educdg")) == "" ) {
  758. messageBox("차수를","C002");
  759. return;
  760. }
  761. grd_emplist.dispatch("ondblclick");
  762. fRgstTrgtManList();
  763. fPsnCnt();
  764. ]]>
  765. </script>
  766. </button>
  767. <button id="btn_saveexcel" class="btn2_letter4" style="left:1007px; top:54px; width:64px; height:19px; ">
  768. <caption>엑셀저장</caption>
  769. <script type="javascript" ev:event="DOMActivate">
  770. <![CDATA[
  771. misfSaveExcel(grd_eductrgtmanlist);
  772. ]]>
  773. </script>
  774. </button>
  775. <button id="btn_loadexcel" class="btn2_letter4" style="left:1072px; top:54px; width:64px; height:19px; ">
  776. <caption>엑셀입력</caption>
  777. <script type="javascript" ev:event="DOMActivate">
  778. <![CDATA[
  779. fLoadExcel();
  780. ]]>
  781. </script>
  782. </button>
  783. <button id="btn_delrow" class="btn2_letter3" style="left:1140px; top:54px; width:53px; height:19px; ">
  784. <caption>행삭제</caption>
  785. <script type="javascript" ev:event="DOMActivate">
  786. <![CDATA[
  787. var rowcnt = grd_eductrgtmanlist.rows;
  788. for( var i = 1; i < rowcnt; i++ ) {
  789. if( grd_eductrgtmanlist.valueMatrix(i, grd_eductrgtmanlist.colRef("chk")) == "Y" ) {
  790. grd_eductrgtmanlist.removeStatus(i, "insert");
  791. grd_eductrgtmanlist.addStatus(i, "delete");
  792. }
  793. }
  794. grd_eductrgtmanlist.refresh();
  795. ]]>
  796. </script>
  797. </button>
  798. <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; ">
  799. <col ref="emplno" style="text-align:center; "/>
  800. </datagrid>
  801. <caption id="caption21" class="search_name" style="left:9px; top:399px; width:121px; height:17px; ">입 사 일 자 :</caption>
  802. <caption id="caption22" style="left:222px; top:399px; width:16px; height:16px; ">~</caption>
  803. <input id="ipt_frentcodd" ref="/root/send/retrparams3/frentcodd" class="input_s_essential" inputtype="date" style="left:122px; top:399px; width:95px; height:19px; "/>
  804. <input id="ipt_toentcodd" ref="/root/send/retrparams3/toentcodd" class="input_s_essential" inputtype="date" style="left:240px; top:399px; width:93px; height:19px; "/>
  805. <output id="opt_cnt" ref="/root/init/rowcount" class="output_fix" format="#,###" style="left:935px; top:54px; width:60px; height:19px; text-align:right; "/>
  806. <caption id="caption24" class="ex_3" style="left:825px; top:54px; width:115px; height:16px; ">총 대상자 인원 :</caption>
  807. <caption id="caption23" class="search_name" style="left:9px; top:651px; width:110px; height:17px; ">년 차 :</caption>
  808. <input id="ipt_anual" ref="/root/send/retrparams3/anual" class="input_search" format="99" style="left:122px; top:651px; width:95px; height:19px; text-align:center; "/>
  809. <datagrid id="grd_educlist" nodeset="/root/main/list1/educlist" visibility="hidden" autoresize="true" caption="적용년도^기관^교육코드^교육명^차수^신청인원&#xA;/정원^신청인원&#xA;/정원^교육내용^주관부서코드^주관부서명^교육&#xA;시작일자^교육&#xA;종료일자^교육신청&#xA;시작일자^교육신청&#xA;종료일자^교육장소^교육시간" colsep="^" colwidth="0, 0, 0, 230, 45, 30, 30, 100, 0, 100, 75, 75, 75, 75, 100, 55" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="25" rowsep="|" style="left:0px; top:225px; width:340px; height:110px; ">
  810. <col ref="appyy" visibility="hidden"/>
  811. <col ref="instcd" visibility="hidden"/>
  812. <col ref="educcd" visibility="hidden"/>
  813. <col ref="educcdnm" style="text-align:left; "/>
  814. <col ref="educdg" style="text-align:center; "/>
  815. <col ref="emplcnt" style="text-align:right; "/>
  816. <col ref="educcapa" style="text-align:right; "/>
  817. <col ref="educcnts" visibility="hidden"/>
  818. <col ref="chrgdeptcd" visibility="hidden"/>
  819. <col ref="chrgdeptnm" visibility="hidden"/>
  820. <col ref="educfromdd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
  821. <col ref="eductodd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
  822. <col ref="educappfromdd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
  823. <col ref="educapptodd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
  824. <col ref="educplce" visibility="hidden"/>
  825. <col ref="eductm" visibility="hidden" format="hh:nn" style="text-align:center; "/>
  826. <script type="javascript" ev:event="onrowchanged">
  827. <![CDATA[
  828. // var rowcnt = grd_eductrgtmanlist.rows-1;
  829. // for( var i = 0; i < rowcnt; i++ ) {
  830. // grd_eductrgtmanlist.fixedcellischeck(0, 5) = false; // 전체 체크박스를 초기화
  831. // model.removenode("/root/main/list2/eductrgtmanlist");
  832. // }
  833. // grd_eductrgtmanlist.refresh();
  834. // misfMsterDetailSet(grd_eductrgtmanlist, null, "TRRPS00302", "Y");
  835. //
  836. // fEducTrgtManListRetrieve();
  837. //
  838. // grd_educlist.dispatch("onmouseup");
  839. ]]>
  840. </script>
  841. </datagrid>
  842. <line id="line3" class="line_1" style="x1:0px; y1:351px; x2:1194px; y2:351px; "/>
  843. <caption id="caption4" class="search_name" style="left:9px; top:679px; width:110px; height:17px; ">성 명 :</caption>
  844. <button id="button2" class="icon_search" style="left:222px; top:567px; width:16px; height:16px; ">
  845. <caption/>
  846. <script type="javascript" ev:event="DOMActivate">
  847. <![CDATA[
  848. var recv_list = "jobkindcd,jobkindnm";
  849. rpbfOpenComCdHelp(ipt_jobkindcd,"R0061", recv_list);
  850. model.refresh();
  851. ]]>
  852. </script>
  853. </button>
  854. <input id="ipt_jobkindnm" ref="/root/send/retrparams3/jobkindnm" class="input_search" navindex="3" style="left:122px; top:567px; width:95px; height:19px; ">
  855. <script type="javascript" ev:event="xforms-value-changed">
  856. <![CDATA[
  857. misfValidationCheck("03", "R0061", "jobkindcd,jobkindnm" );
  858. model.refresh();
  859. ]]>
  860. </script>
  861. </input>
  862. <input id="ipt_jobkindcd" ref="/root/send/retrparams3/jobkindcd" class="input_search" navindex="2" visibility="visible" maxlength="10" style="left:240px; top:566px; width:93px; height:19px; text-align:center; ">
  863. <script type="javascript" ev:event="xforms-value-changed">
  864. <![CDATA[
  865. misfValidationCheck("03", "R0061", "jobkindcd,jobkindnm" );
  866. model.refresh();
  867. ]]>
  868. </script>
  869. </input>
  870. <input id="ipt_njobgradcd" ref="/root/send/retrparams3/njobgradcd" class="input_search" navindex="2" visibility="visible" maxlength="10" style="left:240px; top:510px; width:93px; height:19px; text-align:center; ">
  871. <script type="javascript" ev:event="xforms-value-changed">
  872. <![CDATA[
  873. misfValidationCheck("03", "R0064", "njobgradcd,njobgradnm" );
  874. model.refresh();
  875. ]]>
  876. </script>
  877. <script type="javascript" ev:event="onkeypress">
  878. <![CDATA[
  879. if(event.keyCode == 13)
  880. {
  881. ipt_dutunitcd.value = ipt_dutunitcd.currentText;
  882. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_dutinstcd.value, "instcd");
  883. model.refresh();
  884. }
  885. ]]>
  886. </script>
  887. </input>
  888. <button id="button3" class="icon_search" style="left:222px; top:511px; width:16px; height:16px; ">
  889. <caption/>
  890. <script type="javascript" ev:event="DOMActivate">
  891. <![CDATA[
  892. var recv_list = "njobgradcd,njobgradnm";
  893. rpbfOpenComCdHelp(ipt_njobgradcd,"R0064", recv_list);
  894. model.refresh();
  895. ]]>
  896. </script>
  897. </button>
  898. <input id="ipt_njobgradcdnm" ref="/root/send/retrparams3/njobgradnm" class="input_search" navindex="3" style="left:122px; top:511px; width:95px; height:19px; ">
  899. <script type="javascript" ev:event="xforms-value-changed">
  900. <![CDATA[
  901. misfValidationCheck("03", "R0064", "njobgradcd,njobgradnm" );
  902. model.refresh();
  903. ]]>
  904. </script>
  905. <script type="javascript" ev:event="onkeypress">
  906. <![CDATA[
  907. if(event.keyCode == 13) {
  908. ipt_dutunitnm.value = ipt_dutunitnm.currentText;
  909. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_dutinstcd.value, "instcd");
  910. model.refresh();
  911. }
  912. ]]>
  913. </script>
  914. </input>
  915. <input id="ipt_jobrespcd" ref="/root/send/retrparams3/jobrespcd" class="input_search" navindex="2" visibility="visible" maxlength="10" style="left:240px; top:454px; width:93px; height:19px; text-align:center; ">
  916. <script type="javascript" ev:event="xforms-value-changed">
  917. <![CDATA[
  918. misfValidationCheck("03", "R0063", "jobrespcd,jobrespnm" );
  919. model.refresh();
  920. ]]>
  921. </script>
  922. <script type="javascript" ev:event="onkeypress">
  923. <![CDATA[
  924. if(event.keyCode == 13)
  925. {
  926. ipt_dutunitcd.value = ipt_dutunitcd.currentText;
  927. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_dutinstcd.value, "instcd");
  928. model.refresh();
  929. }
  930. ]]>
  931. </script>
  932. </input>
  933. <input id="ipt_jobrespnm" ref="/root/send/retrparams3/jobrespnm" class="input_search" navindex="3" style="left:122px; top:455px; width:95px; height:19px; ">
  934. <script type="javascript" ev:event="xforms-value-changed">
  935. <![CDATA[
  936. misfValidationCheck("03", "R0063", "jobrespcd,jobrespnm" );
  937. model.refresh();
  938. ]]>
  939. </script>
  940. <script type="javascript" ev:event="onkeypress">
  941. <![CDATA[
  942. if(event.keyCode == 13) {
  943. ipt_dutunitnm.value = ipt_dutunitnm.currentText;
  944. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_dutinstcd.value, "instcd");
  945. model.refresh();
  946. }
  947. ]]>
  948. </script>
  949. </input>
  950. <button id="button4" class="icon_search" style="left:222px; top:455px; width:16px; height:16px; ">
  951. <caption/>
  952. <script type="javascript" ev:event="DOMActivate">
  953. <![CDATA[
  954. var recv_list = "jobrespcd,jobrespnm";
  955. rpbfOpenComCdHelp(ipt_jobrespcd,"R0063", recv_list);
  956. model.refresh();
  957. ]]>
  958. </script>
  959. </button>
  960. <button id="button5" class="icon_search" visibility="hidden" style="left:623px; top:620px; width:16px; height:16px; ">
  961. <caption/>
  962. <script type="javascript" ev:event="DOMActivate">
  963. <![CDATA[
  964. var recv_list = "grupjoblncd,grupjoblnnm";
  965. rpbfOpenComCdHelp(ipt_grupjoblncd,"R0059", recv_list);
  966. model.refresh();
  967. ]]>
  968. </script>
  969. </button>
  970. <input id="ipt_grupjoblncd" ref="/root/send/retrparams3/grupjoblncd" class="input_search" navindex="2" visibility="hidden" maxlength="10" style="left:641px; top:619px; width:93px; height:19px; text-align:center; "/>
  971. <input id="ipt_grupjoblncdnm" ref="/root/send/retrparams3/grupjoblnnm" class="input_search" navindex="3" visibility="hidden" style="left:523px; top:620px; width:95px; height:19px; "/>
  972. <line id="line2" class="line_3" style="x1:347px; y1:377px; x2:1194px; y2:377px; "/>
  973. <line id="line4" class="line_3" style="x1:343px; y1:354px; x2:343px; y2:734px; "/>
  974. <line id="line6" class="line_3" style="x1:343px; y1:78px; x2:343px; y2:351px; "/>
  975. <caption id="caption20" class="search_name" style="left:9px; top:539px; width:112px; height:17px; ">현직급발령일 :</caption>
  976. <input id="ipt_frcorddd" ref="/root/send/retrparams3/frcorddd" class="input_search" inputtype="date" style="left:122px; top:483px; width:95px; height:19px; "/>
  977. <input id="ipt_tocorddd" ref="/root/send/retrparams3/tocorddd" class="input_search" inputtype="date" style="left:240px; top:483px; width:93px; height:19px; "/>
  978. <caption id="caption18" class="search_name" style="left:9px; top:483px; width:112px; height:17px; ">직책발령일자 :</caption>
  979. <caption id="caption19" style="left:222px; top:483px; width:16px; height:16px; ">~</caption>
  980. <input id="ipt_jobrestfrdd" ref="/root/send/retrparams3/jobrestfrdd" class="input_search" inputtype="date" style="left:122px; top:539px; width:95px; height:19px; "/>
  981. <input id="ipt_jobresttodd" ref="/root/send/retrparams3/jobresttodd" class="input_search" inputtype="date" style="left:240px; top:539px; width:93px; height:19px; "/>
  982. <caption id="caption26" style="left:222px; top:539px; width:16px; height:16px; ">~</caption>
  983. <button id="btn_remove" class="btn2_letter3" style="left:1063px; top:357px; width:53px; height:19px; ">
  984. <caption>초기화</caption>
  985. <script type="javascript" ev:event="DOMActivate">
  986. <![CDATA[
  987. if( messageBox("","Q010") == '6' ) {
  988. model.removenode("/root/main/list3");
  989. grd_emplist.refresh();
  990. }
  991. ]]>
  992. </script>
  993. </button>
  994. <button id="button8" class="icon_search" style="left:479px; top:19px; width:16px; height:16px; ">
  995. <caption/>
  996. <script type="javascript" ev:event="DOMActivate">
  997. <![CDATA[
  998. var recv_list = "instcd,instnm";
  999. misfOpenPopUpList("03", ipt_instnm,"Z0007", recv_list, "", "") ;
  1000. model.refresh();
  1001. ]]>
  1002. </script>
  1003. </button>
  1004. <input id="ipt_instnm" ref="/root/send/retrparams1/instnm" class="input_search" appearance="input" style="left:320px; top:18px; width:155px; height:19px; ">
  1005. <script type="javascript" ev:event="xforms-value-changed">
  1006. <![CDATA[
  1007. if( ipt_instnm.value.getByteLength() == '0' ) {
  1008. ipt_instcd.value = "" ;
  1009. }
  1010. model.refresh();
  1011. ]]>
  1012. </script>
  1013. </input>
  1014. <input id="ipt_instcd" ref="/root/send/retrparams1/instcd" disabled="true" visibility="hidden" style="left:500px; top:18px; width:50px; height:19px; "/>
  1015. <output id="opt_count" ref="/root/send/search/count" class="output_fix" style="left:782px; top:54px; width:35px; height:19px; color:#ff0000; text-align:center; "/>
  1016. <select1 id="cmb_search" ref="/root/send/search/searchflag" appearance="minimal" style="left:580px; top:54px; width:82px; height:19px; text-align:center; ">
  1017. <choices>
  1018. <item>
  1019. <label>이름</label>
  1020. <value>emplnm</value>
  1021. </item>
  1022. <item>
  1023. <label>사번</label>
  1024. <value>emplno</value>
  1025. </item>
  1026. </choices>
  1027. <script type="javascript" ev:event="xforms-value-changed">
  1028. <![CDATA[
  1029. ipt_search.attribute("format") = "";
  1030. ipt_search.value = "";
  1031. model.setFocus("ipt_search");
  1032. ]]>
  1033. </script>
  1034. </select1>
  1035. <caption id="caption27" class="search_name" style="left:499px; top:54px; width:85px; height:17px; ">Search :</caption>
  1036. <input id="ipt_search" ref="/root/send/search/emplnm" class="input_default" imemode="hangul" style="left:665px; top:54px; width:115px; height:19px; text-align:center; ">
  1037. <script type="javascript" ev:event="onkeypress">
  1038. <![CDATA[
  1039. if(event.keyCode == 13 || event.keyCode == 9 )
  1040. {
  1041. model.setFocus("grd_eductrgtmanlist");
  1042. var pErrorValue = ipt_search.currentText;
  1043. ipt_search.refresh();
  1044. fSearch(cmb_search.value, ipt_search.value, pErrorValue, opt_count);
  1045. grd_eductrgtmanlist.dispatch("onrowchanged");
  1046. }
  1047. ]]>
  1048. </script>
  1049. </input>
  1050. <input id="ipt_joblnnm" ref="/root/send/retrparams3/joblnnm" class="input_search" navindex="3" visibility="hidden" style="left:523px; top:633px; width:95px; height:19px; ">
  1051. <script type="javascript" ev:event="xforms-value-changed">
  1052. <![CDATA[
  1053. misfValidationCheck("03", "R0063", "jobrespcd,jobrespnm" );
  1054. model.refresh();
  1055. ]]>
  1056. </script>
  1057. <script type="javascript" ev:event="onkeypress">
  1058. <![CDATA[
  1059. if(event.keyCode == 13) {
  1060. ipt_dutunitnm.value = ipt_dutunitnm.currentText;
  1061. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_dutinstcd.value, "instcd");
  1062. model.refresh();
  1063. }
  1064. ]]>
  1065. </script>
  1066. </input>
  1067. <input id="ipt_joblncd" ref="/root/send/retrparams3/joblncd" class="input_search" navindex="2" visibility="hidden" maxlength="10" style="left:641px; top:632px; width:93px; height:19px; text-align:center; ">
  1068. <script type="javascript" ev:event="xforms-value-changed">
  1069. <![CDATA[
  1070. misfValidationCheck("03", "R0063", "jobrespcd,jobrespnm" );
  1071. model.refresh();
  1072. ]]>
  1073. </script>
  1074. <script type="javascript" ev:event="onkeypress">
  1075. <![CDATA[
  1076. if(event.keyCode == 13)
  1077. {
  1078. ipt_dutunitcd.value = ipt_dutunitcd.currentText;
  1079. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_dutinstcd.value, "instcd");
  1080. model.refresh();
  1081. }
  1082. ]]>
  1083. </script>
  1084. </input>
  1085. <button id="btn_joblncd" class="icon_search" visibility="hidden" style="left:623px; top:633px; width:16px; height:16px; ">
  1086. <caption/>
  1087. <script type="javascript" ev:event="DOMActivate">
  1088. <![CDATA[
  1089. var recv_list = "joblncd,joblnnm";
  1090. rpbfOpenComCdHelp(ipt_joblncd,"R0060", recv_list);
  1091. model.refresh();
  1092. ]]>
  1093. </script>
  1094. </button>
  1095. <caption id="caption25" class="search_name" visibility="hidden" style="left:410px; top:633px; width:110px; height:17px; ">직 렬 :</caption>
  1096. <input id="ipt_cmctodd" ref="/root/send/retrparams3/cmctodd" class="input_search" visibility="hidden" inputtype="date" style="left:641px; top:605px; width:93px; height:19px; "/>
  1097. <input id="ipt_cmcfromdd" ref="/root/send/retrparams3/cmcfromdd" class="input_search" visibility="hidden" inputtype="date" style="left:523px; top:605px; width:95px; height:19px; "/>
  1098. <caption id="caption28" class="search_name" visibility="hidden" style="left:410px; top:605px; width:143px; height:17px; ">CMC 입사일 :</caption>
  1099. <caption id="caption29" visibility="hidden" style="left:623px; top:605px; width:16px; height:16px; ">~</caption>
  1100. <input id="ipt_emplno" ref="/root/send/retrparams3/emplno" class="input_search" navindex="21" style="left:240px; top:679px; width:93px; height:19px; ">
  1101. <script type="javascript" ev:event="xforms-value-changed">
  1102. <![CDATA[
  1103. var recv_list = "emplno,emplnm";
  1104. rpbfValidationCheck("EMPLNO", recv_list);
  1105. model.refresh();
  1106. ]]>
  1107. </script>
  1108. <script type="javascript" ev:event="onkeypress">
  1109. <![CDATA[
  1110. inputEnterKey("ipt_emplnm","xforms-value-changed");
  1111. ]]>
  1112. </script>
  1113. </input>
  1114. <input id="ipt_emplnm" ref="/root/send/retrparams3/emplnm" class="input_search" navindex="20" style="left:122px; top:679px; width:95px; height:19px; ">
  1115. <script type="javascript" ev:event="xforms-value-changed">
  1116. <![CDATA[
  1117. var recv_list = "emplno,emplnm";
  1118. rpbfValidationCheck("EMPLNM", recv_list);
  1119. model.refresh();
  1120. ]]>
  1121. </script>
  1122. <script type="javascript" ev:event="onkeypress">
  1123. <![CDATA[
  1124. inputEnterKey("ipt_emplnm","xforms-value-changed");
  1125. ]]>
  1126. </script>
  1127. </input>
  1128. <button id="btn_emplsearch" class="icon_search" style="left:222px; top:679px; width:16px; height:16px; ">
  1129. <caption/>
  1130. <script type="javascript" ev:event="DOMActivate">
  1131. <![CDATA[
  1132. var recv_list = "emplno,emplnm";
  1133. rpbfOpenPopUpList("SPRPB00101", ipt_emplno, recv_list,"","N","N");
  1134. model.refresh();
  1135. ]]>
  1136. </script>
  1137. </button>
  1138. </group>
  1139. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  1140. <button id="button89" class="btn6_letter2" visibility="hidden" style="left:5px; top:5px; width:56px; height:22px; ">
  1141. <caption>출력</caption>
  1142. </button>
  1143. <button id="btn_save" class="btn4_letter2" navindex="20000" style="left:1139px; top:3px; width:56px; height:22px; ">
  1144. <caption>저장</caption>
  1145. <script type="javascript" ev:event="DOMActivate">
  1146. <![CDATA[
  1147. var rowcnt = grd_eductrgtmanlist.rows-1;
  1148. for( var i = 0; i < rowcnt; i++ ) {
  1149. grd_eductrgtmanlist.fixedcellischeck(0, 5) = false; // 전체 체크박스를 초기화
  1150. grd_eductrgtmanlist.fixedcellischeck(i, 5) = false;
  1151. }
  1152. grd_eductrgtmanlist.refresh();
  1153. fSave();
  1154. // 신청인원 변경
  1155. submit("TRRPS00301");
  1156. for(var i = grd_educlist.fixedRows; i < grd_educlist.rows; i++ ) {
  1157. if( grd_educlist.valueMatrix(i,grd_educlist.colRef("educcd")) == grd_educlist1.valueMatrix(grd_educlist1.row,grd_educlist1.colRef("educcd"))
  1158. && grd_educlist.valueMatrix(i,grd_educlist.colRef("educdg")) == grd_educlist1.valueMatrix(grd_educlist1.row,grd_educlist1.colRef("educdg")) ) {
  1159. grd_educlist1.valueMatrix(grd_educlist1.row,grd_educlist1.colRef("emplcnt")) = grd_educlist.valueMatrix(i,grd_educlist.colRef("emplcnt"));
  1160. }
  1161. else if( grd_educlist.valueMatrix(i,grd_educlist.colRef("educcd")) != grd_educlist1.valueMatrix(grd_educlist1.row,grd_educlist1.colRef("educcd")) ) {
  1162. // educcd가 다른경우
  1163. continue;
  1164. }
  1165. }
  1166. model.refresh();
  1167. ]]>
  1168. </script>
  1169. </button>
  1170. </group>
  1171. </xhtml:body>
  1172. </xhtml:html>