123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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/>
- <educlist1/>
- </list1>
- <list2>
- <eductrgtmanlist/>
- </list2>
- <list3>
- <emplist/>
- </list3>
- <list4>
- <excellist/>
- </list4>
- </main>
- <send>
- <retrparams1>
- <instcd/>
- <appyy/>
- <mainbdunit/>
- <educflag/>
- </retrparams1>
- <retrparams2>
- <instcd/>
- <educdg/>
- <appyy/>
- <educcd/>
- </retrparams2>
- <retrparams3>
- <instcd/>
- <dutunitcd/>
- <dutunitnm/>
- <prfshipflag/>
- <holyordflag/>
- <grupjoblncd/>
- <njobgradcd/>
- <jobkindcd/>
- <jobrespcd/>
- <frentcodd/>
- <toentcodd/>
- <frcorddd/>
- <tocorddd/>
- <educinstcd/>
- <educdg/>
- <appyy/>
- <educcd/>
- <anual/>
- <gender/>
- </retrparams3>
- </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" ev:event="xforms-ready">
- <![CDATA[
- fInit();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- grd_emplist.fixedcellcheckbox(0,1)=true; // 그리드에 있는 전체선택 체크박스
- grd_eductrgtmanlist.fixedcellcheckbox(0,5)=true;
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
-
- var sAllSelYn = "N";
-
- function fInit() {
- model.setValue("/root/send/retrparams1/appyy", getCurrentDate().substr(0, 4));
-
- misfComboComCdListMulti("Z0007,Z0007,R0058,R0066,R0059,R0064,R0061,R0063", "cmb_instcd,cmb_dutinstcd,cmb_prfshipflag,cmb_holyordflag,cmb_grupjoblncd,cmb_njobgradcd,cmb_jobkindcd,cmb_jobrespcd", 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/list1/educlist1");
- model.removenode("/root/main/list2/eductrgtmanlist");
- model.removenode("/root/main/list3/emplist");
-
- misfMsterDetailSet(grd_educlist, null, "TRRPS00301", "N", "byRow");
- misfMsterDetailSet(grd_eductrgtmanlist, null, "TRRPS00302", "Y");
- misfMsterDetailSet(grd_emplist, null, "TRRPS00303", "N");
-
- misfGetUserAuth();
-
- 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;
- grd_educlist1.rowHeight(0) = 35;
- }
-
- function fEducListRetrieve()
- {
- var iRowIdx = grd_educlist.row;
-
- submit("TRRPS00301");
-
- // grid의 교육명부분만 merge시키고 background-color를 변경
- // grd_educlist.mergeCells = "bycol";
- // grd_educlist.mergeCol(grd_educlist.colRef("educcdnm")) = true;
- // grd_educlist.mergeCol(grd_educlist.colRef("educdg")) = false;
- // grd_educlist.mergeCol(grd_educlist.colRef("emplcnt")) = false;
- // grd_educlist.mergeCol(grd_educlist.colRef("educcapa")) = false;
- // grd_educlist.colStyle(grd_educlist.colRef("educcdnm"), "all","background-color") = "#ffff99";
- //
- // grd_educlist.merge();
-
- fListAddCombo() ;
-
- 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_educlist1.valueMatrix(grd_educlist1.row, grd_educlist1.colRef("instcd")));
- model.setValue("/root/send/retrparams2/educdg", grd_educlist1.valueMatrix(grd_educlist1.row, grd_educlist1.colRef("educdg")));
- model.setValue("/root/send/retrparams2/appyy", grd_educlist1.valueMatrix(grd_educlist1.row, grd_educlist1.colRef("appyy")));
- model.setValue("/root/send/retrparams2/educcd", grd_educlist1.valueMatrix(grd_educlist1.row, grd_educlist1.colRef("educcd")));
-
- submit("TRRPS00302");
- }
-
- function fEmpListRetrieve() {
- sYn = "N";
- model.setValue("/root/send/retrparams3/educinstcd", grd_educlist1.valueMatrix(grd_educlist1.row, grd_educlist1.colRef("instcd")));
- model.setValue("/root/send/retrparams3/educdg", grd_educlist1.valueMatrix(grd_educlist1.row, grd_educlist1.colRef("educdg")));
- model.setValue("/root/send/retrparams3/appyy", grd_educlist1.valueMatrix(grd_educlist1.row, grd_educlist1.colRef("appyy")));
- model.setValue("/root/send/retrparams3/educcd", grd_educlist1.valueMatrix(grd_educlist1.row, grd_educlist1.colRef("educcd")));
-
- submit("TRRPS00303");
- }
-
- function fRgstTrgtManList() {
- if(grd_educlist.rows == 1) {
- messageBox("교육내용을", "C002");
- return;
- }
-
- var educcapa = model.getValue("/root/main/list1/educlist["+grd_educlist.row+"]/educcapa");
- var emplcnt = opt_cnt.value;
- if( educcapa == emplcnt) {
- messageBox("정원이 초과되어 더이상 등록","E001");
- return;
- }
-
- var apppsn = parseInt(educcapa) - parseInt(emplcnt);
- var cnt = 0;
- for(var i=0; i<=grd_emplist.rows; i++) {
- var sChk = grd_emplist.valueMatrix(i, grd_emplist.colRef("chk"));
- if( cnt == apppsn) {
- messageBox("정원이 초과되어 더이상 등록","E001");
- return;
- }
- 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(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", 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"));
- }
-
- function fSave() {
- misfSave("TXRPS00301");
- 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();
- }
-
- function fPsnCnt() {
- opt_cnt.value = grd_eductrgtmanlist.rows;
- opt_cnt.refresh();
- }
-
- function fCheckAppYN() {
- var educcapa = model.getValue("/root/main/list1/educlist/educcapa");
- var emplcnt = model.getValue("/root/main/list1/educlist/emplcnt");
-
- for(var i = grd_educlist.fixedRows; i < grd_educlist.row; i++) {
- if( educcapa == emplcnt ) {
- grd_educlist.backColorFrozen = "YELLOW";
- }
- }
- }
-
- function fListAddCombo() {
- // 교육명 세팅
- for(var i = grd_educlist.fixedRows, j = grd_educlist1.fixedRows; i < grd_educlist.rows; i++ ) {
- if( i == "1" ) { // grd_educlist1에 아무내용도 없을때는 무조건 addrow
- grd_educlist1.addRow(false);
- grd_educlist1.valueMatrix(i,grd_educlist1.colRef("appyy")) = grd_educlist.valueMatrix(i,grd_educlist.colRef("appyy"));
- grd_educlist1.valueMatrix(i,grd_educlist1.colRef("instcd")) = grd_educlist.valueMatrix(i,grd_educlist.colRef("instcd"));
- grd_educlist1.valueMatrix(i,grd_educlist1.colRef("educcd")) = grd_educlist.valueMatrix(i,grd_educlist.colRef("educcd"));
- grd_educlist1.valueMatrix(i,grd_educlist1.colRef("educcdnm")) = grd_educlist.valueMatrix(i,grd_educlist.colRef("educcdnm"));
- j++;
- }
- else if( grd_educlist.valueMatrix(i,grd_educlist.colRef("educcd")) == grd_educlist1.valueMatrix(1,grd_educlist1.colRef("educcd")) ) {
- continue;
- }
- else if( grd_educlist.valueMatrix(i,grd_educlist.colRef("educcd")) == grd_educlist1.valueMatrix(j,grd_educlist1.colRef("educcd")) ) {
- continue;
- }
- else if( grd_educlist.valueMatrix(i,grd_educlist.colRef("educcd")) != grd_educlist1.valueMatrix(j-1,grd_educlist1.colRef("educcd")) ) {
- // educcd가 다른경우
- grd_educlist1.addRow(false);
- grd_educlist1.valueMatrix(j,grd_educlist1.colRef("appyy")) = grd_educlist.valueMatrix(i,grd_educlist.colRef("appyy"));
- grd_educlist1.valueMatrix(j,grd_educlist1.colRef("instcd")) = grd_educlist.valueMatrix(i,grd_educlist.colRef("instcd"));
- grd_educlist1.valueMatrix(j,grd_educlist1.colRef("educcd")) = grd_educlist.valueMatrix(i,grd_educlist.colRef("educcd"));
- grd_educlist1.valueMatrix(j,grd_educlist1.colRef("educcdnm")) = grd_educlist.valueMatrix(i,grd_educlist.colRef("educcdnm"));
- j++;
- }
- }
-
- // 차수 콤보 세팅
- var dg = 1;
- for(var i = grd_educlist.fixedRows, j = grd_educlist1.fixedRows; i < grd_educlist.rows; i++ ) {
- if( i == grd_educlist.fixedRows && j == grd_educlist1.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",grd_educlist.valueMatrix(i,grd_educlist.colRef("educdg")));
- model.setValue("/root/init/itemset/set"+i+"["+dg+"]/label",grd_educlist.valueMatrix(i,grd_educlist.colRef("educdg")));
- }
- else if( grd_educlist.valueMatrix(i,grd_educlist.colRef("educcd")) == grd_educlist1.valueMatrix(1,grd_educlist1.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",grd_educlist.valueMatrix(i,grd_educlist.colRef("educdg")));
- model.setValue("/root/init/itemset/set"+j+"["+dg+"]/label",grd_educlist.valueMatrix(i,grd_educlist.colRef("educdg")));
- }
- else if( grd_educlist.valueMatrix(i,grd_educlist.colRef("educcd")) == grd_educlist1.valueMatrix(j,grd_educlist1.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",grd_educlist.valueMatrix(i,grd_educlist.colRef("educdg")));
- model.setValue("/root/init/itemset/set"+j+"["+dg+"]/label",grd_educlist.valueMatrix(i,grd_educlist.colRef("educdg")));
- }
- else if( grd_educlist.valueMatrix(i,grd_educlist.colRef("educcd")) != grd_educlist1.valueMatrix(j,grd_educlist1.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",grd_educlist.valueMatrix(i,grd_educlist.colRef("educdg")));
- model.setValue("/root/init/itemset/set"+j+"["+dg+"]/label",grd_educlist.valueMatrix(i,grd_educlist.colRef("educdg")));
- }
- }
-
- // itemset을 row별로 설정..
- for(var i = grd_educlist1.fixedRows; i < grd_educlist1.rows; i++ ) {
- grd_educlist1.cellComboNodeset(i, 4) = "/root/init/itemset/set"+i;
- }
-
- grd_educlist1.row = 1; // grd_educlist1그리드의 1번 row를 선택한것과 같음.
- model.refresh();
- }
-
- ]]>
- </script>
- <submission id="TRRPS00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams1" resultref="/root/main/list1"/>
- <submission id="TRRPS00302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams2" resultref="/root/main/list2"/>
- <submission id="TRRPS00303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams3" resultref="/root/main/list3"/>
- <submission id="TXRPS00301" 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" 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:315px; width:848px; height:77px; 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="caption20" class="tit_2" style="left:10px; top:382px; width:169px; height:13px; ">교육대상자등록</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:19px; 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>
- <caption id="caption7" class="search_name" style="left:1013px; top:344px; width:87px; height:17px; ">성직구분 :</caption>
- <line id="line1" class="line_4" style="x1:1120px; y1:369px; x2:1120px; y2:386px; "/>
- <caption id="caption8" class="search_name" style="left:350px; top:321px; width:116px; height:17px; ">근 무 기 관 :</caption>
- <caption id="caption5" class="search_name" style="left:643px; top:321px; width:87px; height:17px; ">교직구분 :</caption>
- <caption id="caption12" class="search_name" style="left:653px; top:344px; width:85px; height:17px; ">직 군 :</caption>
- <caption id="caption11" class="search_name" style="left:806px; top:344px; width:87px; height:17px; ">직 종 :</caption>
- <caption id="caption14" class="search_name" style="left:653px; top:367px; width:85px; height:17px; ">직 책 :</caption>
- <caption id="caption15" class="search_name" style="left:806px; top:321px; width:87px; 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: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>
- <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_educlist1" nodeset="/root/main/list1/educlist1" autoresize="true" caption="적용년도^기관^교육코드^교육명^차수^신청인원
/정원^신청인원
/정원" colsep="^" colwidth="28, 26, 23, 230, 45, 30, 30" 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="educdg" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/itemset/set1">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col ref="emplcnt" style="text-align:right; "/>
- <col ref="educcapa" style="text-align:right; "/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- // row를 선택했을때 교육코드에 따라 차수콤보를 변경한다.
- 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>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 콤보박스의 내용이 변경되었을때...
- for(var i = grd_educlist.fixedRows; i < grd_educlist.rows; i++ ) {
- if( grd_educlist.valueMatrix(i,grd_educlist.colRef("educcd")) == grd_educlist1.valueMatrix(grd_educlist1.row,grd_educlist1.colRef("educcd")) ) {
- if(grd_educlist.valueMatrix(i,grd_educlist.colRef("educdg")) == grd_educlist1.valueMatrix(grd_educlist1.row,grd_educlist1.colRef("educdg")) ) {
- grd_educlist1.valueMatrix(grd_educlist1.row,grd_educlist1.colRef("emplcnt")) = grd_educlist.valueMatrix(i,grd_educlist.colRef("emplcnt"));
- grd_educlist1.valueMatrix(grd_educlist1.row,grd_educlist1.colRef("educcapa")) = grd_educlist.valueMatrix(i,grd_educlist.colRef("educcapa"));
- }
- else if( grd_educlist1.valueMatrix(grd_educlist1.row,grd_educlist1.colRef("educdg")) == "" ) {
- // 전체를 선택하면 신청인원/정원을 공백으로 설정한다.
- grd_educlist1.valueMatrix(grd_educlist1.row,grd_educlist1.colRef("emplcnt")) = "";
- grd_educlist1.valueMatrix(grd_educlist1.row,grd_educlist1.colRef("educcapa")) = "";
- }
- }
- else if( grd_educlist.valueMatrix(i,grd_educlist.colRef("educcd")) != grd_educlist1.valueMatrix(grd_educlist1.row,grd_educlist1.colRef("educcd")) ) {
- // educcd가 다른경우
- continue;
- }
- }
-
- fEducTrgtManListRetrieve();
- ]]>
- </script>
- </datagrid>
- <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, 42, 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 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; "/>
- <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("중복 등록", "E008");
- return;
- }
- misfGridIUD(grd_eductrgtmanlist, "A");
-
- fSetTrgtManInfo(grd_eductrgtmanlist.row, grd_emplist.row);
- ]]>
- </script>
- </datagrid>
- <caption id="caption17" class="search_name" style="left:806px; top:367px; width:89px; height:17px; ">관리부서 :</caption>
- <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(); // 그리드에 교육명과 차수 콤보만드는 함수
- fEducTrgtManListRetrieve(); // 선택된 교육에 따른 대상자 보여주는 함수
- ]]>
- </script>
- </button>
- <button id="btn_search2" class="btn1_letter2" style="left:1125px; top:367px; 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:463px; top:321px; width:175px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_dutunitcd" ref="/root/send/retrparams3/dutunitcd" class="input_search" navindex="2" visibility="hidden" maxlength="10" style="left:895px; top:390px; width:81px; 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>
- <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_dutunitnm" ref="/root/send/retrparams3/dutunitnm" class="input_search" navindex="3" style="left:892px; top:367px; width:90px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_dutinstcd.value, "instcd");
- 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="btn_dutunit" class="icon_search" style="left:985px; top:367px; 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>
- <select1 id="cmb_prfshipflag" ref="/root/send/retrparams3/prfshipflag" class="combo_search" appearance="minimal" style="left:728px; top:321px; width:75px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_holyordflag" ref="/root/send/retrparams3/holyordflag" class="combo_search" appearance="minimal" style="left:1098px; top:344px; width:81px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_grupjoblncd" ref="/root/send/retrparams3/grupjoblncd" class="combo_search" appearance="minimal" style="left:728px; top:344px; width:75px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_njobgradcd" ref="/root/send/retrparams3/njobgradcd" class="combo_search" appearance="minimal" style="left:891px; top:321px; width:116px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_jobkindcd" ref="/root/send/retrparams3/jobkindcd" class="combo_search" appearance="minimal" style="left:891px; top:344px; width:116px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_jobrespcd" ref="/root/send/retrparams3/jobrespcd" class="combo_search" appearance="minimal" style="left:728px; top:367px; width:75px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <datagrid id="grd_eductrgtmanlist" nodeset="/root/main/list2/eductrgtmanlist" caption="교육기관^교육차수^교육코드^적용년월^^사원번호^성명^교직구분코드^교직구분^근무기관코드^근무기관^근무부서코드^근무부서^성직구분코드^성직구분^직군코드^직군^신직급코드^신직급^년차^직종코드^직종^직책코드^직책^성별^입사일자" colsep="^" colwidth="0, 0, 0, 0, 25, 65, 60, 0, 60, 0, 110, 0, 100, 0, 54, 0, 70, 0, 53, 35, 0, 67, 0, 40, 41, 66" dataheight="25" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:346px; top:79px; width:849px; height:231px; ">
- <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"/>
- <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; "/>
- <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();
- fPsnCnt();
- ]]>
- </script>
- </button>
- <button id="btn_allselect" class="btn2_letter4" visibility="hidden" style="left:1053px; 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:1007px; top:54px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- alert("아직 안돼요~~~");
- // 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[
- alert("아직 안돼요~~~");
- // 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>
- <caption id="caption18" class="search_name" style="left:350px; top:367px; width:112px; height:17px; ">직책발령일자 :</caption>
- <input id="input1" ref="/root/send/retrparams3/frcorddd" class="input_search" inputtype="date" style="left:462px; top:367px; width:88px; height:19px; "/>
- <input id="input2" ref="/root/send/retrparams3/tocorddd" class="input_search" inputtype="date" style="left:561px; top:367px; width:88px; height:19px; "/>
- <caption id="caption19" style="left:550px; top:367px; width:13px; height:17px; ">~</caption>
- <caption id="caption21" class="search_name" style="left:350px; top:344px; width:121px; height:17px; ">입 사 일 자 :</caption>
- <caption id="caption22" style="left:550px; top:344px; width:11px; height:20px; ">~</caption>
- <input id="ipt_frentcodd" ref="/root/send/retrparams3/frentcodd" class="input_s_essential" inputtype="date" style="left:462px; top:344px; width:88px; height:19px; "/>
- <input id="ipt_toentcodd" ref="/root/send/retrparams3/toentcodd" class="input_s_essential" inputtype="date" style="left:561px; top:344px; width:88px; height:19px; "/>
- <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>
- <caption id="caption23" class="search_name" style="left:1013px; top:321px; width:85px; height:17px; ">년 차 :</caption>
- <input id="input3" ref="/root/send/retrparams3/anual" class="input_search" format="99" style="left:1098px; top:321px; width:81px; height:19px; text-align:center; "/>
- <caption id="caption25" class="search_name" style="left:1013px; top:367px; width:75px; height:17px; ">성별 :</caption>
- <select1 id="cmb_gender" ref="/root/send/retrparams3/gender" class="combo_search" appearance="minimal" style="left:1072px; top:367px; width:45px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/item">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <datagrid id="grd_educlist" nodeset="/root/main/list1/educlist" visibility="hidden" autoresize="true" caption="적용년도^기관^교육코드^교육명^차수^신청인원
/정원^신청인원
/정원^교육내용^주관부서코드^주관부서명^교육
시작일자^교육
종료일자^교육신청
시작일자^교육신청
종료일자^교육장소^교육시간" 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:480px; width:340px; height:170px; ">
- <col ref="appyy" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="educcd" visibility="hidden"/>
- <col ref="educcdnm" style="text-align:left; "/>
- <col ref="educdg" style="text-align:center; "/>
- <col ref="emplcnt" style="text-align:right; "/>
- <col ref="educcapa" style="text-align:right; "/>
- <col ref="educcnts" visibility="hidden"/>
- <col ref="chrgdeptcd" visibility="hidden"/>
- <col ref="chrgdeptnm" visibility="hidden"/>
- <col ref="educfromdd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="eductodd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="educappfromdd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="educapptodd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="educplce" visibility="hidden"/>
- <col ref="eductm" visibility="hidden" format="hh:nn" style="text-align:center; "/>
- <script type="javascript" ev:event="onrowchanged">
- <![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();
- // misfMsterDetailSet(grd_eductrgtmanlist, null, "TRRPS00302", "Y");
- //
- // fEducTrgtManListRetrieve();
- //
- // grd_educlist.dispatch("onmouseup");
- ]]>
- </script>
- </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();
- fCheckAppYN();
- fEducListRetrieve();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|