12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <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">
- <xhtml:head>
- <xhtml:title>SMRPS00350_개인신청대상자등록</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list1>
- <educlist/>
- <educlist1/>
- </list1>
- <list2>
- <eductrgtmanlist/>
- </list2>
- <list3>
- <emplist/>
- </list3>
- <list4>
- <excellist/>
- </list4>
- </main>
- <send>
- <retrparams1>
- <instcd/>
- <appyy/>
- <mainbdunit/>
- <educflag/>
- <instnm/>
- </retrparams1>
- <retrparams2>
- <instcd/>
- <appyy/>
- <educcd/>
- <educdg/>
- </retrparams2>
- <retrparams3>
- <instcd/>
- <dutunitcd/>
- <dutunitnm/>
- <prfshipflag/>
- <holyordflag/>
- <grupjoblncd/>
- <grupjoblnnm/>
- <njobgradcd/>
- <njobgradnm/>
- <jobkindcd/>
- <jobkindnm/>
- <jobrespcd/>
- <jobrespnm/>
- <frentcodd/>
- <toentcodd/>
- <frcorddd/>
- <tocorddd/>
- <educinstcd/>
- <appyy/>
- <educcd/>
- <anual/>
- <gender/>
- <jobrestfrdd/>
- <jobresttodd/>
- <emplno/>
- <emplnm/>
- <cmcfromdd/>
- <cmctodd/>
- <joblncd/>
- <joblnnm/>
- </retrparams3>
- <search>
- <searchflag>emplnm</searchflag>
- <emplnm/>
- <count/>
- </search>
- </send>
- <init>
- <tempnode>
- <appyy/>
- <value/>
- <label>
- <전체/>
- </label>
- </tempnode>
- <rowcount>0</rowcount>
- <item>
- <value/>
- <label>전체</label>
- </item>
- <item>
- <value>M</value>
- <label>남</label>
- </item>
- <item>
- <value>F</value>
- <label>여</label>
- </item>
- <itemset>
- <set1>
- <value/>
- <label>전체</label>
- </set1>
- </itemset>
- </init>
- <temp/>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/educationmngtweb/js/RPS001.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 사용자 권한관리
- fCheckAuth() ;
-
- fInit();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- grd_emplist.fixedcellcheckbox(0,1) = true; // 그리드에 있는 전체선택 체크박스
- grd_eductrgtmanlist.fixedcellcheckbox(0,4) = true;
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- //========================================================================================
- //버튼에 대한 화면 권한 체크(R : 읽기, X : 입력/수정/삭제, P : 출력)
- //========================================================================================
- function fCheckAuth() {
- btn_search.disabled = !checkAuth("R") ;
- btn_search2.disabled = !checkAuth("R") ;
-
- btn_save.disabled = !checkAuth("X") ;
- btn_saveexcel.disabled = !checkAuth("X") ;
- }
-
- var sAllSelYn = "N";
-
- function fInit() {
- model.setValue("/root/send/retrparams1/appyy", getCurrentDate().substr(0, 4));
-
- misfComboComCdListMulti("Z0007,R0058,R0066", "cmb_dutinstcd,cmb_prfshipflag,cmb_holyordflag", null, "Y");
- //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");
- //M02-000 --> M01-002
- rpsEducSetComboList("M01-002,M01-001", "cmb_educflag,cmb_mainbdunit", "Y");
-
- model.removenode("/root/main/list1/educlist");
- model.removenode("/root/main/list2/eductrgtmanlist");
- model.removenode("/root/main/list3/emplist");
-
- model.makeNode("/root/main/list3");
-
- misfMsterDetailSet(grd_educlist, null, "TRRPS00351", "N", "byRow");
- misfMsterDetailSet(grd_eductrgtmanlist, null, "TRRPS00352", "Y");
- misfMsterDetailSet(grd_emplist, null, "TRRPS00353", "N");
-
- misfGetUserAuth();
- model.setValue("/root/send/retrparams1/instcd",getUserInfo("dutplceinstcd") );
- model.setValue("/root/send/retrparams1/instnm",getUserInfo("dutplceinstnm"));
- model.setValue("/root/send/retrparams3/instcd", getUserInfo("dutplceinstcd"));
- model.setValue("/root/init/tempnode/appyy", "/root/send/retrparams1/appyy");
- model.setValue("/root/send/retrparams3/frentcodd", "19000101");
- model.setValue("/root/send/retrparams3/toentcodd", getCurrentDate());
-
- model.refresh();
- }
-
- function fEducListRetrieve()
- {
- var iRowIdx = grd_educlist.row;
-
- submit("TRRPS00351");
-
- if(grd_educlist.rows > 1) {
- if(iRowIdx == -1) iRowIdx = 1;
- else
- if(iRowIdx > grd_educlist.rows) iRowIdx = grd_educlist.rows - 1;
-
- grd_educlist.row = iRowIdx;
- grd_educlist.select(iRowIdx, 1, iRowIdx, 10) = true;
-
- grd_educlist.dispatch("ondblclick");
- }
- else {
- model.removeNodeset("/root/main/list2/eductrgtmanlist");
- model.refresh();
- }
- }
-
- function fEducTrgtManListRetrieve() {
- model.setValue("/root/send/retrparams2/instcd", grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("instcd")));
- model.setValue("/root/send/retrparams2/appyy", grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("appyy")));
- model.setValue("/root/send/retrparams2/educcd", grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("educcd")));
- model.setValue("/root/send/retrparams2/educdg", grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("educdg")));
-
- submit("TRRPS00352");
- }
-
- function fEmpListRetrieve() {
- sYn = "N";
- model.setValue("/root/send/retrparams3/educinstcd", grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("instcd")));
- model.setValue("/root/send/retrparams3/appyy", grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("appyy")));
- model.setValue("/root/send/retrparams3/educcd", grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("educcd")));
-
- model.removeNodeset("/root/main/list3/emplist");
- submit("TRRPS00353");
- }
-
- function fSetTrgtManInfo(iTrgtManRowIdx, iEmpListRowIdx)
- {
- model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/instcd", model.getValue(grd_educlist.nodeset + "[" + grd_educlist.row + "]/instcd"));
- model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/educdg", model.getValue(grd_educlist.nodeset + "[" + grd_educlist.row + "]/educdg"));
- model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/educcd", model.getValue(grd_educlist.nodeset + "[" + grd_educlist.row + "]/educcd"));
- model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/appyy", model.getValue(grd_educlist.nodeset + "[" + grd_educlist.row + "]/appyy"));
-
- model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/emplno", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/emplno"));
- model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/emplnm", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/emplnm"));
- model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/prfshipflag", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/prfshipflag"));
- model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/prfshipnm", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/prfshipnm"));
- model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/dutinstcd", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/dutinstcd"));
- model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/dutinstnm", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/dutinstnm"));
- model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/dutdeptcd", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/dutdeptcd"));
- model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/dutdeptnm", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/dutdeptnm"));
- model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/holyordflag", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/holyordflag"));
- model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/holyordnm", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/holyordnm"));
- model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/grupjoblncd", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/grupjoblncd"));
- model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/grupjoblnnm", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/grupjoblnnm"));
- model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/njobgradcd", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/njobgradcd"));
- model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/njobgradnm", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/njobgradnm"));
- model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/anual", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/anual"));
- model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/jobkindcd", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/jobkindcd"));
- model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/jobkindnm", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/jobkindnm"));
- model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/jobrespcd", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/jobrespcd"));
- model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/jobrespnm", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/jobrespnm"));
- model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/gender", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/gender"));
- model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/entcodd", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/entcodd"));
- model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/joblnnm", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/joblnnm"));
- model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/joblncd", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/joblncd"));
- }
-
- function fSave() {
- if( misfSave("TXRPS00351") )
- messageBox("","I001");
- fEducTrgtManListRetrieve();
-
- for(var idx = grd_emplist.fixedRows; idx <= grd_emplist.rows; idx++ ) {
- if(grd_emplist.valueMatrix(idx,grd_emplist.colRef("chk")) == 'Y' ) {
- grd_emplist.deleteRow(idx,false);
- idx--;
- }
- }
- }
-
- function fLoadExcel() {
- if(grd_educlist.rows == 1)
- {
- messageBox("교육내용을", "C002");
- return;
- }
- var fileName = window.fileDialog("open", ",", false, "", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- grd_loadexcel.loadExcel(fileName);
- grd_loadexcel.rebuild();
-
- var sEmplno = "";
- var iRowIdx = -1;
-
- for(var i=1; i<grd_loadexcel.rows; i++)
- {
- sEmplno = grd_loadexcel.valueMatrix(i, grd_loadexcel.colRef("emplno"));
-
- if(sEmplno == "") continue;
-
- iRowIdx = grd_eductrgtmanlist.findRow(sEmplno, 0, grd_eductrgtmanlist.colRef("emplno"));
-
- if(iRowIdx != -1)
- {
- continue;
- }
- else
- {
- misfGridIUD(grd_eductrgtmanlist, "A");
-
- model.setValue(grd_eductrgtmanlist.nodeset + "[" + grd_eductrgtmanlist.row + "]/instcd", model.getValue(grd_educlist.nodeset + "[" + grd_educlist.row + "]/instcd"));
- model.setValue(grd_eductrgtmanlist.nodeset + "[" + grd_eductrgtmanlist.row + "]/educcd", model.getValue(grd_educlist.nodeset + "[" + grd_educlist.row + "]/educcd"));
- model.setValue(grd_eductrgtmanlist.nodeset + "[" + grd_eductrgtmanlist.row + "]/appyy", model.getValue(grd_educlist.nodeset + "[" + grd_educlist.row + "]/appyy"));
-
- model.setValue(grd_eductrgtmanlist.nodeset + "[" + grd_eductrgtmanlist.row + "]/emplno", model.getValue(grd_loadexcel.nodeset + "[" + i + "]/emplno"));
- }
- }
- model.refresh();
- }
-
- function fPsnCnt() {
- opt_cnt.value = grd_eductrgtmanlist.rows;
- opt_cnt.refresh();
- }
-
- function fCheckEmplno( emplno ) {
- for ( var idx = grd_eductrgtmanlist.fixedRows; idx <= grd_eductrgtmanlist.rows; idx++ ) {
- if( grd_eductrgtmanlist.valueMatrix(idx, grd_eductrgtmanlist.colRef("emplno")) == emplno ) {
- messageBox("이미 대상자로 등록되어 있습니다.","I999");
- return true;
- }
- }
- return false;
- }
-
- function fRgstTrgtManList() {
- if(grd_educlist.rows == 1) {
- messageBox("교육내용을", "C002");
- return;
- }
-
- var cnt = 0;
- for(var i=0; i<=grd_emplist.rows; i++) {
- var sChk = grd_emplist.valueMatrix(i, grd_emplist.colRef("chk"));
-
- if(sChk == "Y") {
- cnt++;
- var sEmplno = model.getValue(grd_emplist.nodeset + "[" + i + "]/emplno");
- var iRowIdx = grd_eductrgtmanlist.findRow(sEmplno, 0, grd_eductrgtmanlist.colRef("emplno"));
-
-
- if(fCheckEmplno(sEmplno) ) continue;
-
- if(iRowIdx != -1) continue;
- misfGridIUD(grd_eductrgtmanlist, "A");
- fSetTrgtManInfo(grd_eductrgtmanlist.row, i);
- }
- }
- }
-
- function fSearch(pColRef, pValue, pErrorValue, pCount)
- {
- var endRow = grd_eductrgtmanlist.row;
- var endRows = grd_eductrgtmanlist.rows;
- var count = 0;
-
- var pStartRow = grd_eductrgtmanlist.fixedRows;
-
- if( (grd_eductrgtmanlist.row+1) == grd_eductrgtmanlist.rows)
- {
- pStartRow = grd_eductrgtmanlist.fixedRows;
- }else
- {
- pStartRow = grd_eductrgtmanlist.row+1;
- }
-
- for(var i = grd_eductrgtmanlist.fixedRows; i < grd_eductrgtmanlist.rows; i++)
- {
- if(pValue == grd_eductrgtmanlist.valueMatrix(i, grd_eductrgtmanlist.colRef(pColRef)))
- {
- count++;
- }
- }
-
- pCount.value = count;
-
- for(var i = pStartRow; i <= endRows; i++)
- {
- if(pValue == grd_eductrgtmanlist.valueMatrix(i, grd_eductrgtmanlist.colRef(pColRef)))
- {
- grd_eductrgtmanlist.select(i, 3) = true;
- grd_eductrgtmanlist.row = i;
- return;
- }
-
- if(i == grd_eductrgtmanlist.rows)
- {
- endRows = endRow;
- i=0;
- }else if(endRow == i)
- {
- messageBox("조회한 " + cmb_search.label + "[" + pErrorValue + "]" + "가 없습니다.", "");
- return;
- }
- }
- }
- function fListAddCombo() {
- // 교육명 세팅
- for(var i = datagrid1.fixedRows, j = grd_educlist.rows; i < datagrid1.rows; i++ ) {
- if( j == "1" ) { // grd_educlist1에 아무내용도 없을때는 무조건 addrow
- grd_educlist.addRow(false);
- grd_educlist.valueMatrix(i,grd_educlist.colRef("appyy")) = datagrid1.valueMatrix(i,datagrid1.colRef("appyy"));
- grd_educlist.valueMatrix(i,grd_educlist.colRef("instcd")) = datagrid1.valueMatrix(i,datagrid1.colRef("instcd"));
- grd_educlist.valueMatrix(i,grd_educlist.colRef("educcd")) = datagrid1.valueMatrix(i,datagrid1.colRef("educcd"));
- grd_educlist.valueMatrix(i,grd_educlist.colRef("educcdnm")) = datagrid1.valueMatrix(i,datagrid1.colRef("educcdnm"));
- j++;
- }
- else if( datagrid1.valueMatrix(i,datagrid1.colRef("educcd")) == grd_educlist.valueMatrix(1,grd_educlist.colRef("educcd")) ) {
- continue;
- }
- else if( datagrid1.valueMatrix(i,datagrid1.colRef("educcd")) == grd_educlist.valueMatrix(j,grd_educlist.colRef("educcd")) ) {
- continue;
- }
- else if( datagrid1.valueMatrix(i,datagrid1.colRef("educcd")) != grd_educlist.valueMatrix(j-1,grd_educlist.colRef("educcd")) ) {
- // educcd가 다른경우
- grd_educlist.addRow(false);
- grd_educlist.valueMatrix(j,grd_educlist.colRef("appyy")) = datagrid1.valueMatrix(i,datagrid1.colRef("appyy"));
- grd_educlist.valueMatrix(j,grd_educlist.colRef("instcd")) = datagrid1.valueMatrix(i,datagrid1.colRef("instcd"));
- grd_educlist.valueMatrix(j,grd_educlist.colRef("educcd")) = datagrid1.valueMatrix(i,datagrid1.colRef("educcd"));
- grd_educlist.valueMatrix(j,grd_educlist.colRef("educcdnm")) = datagrid1.valueMatrix(i,datagrid1.colRef("educcdnm"));
- j++;
- }
- }
-
- // 차수 콤보 세팅
- var dg = 1;
- for(var i = datagrid1.fixedRows, j = grd_educlist.fixedRows; i < datagrid1.rows; i++ ) {
- if( i == datagrid1.fixedRows && j == grd_educlist.fixedRows) { // 맨첫번째 row일때
- model.makeNode("/root/init/itemset/set"+i+"["+dg+"]/value");
- model.makeNode("/root/init/itemset/set"+i+"["+dg+"]/label");
- model.setValue("/root/init/itemset/set"+i+"["+dg+"]/value","");
- model.setValue("/root/init/itemset/set"+i+"["+dg+"]/label","전체");
-
- dg++;
- model.makeNode("/root/init/itemset/set"+i+"["+dg+"]/value");
- model.makeNode("/root/init/itemset/set"+i+"["+dg+"]/label");
- model.setValue("/root/init/itemset/set"+i+"["+dg+"]/value",datagrid1.valueMatrix(i,datagrid1.colRef("educdg")));
- model.setValue("/root/init/itemset/set"+i+"["+dg+"]/label",datagrid1.valueMatrix(i,datagrid1.colRef("educdg")));
- }
- else if( datagrid1.valueMatrix(i,datagrid1.colRef("educcd")) == grd_educlist.valueMatrix(1,grd_educlist.colRef("educcd")) ) {
- // 첫번째 row의 educcd와 현재진행중인row의 educcd가 같으면 차수만 추가
- dg++;
- model.makeNode("/root/init/itemset/set"+j+"["+dg+"]/value");
- model.makeNode("/root/init/itemset/set"+j+"["+dg+"]/label");
- model.setValue("/root/init/itemset/set"+j+"["+dg+"]/value",datagrid1.valueMatrix(i,datagrid1.colRef("educdg")));
- model.setValue("/root/init/itemset/set"+j+"["+dg+"]/label",datagrid1.valueMatrix(i,datagrid1.colRef("educdg")));
- }
- else if( datagrid1.valueMatrix(i,datagrid1.colRef("educcd")) == grd_educlist.valueMatrix(j,grd_educlist.colRef("educcd")) ) {
- dg++;
- model.makeNode("/root/init/itemset/set"+j+"["+dg+"]/value");
- model.makeNode("/root/init/itemset/set"+j+"["+dg+"]/label");
- model.setValue("/root/init/itemset/set"+j+"["+dg+"]/value",datagrid1.valueMatrix(i,datagrid1.colRef("educdg")));
- model.setValue("/root/init/itemset/set"+j+"["+dg+"]/label",datagrid1.valueMatrix(i,datagrid1.colRef("educdg")));
- }
- else if( datagrid1.valueMatrix(i,datagrid1.colRef("educcd")) != grd_educlist.valueMatrix(j,grd_educlist.colRef("educcd")) ) {
- // educcd가 다른경우
- dg = 1;
- j++
- model.makeNode("/root/init/itemset/set"+j+"["+dg+"]/value");
- model.makeNode("/root/init/itemset/set"+j+"["+dg+"]/label");
- model.setValue("/root/init/itemset/set"+j+"["+dg+"]/value","");
- model.setValue("/root/init/itemset/set"+j+"["+dg+"]/label","전체");
- dg++;
- model.makeNode("/root/init/itemset/set"+j+"["+dg+"]/value");
- model.makeNode("/root/init/itemset/set"+j+"["+dg+"]/label");
- model.setValue("/root/init/itemset/set"+j+"["+dg+"]/value",datagrid1.valueMatrix(i,datagrid1.colRef("educdg")));
- model.setValue("/root/init/itemset/set"+j+"["+dg+"]/label",datagrid1.valueMatrix(i,datagrid1.colRef("educdg")));
- }
- }
-
- // itemset을 row별로 설정..
- for(var i = grd_educlist.fixedRows; i < grd_educlist.rows; i++ ) {
- grd_educlist.cellComboNodeset(i, 4) = "/root/init/itemset/set"+i;
- }
-
- grd_educlist.row = 1; // grd_educlist1그리드의 1번 row를 선택한것과 같음.
- model.refresh();
- }
- ]]>
- </script>
- <submission id="TRRPS00351" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams1" resultref="/root/main/list1"/>
- <submission id="TRRPS00352" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams2" resultref="/root/main/list2"/>
- <submission id="TRRPS00353" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams3" resultref="/root/main/list3"/>
- <submission id="TRRPS00304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams3" resultref="/root/main/list3"/>
- <submission id="TXRPS00351" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list2/eductrgtmanlist" resultref="/root/temp"/>
- <bind id="bind1" ref="/root/init/rowcount" calculate="count(/root/main/list2/eductrgtmanlist)" type="xsd:int"/>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-right:8; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">개인 신청 대상자 등록</caption>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
- <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; ">
- <col ref="instcd"/>
- <col ref="educdg"/>
- <col ref="educcd"/>
- <col ref="appyy"/>
- <col checkvalue="Y,N" ref="chk" type="checkbox"/>
- <col ref="emplno" style="text-align:center; "/>
- <col ref="emplnm" style="text-align:center; "/>
- <col ref="prfshipflag" visibility="hidden"/>
- <col ref="prfshipnm"/>
- <col ref="dutinstcd" visibility="hidden"/>
- <col ref="dutinstnm"/>
- <col ref="dutdeptcd" visibility="hidden"/>
- <col ref="dutdeptnm"/>
- <col ref="holyordflag" visibility="hidden"/>
- <col ref="holyordnm"/>
- <col ref="grupjoblncd" visibility="hidden"/>
- <col ref="grupjoblnnm" visibility="hidden"/>
- <col ref="joblncd" visibility="hidden"/>
- <col ref="joblnnm" visibility="hidden"/>
- <col ref="njobgradcd" visibility="hidden"/>
- <col ref="njobgradnm"/>
- <col ref="jobgradorddd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="anual" style="text-align:right; "/>
- <col ref="jobkindcd" visibility="hidden"/>
- <col ref="jobkindnm"/>
- <col ref="jobrespcd" visibility="hidden"/>
- <col ref="jobrespnm"/>
- <col ref="jobresporddd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="gender" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/item">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col ref="entcodd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="cmcentcodd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="email" visibility="hidden"/>
- <col ref="mpphone" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_eductrgtmanlist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- grd_eductrgtmanlist.selectionmode = "byrow";
- grd_eductrgtmanlist.isSelected(grd_eductrgtmanlist.row) = true;
-
- grd_eductrgtmanlist.focusColor = "#ccffcc";
- ]]>
- </script>
- </datagrid>
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:360px; width:340px; height:373px; background-color:#fffbf2; border-color:#ffd799; "/>
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:9px; width:1194px; height:37px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line13" class="line_4" style="x1:1095px; y1:14px; x2:1095px; y2:40px; "/>
- <caption id="caption1" class="search_name" style="left:236px; top:19px; width:97px; height:17px; ">주체기관 :</caption>
- <caption id="caption10" class="search_name" style="left:22px; top:19px; width:90px; height:17px; ">년 도 :</caption>
- <caption id="caption2" class="search_name" style="left:535px; top:20px; width:86px; height:17px; ">주체단위 :</caption>
- <caption id="caption3" class="search_name" style="left:781px; top:19px; width:91px; height:17px; ">교육구분 :</caption>
- <line id="line5" class="line_1" style="x1:0px; y1:75px; x2:1194px; y2:76px; "/>
- <caption id="caption9" class="tit_2" style="left:5px; top:60px; width:169px; height:13px; ">교육과정</caption>
- <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; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/init/tempnode/appyy", "/root/send/retrparams1/appyy");
- fEducListRetrieve();
- ]]>
- </script>
- </input>
- <select1 id="cmb_mainbdunit" ref="/root/send/retrparams1/mainbdunit" class="combo_search" appearance="minimal" style="left:625px; top:18px; width:100px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fEducListRetrieve();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_educflag" ref="/root/send/retrparams1/educflag" class="combo_search" appearance="minimal" style="left:868px; top:18px; width:142px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fEducListRetrieve();
- ]]>
- </script>
- </select1>
- <caption id="caption13" class="tit_2" style="left:347px; top:60px; width:169px; height:13px; ">대상자목록</caption>
- <caption id="caption16" class="tit_2" style="left:347px; top:363px; width:169px; height:13px; ">교직원목록</caption>
- <datagrid id="grd_educlist" nodeset="/root/main/list1/educlist" autoresize="true" caption="적용년도^기관^교육코드^교육명^차수" colsep="^" colwidth="53, 32, 43, 281, 59" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="25" rowsep="|" style="left:0px; top:79px; width:340px; height:271px; ">
- <col ref="appyy" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="educcd" type="input" visibility="hidden"/>
- <col ref="educcdnm" style="text-align:left; "/>
- <col ref="educdg" type="combo">
- <choices>
- <itemset nodeset="/root/init/itemset/set1">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var rowcnt = grd_eductrgtmanlist.rows-1;
- for( var i = 0; i < rowcnt; i++ ) {
- grd_eductrgtmanlist.fixedcellischeck(0, 5) = false; // 전체 체크박스를 초기화
- model.removenode("/root/main/list2/eductrgtmanlist");
- }
-
- grd_eductrgtmanlist.refresh();
- fEducTrgtManListRetrieve();
-
- ]]>
- </script>
- </datagrid>
- <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, 101, 42, 70, 75" dataheight="25" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:346px; top:379px; width:849px; height:354px; ">
- <col checkvalue="Y,N" ref="chk" type="checkbox"/>
- <col ref="emplno" style="text-align:center; "/>
- <col ref="emplnm" style="text-align:center; "/>
- <col ref="prfshipflag" visibility="hidden"/>
- <col ref="prfshipnm"/>
- <col ref="dutinstcd" visibility="hidden"/>
- <col ref="dutinstnm"/>
- <col ref="dutdeptcd" visibility="hidden"/>
- <col ref="dutdeptnm"/>
- <col ref="holyordflag" visibility="hidden"/>
- <col ref="holyordnm"/>
- <col ref="grupjoblncd" visibility="hidden"/>
- <col ref="grupjoblnnm" visibility="hidden"/>
- <col ref="joblncd" visibility="hidden"/>
- <col ref="joblnnm" visibility="hidden"/>
- <col ref="njobgradcd" visibility="hidden"/>
- <col ref="njobgradnm"/>
- <col ref="anual" style="text-align:right; "/>
- <col ref="jobkindcd" visibility="hidden"/>
- <col ref="jobkindnm"/>
- <col ref="jobrespcd" visibility="hidden"/>
- <col ref="jobrespnm"/>
- <col disabled="true" ref="gender" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/item">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col ref="entcodd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="cmcentcodd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_emplist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(grd_educlist.rows == 1) {
- messageBox("교육내용을", "C002");
- return;
- }
-
- var sEmplno = model.getValue(grd_emplist.nodeset + "[" + grd_emplist.row + "]/emplno");
- var iRowIdx = grd_eductrgtmanlist.findRow(sEmplno, 0, grd_eductrgtmanlist.colRef("emplno"));
-
- if(iRowIdx != -1) {
- messageBox("이미 대상자로 등록되어 있습니다.","I999");
- return;
- }
- misfGridIUD(grd_eductrgtmanlist, "A");
-
- fSetTrgtManInfo(grd_eductrgtmanlist.row, grd_emplist.row);
- ]]>
- </script>
- </datagrid>
- <button id="btn_search" class="btn1_letter2" style="left:1119px; top:17px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/main/list1");
- model.refresh();
- model.makeNode("/root/main/list1/educlist1");
-
- submit("TRRPS00351");
- fListAddCombo();
- grd_educlist.autoResize = true;
- ]]>
- </script>
- </button>
- <button id="btn_addtrgtman" class="btn5_letter5" style="left:1118px; top:357px; width:75px; height:19px; ">
- <caption>대상자등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( grd_educlist.valueMatrix(grd_educlist.row,grd_educlist.colRef("educdg")) == "" ) {
- messageBox("차수를","C002");
- return;
- }
- fRgstTrgtManList();
- fPsnCnt();
- ]]>
- </script>
- </button>
- <button id="btn_saveexcel" class="btn2_letter4" style="left:1007px; top:54px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfSaveExcel(grd_eductrgtmanlist);
- ]]>
- </script>
- </button>
- <button id="btn_loadexcel" class="btn2_letter4" style="left:1072px; top:54px; width:64px; height:19px; ">
- <caption>엑셀입력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fLoadExcel();
- ]]>
- </script>
- </button>
- <button id="btn_delrow" class="btn2_letter3" style="left:1140px; top:54px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var rowcnt = grd_eductrgtmanlist.rows;
- for( var i = 1; i < rowcnt; i++ ) {
- if( grd_eductrgtmanlist.valueMatrix(i, grd_eductrgtmanlist.colRef("chk")) == "Y" ) {
- grd_eductrgtmanlist.removeStatus(i, "insert");
- grd_eductrgtmanlist.addStatus(i, "delete");
- }
- }
- grd_eductrgtmanlist.refresh();
- ]]>
- </script>
- </button>
- <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; ">
- <col ref="emplno" style="text-align:center; "/>
- </datagrid>
- <output id="opt_cnt" ref="/root/init/rowcount" class="output_fix" format="#,###" style="left:920px; top:54px; width:60px; height:19px; text-align:right; "/>
- <caption id="caption24" class="ex_3" style="left:810px; top:56px; width:115px; height:16px; ">총 대상자 인원 :</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:351px; x2:1194px; y2:351px; "/>
- <line id="line2" class="line_3" style="x1:347px; y1:377px; x2:1194px; y2:377px; "/>
- <line id="line4" class="line_3" style="x1:343px; y1:354px; x2:343px; y2:734px; "/>
- <line id="line6" class="line_3" style="x1:343px; y1:78px; x2:343px; y2:351px; "/>
- <button id="btn_remove" class="btn2_letter3" style="left:1063px; top:357px; width:53px; height:19px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( messageBox("","Q010") == '6' ) {
- model.removenode("/root/main/list3");
- grd_emplist.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="button8" class="icon_search" style="left:479px; top:19px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "instcd,instnm";
- misfOpenPopUpList("03", ipt_instnm,"Z0007", recv_list, "", "") ;
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_instnm" ref="/root/send/retrparams1/instnm" class="input_search" appearance="input" style="left:320px; top:18px; width:155px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( ipt_instnm.value.getByteLength() == '0' ) {
- ipt_instcd.value = "" ;
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_instcd" ref="/root/send/retrparams1/instcd" disabled="true" visibility="visible" style="left:500px; top:18px; width:50px; height:19px; "/>
- <output id="opt_count" ref="/root/send/search/count" class="output_fix" style="left:768px; top:55px; width:35px; height:19px; color:#ff0000; text-align:center; "/>
- <select1 id="cmb_search" ref="/root/send/search/searchflag" appearance="minimal" style="left:566px; top:55px; width:82px; height:19px; text-align:center; ">
- <choices>
- <item>
- <label>이름</label>
- <value>emplnm</value>
- </item>
- <item>
- <label>사번</label>
- <value>emplno</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ipt_search.attribute("format") = "";
- ipt_search.value = "";
- model.setFocus("ipt_search");
-
- ]]>
- </script>
- </select1>
- <caption id="caption27" class="search_name" style="left:485px; top:55px; width:85px; height:17px; ">Search :</caption>
- <input id="ipt_search" ref="/root/send/search/emplnm" class="input_default" imemode="hangul" style="left:651px; top:55px; width:115px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13 || event.keyCode == 9 )
- {
- model.setFocus("grd_eductrgtmanlist");
- var pErrorValue = ipt_search.currentText;
- ipt_search.refresh();
- fSearch(cmb_search.value, ipt_search.value, pErrorValue, opt_count);
-
- grd_eductrgtmanlist.dispatch("onrowchanged");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_frcorddd" ref="/root/send/retrparams3/frcorddd" class="input_search" inputtype="date" style="left:122px; top:483px; width:95px; height:19px; "/>
- <button id="button1" class="icon_search" style="left:222px; top:679px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rpbfOpenPopUpList("SPRPB00101", ipt_emplno, "emplno,emplnm", "", "N");
- if( fCheckEmplno(ipt_emplno.value) ) ;
- else {
- btn_search2.dispatch("DOMActivate");
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_dutunit" class="icon_search" style="left:222px; top:595px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("02", ipt_dutunitnm, "", "dutunitcd,dutunitnm", cmb_dutinstcd.value, "instcd");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_jobrespnm" ref="/root/send/retrparams3/jobrespnm" class="input_search" navindex="3" style="left:122px; top:455px; width:95px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("03", "R0063", "jobrespcd,jobrespnm" );
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13) {
- ipt_dutunitnm.value = ipt_dutunitnm.currentText;
-
- misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_dutinstcd.value, "instcd");
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <button id="button2" class="icon_search" style="left:222px; top:567px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "jobkindcd,jobkindnm";
- rpbfOpenComCdHelp(ipt_jobkindcd,"R0061", recv_list);
- model.refresh();
-
- ]]>
- </script>
- </button>
- <select1 id="cmb_prfshipflag" ref="/root/send/retrparams3/prfshipflag" class="combo_search" appearance="minimal" style="left:122px; top:427px; width:95px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <button id="button3" class="icon_search" style="left:222px; top:511px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "njobgradcd,njobgradnm";
- rpbfOpenComCdHelp(ipt_njobgradcd,"R0064", recv_list);
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_search2" class="btn1_letter2" style="left:280px; top:369px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( grd_educlist.rows == 1 ) {
- model.setValue("/root/send/retrparams3/educinstcd", cmb_dutinstcd.value);
- model.setValue("/root/send/retrparams3/appyy", ipt_yyyy.value);
-
- model.removeNodeset("/root/main/list3/emplist");
- submit("TRRPS00354");
- }
- else {
- fEmpListRetrieve();
- }
- ]]>
- </script>
- </button>
- <input id="ipt_jobresttodd" ref="/root/send/retrparams3/jobresttodd" class="input_search" inputtype="date" style="left:240px; top:539px; width:93px; height:19px; "/>
- <input id="ipt_jobrestfrdd" ref="/root/send/retrparams3/jobrestfrdd" class="input_search" inputtype="date" style="left:122px; top:539px; width:95px; height:19px; "/>
- <button id="button4" class="icon_search" style="left:222px; top:455px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "jobrespcd,jobrespnm";
- rpbfOpenComCdHelp(ipt_jobrespcd,"R0063", recv_list);
- model.refresh();
-
- ]]>
- </script>
- </button>
- <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; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("03", "R0063", "jobrespcd,jobrespnm" );
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- ipt_dutunitcd.value = ipt_dutunitcd.currentText;
-
- misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_dutinstcd.value, "instcd");
- model.refresh();
- }
-
- ]]>
- </script>
- </input>
- <input id="ipt_frentcodd" ref="/root/send/retrparams3/frentcodd" class="input_s_essential" inputtype="date" style="left:122px; top:399px; width:95px; height:19px; "/>
- <input id="ipt_cmctodd" ref="/root/send/retrparams3/cmctodd" class="input_search" visibility="hidden" inputtype="date" style="left:631px; top:545px; width:93px; height:19px; "/>
- <caption id="caption20" class="search_name" style="left:9px; top:539px; width:112px; height:17px; ">현직급발령일 :</caption>
- <button id="button5" class="icon_search" visibility="hidden" style="left:618px; top:570px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "grupjoblncd,grupjoblnnm";
- rpbfOpenComCdHelp(ipt_grupjoblncd,"R0059", recv_list);
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_toentcodd" ref="/root/send/retrparams3/toentcodd" class="input_s_essential" inputtype="date" style="left:240px; top:399px; width:93px; height:19px; "/>
- <input id="ipt_jobkindnm" ref="/root/send/retrparams3/jobkindnm" class="input_search" navindex="3" style="left:122px; top:567px; width:95px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("03", "R0061", "jobkindcd,jobkindnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption21" class="search_name" style="left:9px; top:399px; width:121px; height:17px; ">입 사 일 자 :</caption>
- <input id="ipt_grupjoblncd" ref="/root/send/retrparams3/grupjoblncd" class="input_search" navindex="2" visibility="hidden" maxlength="10" style="left:636px; top:569px; width:93px; height:19px; text-align:center; "/>
- <caption id="caption22" style="left:222px; top:399px; width:16px; height:16px; ">~</caption>
- <input id="ipt_dutunitnm" ref="/root/send/retrparams3/dutunitnm" class="input_search" navindex="3" style="left:122px; top:595px; width:95px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_dutinstcd.value, "instcd");
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption11" class="search_name" style="left:9px; top:567px; width:110px; height:17px; ">직 종 :</caption>
- <input id="ipt_cmcfromdd" ref="/root/send/retrparams3/cmcfromdd" class="input_search" visibility="hidden" inputtype="date" style="left:513px; top:545px; width:95px; height:19px; "/>
- <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; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("03", "R0064", "njobgradcd,njobgradnm" );
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- ipt_dutunitcd.value = ipt_dutunitcd.currentText;
-
- misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_dutinstcd.value, "instcd");
- model.refresh();
- }
-
- ]]>
- </script>
- </input>
- <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; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("03", "R0061", "jobkindcd,jobkindnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption23" class="search_name" style="left:9px; top:651px; width:110px; height:17px; ">년 차 :</caption>
- <caption id="caption12" class="search_name" visibility="hidden" style="left:405px; top:570px; width:110px; height:17px; ">직 군 :</caption>
- <button id="btn_joblncd" class="icon_search" visibility="hidden" style="left:618px; top:593px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "joblncd,joblnnm";
- rpbfOpenComCdHelp(ipt_joblncd,"R0060", recv_list);
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_njobgradcdnm" ref="/root/send/retrparams3/njobgradnm" class="input_search" navindex="3" style="left:122px; top:511px; width:95px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("03", "R0064", "njobgradcd,njobgradnm" );
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13) {
- ipt_dutunitnm.value = ipt_dutunitnm.currentText;
-
- misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_dutinstcd.value, "instcd");
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <caption id="caption4" class="search_name" style="left:9px; top:679px; width:110px; height:17px; ">성 명 :</caption>
- <input id="ipt_emplnm" ref="/root/send/retrparams3/emplnm" class="input_search" navindex="3" style="left:122px; top:679px; width:95px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var recv_list = "emplno,emplnm";
-
- rpbfValidationCheck("EMPLNM", recv_list);
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("ipt_emplnm","xforms-value-changed");
- ]]>
- </script>
- </input>
- <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; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_dutinstcd.value, "instcd");
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption25" class="search_name" visibility="hidden" style="left:405px; top:593px; width:110px; height:17px; ">직 렬 :</caption>
- <caption id="caption14" class="search_name" style="left:9px; top:455px; width:110px; height:17px; ">직 책 :</caption>
- <caption id="caption5" class="search_name" style="left:9px; top:427px; width:111px; height:17px; ">직 원 분 류 :</caption>
- <line id="line1" class="line_4" style="x1:275px; y1:370px; x2:275px; y2:387px; "/>
- <caption id="caption26" style="left:222px; top:539px; width:16px; height:16px; ">~</caption>
- <input id="ipt_emplno" ref="/root/send/retrparams3/emplno" class="input_search" navindex="2" visibility="visible" maxlength="10" style="left:240px; top:678px; width:93px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var recv_list = "emplno,emplnm";
-
- rpbfValidationCheck("EMPLNO", recv_list);
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("ipt_emplnm","xforms-value-changed");
- ]]>
- </script>
- </input>
- <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; "/>
- <select1 id="cmb_dutinstcd" ref="/root/send/retrparams3/instcd" class="combo_s_essential" appearance="minimal" style="left:95px; top:370px; width:175px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption15" class="search_name" style="left:9px; top:511px; width:108px; height:17px; ">신 직 급 :</caption>
- <caption id="caption7" class="search_name" style="left:9px; top:623px; width:116px; height:17px; ">직 원 구 분 :</caption>
- <caption id="caption28" class="search_name" visibility="hidden" style="left:400px; top:545px; width:143px; height:17px; ">CMC 입사일 :</caption>
- <input id="ipt_joblnnm" ref="/root/send/retrparams3/joblnnm" class="input_search" navindex="3" visibility="hidden" style="left:518px; top:593px; width:95px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("03", "R0063", "jobrespcd,jobrespnm" );
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13) {
- ipt_dutunitnm.value = ipt_dutunitnm.currentText;
-
- misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_dutinstcd.value, "instcd");
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <input id="ipt_grupjoblncdnm" ref="/root/send/retrparams3/grupjoblnnm" class="input_search" navindex="3" visibility="hidden" style="left:518px; top:570px; width:95px; height:19px; "/>
- <select1 id="cmb_holyordflag" ref="/root/send/retrparams3/holyordflag" class="combo_search" appearance="minimal" style="left:122px; top:623px; width:95px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption17" class="search_name" style="left:9px; top:595px; width:116px; height:17px; ">근 무 부 서 :</caption>
- <caption id="caption8" class="search_name" style="left:9px; top:370px; width:116px; height:17px; ">근무기관 :</caption>
- <caption id="caption29" visibility="hidden" style="left:613px; top:545px; width:16px; height:16px; ">~</caption>
- <caption id="caption18" class="search_name" style="left:9px; top:483px; width:112px; height:17px; ">직책발령일자 :</caption>
- <input id="ipt_joblncd" ref="/root/send/retrparams3/joblncd" class="input_search" navindex="2" visibility="hidden" maxlength="10" style="left:636px; top:592px; width:93px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("03", "R0063", "jobrespcd,jobrespnm" );
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- ipt_dutunitcd.value = ipt_dutunitcd.currentText;
-
- misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_dutinstcd.value, "instcd");
- model.refresh();
- }
-
- ]]>
- </script>
- </input>
- <caption id="caption19" style="left:222px; top:483px; width:16px; height:16px; ">~</caption>
- <input id="ipt_tocorddd" ref="/root/send/retrparams3/tocorddd" class="input_search" inputtype="date" style="left:240px; top:483px; width:93px; height:19px; "/>
- <datagrid id="datagrid1" nodeset="/root/main/list1/educlist1" visibility="hidden" autoresize="true" caption="적용년도^기관^교육코드^교육명" colsep="^" colwidth="53, 32, 43, 193" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="25" rowsep="|" style="left:0px; top:185px; width:340px; height:115px; ">
- <col ref="appyy" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="educcd" type="input"/>
- <col ref="educcdnm" style="text-align:left; "/>
- <col ref="educdg" type="input"/>
- </datagrid>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <button id="button89" class="btn6_letter2" visibility="hidden" style="left:5px; top:5px; width:56px; height:22px; ">
- <caption>출력</caption>
- </button>
- <button id="btn_save" class="btn4_letter2" navindex="20000" style="left:1139px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var rowcnt = grd_eductrgtmanlist.rows-1;
- for( var i = 0; i < rowcnt; i++ ) {
- grd_eductrgtmanlist.fixedcellischeck(0, 5) = false; // 전체 체크박스를 초기화
- grd_eductrgtmanlist.fixedcellischeck(i, 5) = false;
- }
- grd_eductrgtmanlist.refresh();
-
- fSave();
-
- model.refresh();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|