123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948 |
- <?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>SMRPS01400_외부교육참가보고</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <rpsmedap/>
- </main>
- <send>
- <save/>
- <search>
- <name/>
- <searchflag/>
- <count/>
- </search>
- </send>
- <init>
- <search>
- <appyy/>
- <chrgunitcd/>
- <chrgunitnm/>
- <educflag/>
- <emplno/>
- <emplnm/>
- <instcd/>
- <chrgdeptcd/>
- <chrgdeptnm/>
- <chrgteamcd/>
- <chrgteamnm/>
- <grdunitcd/>
- <posinstcd/>
- </search>
- <report>
- <educsubj/>
- <lactr/>
- <meetpsn/>
- <educcnts/>
- <entryeffect/>
- <banknm/>
- <acntno/>
- <depor/>
- </report>
- </init>
- <temp>
- </temp>
- <print>
- <rpsmedap/>
- </print>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/educationmngtweb/js/RPS001.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- misfGetUserAuth();
- fInit();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- var ROW = 0;
-
- function fInit() {
- grd_rpsmedap.rowHeight(0) = 40;
-
- model.setValue(ipt_appyy.attribute("ref"), getCurrentDate().substr(0, 4));
- model.removeNodeset("/root/main/rpsmedap");
-
- misfGridInit(grd_rpsmedap);
- misfMsterDetailSet(grd_rpsmedap,null, "TRRPS01401" ,"N");
-
- rpsEducSetComboList("M01-008,M01-008", "grd_rpsmedap.educflag,cmb_educflag", "N");
- addGridComboItem("cmb_educflag", "- 전체 -", "","above"); // 교육구분 콤보박스에 '전체'를 추가
-
- misfGetUserAuth();
- fCheckAuth();
-
- // user정보조회
- model.setValue(ipt_emplno.attribute("ref"),getUserInfo("userid"));
- model.setValue(ipt_emplnm.attribute("ref"),getUserInfo("usernm"));
- submit("TRRPS04000");
-
- var curdate = getCurrentDate();
- model.setValue(ipt_appyy.attribute("ref") , curdate.substr(0, 4));
- model.setValue(ipt_instcd.attribute("ref"),model.getValue("/root/init/emplinfo/dutplceinst"));
- model.setValue("/root/init/search/posinstcd",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.refresh();
-
- if ( DUTY_EDU_YN == 'Y' || DUTY_RESP_YN == "Y" || getUserInfo("dutplcecd") == "4020500000" ) {
- ipt_chrgdeptnm.disabled = false;
- ipt_chrgteamnm.disabled = false;
- ipt_chrgunitnm.disabled = false;
- btn_dept.disabled = false;
- btn_team.disabled = false;
- btn_unit.disabled = false;
-
- ipt_emplnm.disabled = false;
- ipt_emplno.disabled = false;
- btn_emplsearch.disabled = false;
- }
- else {
- fCheckDisabled(); // 관리자인지 체크하여 기본 조회부분의 활성화/비활성화를 결정한다.
- }
-
-
-
- grd_rpsmedap.selectionMode = "byrow";
- model.refresh();
- }
-
- function fCheckAuth() {
- btn_save.disabled = !checkAuth("X") ;
- }
-
- function fCheckAdmin() {
- // 부서교육관리자로 등록된 사람인지 체크
- model.setValue("/root/init/search/instcd", model.getValue("/root/init/emplinfo/dutplceinst"));
- model.setValue("/root/init/search/posinstcd", model.getValue("/root/init/emplinfo/dutplceinst"));
- submit("TRRPS04999");
-
- if( model.getValue("/root/init/deptadmin/emplno") == ipt_emplno.value ) {
- ipt_emplnm.disabled = false;
- ipt_emplno.disabled = false;
- btn_emplsearch.disabled = false;
- }
- else {
- ipt_emplnm.disabled = true;
- ipt_emplno.disabled = true;
- btn_emplsearch.disabled = true;
- }
- model.refresh();
- }
-
- function fCheckDisabled () {
- fCheckAdmin();
-
- if( model.getValue("/root/init/deptadmin/teamyn") == "Y") {
- ipt_chrgteamnm.disabled = false;
- ipt_chrgunitnm.disabled = false;
- btn_team.disabled = false;
- btn_unit.disabled = false;
- }
- else if (model.getValue("/root/init/deptadmin/unityn") == "Y") {
- ipt_chrgunitnm.disabled = false;
- btn_unit.disabled = false;
- }
- else {
- ipt_chrgteamnm.disabled = true;
- ipt_chrgunitnm.disabled = true;
- btn_team.disabled = true;
- btn_unit.disabled = true;
- }
- model.refresh();
- }
-
- function fSetData() {
- // 조회된 내용을 컨트롤에 보여준다.
- model.setValue("/root/init/report/educsubj", model.getValue("/root/main/rpsmedap["+(grd_rpsmedap.row-1)+"]/educsubj"));
- model.setValue("/root/init/report/lactr", model.getValue("/root/main/rpsmedap["+(grd_rpsmedap.row-1)+"]/lactr"));
- model.setValue("/root/init/report/meetpsn", model.getValue("/root/main/rpsmedap["+(grd_rpsmedap.row-1)+"]/meetpsn"));
- model.setValue("/root/init/report/educcnts", model.getValue("/root/main/rpsmedap["+(grd_rpsmedap.row-1)+"]/educcnts"));
- model.setValue("/root/init/report/entryeffect", model.getValue("/root/main/rpsmedap["+(grd_rpsmedap.row-1)+"]/entryeffect"));
- model.setValue("/root/init/report/banknm", model.getValue("/root/main/rpsmedap["+(grd_rpsmedap.row-1)+"]/banknm"));
- model.setValue("/root/init/report/acntno", model.getValue("/root/main/rpsmedap["+(grd_rpsmedap.row-1)+"]/acntno"));
- model.setValue("/root/init/report/depor", model.getValue("/root/main/rpsmedap["+(grd_rpsmedap.row-1)+"]/depor"));
-
- model.refresh();
- }
-
- function fClearData() {
- model.removenode("/root/init/report");
- model.makeNode("/root/init/report/educsubj");
- model.makeNode("/root/init/report/lactr");
- model.makeNode("/root/init/report/meetpsn");
- model.makeNode("/root/init/report/educcnts");
- model.makeNode("/root/init/report/entryeffect");
- model.makeNode("/root/init/report/banknm");
- model.makeNode("/root/init/report/acntno");
- model.makeNode("/root/init/report/depor");
-
- model.refresh();
- }
-
- function fSearch(pColRef, pValue, pErrorValue, pCount)
- {
- var endRow = grd_rpsmedap.row;
- var endRows = grd_rpsmedap.rows;
- var count = 0;
-
- var pStartRow = grd_rpsmedap.fixedRows;
-
- if( (grd_rpsmedap.row+1) == grd_rpsmedap.rows) {
- pStartRow = grd_rpsmedap.fixedRows;
- }else {
- pStartRow = grd_rpsmedap.row+1;
- }
-
- for(var i = grd_rpsmedap.fixedRows; i < grd_rpsmedap.rows; i++) {
- if(pValue == grd_rpsmedap.valueMatrix(i, grd_rpsmedap.colRef(pColRef))) {
- count++;
- }
- }
-
- pCount.value = count;
- for(var i = pStartRow; i <= endRows; i++) {
- if(pValue == grd_rpsmedap.valueMatrix(i, grd_rpsmedap.colRef(pColRef))) {
- grd_rpsmedap.select(i, 3) = true;
- grd_rpsmedap.row = i;
- return;
- }
-
- if(i == grd_rpsmedap.rows) {
- endRows = endRow;
- i=0;
- }else if(endRow == i) {
- messageBox("조회한 " + cmb_search.label + "[" + pErrorValue + "]" + "가 없습니다.", "");
- return;
- }
- }
- }
-
- function fCheckNull()
- {
- var row = grd_rpsmedap.row;
- for( var idx = grd_rpsmedap.fixedRows; idx <= grd_rpsmedap.rows; idx++ ) {
- if( grd_rpsmedap.rowStatus(idx) == '1' || grd_rpsmedap.rowStatus(idx) == '3' ) {
- if(grd_rpsmedap.valueMatrix(idx, grd_rpsmedap.colRef("educflag")).length == 0)
- {
- messageBox("교육구분을" ,"C002");
- grd_rpsmedap.row= row;
- grd_rpsmedap.col= grd_rpsmedap.colRef("educflag");
- grd_rpsmedap.editCell();
- return false;
- }
- else if(grd_rpsmedap.valueMatrix(idx, grd_rpsmedap.colRef("educnm")).length == 0)
- {
- messageBox("교육명을" ,"C001");
- grd_rpsmedap.row= row;
- grd_rpsmedap.col= grd_rpsmedap.colRef("educnm");
- grd_rpsmedap.editCell();
- return false;
- }
- else if(grd_rpsmedap.valueMatrix(idx, grd_rpsmedap.colRef("educfromdd")).length == 0)
- {
- messageBox("교육시작일자를" ,"C001");
- grd_rpsmedap.row= row;
- grd_rpsmedap.col= grd_rpsmedap.colRef("educfromdd");
- grd_rpsmedap.editCell();
- return false;
- }
- else if(grd_rpsmedap.valueMatrix(idx, grd_rpsmedap.colRef("eductodd")).length == 0)
- {
- messageBox("교육종료일자를" ,"C001");
- grd_rpsmedap.row= row;
- grd_rpsmedap.col= grd_rpsmedap.colRef("eductodd");
- grd_rpsmedap.editCell();
- return false;
- }
- else if(grd_rpsmedap.valueMatrix(idx, grd_rpsmedap.colRef("educplce")).length == 0)
- {
- messageBox("교육장소를" ,"C001");
- grd_rpsmedap.row= row;
- grd_rpsmedap.col= grd_rpsmedap.colRef("educplce");
- grd_rpsmedap.editCell();
- return false;
- }
- else if(grd_rpsmedap.valueMatrix(idx, grd_rpsmedap.colRef("mainbdinstnm")).length == 0)
- {
- messageBox("주최기관을" ,"C001");
- grd_rpsmedap.row= row;
- grd_rpsmedap.col= grd_rpsmedap.colRef("mainbdinstnm");
- grd_rpsmedap.editCell();
- return false;
- }
- else return true;
- }
- else return true;
- }
- }
- ]]>
- </script>
- <submission id="TRRPS01401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/init/search" resultref="/root/main/rpsmedap"/>
- <submission id="TXRPS01401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/tmp"/>
- <submission id="TRRPS04000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/init/search" resultref="/root/init/emplinfo"/>
- <submission id="TRRPS04999" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/init/search" resultref="/root/init/deptadmin"/>
- </model>
- </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; "/>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" style="left:1135px; top:2px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/save",grd_rpsmedap.getUpdateData());
- model.refresh();
-
- if( !fCheckNull() ) {
- return;
- }
-
- if(submit("TXRPS01401")) {
- messageBox("처리되었습니다.","I999");
- btn_search.dispatch("DOMActivate");
- grd_rpsmedap.dispatch("ondblclick");
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:38px; width:1185px; height:627px; "/>
- <group id="group4" scroll="auto" style="left:0px; top:38px; width:1195px; height:737px; ">
- <shape id="roundrect3" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:1px; width:1195px; height:59px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line5" class="line_1" style="x1:0px; y1:85px; x2:1195px; y2:85px; "/>
- <caption id="caption72" class="tit_2" style="left:5px; top:71px; width:309px; height:13px; ">외부교육등록 (학회,연수,보수교육,기타외부교육)</caption>
- <datagrid id="grd_rpsmedap" nodeset="/root/main/rpsmedap" autoresize="true" caption="외부교육코드^년도^부(실)^부(실)코드^과(팀)^과(팀)코드^부서^부서코드^사원번호^이름^교육구분
(선택)^교 육 명^교육기간
(ex, 2009-01-01~2009-01-01)^교육기간
(ex, 2009-01-01~2009-01-01)^교육총시간
(단위: 시간
ex, 8)^교육일수
(단위:일
ex, 1)^교육장소^주최기관^공가여부^공가여부^등록비지원여부^등록비지원여부^실등록비^등록비지원금^교통비^체재비^보고서
작성여부^교육주제^강사^만난사람들^교육내용^참가효과^은행명^계좌번호^예금주^직위^최초저장일^기관코드|외부교육코드^년도^부(실)^부(실)코드^과(팀)^과(팀)코드^부서^부서코드^사원번호^이름^교육구분
(선택)^교 육 명^교육기간
(ex, 2009-01-01~2009-01-01)^교육기간
(ex, 2009-01-01~2009-01-01)^교육총시간
(단위: 시간
ex, 8)^교육일수
(단위:일
ex, 1)^교육장소^주최기관^유^무^유^무^실등록비^등록비지원금^교통비^체재비^보고서
작성여부^교육주제^강사^만난사람들^교육내용^참가효과^은행명^계좌번호^예금주^직위^최초저장일^기관코드" colsep="^" colwidth="40, 41, 100, 100, 100, 100, 100, 100, 80, 60, 100, 195, 100, 100, 76, 60, 96, 141, 45, 45, 45, 45, 100, 100, 100, 100, 60, 43, 31, 37, 33, 39, 37, 100, 100, 100, 100, 100" dataheight="25" frozencols="10" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:90px; width:1195px; height:260px; ">
- <col ref="outeduccd" visibility="hidden"/>
- <col class="input_search" ref="appyy" style="text-align:center; "/>
- <col class="input_search" ref="deptnm"/>
- <col class="input_search" ref="deptcd" visibility="hidden"/>
- <col class="input_search" ref="teamnm"/>
- <col class="input_search" ref="teamcd" visibility="hidden"/>
- <col class="input_search" ref="unitnm"/>
- <col class="input_search" ref="unitcd" visibility="hidden"/>
- <col class="input_search" ref="emplno" type="output" style="text-align:center; "/>
- <col class="input_search" ref="emplnm" style="text-align:center; "/>
- <col class="combo_s_essential" ref="educflag" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col class="input_s_essential" ref="educnm" type="input" maxbyte="80"/>
- <col class="input_s_essential" ref="educfromdd" type="inputdate"/>
- <col class="input_s_essential" ref="eductodd" type="inputdate"/>
- <col class="input_s_essential" imemode="alpha" ref="eductm" type="input" maxbyte="10"/>
- <col class="input_s_essential" imemode="alpha" ref="educdayno" type="input" maxbyte="3"/>
- <col class="input_s_essential" ref="educplce" type="input" maxbyte="80"/>
- <col class="input_s_essential" ref="mainbdinstnm" type="input" maxbyte="80"/>
- <col checkvalue="Y,N" ref="offcholidayy" type="checkbox"/>
- <col checkvalue="Y,N" ref="offcholidayn" type="checkbox"/>
- <col checkvalue="Y,N" ref="rgstamty" type="checkbox"/>
- <col checkvalue="Y,N" ref="rgstamtn" type="checkbox"/>
- <col class="input_s_essential" ref="realrgstamt" type="input" format="#,###" maxlength="10"/>
- <col class="input_s_essential" ref="rgstamt" type="input" format="#,###" maxlength="10"/>
- <col class="input_s_essential" ref="movecost" type="input" format="#,###" maxlength="10"/>
- <col class="input_s_essential" ref="staycost" type="input" format="#,###" maxlength="10"/>
- <col ref="reportyn" visibility="hidden"/>
- <col ref="educsubj" visibility="hidden"/>
- <col ref="lactr" visibility="hidden"/>
- <col ref="meetpsn" visibility="hidden"/>
- <col ref="educcnts" visibility="hidden"/>
- <col ref="entryeffect" visibility="hidden"/>
- <col ref="banknm" visibility="hidden"/>
- <col ref="acntno" visibility="hidden"/>
- <col ref="depor" visibility="hidden"/>
- <col ref="jobposnm" visibility="hidden"/>
- <col ref="fstrgstdt" visibility="hidden"/>
- <col ref="dutinstcd" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if ( grd_rpsmedap.rowStatus(grd_rpsmedap.row) != "0" ) return;
-
- fClearData();
- fSetData();
- if( grd_rpsmedap.valueMatrix(grd_rpsmedap.row, grd_rpsmedap.colRef("reportyn")) == "Y") {
- btn_print.disabled = false;
- txt_educsubj.disabled = false;
- txt_lactr.disabled = false;
- txt_meetpsn.disabled = false;
- txt_educcnts.disabled = false;
- txt_entryeffect.disabled = false;
- ipt_banknm.disabled = false;
- ipt_acntno.disabled = false;
- ipt_depor.disabled = false;
- }
- else {
- btn_print.disabled = true;
- txt_educsubj.disabled = false;
- txt_lactr.disabled = false;
- txt_meetpsn.disabled = false;
- txt_educcnts.disabled = false;
- txt_entryeffect.disabled = false;
- ipt_banknm.disabled = false;
- ipt_acntno.disabled = false;
- ipt_depor.disabled = false;
- }
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 공가여부(유) 선택시 (무)는 선택취소
- if(grd_rpsmedap.col == grd_rpsmedap.colRef("offcholidayy") ) {
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row,grd_rpsmedap.colRef("offcholidayy")) = "Y";
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row,grd_rpsmedap.colRef("offcholidayn")) = "N";
- }
- // 공가여부(무) 선택시 (유)는 선택취소
- else if(grd_rpsmedap.col == grd_rpsmedap.colRef("offcholidayn") ) {
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row,grd_rpsmedap.colRef("offcholidayy")) = "N";
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row,grd_rpsmedap.colRef("offcholidayn")) = "Y";
- }
-
- // 등록비지원여부(유) 선택시 (무)는 선택취소
- if(grd_rpsmedap.col == grd_rpsmedap.colRef("rgstamty") ) {
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row,grd_rpsmedap.colRef("rgstamty")) = "Y";
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row,grd_rpsmedap.colRef("rgstamtn")) = "N";
-
- if( grd_rpsmedap.valueMatrix(grd_rpsmedap.row, grd_rpsmedap.colRef("rgstamty")) == "Y") {
- grd_rpsmedap.isReadOnly(grd_rpsmedap.row, grd_rpsmedap.colRef("rgstamt")) = false;
- grd_rpsmedap.isReadOnly(grd_rpsmedap.row, grd_rpsmedap.colRef("movecost")) = false;
- grd_rpsmedap.isReadOnly(grd_rpsmedap.row, grd_rpsmedap.colRef("staycost")) = false;
- }
- else {
- grd_rpsmedap.isReadOnly(grd_rpsmedap.row, grd_rpsmedap.colRef("rgstamt")) = true;
- grd_rpsmedap.isReadOnly(grd_rpsmedap.row, grd_rpsmedap.colRef("movecost")) = true;
- grd_rpsmedap.isReadOnly(grd_rpsmedap.row, grd_rpsmedap.colRef("staycost")) = true;
- }
- }
- // 등록비지원여부(무) 선택시 (유)는 선택취소
- else if(grd_rpsmedap.col == grd_rpsmedap.colRef("rgstamtn") ) {
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row,grd_rpsmedap.colRef("rgstamty")) = "N";
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row,grd_rpsmedap.colRef("rgstamtn")) = "Y";
-
-
- grd_rpsmedap.isReadOnly(grd_rpsmedap.row, grd_rpsmedap.colRef("rgstamt")) = true;
- grd_rpsmedap.isReadOnly(grd_rpsmedap.row, grd_rpsmedap.colRef("movecost")) = true;
- grd_rpsmedap.isReadOnly(grd_rpsmedap.row, grd_rpsmedap.colRef("staycost")) = true;
-
-
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row, grd_rpsmedap.colRef("rgstamt")) = "0";
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row, grd_rpsmedap.colRef("movecost")) = "0";
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row, grd_rpsmedap.colRef("staycost")) = "0";
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_search" class="btn1_letter2" style="left:1125px; top:20px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRRPS01401");
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line6" class="line_4" style="x1:1110px; y1:6px; x2:1110px; y2:56px; "/>
- <line id="line22" class="line_2" style="x1:6px; y1:405px; x2:101px; y2:426px; "/>
- <group id="group5" style="left:0px; top:355px; width:1195px; height:370px; ">
- <caption id="caption9" class="cell_1" style="left:2px; top:42px; width:90px; height:108px; text-align:center; vertical-align:middle; ">교 육 주 제</caption>
- <caption id="caption10" class="cell_1" style="left:2px; top:152px; width:90px; height:114px; text-align:center; vertical-align:middle; ">참 가 목 적</caption>
- <caption id="caption12" class="cell_1" style="left:2px; top:340px; width:90px; height:20px; text-align:center; vertical-align:middle; ">입 금 처</caption>
- <caption id="caption14" class="cell_1" style="left:613px; top:42px; width:90px; height:120px; text-align:center; vertical-align:middle; ">교 육 내 용</caption>
- <caption id="caption15" class="cell_1" style="left:613px; top:164px; width:90px; height:197px; text-align:center; vertical-align:middle; ">
- <![CDATA[참 가 효 과
- 및
- 적 용 방 안]]>
- </caption>
- <line id="line18" class="line_1" style="x1:0px; y1:38px; x2:1190px; y2:38px; "/>
- <caption id="caption8" class="tit_2" style="left:0px; top:5px; width:175px; height:13px; ">교육 결과 보고서</caption>
- <caption id="caption1" class="cell_1" style="left:93px; top:340px; width:58px; height:20px; text-align:left; vertical-align:middle; ">은 행 명</caption>
- <caption id="caption2" class="cell_1" style="left:265px; top:340px; width:58px; height:20px; text-align:left; vertical-align:middle; ">계좌번호</caption>
- <caption id="caption3" class="cell_1" style="left:472px; top:340px; width:58px; height:20px; text-align:left; vertical-align:middle; ">예 금 주</caption>
- <button id="btn_print" class="btn6_letter2" disabled="true" style="left:1078px; top:15px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( grd_rpsmedap.valueMatrix(grd_rpsmedap.row, grd_rpsmedap.colRef("reportyn")) == "Y") {
- btn_print.disabled = false;
- if( grd_rpsmedap.rowStatus(grd_rpsmedap.row) != '0' ) {
- if(messageBox("저장후 출력이 가능합니다. 저장하시겠습니까?","Q999") == "6") {
- model.setValue("/root/send/save",grd_rpsmedap.getUpdateData());
- model.refresh();
- submit("TXRPS01401");
- model.copyNode("/root/print/rpsmedap",grd_rpsmedap.getNode(grd_rpsmedap.row));
- exeReportPreview("RPRPS01400", "XMLSTR");
- btn_search.dispatch("DOMActivate");
- grd_rpsmedap.dispatch("ondblclick");
- }
- }
- else {
- model.copyNode("/root/print/rpsmedap",grd_rpsmedap.getNode(grd_rpsmedap.row));
- exeReportPreview("RPRPS01400", "XMLSTR");
- }
- }
- else {
- btn_print.disabled = true;
- messageBox("저장된 보고서가 없습니다.","C999");
- }
- ]]>
- </script>
- </button>
- <caption id="caption4" style="left:710px; top:17px; width:380px; height:20px; font-weight:bold; color:#ff0000; ">* 외부교육등록을 하셔야 결과 보고서를 입력하실수 있습니다.</caption>
- <button id="button1" class="btn4_letter2" style="left:1135px; top:15px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/save",grd_rpsmedap.getUpdateData());
- model.refresh();
-
- if(submit("TXRPS01401")) {
- messageBox("처리되었습니다.","I999");
- btn_search.dispatch("DOMActivate");
- grd_rpsmedap.dispatch("ondblclick");
- }
- ]]>
- </script>
- </button>
- <caption id="caption16" style="left:5px; top:20px; width:559px; height:20px; font-weight:bold; color:#ff0000; ">* 입력없이 10분이 지나면 자동로그아웃되어 입력된 자료가 취소되오니 유의하시기 바랍니다.</caption>
- <textarea id="txt_educsubj" ref="/root/init/report/educsubj" disabled="true" maxlength="330" style="left:94px; top:44px; width:513px; height:105px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(!isRequiredControls("txt_educsubj")) return;
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row, grd_rpsmedap.colRef("reportyn")) = "Y";
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row, grd_rpsmedap.colRef("educsubj")) = txt_educsubj.value;
- grd_rpsmedap.addStatus(grd_rpsmedap.row, "update");
- btn_print.disabled = false;
- ]]>
- </script>
- </textarea>
- <textarea id="txt_lactr" ref="/root/init/report/lactr" disabled="true" maxlength="330" style="left:95px; top:152px; width:513px; height:113px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(!isRequiredControls("txt_lactr")) return;
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row, grd_rpsmedap.colRef("reportyn")) = "Y";
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row, grd_rpsmedap.colRef("lactr")) = txt_lactr.value;
- grd_rpsmedap.addStatus(grd_rpsmedap.row, "update");
- btn_print.disabled = false;
- ]]>
- </script>
- </textarea>
- <textarea id="txt_educcnts" ref="/root/init/report/educcnts" disabled="true" maxlength="330" style="left:705px; top:44px; width:485px; height:117px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(!isRequiredControls("txt_educcnts")) return;
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row, grd_rpsmedap.colRef("reportyn")) = "Y";
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row, grd_rpsmedap.colRef("educcnts")) = txt_educcnts.value;
- grd_rpsmedap.addStatus(grd_rpsmedap.row, "update");
- btn_print.disabled = false;
- ]]>
- </script>
- </textarea>
- <textarea id="txt_entryeffect" ref="/root/init/report/entryeffect" disabled="true" maxlength="1000" style="left:705px; top:164px; width:485px; height:195px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(!isRequiredControls("txt_entryeffect")) return;
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row, grd_rpsmedap.colRef("reportyn")) = "Y";
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row, grd_rpsmedap.colRef("entryeffect")) = txt_entryeffect.value;
- grd_rpsmedap.addStatus(grd_rpsmedap.row, "update");
- btn_print.disabled = false;
- ]]>
- </script>
- </textarea>
- <input id="ipt_banknm" ref="/root/init/report/banknm" disabled="true" maxbyte="20" style="left:153px; top:340px; width:110px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(!isRequiredControls("ipt_banknm")) return;
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row, grd_rpsmedap.colRef("reportyn")) = "Y";
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row, grd_rpsmedap.colRef("banknm")) = ipt_banknm.value;
- grd_rpsmedap.addStatus(grd_rpsmedap.row, "update");
- btn_print.disabled = false;
- ]]>
- </script>
- </input>
- <input id="ipt_acntno" ref="/root/init/report/acntno" disabled="true" imemode="alpha" maxbyte="20" style="left:325px; top:340px; width:146px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(!isRequiredControls("ipt_acntno")) return;
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row, grd_rpsmedap.colRef("reportyn")) = "Y";
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row, grd_rpsmedap.colRef("acntno")) = ipt_acntno.value;
- grd_rpsmedap.addStatus(grd_rpsmedap.row, "update");
- btn_print.disabled = false;
- ]]>
- </script>
- </input>
- <input id="ipt_depor" ref="/root/init/report/depor" disabled="true" maxbyte="20" style="left:532px; top:340px; width:75px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(!isRequiredControls("ipt_depor")) return;
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row, grd_rpsmedap.colRef("reportyn")) = "Y";
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row, grd_rpsmedap.colRef("depor")) = ipt_depor.value;
- grd_rpsmedap.addStatus(grd_rpsmedap.row, "update");
- btn_print.disabled = false;
- ]]>
- </script>
- </input>
- <caption id="caption13" class="cell_1" style="left:2px; top:268px; width:91px; height:93px; text-align:center; vertical-align:middle; ">
- <![CDATA[비고
- (건의사항 등)]]>
- </caption>
- <textarea id="txt_meetpsn" ref="/root/init/report/meetpsn" disabled="true" maxlength="512" style="left:95px; top:267px; width:513px; height:92px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(!isRequiredControls("txt_meetpsn")) return;
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row, grd_rpsmedap.colRef("reportyn")) = "Y";
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row, grd_rpsmedap.colRef("meetpsn")) = txt_meetpsn.value;
- grd_rpsmedap.addStatus(grd_rpsmedap.row, "update");
- btn_print.disabled = false;
- ]]>
- </script>
- </textarea>
- </group>
- <button id="btn_del" class="btn2_letter3" style="left:1070px; top:65px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("ipt_appyy")) return;
-
- misfGridIUD(grd_rpsmedap, "D");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_add" class="btn2_letter3" style="left:1015px; top:65px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("ipt_appyy")) return;
-
- misfGridIUD(grd_rpsmedap, "A");
-
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row, grd_rpsmedap.colRef("appyy")) = ipt_appyy.value;
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row, grd_rpsmedap.colRef("dutinstcd")) = ipt_instcd.value;
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row, grd_rpsmedap.colRef("deptnm")) = ipt_chrgdeptnm.value;
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row, grd_rpsmedap.colRef("deptcd")) = ipt_chrgdeptcd.value;
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row, grd_rpsmedap.colRef("teamnm")) = ipt_chrgteamnm.value;
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row, grd_rpsmedap.colRef("teamcd")) = ipt_chrgteamcd.value;
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row, grd_rpsmedap.colRef("unitnm")) = ipt_chrgunitnm.value;
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row, grd_rpsmedap.colRef("unitcd")) = ipt_chrgunitcd.value;
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row, grd_rpsmedap.colRef("emplno")) = ipt_emplno.value;
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row, grd_rpsmedap.colRef("emplnm")) = ipt_emplnm.value;
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row, grd_rpsmedap.colRef("reportyn")) = "N";
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row, grd_rpsmedap.colRef("offcholidayy")) = "N";
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row, grd_rpsmedap.colRef("offcholidayn")) = "N";
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row, grd_rpsmedap.colRef("rgstamty")) = "N";
- grd_rpsmedap.valueMatrix(grd_rpsmedap.row, grd_rpsmedap.colRef("rgstamtn")) = "N";
-
- grd_rpsmedap.isReadOnly(grd_rpsmedap.row, grd_rpsmedap.colRef("rgstamt")) = true;
- grd_rpsmedap.isReadOnly(grd_rpsmedap.row, grd_rpsmedap.colRef("offctouramt")) = true;
-
- // grd_rpsmedap.valueMatrix(grd_rpsmedap.row, grd_rpsmedap.colRef("realrgstamt")) = "0";
- // grd_rpsmedap.valueMatrix(grd_rpsmedap.row, grd_rpsmedap.colRef("rgstamt")) = "0";
- // grd_rpsmedap.valueMatrix(grd_rpsmedap.row, grd_rpsmedap.colRef("offctouramt")) = "0";
-
- txt_educsubj.disabled = false;
- txt_lactr.disabled = false;
- txt_meetpsn.disabled = false;
- txt_educcnts.disabled = false;
- txt_entryeffect.disabled = false;
- ipt_banknm.disabled = false;
- ipt_acntno.disabled = false;
- ipt_depor.disabled = false;
- btn_print.disabled = false;
- btn_save.disabled = false;
-
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_instcd" ref="/root/init/search/instcd" class="input_search" disabled="true" navindex="2" visibility="hidden" maxlength="10" style="left:545px; top:40px; width:81px; height:19px; text-align:center; "/>
- <select1 id="cmb_search" ref="/root/send/search/searchflag" visibility="hidden" appearance="minimal" style="left:695px; top:65px; width:82px; height:19px; text-align:center; ">
- <choices>
- <item>
- <label>이름</label>
- <value>emplnm</value>
- </item>
- <item>
- <label>사원번호</label>
- <value>emplno</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ipt_search.value = "";
- model.setFocus("ipt_search");
- ]]>
- </script>
- </select1>
- <caption id="cap_search" class="search_name" visibility="hidden" style="left:614px; top:65px; width:85px; height:17px; ">Search :</caption>
- <input id="ipt_search" ref="/root/send/search/name" class="input_default" visibility="hidden" imemode="hangul" style="left:780px; top:65px; width:115px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13 || event.keyCode == 9 )
- {
- model.setFocus("grd_rpsmedap");
- var pErrorValue = ipt_search.currentText;
- ipt_search.refresh();
-
- fSearch(cmb_search.value, ipt_search.value, pErrorValue, opt_count);
-
- grd_rpsmedap.dispatch("ondblclick");
- model.setFocus("ipt_search");
- }
- ]]>
- </script>
- </input>
- <output id="opt_count" ref="/root/send/search/count" class="output_fix" visibility="hidden" style="left:898px; top:65px; width:35px; height:19px; color:#ff0000; text-align:center; "/>
- <caption id="cap_emplno" class="search_name" style="left:221px; top:35px; width:94px; height:17px; ">사원번호 :</caption>
- <input id="ipt_emplnm" ref="/root/init/search/emplnm" class="input_search" disabled="true" navindex="21" style="left:420px; top:35px; width:80px; 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>
- <input id="ipt_emplno" ref="/root/init/search/emplno" class="input_search" disabled="true" navindex="20" style="left:307px; top:35px; width:92px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var recv_list = "emplno,emplnm";
- rpbfValidationCheck("emplno", recv_list);
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_emplsearch" class="icon_search" disabled="true" style="left:401px; top:35px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "emplno,emplnm";
- rpbfOpenPopUpList("SPRPB00101", ipt_emplno, recv_list,"","N","Y");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_unit" class="icon_search" disabled="true" style="left:986px; top:11px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var unitcd = ipt_chrgunitcd.value;
- var unitnm = ipt_chrgunitnm.value;
-
- rpsfEducOpenPopUpList("07", ipt_chrgunitnm, "", "chrgunitcd,chrgunitnm", ipt_instcd.value, "instcd");
-
- if( ipt_chrgunitnm.value != "" ) {
- if ( DUTY_EDU_YN == 'Y' || DUTY_RESP_YN == "Y" || getUserInfo("dutplcecd") == "4020500000" ) {
- // unit이 달라지면 상위 부서도 가져온다..
-
- model.setValue("/root/init/search/instcd", model.getValue("/root/init/emplinfo/dutplceinst"));
- model.setValue("/root/init/search/posinstcd", model.getValue("/root/init/emplinfo/dutplceinst"));
- model.setValue("/root/init/search/grdunitcd", ipt_chrgunitcd.value);
- model.setValue("/root/init/search/emplno", "" );
- model.setValue("/root/init/search/emplnm", "" );
- submit("TRRPS04000");
-
- model.setValue("/root/init/search/chrgdeptnm", model.getValue("/root/init/emplinfo/dutdeptnm"));
- model.setValue("/root/init/search/chrgdeptcd", model.getValue("/root/init/emplinfo/dutdeptcd"));
- model.setValue("/root/init/search/chrgteamnm", model.getValue("/root/init/emplinfo/dutteamnm"));
- model.setValue("/root/init/search/chrgteamcd", model.getValue("/root/init/emplinfo/dutteamcd"));
-
- model.refresh();
- }
- else {
- fCheckAdmin(); // 관리자인지 체크한다.
-
- // unit이 달라지면 상위 부서도 가져온다..
- model.setValue("/root/init/search/grdunitcd", ipt_chrgunitcd.value);
- model.setValue("/root/init/search/emplno", "" );
- submit("TRRPS04000");
- model.setValue("/root/init/search/emplno",getUserInfo("userid"));
- model.refresh();
-
- // if( model.getValue("/root/init/deptadmin/teamyn") == "Y" &&
- // model.getValue("/root/init/deptadmin/deptcd") == model.getValue("/root/init/emplinfo/dutdeptcd")) {
-
- model.setValue("/root/init/search/chrgteamnm", model.getValue("/root/init/emplinfo/dutteamnm"));
- model.setValue("/root/init/search/chrgteamcd", model.getValue("/root/init/emplinfo/dutteamcd"));
- model.setValue("/root/init/search/chrgunitnm", model.getValue("/root/init/emplinfo/dutunitnm"));
- model.setValue("/root/init/search/chrgunitcd", model.getValue("/root/init/emplinfo/dutunitcd"));
- // }
- // else if (model.getValue("/root/init/deptadmin/unityn") == "Y" &&
- // model.getValue("/root/init/deptadmin/deptcd") == model.getValue("/root/init/emplinfo/dutteamcd") ) {
- //
- // model.setValue("/root/init/search/chrgunitnm", model.getValue("/root/init/emplinfo/dutunitnm"));
- // model.setValue("/root/init/search/chrgunitcd", model.getValue("/root/init/emplinfo/dutunitcd"));
- // }
- // else {
- // messageBox("당신의 관리부서가 아닙니다. 확인바랍니다.","I999");
- // ipt_chrgunitcd.value = unitcd;
- // ipt_chrgunitnm.value = unitnm;
- // }
- }
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_dept" class="icon_search" disabled="true" style="left:401px; top:11px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rpsfEducOpenPopUpList("05", ipt_chrgdeptnm, "", "chrgdeptcd,chrgdeptnm", ipt_instcd.value, "instcd");
-
- // 부(실)을 변경하면 과(팀), 부서는 모두 공백으로 변경한다.
- model.setValue("/root/init/search/chrgteamnm", "");
- model.setValue("/root/init/search/chrgteamcd", "");
- model.setValue("/root/init/search/chrgunitnm", "");
- model.setValue("/root/init/search/chrgunitcd", "");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_chrgunitnm" ref="/root/init/search/chrgunitnm" class="input_search" disabled="true" appearance="input" style="left:880px; top:10px; width:104px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( ipt_chrgunitnm.value.getByteLength() == '0' ) {
- ipt_chrgunitcd.value = "" ;
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="cap_appyy" class="search_name" style="left:11px; top:10px; width:101px; height:17px; ">년 도 :</caption>
- <input id="ipt_chrgdeptnm" ref="/root/init/search/chrgdeptnm" class="input_search" disabled="true" visibility="visible" appearance="input" style="left:295px; top:10px; width:104px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( ipt_chrgdeptnm.value.getByteLength() == '0' ) {
- ipt_chrgdeptcd.value = "" ;
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption5" class="search_name" style="left:520px; top:10px; width:86px; height:17px; ">과(팀) :</caption>
- <input id="ipt_chrgunitcd" ref="/root/init/search/chrgunitcd" class="input_search" disabled="true" visibility="visible" style="left:1004px; top:10px; width:80px; height:19px; text-align:center; "/>
- <caption id="caption7" class="search_name" style="left:221px; top:10px; width:86px; height:17px; ">부(실) :</caption>
- <input id="ipt_chrgdeptcd" ref="/root/init/search/chrgdeptcd" class="input_search" disabled="true" visibility="visible" style="left:420px; top:10px; width:80px; height:19px; text-align:center; "/>
- <caption id="caption11" class="search_name" style="left:815px; top:10px; width:86px; height:17px; ">부 서 :</caption>
- <input id="ipt_appyy" ref="/root/init/search/appyy" class="input_s_essential" inputtype="date" format="yyyy" style="left:105px; top:10px; width:100px; height:19px; text-align:center; "/>
- <button id="btn_team" class="icon_search" disabled="true" style="left:701px; top:11px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rpsfEducOpenPopUpList("06", ipt_chrgteamnm, "", "chrgteamcd,chrgteamnm", ipt_instcd.value, "instcd");
- // 과(팀)을 변경하면 부서는 모두 공백으로 변경한다.
- model.setValue("/root/init/search/chrgunitnm", "");
- model.setValue("/root/init/search/chrgunitcd", "");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_chrgteamnm" ref="/root/init/search/chrgteamnm" class="input_search" disabled="true" visibility="visible" appearance="input" style="left:595px; top:10px; width:104px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( ipt_chrgteamnm.value.getByteLength() == '0' ) {
- ipt_chrgteamcd.value = "" ;
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <select1 id="cmb_educflag" ref="/root/init/search/educflag" class="combo_search" appearance="minimal" style="left:105px; top:35px; width:100px; height:19px; text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_educflag" class="search_name" style="left:11px; top:35px; width:101px; height:17px; ">교육구분 :</caption>
- <input id="ipt_chrgteamcd" ref="/root/init/search/chrgteamcd" class="input_search" disabled="true" visibility="visible" style="left:719px; top:10px; width:80px; height:19px; text-align:center; "/>
- <button id="btn_rowcopy" class="btn2_letter3" style="left:960px; top:65px; width:53px; height:19px; ">
- <caption>행복사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var row = grd_rpsmedap.row -1;
- if( grd_rpsmedap.fixedRows == grd_rpsmedap.rows) {
- messageBox("복사할 행이","I004");
- return;
- }
- else {
- misfGridIUD(grd_rpsmedap, "A");
- model.setValue("/root/main/rpsmedap[" + (grd_rpsmedap.row-1) + "]/deptnm" ,model.getValue("/root/main/rpsmedap[" + row + "]/deptnm" ));
- model.setValue("/root/main/rpsmedap[" + (grd_rpsmedap.row-1) + "]/deptcd" ,model.getValue("/root/main/rpsmedap[" + row + "]/deptcd" ));
- model.setValue("/root/main/rpsmedap[" + (grd_rpsmedap.row-1) + "]/teamnm" ,model.getValue("/root/main/rpsmedap[" + row + "]/teamnm" ));
- model.setValue("/root/main/rpsmedap[" + (grd_rpsmedap.row-1) + "]/teamcd" ,model.getValue("/root/main/rpsmedap[" + row + "]/teamcd" ));
- model.setValue("/root/main/rpsmedap[" + (grd_rpsmedap.row-1) + "]/unitnm" ,model.getValue("/root/main/rpsmedap[" + row + "]/unitnm" ));
- model.setValue("/root/main/rpsmedap[" + (grd_rpsmedap.row-1) + "]/unitcd" ,model.getValue("/root/main/rpsmedap[" + row + "]/unitcd" ));
- model.setValue("/root/main/rpsmedap[" + (grd_rpsmedap.row-1) + "]/emplno" ,model.getValue("/root/main/rpsmedap[" + row + "]/emplno" ));
- model.setValue("/root/main/rpsmedap[" + (grd_rpsmedap.row-1) + "]/emplnm" ,model.getValue("/root/main/rpsmedap[" + row + "]/emplnm" ));
- model.setValue("/root/main/rpsmedap[" + (grd_rpsmedap.row-1) + "]/educflag" ,model.getValue("/root/main/rpsmedap[" + row + "]/educflag" ));
- model.setValue("/root/main/rpsmedap[" + (grd_rpsmedap.row-1) + "]/educnm" ,model.getValue("/root/main/rpsmedap[" + row + "]/educnm" ));
- model.setValue("/root/main/rpsmedap[" + (grd_rpsmedap.row-1) + "]/educfromdd" ,model.getValue("/root/main/rpsmedap[" + row + "]/educfromdd" ));
- model.setValue("/root/main/rpsmedap[" + (grd_rpsmedap.row-1) + "]/eductodd" ,model.getValue("/root/main/rpsmedap[" + row + "]/eductodd" ));
- model.setValue("/root/main/rpsmedap[" + (grd_rpsmedap.row-1) + "]/eductm" ,model.getValue("/root/main/rpsmedap[" + row + "]/eductm" ));
- model.setValue("/root/main/rpsmedap[" + (grd_rpsmedap.row-1) + "]/educdayno" ,model.getValue("/root/main/rpsmedap[" + row + "]/educdayno" ));
- model.setValue("/root/main/rpsmedap[" + (grd_rpsmedap.row-1) + "]/educplce" ,model.getValue("/root/main/rpsmedap[" + row + "]/educplce" ));
- model.setValue("/root/main/rpsmedap[" + (grd_rpsmedap.row-1) + "]/mainbdinstnm" ,model.getValue("/root/main/rpsmedap[" + row + "]/mainbdinstnm" ));
- model.setValue("/root/main/rpsmedap[" + (grd_rpsmedap.row-1) + "]/offcholidayy" ,model.getValue("/root/main/rpsmedap[" + row + "]/offcholidayy" ));
- model.setValue("/root/main/rpsmedap[" + (grd_rpsmedap.row-1) + "]/offcholidayn" ,model.getValue("/root/main/rpsmedap[" + row + "]/offcholidayn" ));
- model.setValue("/root/main/rpsmedap[" + (grd_rpsmedap.row-1) + "]/rgstamty" ,model.getValue("/root/main/rpsmedap[" + row + "]/rgstamty" ));
- model.setValue("/root/main/rpsmedap[" + (grd_rpsmedap.row-1) + "]/rgstamtn" ,model.getValue("/root/main/rpsmedap[" + row + "]/rgstamtn" ));
- model.setValue("/root/main/rpsmedap[" + (grd_rpsmedap.row-1) + "]/realrgstamt" ,model.getValue("/root/main/rpsmedap[" + row + "]/realrgstamt" ));
- model.setValue("/root/main/rpsmedap[" + (grd_rpsmedap.row-1) + "]/rgstamt" ,model.getValue("/root/main/rpsmedap[" + row + "]/rgstamt" ));
- model.setValue("/root/main/rpsmedap[" + (grd_rpsmedap.row-1) + "]/movecost" ,model.getValue("/root/main/rpsmedap[" + row + "]/movecost" ));
- model.setValue("/root/main/rpsmedap[" + (grd_rpsmedap.row-1) + "]/staycost" ,model.getValue("/root/main/rpsmedap[" + row + "]/staycost" ));
- model.setValue("/root/main/rpsmedap[" + (grd_rpsmedap.row-1) + "]/reportyn" ,model.getValue("/root/main/rpsmedap[" + row + "]/reportyn" ));
- model.setValue("/root/main/rpsmedap[" + (grd_rpsmedap.row-1) + "]/educsubj" ,model.getValue("/root/main/rpsmedap[" + row + "]/educsubj" ));
- model.setValue("/root/main/rpsmedap[" + (grd_rpsmedap.row-1) + "]/lactr" ,model.getValue("/root/main/rpsmedap[" + row + "]/lactr" ));
- model.setValue("/root/main/rpsmedap[" + (grd_rpsmedap.row-1) + "]/meetpsn" ,model.getValue("/root/main/rpsmedap[" + row + "]/meetpsn" ));
- model.setValue("/root/main/rpsmedap[" + (grd_rpsmedap.row-1) + "]/educcnts" ,model.getValue("/root/main/rpsmedap[" + row + "]/educcnts" ));
- model.setValue("/root/main/rpsmedap[" + (grd_rpsmedap.row-1) + "]/entryeffect" ,model.getValue("/root/main/rpsmedap[" + row + "]/entryeffect" ));
- model.setValue("/root/main/rpsmedap[" + (grd_rpsmedap.row-1) + "]/banknm" ,model.getValue("/root/main/rpsmedap[" + row + "]/banknm" ));
- model.setValue("/root/main/rpsmedap[" + (grd_rpsmedap.row-1) + "]/acntno" ,model.getValue("/root/main/rpsmedap[" + row + "]/acntno" ));
- model.setValue("/root/main/rpsmedap[" + (grd_rpsmedap.row-1) + "]/depor" ,model.getValue("/root/main/rpsmedap[" + row + "]/depor" ));
- model.setValue("/root/main/rpsmedap[" + (grd_rpsmedap.row-1) + "]/jobposnm" ,model.getValue("/root/main/rpsmedap[" + row + "]/jobposnm" ));
- model.setValue("/root/main/rpsmedap[" + (grd_rpsmedap.row-1) + "]/dutinstcd" ,model.getValue("/root/main/rpsmedap[" + row + "]/dutinstcd" ));
- // model.setValue("/root/main/rpsmedap[" + (grd_rpsmedap.row-1) + "]/fstrgstdt" ,model.getValue("/root/main/rpsmedap[" + row + "]/fstrgstdt" ));
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_init" class="btn2_letter4" style="left:1129px; top:65px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfSaveExcel(grd_rpsmedap);
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|