123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825 |
- <?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>SMRPS04000_부서교육등록</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <grid>
- <educlist/>
- </grid>
- <list2>
- <eductrgtmanlist/>
- </list2>
- <list3>
- <emplist/>
- </list3>
- <list4>
- <excellist/>
- </list4>
- </main>
- <send>
- <search>
- <appyy/>
- <educflag/>
- <posinstcd/>
- <chrgdeptcd/>
- <chrgdeptnm/>
- <chrgteamnm/>
- <chrgteamcd/>
- <chrgunitnm/>
- <chrgunitcd/>
- <emplno/>
- <grdunitcd/>
- <deptcd/>
- <instcd/>
- </search>
- <emplsearch>
- <instcd/>
- <dutunitcd/>
- <dutunitnm/>
- <frentcodd/>
- <toentcodd/>
- <emplnm/>
- <emplno/>
- <appyy/>
- <depteduccd/>
- <cmcfromdd/>
- <cmctodd/>
- </emplsearch>
- <save>
- </save>
- </send>
- <init>
- </init>
- <temp>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // user정보조회
- model.setValue(ipt_emplno.attribute("ref"),getUserInfo("userid"));
- submit("TRRPS04000");
-
- var curdate = getCurrentDate();
- model.setValue(ipt_appyy.attribute("ref") , curdate.substr(0, 4));
- model.setValue(ipt_posinstcd.attribute("ref"),model.getValue("/root/init/emplinfo/dutplceinst"));
-
- model.setValue(ipt_chrgdeptnm.attribute("ref"),model.getValue("/root/init/emplinfo/dutdeptnm"));
- model.setValue(ipt_chrgdeptcd.attribute("ref"), model.getValue("/root/init/emplinfo/dutdeptcd"));
- model.setValue(ipt_chrgteamnm.attribute("ref"),model.getValue("/root/init/emplinfo/dutteamnm"));
- model.setValue(ipt_chrgteamcd.attribute("ref"),model.getValue("/root/init/emplinfo/dutteamcd"));
- model.setValue(ipt_chrgunitnm.attribute("ref"), model.getValue("/root/init/emplinfo/dutunitnm"));
- model.setValue(ipt_chrgunitcd.attribute("ref"), model.getValue("/root/init/emplinfo/dutunitcd"));
-
- model.setValue("/root/send/search/instcd", model.getValue("/root/init/emplinfo/dutplceinst"));
- model.setValue("/root/send/search/deptcd", model.getValue("/root/init/emplinfo/dutunitcd"));
- submit("TRRPS04301");
- model.refresh();
-
- if( ipt_posinstcd.value == '012' && ipt_chrgteamcd.value == '4020500000' || ipt_chrgteamcd.value == '4020503000') {
- }
- else if(ipt_posinstcd.value == '001' && ipt_chrgteamcd.value == '4020500000' ) {
- }
- else {
- ipt_chrgdeptnm.disabled = true;
- ipt_chrgdeptcd.disabled = true;
- ipt_chrgteamnm.disabled = true;
- ipt_chrgteamcd.disabled = true;
- btn_dept.disabled = true;
- btn_team.disabled = true;
-
- btn_save.disabled = true;
- }
-
- if( model.getValue("/root/init/emplno") == ipt_emplno.value ) {
- btn_save.disabled = false;
- }
-
- misfGridInit(grd_educlist);
- grd_educlist.rowHeight(0) = 40;
- misfMsterDetailSet(grd_educlist,null, "TRRPS04001" ,"Y");
-
- rpsEducSetComboList("M01-007,M01-005,M01-007", "cmb_educflag,grd_educlist.medinstvalucd,grd_educlist.educflag", "Y");
- misfComboComCdListMulti("Z0007", "cmb_dutinstcd", null, "Y");
-
- model.removenode("/root/main/grid/educlist");
- model.removenode("/root/main/list2/eductrgtmanlist");
- model.removenode("/root/main/list3/emplist");
- model.makeNode("/root/main/list3");
-
- model.setValue(cmb_dutinstcd.attribute("ref"),model.getValue("/root/init/emplinfo/dutplceinst"));
- model.setValue(ipt_dutunitnm.attribute("ref"), model.getValue("/root/init/emplinfo/dutunitnm"));
- model.setValue(ipt_dutunitcd.attribute("ref"), model.getValue("/root/init/emplinfo/dutunitcd"));
-
- cmb_educflag.select(1) ;
- grd_educlist.selectionMode = "byrow";
-
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- grd_emplist.fixedcellcheckbox(0,grd_emplist.colRef("chk")) = true; // 그리드에 있는 전체선택 체크박스
- grd_eductrgtmanlist.fixedcellcheckbox(0,grd_eductrgtmanlist.colRef("chk")) = true;
- ]]>
- </script>
- <submission id="TRRPS04000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/emplinfo"/>
- <submission id="TRRPS04301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/temp/deptadmin"/>
- <submission id="TRRPS04001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/grid/educlist"/>
- <submission id="TXRPS04001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/grid/educlist" resultref="/root/temp"/>
- <submission id="TRRPS04102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/emplsearch" resultref="/root/main/list2"/>
- <submission id="TRRPS04103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/emplsearch" resultref="/root/main/list3"/>
- <submission id="TRRPS00304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/emplsearch" resultref="/root/main/list3"/>
- <submission id="TXRPS04101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save/eductrgtmanlist" resultref="/root/temp"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
- <script type="javascript" src="../../../mis/educationmngtweb/js/RPS001.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript">
- <![CDATA[
- var SAVE_FLAG = true; // true이면 무조건 저장... false이면 이수자목록을 남겨두고 다른 교육코드를 선택해도 이수자목록을 유지한다.
- var INSERT_FLAG = false; // INSERT_FLAG true이면 insert상태값만 getUpdateData에서 가져간다.
- var Row = 0; // 새로 조회되었을때 교육코드의 목록을 선택하기 위해 이전 row를 저장해둘 변수
-
- function fEmpListRetrieve() {
- model.setValue("/root/send/emplsearch/appyy", grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("appyy")));
- model.setValue("/root/send/emplsearch/depteduccd", grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("depteduccd")));
-
- model.removeNodeset("/root/main/list3/emplist");
- submit("TRRPS04103");
- }
-
- 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(iRowIdx != -1) continue;
- grd_eductrgtmanlist.addRow(false);
- grd_eductrgtmanlist.addStatus(iRowIdx, "insert");
- fSetTrgtManInfo(grd_eductrgtmanlist.row, i);
- }
- }
- }
-
- function fSetTrgtManInfo(iTrgtManRowIdx, iEmpListRowIdx) {
- model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/depteduccd", grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("depteduccd")) );
- model.setValue(grd_eductrgtmanlist.nodeset + "[" + iTrgtManRowIdx + "]/appyy", grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("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 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 {
- grd_eductrgtmanlist.addRow(false);
-
- model.setValue(grd_eductrgtmanlist.nodeset + "[" + grd_eductrgtmanlist.row + "]/depteduccd", model.getValue(grd_educlist.nodeset + "[" + grd_educlist.row + "]/depteduccd"));
- 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 fSave() {
- model.removenode("/root/send/save");
- model.makeNode("/root/send/save/eductrgtmanlist");
- if( INSERT_FLAG ) {
- model.setValue("/root/send/save/eductrgtmanlist",grd_eductrgtmanlist.getUpdateData("insert") );
- }
- else {
- model.setValue("/root/send/save/eductrgtmanlist",grd_eductrgtmanlist.getUpdateData() );
- }
- model.refresh();
- if( submit("TXRPS04101") ){
- if(messageBox("같은 이수자 목록으로 ","Q003") =="6") {
- SAVE_FLAG = false;
- INSERT_FLAG = true;
- for( var idx = grd_eductrgtmanlist.fixedRows; idx < grd_eductrgtmanlist.rows; ) {
- if( grd_eductrgtmanlist.rowStatus(idx) != "1" ) {
- grd_eductrgtmanlist.deleteRow(idx,false);
- }
- else {
- idx++;
- }
- }
- }
- else {
- SAVE_FLAG = true;
- 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--;
- }
- }
- model.refresh();
- }
-
- function fEducTrgtManListRetrieve() {
- model.setValue("/root/send/emplsearch/appyy", grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("appyy")));
- model.setValue("/root/send/emplsearch/depteduccd", grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("depteduccd")));
-
- submit("TRRPS04102");
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body 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="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1118px; top:17px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("ipt_appyy")) return;
-
- submit("TRRPS04001");
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1100px; y1:16px; x2:1100px; y2:38px; "/>
- <line id="line8" class="line_1" style="x1:0px; y1:73px; x2:1195px; y2:73px; "/>
- <caption id="caption20" class="tit_2" style="left:5px; top:59px; width:169px; height:13px; ">교육코드 목록</caption>
- <caption id="cap_appyy" class="search_name" style="left:41px; top:18px; width:101px; height:17px; ">적 용 년 도 :</caption>
- <input id="ipt_appyy" ref="/root/send/search/appyy" class="input_s_essential" inputtype="date" format="yyyy" style="left:144px; top:18px; width:95px; height:19px; text-align:center; "/>
- <caption id="cap_educflag" class="search_name" style="left:755px; top:18px; width:101px; height:17px; ">교 육 구 분 :</caption>
- <select1 id="cmb_educflag" ref="/root/send/search/educflag" class="combo_search" appearance="minimal" style="left:860px; top:18px; width:110px; height:19px; text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <datagrid id="grd_educlist" nodeset="/root/main/grid/educlist" autoresize="true" caption="부서교육코드^연도^주체단위^주체기관코드^부(실)^부서코드^과(팀)^팀코드^부서^유닛코드^교육구분^의료기관평가코드^교육명^차수^교육기간^교육기간^교육시간^교육
총시간^교육장소^신입
인원^재직원
인원^총인원^등록완료인원^강사^예산^실시기관코드" colsep="^" colwidth="40, 50, 50, 62, 120, 40, 110, 40, 100, 40, 100, 120, 200, 40, 95, 95, 102, 45, 140, 50, 50, 50, 56, 100, 110" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" selectionmode="byrow" style="left:0px; top:77px; width:1194px; height:218px; ">
- <col ref="depteduccd" visibility="hidden"/>
- <col class="input_s_essential" ref="appyy" _key="true" style="text-align:center; "/>
- <col class="combo_s_essential" ref="mainbdunit" visibility="hidden"/>
- <col ref="posinstcd" visibility="hidden"/>
- <col ref="chrgdeptnm" type="output" visibility="hidden" style="text-align:center; "/>
- <col ref="chrgdeptcd" visibility="hidden"/>
- <col ref="chrgteamnm" type="output" visibility="hidden" style="text-align:center; "/>
- <col ref="chrgteamcd" visibility="hidden"/>
- <col class="input_s_essential" ref="chrgunitnm" type="inputbutton" style="text-align:center; "/>
- <col class="input_s_essential" ref="chrgunitcd" visibility="hidden"/>
- <col class="input_s_essential" ref="educflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="medinstvalucd" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col class="input_s_essential" ref="educnm" type="input" maxlength="300"/>
- <col class="combo_s_essential" ref="educdg" type="input" visibility="hidden" format="###" maxlength="3" style="text-align:center; "/>
- <col class="input_s_essential" ref="educfromdd" type="inputdate" _key="true" style="text-align:center; "/>
- <col class="input_s_essential" ref="eductodd" type="inputdate" _key="true" style="text-align:center; "/>
- <col class="input_s_essential" ref="eductime" type="input" maxlength="20" style="text-align:center; "/>
- <col class="input_s_essential" ref="eductm" type="input" format="#####" maxlength="5" style="text-align:center; "/>
- <col class="combo_s_essential" ref="educplce" type="input" style="text-align:left; "/>
- <col class="input_s_essential" ref="newpsn" type="input" format="####" maxlength="4" style="text-align:center; "/>
- <col class="input_s_essential" ref="oldpsn" type="input" format="####" maxlength="4" style="text-align:center; "/>
- <col class="input_search" ref="totalpsn" format="####" maxlength="4" style="text-align:center; "/>
- <col class="input_search" ref="cmpltcurspsnno" format="####" maxlength="4" style="color:#ff0000; text-align:center; "/>
- <col class="input_search" ref="lactr" type="input" maxlength="30" style="text-align:left; "/>
- <col class="input_search" ref="bugt" type="input" format="#,###" maxlength="10" style="text-align:right; "/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if(grd_educlist.col == grd_educlist.colRef("chrgunitnm")) {
- var recv_list = "chrgunitcd,chrgunitnm";
- misfOpenPopUpList("02", grd_educlist,"", recv_list, grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("posinstcd")), "instcd") ;
-
- // unit이 달라지면 상위 부서도 가져온다..
- model.setValue("/root/send/search/grdunitcd", grd_educlist.valueMatrix(grd_educlist.row,grd_educlist.colRef("chrgunitcd")) );
- model.setValue("/root/send/search/emplno", "" );
- submit("TRRPS04000");
-
- grd_educlist.valueMatrix(grd_educlist.row,grd_educlist.colRef("chrgdeptnm")) = model.getValue("/root/init/emplinfo/dutdeptnm");
- grd_educlist.valueMatrix(grd_educlist.row,grd_educlist.colRef("chrgdeptcd")) = model.getValue("/root/init/emplinfo/dutdeptcd");
- grd_educlist.valueMatrix(grd_educlist.row,grd_educlist.colRef("chrgteamnm")) = model.getValue("/root/init/emplinfo/dutteamnm");
- grd_educlist.valueMatrix(grd_educlist.row,grd_educlist.colRef("chrgteamcd")) = model.getValue("/root/init/emplinfo/dutteamcd");
-
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( grd_educlist.col == grd_educlist.colRef("newpsn") || grd_educlist.col == grd_educlist.colRef("oldpsn") ) {
- grd_educlist.valueMatrix(grd_educlist.row,grd_educlist.colRef("totalpsn"))
- = parseInt(grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("newpsn")))
- + parseInt(grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("oldpsn")));
- }
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- model.removenode("/root/send/save");
- model.makeNode("/root/send/save/eductrgtmanlist");
- if(SAVE_FLAG) {
- fEducTrgtManListRetrieve();
- }
- else {
- for(var idx = grd_eductrgtmanlist.fixedRows; idx <= grd_eductrgtmanlist.rows; idx++ ) {
- grd_eductrgtmanlist.valueMatrix(idx, grd_eductrgtmanlist.colRef("depteduccd")) = grd_educlist.valueMatrix(grd_educlist.row,grd_educlist.colRef("depteduccd"));
- }
- }
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <button id="btn_del" class="btn2_letter3" style="left:1071px; top:53px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("ipt_appyy")) return;
-
- misfGridIUD(grd_educlist, "D");
- SAVE_FLAG = true;
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_add" class="btn2_letter3" style="left:1016px; top:53px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("ipt_appyy")) return;
-
- misfGridIUD(grd_educlist, "A");
- grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("appyy")) = ipt_appyy.value;
- grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("mainbdunit")) = "3";
- grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("posinstcd")) = ipt_posinstcd.value;
- grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("chrgdeptnm")) = ipt_chrgdeptnm.value;
- grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("chrgdeptcd")) = ipt_chrgdeptcd.value;
- grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("chrgteamnm")) = ipt_chrgteamnm.value;
- grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("chrgteamcd")) = ipt_chrgteamcd.value;
- grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("chrgunitnm")) = ipt_chrgunitnm.value;
- grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("chrgunitcd")) = ipt_chrgunitcd.value;
-
- grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("educflag")) = cmb_educflag.value;
- grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("newpsn")) = "0";
- grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("oldpsn")) = "0";
- grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("totalpsn")) = "0";
- grd_educlist.valueMatrix(grd_educlist.row, grd_educlist.colRef("cmpltcurspsnno")) = "0";
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_init" class="btn2_letter4" style="left:1130px; top:53px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfSaveExcel(grd_educlist);
- ]]>
- </script>
- </button>
- <input id="ipt_chrgdeptnm" ref="/root/send/search/chrgdeptnm" class="input_search" disabled="true" visibility="hidden" appearance="input" style="left:255px; top:45px; width:125px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( ipt_chrgdeptnm.value.getByteLength() == '0' ) {
- ipt_chrgdeptcd.value = "" ;
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_chrgdeptcd" ref="/root/send/search/chrgdeptcd" disabled="true" visibility="hidden" style="left:345px; top:35px; width:50px; height:19px; "/>
- <input id="ipt_posinstcd" ref="/root/send/search/posinstcd" visibility="hidden" style="left:680px; top:50px; width:50px; height:19px; "/>
- <input id="ipt_chrgteamnm" ref="/root/send/search/chrgteamnm" class="input_search" disabled="true" visibility="hidden" appearance="input" style="left:495px; top:45px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( ipt_chrgteamnm.value.getByteLength() == '0' ) {
- ipt_chrgteamcd.value = "" ;
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_chrgteamcd" ref="/root/send/search/chrgteamcd" disabled="true" visibility="hidden" style="left:560px; top:35px; width:50px; height:19px; "/>
- <button id="btn_unit" class="icon_search" style="left:565px; top:18px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("02", ipt_chrgunitnm, "", "chrgunitcd,chrgunitnm", ipt_posinstcd.value, "instcd");
-
- // unit이 달라지면 상위 부서도 가져온다..
- model.setValue("/root/send/search/grdunitcd", ipt_chrgunitcd.value);
- model.setValue("/root/send/search/emplno", "" );
- submit("TRRPS04000");
-
- model.setValue("/root/send/search/chrgdeptnm", model.getValue("/root/init/emplinfo/dutdeptnm"));
- model.setValue("/root/send/search/chrgdeptcd", model.getValue("/root/init/emplinfo/dutdeptcd"));
- model.setValue("/root/send/search/chrgteamnm", model.getValue("/root/init/emplinfo/dutteamnm"));
- model.setValue("/root/send/search/chrgteamcd", model.getValue("/root/init/emplinfo/dutteamcd"));
-
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption3" class="search_name" style="left:325px; top:18px; width:86px; height:17px; ">부 서 :</caption>
- <input id="ipt_chrgunitnm" ref="/root/send/search/chrgunitnm" class="input_search" appearance="input" style="left:410px; top:18px; width:150px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( ipt_chrgunitnm.value.getByteLength() == '0' ) {
- ipt_chrgunitcd.value = "" ;
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_chrgunitcd" ref="/root/send/search/chrgunitcd" disabled="true" visibility="visible" style="left:585px; top:18px; width:85px; height:19px; text-align:center; "/>
- <input id="ipt_emplno" ref="/root/send/search/emplno" visibility="hidden" style="left:845px; top:50px; width:90px; height:19px; "/>
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:300px; width:1195px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_dutunit" class="icon_search" style="left:224px; top:333px; 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>
- <button id="button1" class="icon_search" style="left:632px; top:333px; 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_search2" class="btn1_letter2" style="left:1118px; top:321px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- for(var idx = grd_educlist.fixedRows; idx <= grd_educlist.rows; idx++) {
- if( grd_educlist.rowStatus(idx) == 0 ) continue;
- else {
- if(messageBox("변경된 교육코드가 있습니다. 저장하시겠습니까?","Q999") == '6') {
- misfSave("TXRPS04001");
- }
- }
- }
-
- if( grd_educlist.rows == 1 ) {
- model.setValue("/root/send/emplsearch/appyy", ipt_appyy.value);
- model.removeNodeset("/root/main/list3/emplist");
- submit("TRRPS00304");
- }
- else {
- fEmpListRetrieve();
- }
- ]]>
- </script>
- </button>
- <input id="ipt_frentcodd" ref="/root/send/emplsearch/frentcodd" class="input_s_essential" inputtype="date" style="left:540px; top:308px; width:88px; height:19px; "/>
- <input id="ipt_toentcodd" ref="/root/send/emplsearch/toentcodd" class="input_s_essential" inputtype="date" style="left:652px; top:308px; width:88px; height:19px; "/>
- <caption id="caption21" class="search_name" style="left:428px; top:308px; width:121px; height:17px; ">입 사 일 자 :</caption>
- <input id="ipt_dutunitnm" ref="/root/send/emplsearch/dutunitnm" class="input_search" navindex="3" style="left:243px; top:333px; width:150px; 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="caption22" style="left:635px; top:308px; width:11px; height:20px; ">~</caption>
- <input id="ipt_dutunitcd" ref="/root/send/emplsearch/dutunitcd" class="input_search" navindex="2" visibility="visible" maxlength="10" style="left:144px; top:333px; width:78px; 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="caption4" class="search_name" style="left:428px; top:333px; width:110px; height:17px; ">성 명 :</caption>
- <input id="ipt_emplnm" ref="/root/send/emplsearch/emplnm" class="input_search" navindex="3" style="left:540px; top:333px; width:90px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var recv_list = "emplno,emplnm";
- rpbfValidationCheck("emplno", recv_list);
- model.refresh();
- ]]>
- </script>
- </input>
- <line id="line1" class="line_4" style="x1:1100px; y1:305px; x2:1100px; y2:357px; "/>
- <input id="input1" ref="/root/send/emplsearch/emplno" class="input_search" navindex="2" visibility="visible" maxlength="10" style="left:652px; top:333px; width:88px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var recv_list = "emplno,emplnm";
- rpbfValidationCheck("emplnm", recv_list);
- model.refresh();
- ]]>
- </script>
- </input>
- <select1 id="cmb_dutinstcd" ref="/root/send/emplsearch/instcd" class="combo_s_essential" appearance="minimal" style="left:145px; top:308px; width:248px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption17" class="search_name" style="left:41px; top:333px; width:115px; height:17px; ">근 무 부 서 :</caption>
- <caption id="caption8" class="search_name" style="left:41px; top:308px; width:116px; height:17px; ">기 관 :</caption>
- <datagrid id="grd_emplist" nodeset="/root/main/list3/emplist" autoresize="true" caption="^사원번호^성명^교직구분코드^교직구분^근무기관코드^근무기관^근무부서코드^근무부서^성직구분코드^성직구분^직군코드^직군^신직급코드^신직급^년차^직종코드^직종^직책코드^직책^성별^입사일자^cmc입사일" colsep="^" colwidth="25, 65, 60, 0, 60, 0, 110, 0, 100, 0, 55, 0, 70, 0, 53, 35, 0, 68, 0, 38, 42, 66, 70" dataheight="25" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="byrow" style="left:0px; top:389px; width:581px; height:344px; ">
- <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>
- <item>
- <label>남</label>
- <value>M</value>
- </item>
- <item>
- <label>여</label>
- <value>F</value>
- </item>
- </choices>
- </col>
- <col ref="entcodd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="cmcentcodd" 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.valueMatrix(grd_educlist.row,grd_educlist.colRef("depteduccd")) == "" ) {
- 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;
- }
-
- // 직원을 이수자로 등록한다.
- grd_eductrgtmanlist.addRow(false);
- fSetTrgtManInfo(grd_eductrgtmanlist.row, grd_emplist.row);
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <button id="btn_remove" class="btn2_letter3" style="left:528px; top:364px; width:53px; height:19px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removenode("/root/main/list3");
- grd_emplist.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption16" class="tit_2" style="left:0px; top:369px; width:169px; height:13px; ">교직원목록</caption>
- <button id="btn_saveexcel" class="btn2_letter4" style="left:1005px; top:364px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfSaveExcel(grd_eductrgtmanlist);
- ]]>
- </script>
- </button>
- <button id="btn_delrow" class="btn2_letter3" style="left:1138px; top:364px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- INSERT_FLAG = false;
- 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.valueMatrix(i, grd_eductrgtmanlist.colRef("depteduccd")) = grd_educlist.valueMatrix(grd_educlist.row,grd_educlist.colRef("depteduccd"));
- }
- }
- grd_eductrgtmanlist.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption13" class="tit_2" style="left:615px; top:369px; width:169px; height:13px; ">이수자 목록</caption>
- <button id="btn_loadexcel" class="btn2_letter4" style="left:1070px; top:364px; width:64px; height:19px; ">
- <caption>엑셀입력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fLoadExcel();
- ]]>
- </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:1065px; top:620px; width:120px; height:96px; ">
- <col ref="emplno" style="text-align:center; "/>
- </datagrid>
- <line id="line3" class="line_1" style="x1:615px; y1:385px; x2:1195px; y2:386px; "/>
- <line id="line2" class="line_1" style="x1:0px; y1:385px; x2:581px; y2:386px; "/>
- <img id="btn_addtrgtman" class="icon_right" style="left:584px; top:550px; width:26px; height:19px; background-stretch:stretch; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if( grd_educlist.valueMatrix(grd_educlist.row,grd_educlist.colRef("depteduccd")) == "" ) {
- 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;
- }
- fRgstTrgtManList();
- model.refresh();
- ]]>
- </script>
- </img>
- <datagrid id="grd_eductrgtmanlist" nodeset="/root/main/list2/eductrgtmanlist" autoresize="true" caption="교육코드^적용년월^^사원번호^성명^교직구분코드^교직구분^근무기관코드^근무기관^근무부서코드^근무부서^성직구분코드^성직구분^직군코드^직군^신직급코드^신직급^현직급발령일^년차^직종코드^직종^직책코드^직책^직책발령일자^성별^입사일자^cmc입사일" colsep="^" colwidth="72, 72, 25, 65, 60, 0, 60, 0, 110, 0, 100, 0, 54, 0, 70, 0, 53, 100, 35, 0, 67, 0, 40, 100, 41, 66, 69" dataheight="25" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" selectionmode="byrow" style="left:613px; top:389px; width:581px; height:344px; ">
- <col ref="depteduccd" visibility="hidden"/>
- <col ref="appyy" visibility="hidden"/>
- <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="jobgradorddd" format="yyyy-mm-dd"/>
- <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"/>
- <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" format="yyyy-mm-dd" style="text-align:center; "/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_eductrgtmanlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <input id="ipt_cmctodd" ref="/root/send/emplsearch/cmctodd" class="input_search" inputtype="date" style="left:988px; top:308px; width:88px; height:19px; "/>
- <input id="ipt_cmcfromdd" ref="/root/send/emplsearch/cmcfromdd" class="input_search" inputtype="date" style="left:885px; top:308px; width:88px; height:19px; "/>
- <caption id="caption28" class="search_name" style="left:772px; top:310px; width:143px; height:17px; ">CMC 입사일 :</caption>
- <caption id="caption29" style="left:975px; top:310px; width:16px; height:16px; ">~</caption>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" style="left:1139px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( checkKeyColumn("grd_educlist") == false) return;
-
- if(misfSave("TXRPS04001")) {
- }
-
- Row = grd_educlist.row;
-
- if( grd_eductrgtmanlist.rows != "1" ) {
- var rowcnt = grd_eductrgtmanlist.rows-1;
- for( var i = 0; i < rowcnt; i++ ) {
- grd_eductrgtmanlist.fixedcellischeck(i, grd_eductrgtmanlist.colRef("chk")) = false; // 전체 체크박스를 초기화
- }
- grd_eductrgtmanlist.refresh();
-
- fSave();
- }
- btn_search.dispatch("DOMActivate");
- grd_educlist.row = Row;
- grd_educlist.dispatch("onrowchanged");
- model.refresh();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|