123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650 |
- <?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>교육대상자등록</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list1>
- <educlist/>
- </list1>
- <list2>
- <eductrgtmanlist/>
- </list2>
- <list3>
- <emplist/>
- </list3>
- <list4>
- <excellist/>
- </list4>
- </main>
- <send>
- <retrparams1>
- <instcd/>
- <appyy/>
- <mainbdunit/>
- <lrgcd/>
- <mdlcd/>
- </retrparams1>
- <retrparams2>
- <instcd/>
- <educdg/>
- <appyy/>
- <educcd/>
- </retrparams2>
- <retrparams3>
- <instcd/>
- <educinstcd/>
- <educdg/>
- <appyy/>
- <educcd/>
- <dutplce/>
- <leftemplcnt/>
- </retrparams3>
- </send>
- <init>
- <tempnode>
- <appyy/>
- <value/>
- <label>
- <전체/>
- </label>
- </tempnode>
- <rowcount>0</rowcount>
- </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/dligclaznsmngtweb/js/RPD001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- grd_emplist.fixedcellcheckbox(0,1)=true;
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
-
- var sAllSelYn = "N";
- function fInit()
- {
- model.setValue("/root/send/retrparams1/appyy", getCurrentDate().substr(0, 4));
- misfComboComCdListMulti("Z0007,Z0007", "cmb_instcd,cmb_dutinstcd", null, "Y");
- rpsEducSetComboList(model.getValue("/root/send/retrparams1/appyy"), "M02-000,M01-001,M01-002", "cmb_mainbdunit,cmb_lrgcd,cmb_mdlcd", "Y");
- rpdfComboCdList(cmb_dutplce); // 권한별 근무부서 세팅
- rpdfSetDutUnitCombo();
-
- model.removenode("/root/main/list1/educlist");
- model.removenode("/root/main/list2/eductrgtmanlist");
- model.removenode("/root/main/list3/emplist");
- misfMsterDetailSet(grd_educlist, null, "TRRPS00501", "N", "byRow");
- misfMsterDetailSet(grd_eductrgtmanlist, null, "TRRPS00502", "Y");
- misfMsterDetailSet(grd_emplist, null, "TRRPS00503", "N");
- misfGetUserAuth();
- model.setValue("/root/send/retrparams1/instcd", getUserInfo("dutplceinstcd"));
- 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();
-
- grd_educlist.rowHeight(0) = 35;
- // if(DUTY_PART_YN != "Y")
- // {
- // cmb_instcd.disabled = true;
- // }
- }
-
- function fEducListRetrieve()
- {
- var iRowIdx = grd_educlist.row;
-
- submit("TRRPS00501");
-
- 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("onrowchanged");
- }
- 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")));
- submit("TRRPS00502");
- }
- 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")));
- submit("TRRPS00503");
-
- }
- function fRgstTrgtManList()
- {
- if(grd_educlist.rows == 1)
- {
- messageBox("교육내용을", "C002");
- return;
- }
- for(var i=1; i<grd_emplist.rows; i++)
- {
- var sChk = grd_emplist.valueMatrix(i, grd_emplist.colRef("chk"));
-
- if(sChk == "Y")
- {
- var sEmplno = model.getValue(grd_emplist.nodeset + "[" + i + "]/emplno");
- var iRowIdx = grd_eductrgtmanlist.findRow(sEmplno, 0, grd_eductrgtmanlist.colRef("emplno"));
- if(iRowIdx != -1) continue;
- misfGridIUD(grd_eductrgtmanlist, "A");
- fSetTrgtManInfo(grd_eductrgtmanlist.row, i);
- }
- }
- }
- 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", cmb_educdg.value);
- model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/rt", '차수');
- 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 + "]/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 + "]/entcodd", model.getValue(grd_emplist.nodeset + "[" + iEmpListRowIdx + "]/entcodd"));
- }
-
- function fSave()
- {
- misfSave("TXRPS00501");
- fEducTrgtManListRetrieve();
-
- fEmpListRetrieve();
- }
-
- 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 + "]/educdg", model.getValue(grd_educlist.nodeset + "[" + grd_educlist.row + "]/educdg"));
- 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();
- }
- ]]>
- </script>
- <submission id="TRRPS00502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams2" resultref="/root/main/list2"/>
- <submission id="TRRPS00503" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams3" resultref="/root/main/list3"/>
- <submission id="TXRPS00501" 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"/>
- <submission id="TRRPS00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams1" resultref="/root/main/list1"/>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="1211" pageheight="784" guideline="1,1195;" 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; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:346px; top:360px; width:848px; height:30px; 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>
- <line id="line8" class="line_1" style="x1:345px; y1:415px; x2:1194px; y2:415px; "/>
- <caption id="caption10" class="search_name" style="left:17px; top:19px; width:90px; height:17px; ">년 도 :</caption>
- <caption id="caption2" class="search_name" style="left:535px; top:19px; width:86px; height:17px; ">주체단위 :</caption>
- <caption id="caption3" class="search_name" style="left:781px; top:19px; width:91px; height:17px; ">교육구분 :</caption>
- <caption id="caption4" class="search_name" visibility="hidden" style="left:590px; top:50px; width:86px; 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>
- <line id="line1" class="line_4" style="x1:1110px; y1:366px; x2:1110px; y2:383px; "/>
- <caption id="caption8" class="search_name" style="left:350px; top:367px; width:96px; height:17px; ">근무 기관 :</caption>
- <select1 id="cmb_instcd" ref="/root/send/retrparams1/instcd" class="combo_search" appearance="minimal" style="left:325px; top:18px; width:159px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fEducListRetrieve();
- ]]>
- </script>
- </select1>
- <input id="ipt_yyyy" ref="/root/send/retrparams1/appyy" class="input_s_essential" inputtype="date" format="yyyy" style="left:105px; top:18px; width:82px; height:19px; text-align:center; ">
- <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_lrgcd" ref="/root/send/retrparams1/lrgcd" class="combo_search" appearance="minimal" style="left:870px; top:18px; width:135px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fEducListRetrieve();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_mdlcd" ref="/root/send/retrparams1/mdlcd" class="combo_search" visibility="hidden" appearance="minimal" style="left:678px; top:49px; width:120px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fEducListRetrieve();
- ]]>
- </script>
- </select1>
- <line id="line2" class="line_1" style="x1:342px; y1:79px; x2:343px; y2:741px; "/>
- <caption id="caption13" class="tit_2" style="left:350px; top:60px; width:169px; height:13px; ">대상자목록</caption>
- <caption id="caption16" class="tit_2" style="left:347px; top:400px; width:169px; height:13px; ">교직원목록</caption>
- <datagrid id="grd_emplist" nodeset="/root/main/list3/emplist" caption="^사원번호^성명^교직구분코드^교직구분^근무기관코드^근무기관^근무부서코드^근무부서^성직구분코드^성직구분^직군코드^직군^신직급코드^신직급^년차^직종코드^직종^직책코드^직책^입사일자" colsep="^" colwidth="25, 65, 60, 0, 60, 0, 110, 0, 100, 0, 55, 0, 70, 0, 53, 35, 0, 68, 0, 38, 66" dataheight="25" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:346px; top:420px; width:849px; height:320px; ">
- <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"/>
- <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 ref="entcodd" 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;
- }
-
- if(grd_emplist.row < 1)
- {
- 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("중복 등록", "E008");
- 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[
- fEducListRetrieve();
- ]]>
- </script>
- </button>
- <button id="btn_search2" class="btn1_letter2" style="left:1125px; top:364px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fEmpListRetrieve();
- ]]>
- </script>
- </button>
- <select1 id="cmb_dutinstcd" ref="/root/send/retrparams3/instcd" class="combo_s_essential" appearance="minimal" style="left:445px; top:366px; width:145px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search2.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <datagrid id="grd_eductrgtmanlist" nodeset="/root/main/list2/eductrgtmanlist" autoresize="true" caption="교육기관^교육차수^교육차수^교육코드^적용년월^사원번호^성명^교직구분코드^교직구분^근무기관코드^근무기관^근무부서코드^근무부서^성직구분코드^성직구분^직군코드^직군^신직급코드^신직급^직종코드^직종^직책코드^직책^입사일자" colsep="^" colwidth="0, 25, 35, 0, 0, 65, 60, 0, 60, 0, 100, 0, 85, 0, 60, 0, 65, 0, 70, 0, 60, 0, 50, 80" dataheight="25" explorerbar="sortshow" extendlastcol="scroll" frozencols="4" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:346px; top:79px; width:849px; height:271px; ">
- <col ref="instcd" _key="true"/>
- <col class="input_s_essential" ref="educdg" type="input" _key="true" style="text-align:right; "/>
- <col ref="rt"/>
- <col ref="educcd" visibility="hidden" _key="true"/>
- <col ref="appyy" visibility="hidden" _key="true"/>
- <col class="input_s_essential" ref="emplno" _key="true" 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"/>
- <col ref="njobgradcd" visibility="hidden"/>
- <col ref="njobgradnm"/>
- <col ref="jobkindcd" visibility="hidden"/>
- <col ref="jobkindnm"/>
- <col ref="jobrespcd" visibility="hidden"/>
- <col ref="jobrespnm"/>
- <col ref="entcodd" format="yyyy-mm-dd" style="text-align:center; "/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_eductrgtmanlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="btn_addtrgtman" class="btn2_letter5" style="left:1118px; top:395px; width:75px; height:19px; ">
- <caption>대상자등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fRgstTrgtManList();
- ]]>
- </script>
- </button>
- <button id="btn_allselect" class="btn2_letter4" visibility="hidden" style="left:1052px; top:395px; width:64px; height:19px; ">
- <caption>전체선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // grid에 자체적인 체크박스 전체선택 기능이 있음으로 "전체선택" 버튼을 비활성화 시켜놨음.
- // 나중에 혹시 사용하게 될까봐 소스 남겨놓습니다.
- if(sYn == "N")
- {
- for(var i=1; i<grd_emplist.rows; i++)
- {
- grd_emplist.valueMatrix(i, grd_emplist.colRef("chk")) = "Y";
- }
- sYn = "Y";
- }
- else
- {
- for(var i=1; i<grd_emplist.rows; i++)
- {
- grd_emplist.valueMatrix(i, grd_emplist.colRef("chk")) = "N";
- }
- sYn = "N";
- }
- ]]>
- </script>
- </button>
- <button id="btn_saveexcel" class="btn2_letter4" style="left:1010px; 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:1075px; 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[
- misfGridIUD(grd_eductrgtmanlist, "D");
- ]]>
- </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:205px; width:120px; height:96px; ">
- <col ref="emplno" style="text-align:center; "/>
- </datagrid>
- <output id="output1" 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>
- <datagrid id="grd_educlist" nodeset="/root/main/list1/educlist" autoresize="true" caption="적용년도^기관^교육코드^교육명^교육내용^주관부서코드^주관부서명^교육
시작일자^교육
종료일자^교육신청
시작일자^교육신청
종료일자^교육장소" colsep="^" colwidth="0, 0, 0, 239, 100, 0, 100, 20, 75, 75, 75, 100" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="25" rowsep="|" style="left:0px; top:79px; width:340px; height:661px; ">
- <col ref="appyy" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="educcd" visibility="hidden"/>
- <col ref="educcdnm" style="text-align:left; "/>
- <col ref="educcnts" visibility="hidden"/>
- <col ref="chrgdeptcdnm" visibility="hidden"/>
- <col ref="chrgdeptnm"/>
- <col ref="educfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="eductodd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="educappfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="educapptodd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="educplce"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- grd_educlist.dispatch("onmouseup");
- //차수콤보 설정.
- var pAppyy = grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("appyy"));
- var pEduccd = grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("educcd"));
- var pInstcd = grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("instcd"));
- rpsRTEducDGListComboList("cmb_educdg", pAppyy, pEduccd, pInstcd);
- cmb_educdg.dispatch("xforms-value-changed");
-
- fEducTrgtManListRetrieve();
- ]]>
- </script>
- </datagrid>
- <caption id="cap_dutplce" class="search_name" style="left:600px; top:367px; width:89px; height:17px; ">관리부서 :</caption>
- <select1 id="cmb_dutplce" ref="/root/send/retrparams3/dutplce" class="combo_s_essential" navindex="3" appearance="minimal" style="left:687px; top:366px; width:148px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search2.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_educdg" ref="/root/send/retrparams3/educdg" class="combo_s_essential" navindex="3" appearance="minimal" style="left:936px; top:365px; width:70px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- opt_leftemplcnt.value = model.getValue(cmb_educdg.choices.itemset.attribute("nodeset") + "["+ (cmb_educdg.focusIndex+1) +"]/leftemplcnt");
- btn_search2.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <caption id="caption5" class="search_name" style="left:848px; top:366px; width:89px; height:17px; ">교육차수 :</caption>
- <output id="opt_leftemplcnt" ref="/root/send/retrparams3/leftemplcnt" class="output_fix" style="left:1010px; top:365px; width:95px; height:19px; color:#ff0000; text-align:center; "/>
- </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:1067px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSave();
-
- grd_educlist.dispatch("onrowchanged");
- ]]>
- </script>
- </button>
- <button id="btn_init" class="btn4_letter3" style="left:1125px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInit();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|