123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698 |
- <?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>SMRPS00800_교육경력조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <educinfo>
- <educinfolist/>
- </educinfo>
- <educcarer>
- <cmceduclist/>
- <depteduclist/>
- <outeduclist/>
- </educcarer>
- </main>
- <send>
- <info>
- <appyy/>
- <instcd/>
- <emplno/>
- <emplnm/>
- <educflag/>
- <instnm/>
- <cmpltcursstdyyn/>
- <emplnum/>
- <apptoyy/>
- <chrgdeptcd/>
- <chrgdeptnm/>
- <chrgteamnm/>
- <chrgteamcd/>
- <chrgunitnm/>
- <chrgunitcd/>
- <grdunitcd/>
- <posinstcd/>
- </info>
- <detail>
- <appyy/>
- <educcd/>
- <educdg/>
- <apptoyy/>
- </detail>
- <search>
- <emplno/>
- <grdunitcd/>
- <instcd/>
- </search>
- </send>
- <init>
- <item>
- <label>이수</label>
- <value>Y</value>
- </item>
- <item>
- <label>미이수</label>
- <value>N</value>
- </item>
- </init>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript" src="../../../mis/educationmngtweb/js/RPS001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 사용자 권한관리
- fCheckAuth();
-
- fInitialize() ;
- ]]>
- </script>
- <submission id="TRRPS00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/info" resultref="/root/main/educinfo"/>
- <submission id="TRRPS00802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/info" resultref="/root/main/educcarer"/>
- <submission id="TRRPS04000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/info" resultref="/root/init/emplinfo"/>
- <submission id="TRRPS04999" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/info" resultref="/root/init/deptadmin"/>
- </model>
- <script type="javascript">
- <![CDATA[
- //========================================================================================
- //버튼에 대한 화면 권한 체크(R : 읽기, X : 입력/수정/삭제, P : 출력)
- //========================================================================================
- function fCheckAuth() {
- btn_search.disabled = !checkAuth("R") ;
-
- // user정보조회
- misfGetUserAuth();
- model.setValue("/root/send/info/emplno", getUserInfo("userid"));
- // model.setValue("/root/send/info/emplnm", getUserInfo("usernm"));
- submit("TRRPS04000");
- model.setValue("/root/send/info/emplno", "");
-
- model.setValue(ipt_instcd.attribute("ref"),model.getValue("/root/init/emplinfo/dutplceinst"));
- model.setValue(ipt_instnm.attribute("ref"),model.getValue("/root/init/emplinfo/dutplceinstnm"));
-
- 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"));
- }
-
- function fCheckDisabled () {
- model.setValue("/root/send/search/instcd", model.getValue("/root/init/emplinfo/dutplceinst"));
- model.setValue("/root/send/search/emplno", model.getValue("/root/init/emplinfo/emplno"));
- submit("TRRPS04999"); // 부서관리자인지 체크
- model.setValue("/root/send/search/emplno","");
-
- 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_chrgteamnm.disabled = true;
- btn_team.disabled = true;
-
- 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();
- }
-
- var oldRow = 0;
- function fInitialize()
- {
- //그리드 초기화 작업
- model.removenode("/root/main");
- model.makeNode("/root/main/educinfo");
-
- misfMsterDetailSet(grd_educinfolist,null, "TRRPE00801" ,"Y");
-
- var nowyy = new Date();
- ipt_appyy.value = nowyy.getYear(); // 년도설정
- ipt_apptoyy.value = nowyy.getYear(); // 년도설정
-
- misfComboComCdListMulti("Z0007","grd_educinfolist.instcd");
- rpsEducSetComboList("M01-002,M01-001","cmb_educflag,grd_cmceduclist.mainbdunit", "Y");
-
- if ( DUTY_EDU_YN == "Y" || DUTY_RESP_YN == "Y" || DUTY_PART_YN == "Y" ){ // 교육, 복무위임, 복무 담당자는 모든 권한을 가진다.
- ipt_chrgdeptnm.disabled = false;
- ipt_chrgteamnm.disabled = false;
- ipt_chrgunitnm.disabled = false;
- btn_dept.disabled = false;
- btn_team.disabled = false;
- btn_unit.disabled = false;
- if ( DUTY_EDU_YN != "Y" ) {
- ipt_instcd.disabled = true;
- btn_instcd.disabled = true;
- }
- }
- else {
- model.setValue(ipt_emplno.attribute("ref"), model.getValue("/root/init/emplinfo/emplno"));
- model.setValue(ipt_emplnm.attribute("ref"), model.getValue("/root/init/emplinfo/emplnm"));
- fCheckDisabled(); // 관리자인지 체크하여 기본 조회부분의 활성화/비활성화를 결정한다.
- }
-
- model.toggle("case1");
- grd_educinfolist.selectionMode = "byrow";
-
- // btn_search.dispatch("DOMActivate");
-
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-right:8; ">
- <group id="group1" style="left:0px; top:0px; width:1190px; 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:13px; width:1195px; height:732px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1188px; height:56px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line8" class="line_1" style="x1:0px; y1:85px; x2:1191px; y2:85px; "/>
- <caption id="caption29" class="tit_2" style="left:5px; top:71px; width:169px; height:13px; ">개인정보</caption>
- <button id="btn_search" class="btn1_letter2" style="left:1120px; top:27px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(ipt_appyy.value == "") {
- messageBox("년도는","I003");
- model.setFocus("ipt_apntyy");
- }
- else {
- model.removenode("/root/main");
- model.makeNode("/root/main/educinfo");
- model.makeNode("/root/main/educcarerlist");
- submit("TRRPS00801");
-
- if( ipt_emplno.value == "" ) {
- grd_educinfolist.insertRow(1);
- grd_educinfolist.valueMatrix(grd_educinfolist.row, grd_educinfolist.colRef("dutunitnm") ) = "- 전 체 -";
-
- }
-
- }
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1110px; y1:14px; x2:1110px; y2:62px; "/>
- <caption id="cap_appyy" class="search_name" style="left:45px; top:17px; width:90px; height:17px; ">년 도 :</caption>
- <input id="ipt_appyy" ref="/root/send/info/appyy" class="input_s_essential" inputtype="date" format="yyyy" style="left:121px; top:17px; width:77px; height:19px; text-align:center; "/>
- <caption id="cap_dutunit" class="search_name" style="left:755px; top:40px; width:90px; height:17px; ">부 서 :</caption>
- <caption id="cap_emplno" class="search_name" style="left:755px; top:17px; width:94px; height:17px; ">사원번호 :</caption>
- <input id="ipt_emplno" ref="/root/send/info/emplno" class="input_search" navindex="20" style="left:842px; top:17px; width:70px; height:19px; ">
- <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" style="left:914px; top:17px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "emplno,emplnm";
- rpbfOpenPopUpList("SPRPB00101", ipt_emplno, recv_list,"","N","N");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_emplnm" ref="/root/send/info/emplnm" class="input_search" navindex="21" style="left:932px; top:17px; width:85px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var recv_list = "emplno,emplnm";
- rpbfValidationCheck("emplnm", recv_list);
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_saveexcel" class="btn2_letter4" visibility="visible" style="left:1121px; top:264px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "")
- {
- //1. 그리드 파일 CSV파일로 임시저장 => CSV로 저장하는 이유는 여러개의 시트에 저장이 가능하기 때문입니다.(xls파일은 여러개의 시트에 저장 불가능)
- grd_cmceduclist.saveExcel("C:\\Temp\\sheet1.xls","colhiddenextend:true");
- grd_depteduclist.saveExcel("C:\\Temp\\sheet2.xls","colhiddenextend:true");
- grd_outeduclist.saveExcel("C:\\Temp\\sheet3.xls","colhiddenextend:true");
-
- //2. 임시로 저장된 엑셀파일을 하나로 합치는 과정
- // excel application 실행함
- tfexcel.launchnewinstance(0);
- //실행된 excel application에서 새로운 workbook을 생성
- tfexcel.createworkbook();
- //1번째에 시트를 추가하고 시트 이름을 "1차전형"으로 한다.
- var nResult1 = tfexcel.addsheet(1, "CMC교육");
- nResult1 = tfexcel.activatesheet(1);
- if(nResult1 <0) {
- alert("오류발생");
- return;
- }
- //로딩
- tfexcel.loadCSV("C:\\Temp\\sheet1.xls");
-
- //2번째에 시트를 추가하고 시트 이름을 "2차전형"으로 한다.
- var nResult2 = tfexcel.addsheet(2, "부서교육");
- nResult2 = tfexcel.activatesheet(2);
- if(nResult2 <0) {
- alert("오류발생");
- return;
- }
- //로딩
- tfexcel.loadCSV("C:\\Temp\\sheet2.xls");
-
- //3번째에 시트를 추가하고 시트 이름을 "3차전형"으로 한다.
- var nResult2 = tfexcel.addsheet(3, "외부교육");
- nResult2 = tfexcel.activatesheet(3);
- if(nResult2 <0) {
- alert("오류발생");
- return;
- }
- //로딩
- tfexcel.loadCSV("C:\\Temp\\sheet3.xls");
-
- //workbook을 저장.
- tfexcel.save(fileName);
- //엑셀 종료(필수)
- tfexcel.close();
- }
- ]]>
- </script>
- </button>
- <line id="line1" class="line_1" visibility="hidden" style="x1:0px; y1:643px; x2:197px; y2:643px; "/>
- <line id="line2" class="line_2" visibility="hidden" style="x1:0px; y1:670px; x2:197px; y2:670px; "/>
- <line id="line3" class="line_2" visibility="hidden" style="x1:0px; y1:694px; x2:197px; y2:694px; "/>
- <line id="line5" class="line_3" visibility="hidden" style="x1:0px; y1:718px; x2:197px; y2:718px; "/>
- <input id="input7" class="input_search" visibility="hidden" style="left:286px; top:673px; width:100px; height:19px; "/>
- <input id="input8" class="input_search" visibility="hidden" style="left:286px; top:697px; width:100px; height:19px; "/>
- <caption id="caption21" class="cell_1" visibility="hidden" style="left:406px; top:672px; width:80px; height:23px; vertical-align:middle; ">선 택</caption>
- <caption id="caption22" class="cell_1" visibility="hidden" style="left:406px; top:648px; width:80px; height:23px; vertical-align:middle; ">필 수</caption>
- <caption id="caption11" class="cell_1" visibility="hidden" style="left:203px; top:672px; width:80px; height:23px; vertical-align:middle; ">선 택</caption>
- <caption id="caption12" class="cell_1" visibility="hidden" style="left:203px; top:648px; width:80px; height:23px; vertical-align:middle; ">필 수</caption>
- <caption id="caption24" class="cell_1" visibility="hidden" style="left:406px; top:696px; width:80px; height:23px; vertical-align:middle; ">합 계</caption>
- <caption id="caption13" class="cell_1" visibility="hidden" style="left:203px; top:696px; width:80px; height:23px; vertical-align:middle; ">합 계</caption>
- <input id="input15" class="input_search" visibility="hidden" style="left:489px; top:649px; width:100px; height:19px; "/>
- <caption id="caption47" class="cell_1" visibility="hidden" style="left:0px; top:648px; width:80px; height:23px; vertical-align:middle; ">필 수</caption>
- <caption id="caption5" class="cell_1" visibility="hidden" style="left:0px; top:672px; width:80px; height:23px; vertical-align:middle; ">선 택</caption>
- <input id="input16" class="input_search" visibility="hidden" style="left:489px; top:673px; width:100px; height:19px; "/>
- <input id="input1" class="input_search" visibility="hidden" style="left:82px; top:650px; width:100px; height:19px; "/>
- <input id="input17" class="input_search" visibility="hidden" style="left:489px; top:697px; width:100px; height:19px; "/>
- <input id="input2" class="input_search" visibility="hidden" style="left:82px; top:674px; width:100px; height:19px; "/>
- <caption id="caption7" class="cell_1" visibility="hidden" style="left:0px; top:696px; width:80px; height:23px; vertical-align:middle; ">합 계</caption>
- <input id="input3" class="input_search" visibility="hidden" style="left:82px; top:698px; width:100px; height:19px; "/>
- <input id="input6" class="input_search" visibility="hidden" style="left:286px; top:649px; width:100px; height:19px; "/>
- <caption id="caption27" class="tit_2" visibility="hidden" style="left:5px; top:628px; width:80px; height:13px; ">필요학점</caption>
- <caption id="caption14" visibility="hidden" style="left:184px; top:698px; width:15px; height:20px; vertical-align:middle; ">점</caption>
- <caption id="caption8" visibility="hidden" style="left:184px; top:651px; width:15px; height:20px; vertical-align:middle; ">점</caption>
- <caption id="caption9" visibility="hidden" style="left:184px; top:674px; width:15px; height:20px; vertical-align:middle; ">점</caption>
- <caption id="caption15" visibility="hidden" style="left:388px; top:698px; width:15px; height:20px; vertical-align:middle; ">점</caption>
- <caption id="caption16" visibility="hidden" style="left:388px; top:651px; width:15px; height:20px; vertical-align:middle; ">점</caption>
- <caption id="caption17" visibility="hidden" style="left:388px; top:674px; width:15px; height:20px; vertical-align:middle; ">점</caption>
- <caption id="caption18" visibility="hidden" style="left:591px; top:698px; width:15px; height:20px; vertical-align:middle; ">점</caption>
- <caption id="caption19" visibility="hidden" style="left:591px; top:651px; width:15px; height:20px; vertical-align:middle; ">점</caption>
- <caption id="caption23" visibility="hidden" style="left:591px; top:674px; width:15px; height:20px; vertical-align:middle; ">점</caption>
- <line id="line4" class="line_1" visibility="hidden" style="x1:202px; y1:643px; x2:399px; y2:643px; "/>
- <line id="line6" class="line_2" visibility="hidden" style="x1:202px; y1:670px; x2:399px; y2:670px; "/>
- <line id="line9" class="line_2" visibility="hidden" style="x1:202px; y1:694px; x2:399px; y2:694px; "/>
- <line id="line10" class="line_3" visibility="hidden" style="x1:202px; y1:718px; x2:399px; y2:718px; "/>
- <line id="line11" class="line_2" visibility="hidden" style="x1:406px; y1:694px; x2:603px; y2:694px; "/>
- <line id="line12" class="line_3" visibility="hidden" style="x1:406px; y1:718px; x2:603px; y2:718px; "/>
- <line id="line14" class="line_1" visibility="hidden" style="x1:406px; y1:643px; x2:603px; y2:643px; "/>
- <line id="line15" class="line_2" visibility="hidden" style="x1:406px; y1:670px; x2:603px; y2:670px; "/>
- <caption id="caption25" class="tit_2" visibility="hidden" style="left:207px; top:628px; width:80px; height:13px; ">이수학점</caption>
- <caption id="caption26" class="tit_2" visibility="hidden" style="left:411px; top:628px; width:80px; height:13px; ">잔여학점</caption>
- <caption id="caption2" class="search_name" style="left:389px; top:17px; width:86px; height:17px; ">기 관 :</caption>
- <datagrid id="grd_educinfolist" nodeset="/root/main/educinfo/educinfolist" caption="기관^부(실)^부(실)코드^과(팀)^과(팀)코드^소속부서코드^부서^직위코드^직 위^직책코드^직 책^신직급코드^신직급^년차^사원번호^성 명^교육구분" colsep="^" colwidth="170, 130, 100, 150, 100, 80, 150, 50, 100, 50, 120, 50, 80, 50, 100, 90, 60" dataheight="25" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="select" rowsep="|" selectionmode="byrow" style="left:0px; top:90px; width:1188px; height:133px; ">
- <col disabled="true" ref="instcd" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="dutdeptnm"/>
- <col ref="dutdeptcd" visibility="hidden"/>
- <col ref="dutteamnm"/>
- <col ref="dutteamcd" visibility="hidden"/>
- <col ref="dutunitcd" type="input" visibility="hidden"/>
- <col ref="dutunitnm"/>
- <col ref="jobposcd" visibility="hidden"/>
- <col ref="jobposnm"/>
- <col ref="jobrespcd" visibility="hidden"/>
- <col ref="jobrespnm"/>
- <col ref="njobgradcd" visibility="hidden"/>
- <col ref="njobgradnm"/>
- <col ref="anual"/>
- <col ref="emplno"/>
- <col ref="emplnm"/>
- <col ref="educlrgcd" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- model.removenode("/root/main/educcarer");
- model.makeNode("/root/main/educcarer");
-
- var row = grd_educinfolist.row;
- model.setValue("/root/send/info/emplnum",model.getValue("/root/main/educinfo/educinfolist["+row+"]/emplno"));
-
- submit("TRRPS00802");
-
- if (model.getValue("/root/send/info/emplnum") == "" ) {
- grd_cmceduclist.colHidden(grd_cmceduclist.colRef("emplno")) = false;
- grd_cmceduclist.colHidden(grd_cmceduclist.colRef("emplnm")) = false;
- grd_depteduclist.colHidden(grd_depteduclist.colRef("emplno")) = false;
- grd_depteduclist.colHidden(grd_depteduclist.colRef("emplnm")) = false;
- grd_outeduclist.colHidden(grd_outeduclist.colRef("emplno")) = false;
- grd_outeduclist.colHidden(grd_outeduclist.colRef("emplnm")) = false;
- }
- else {
- grd_cmceduclist.colHidden(grd_cmceduclist.colRef("emplno")) = true;
- grd_cmceduclist.colHidden(grd_cmceduclist.colRef("emplnm")) = true;
- grd_depteduclist.colHidden(grd_depteduclist.colRef("emplno")) = true;
- grd_depteduclist.colHidden(grd_depteduclist.colRef("emplnm")) = true;
- grd_outeduclist.colHidden(grd_outeduclist.colRef("emplno")) = true;
- grd_outeduclist.colHidden(grd_outeduclist.colRef("emplnm")) = true;
- }
-
-
- ]]>
- </script>
- </datagrid>
- <button id="btn_instcd" class="icon_search" style="left:652px; top:17px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "instcd,instnm";
- misfOpenPopUpList("03", ipt_instnm,"Z0007", recv_list, "", "") ;
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_instnm" ref="/root/send/info/instnm" class="input_search" appearance="input" style="left:465px; top:17px; width:185px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( ipt_instnm.value.getByteLength() == '0' ) {
- ipt_instcd.value = "" ;
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_instcd" ref="/root/send/info/instcd" disabled="true" visibility="hidden" style="left:550px; top:17px; width:50px; height:19px; "/>
- <switch id="switch1" style="left:0px; top:284px; width:1185px; height:441px; ">
- <case id="case1" selected="true" style="left:0px; top:0px; width:1188px; height:439px; ">
- <datagrid id="grd_cmceduclist" nodeset="/root/main/educcarer/cmceduclist" caption="년 도^주체단위^교육코드^주체기관^사원번호^이름^교육구분^교 육 명^차수^교육기간^교육기간^교육시간일정^총시간^이수학점^이수여부|년 도^주체단위^교육코드^주체기관^사원번호^이름^교육구분^교 육 명^차수^From^To^교육시간일정^총시간^이수학점^이수여부" colsep="^" colwidth="49, 70, 100, 159, 100, 100, 102, 263, 53, 93, 93, 100, 55, 75, 65" dataheight="25" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="byrow" style="left:0px; top:0px; width:1175px; height:433px; ">
- <col ref="appyy" visibility="hidden" style="text-align:center; "/>
- <col disabled="true" ref="mainbdunit" type="combo" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="educcd" visibility="hidden"/>
- <col ref="instnm" style="text-align:center; "/>
- <col ref="emplno" visibility="hidden"/>
- <col ref="emplnm" visibility="hidden"/>
- <col ref="educflag" style="text-align:center; "/>
- <col ref="educprocsnm"/>
- <col ref="educdg" style="text-align:center; "/>
- <col ref="educfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="eductodd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="eductime" format="99:99-99:99" style="text-align:center; "/>
- <col ref="eductm" style="text-align:center; "/>
- <col ref="studypoint" visibility="hidden" style="text-align:center; "/>
- <col disabled="true" ref="cmpltcursstdyyn" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/item">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- </datagrid>
- </case>
- <case id="case2">
- <datagrid id="grd_depteduclist" nodeset="/root/main/educcarer/depteduclist" caption="년 도^교육코드^주체기관^사원번호^이름^교육구분^교 육 명^차수^교육기간^교육기간^교육시간일정^교육
총시간^이수학점^이수유효기간^이수여부|년 도^교육코드^주체기관^사원번호^이름^교육구분^교 육 명^차수^From^To^교육시간일정^교육
총시간^이수학점^이수유효기간^이수여부" colsep="^" colwidth="49, 100, 159, 100, 100, 133, 404, 53, 93, 93, 100, 55, 75, 100, 65" dataheight="25" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="byrow" style="left:0px; top:0px; width:1181px; height:435px; ">
- <col ref="appyy" visibility="hidden" style="text-align:center; "/>
- <col ref="educcd" visibility="hidden"/>
- <col ref="instnm" visibility="hidden" style="text-align:center; "/>
- <col ref="emplno" visibility="hidden"/>
- <col ref="emplnm" visibility="hidden"/>
- <col ref="educflag" style="text-align:center; "/>
- <col ref="educprocsnm"/>
- <col ref="educdg" style="text-align:center; "/>
- <col ref="educfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="eductodd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="eductime" format="99:99-99:99" style="text-align:center; "/>
- <col ref="eductm" style="text-align:center; "/>
- <col ref="studypoint" visibility="hidden" style="text-align:center; "/>
- <col ref="valiterm" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="cmpltcursstdyyn" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/item">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- </datagrid>
- </case>
- <case id="case3" style="left:0px; top:0px; width:1195px; height:475px; ">
- <datagrid id="grd_outeduclist" nodeset="/root/main/educcarer/outeduclist" caption="년 도^교육코드^주체기관^사원번호^이름^교육구분^교 육 명^교육기간^교육기간^교육시간일정^교육
총시간^교육일수^교육장소^이수학점^이수유효기간^보고서
작성여부^공가여부^공가여부^등록비지원여부^등록비지원여부|년 도^교육코드^주체기관^사원번호^이름^교육구분^교 육 명^From^To^교육시간일정^교육
총시간^교육일수^교육장소^이수학점^이수유효기간^보고서
작성여부^유^무^유^무" colsep="^" colwidth="49, 100, 201, 100, 100, 143, 263, 93, 93, 100, 55, 40, 100, 75, 100, 65, 45, 45, 45, 45" dataheight="25" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="byrow" style="left:0px; top:0px; width:1181px; height:435px; ">
- <col ref="appyy" visibility="hidden" style="text-align:center; "/>
- <col ref="educcd" visibility="hidden"/>
- <col ref="instnm" style="text-align:center; "/>
- <col ref="emplno" visibility="hidden"/>
- <col ref="emplnm" visibility="hidden"/>
- <col ref="educflag" style="text-align:center; "/>
- <col ref="educprocsnm"/>
- <col ref="educfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="eductodd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="eductime" visibility="hidden" style="text-align:center; "/>
- <col ref="eductm" style="text-align:center; "/>
- <col ref="educdayno" style="text-align:center; "/>
- <col ref="educplce" style="text-align:center; "/>
- <col ref="studypoint" visibility="hidden" style="text-align:center; "/>
- <col ref="valiterm" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="cmpltcursstdyyn" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>작성</label>
- <value>Y</value>
- </item>
- <item>
- <label>미작성</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <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"/>
- </datagrid>
- </case>
- </switch>
- <button id="tab_cmceduc" class="btn_sw" group="tab1" selected="true" style="left:0px; top:262px; width:90px; height:22px; ">
- <caption>기관교육</caption>
- <toggle case="case1" ev:event="onclick"/>
- </button>
- <button id="tab_depteduc" class="btn_sw" group="tab1" style="left:90px; top:262px; width:90px; height:22px; ">
- <caption>부서교육</caption>
- <toggle case="case2" ev:event="onclick"/>
- </button>
- <button id="tab_outeduc" class="btn_sw" group="tab1" style="left:180px; top:262px; width:90px; height:22px; ">
- <caption>외부교육</caption>
- <toggle case="case3" ev:event="onclick"/>
- </button>
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:228px; width:1188px; height:29px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line7" class="line_4" style="x1:1110px; y1:230px; x2:1110px; y2:254px; "/>
- <button id="button4" class="btn1_letter2" style="left:1120px; top:232px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removenode("/root/main/educcarer");
- model.makeNode("/root/main/educcarer");
-
- var row = grd_educinfolist.row;
- model.setValue("/root/send/info/emplnum",model.getValue("/root/main/educinfo/educinfolist["+row+"]/emplno"));
-
- submit("TRRPS00802");
- ]]>
- </script>
- </button>
- <caption id="caption1" class="search_name" style="left:20px; top:234px; width:86px; height:17px; ">이수 여부:</caption>
- <select1 id="radio1" ref="/root/send/info/cmpltcursstdyyn" appearance="full" cellspacing="15" cols="3" overflow="visible" style="left:109px; top:235px; width:230px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>이수</label>
- <value>Y</value>
- </item>
- <item>
- <label>미이수</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="cap_educflag" class="search_name" visibility="hidden" style="left:622px; top:234px; width:86px; height:17px; ">교육구분:</caption>
- <select1 id="cmb_educflag" ref="/root/send/info/educflag" class="combo_s_essential" visibility="hidden" appearance="minimal" style="left:705px; top:233px; width:120px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- grd_educinfolist.dispatch("ondblclick");
- model.refresh();
- ]]>
- </script>
- </select1>
- <input id="ipt_apptoyy" ref="/root/send/info/apptoyy" class="input_s_essential" inputtype="date" format="yyyy" style="left:217px; top:17px; width:77px; height:19px; text-align:center; "/>
- <caption id="caption3" style="left:202px; top:17px; width:20px; height:20px; ">~</caption>
- <caption id="caption4" class="search_name" style="left:390px; top:40px; width:86px; height:17px; ">과(팀) :</caption>
- <caption id="caption10" class="search_name" style="left:45px; top:40px; width:86px; height:17px; ">부(실) :</caption>
- <button id="btn_unit" class="icon_search" disabled="true" style="left:1001px; top:41px; 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" || DUTY_PART_YN == "Y" ){
- // unit이 달라지면 상위 부서도 가져온다..
- model.setValue("/root/send/info/grdunitcd", ipt_chrgunitcd.value);
- model.setValue("/root/send/info/posinstcd", ipt_instcd.value);
- model.setValue("/root/send/info/emplno", "" );
- submit("TRRPS04000");
-
- model.setValue("/root/send/info/chrgdeptnm", model.getValue("/root/init/emplinfo/dutdeptnm"));
- model.setValue("/root/send/info/chrgdeptcd", model.getValue("/root/init/emplinfo/dutdeptcd"));
- model.setValue("/root/send/info/chrgteamnm", model.getValue("/root/init/emplinfo/dutteamnm"));
- model.setValue("/root/send/info/chrgteamcd", model.getValue("/root/init/emplinfo/dutteamcd"));
-
- model.refresh();
- }
- else {
- fCheckDisabled(); // 관리자인지 체크한다.
-
- // unit이 달라지면 상위 부서도 가져온다..
- model.setValue("/root/send/info/grdunitcd", ipt_chrgunitcd.value);
- model.setValue("/root/send/info/posinstcd", ipt_instcd.value);
- model.setValue("/root/send/info/emplno", "" );
- submit("TRRPS04000");
-
- // if( !btn_search.disabled &&
- // model.getValue("/root/send/info/chrgdeptcd") == model.getValue("/root/init/emplinfo/dutdeptcd") &&
- // model.getValue("/root/send/info/chrgteamcd") == model.getValue("/root/init/emplinfo/dutteamcd") ) {
-
- model.setValue("/root/send/info/chrgdeptnm", model.getValue("/root/init/emplinfo/dutdeptnm"));
- model.setValue("/root/send/info/chrgdeptcd", model.getValue("/root/init/emplinfo/dutdeptcd"));
- model.setValue("/root/send/info/chrgteamnm", model.getValue("/root/init/emplinfo/dutteamnm"));
- model.setValue("/root/send/info/chrgteamcd", model.getValue("/root/init/emplinfo/dutteamcd"));
- // }
- /* 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:278px; top:41px; 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/send/info/chrgteamnm", "");
- model.setValue("/root/send/info/chrgteamcd", "");
- model.setValue("/root/send/info/chrgunitnm", "");
- model.setValue("/root/send/info/chrgunitcd", "");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_chrgunitnm" ref="/root/send/info/chrgunitnm" class="input_search" disabled="true" appearance="input" style="left:842px; top:40px; width:157px; 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_chrgdeptnm" ref="/root/send/info/chrgdeptnm" class="input_search" disabled="true" visibility="visible" appearance="input" style="left:120px; top:40px; width:156px; 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_chrgunitcd" ref="/root/send/info/chrgunitcd" disabled="true" visibility="hidden" style="left:917px; top:40px; width:55px; height:19px; text-align:center; "/>
- <input id="ipt_chrgdeptcd" ref="/root/send/info/chrgdeptcd" disabled="true" visibility="hidden" style="left:205px; top:40px; width:50px; height:19px; "/>
- <button id="btn_team" class="icon_search" disabled="true" style="left:652px; top:41px; 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/send/info/chrgunitnm", "");
- model.setValue("/root/send/info/chrgunitcd", "");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_chrgteamnm" ref="/root/send/info/chrgteamnm" class="input_search" disabled="true" visibility="visible" appearance="input" style="left:465px; top:40px; width:185px; 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/info/chrgteamcd" disabled="true" visibility="hidden" style="left:520px; top:40px; width:50px; height:19px; "/>
- </group>
- <object id="tfexcel" clsid="{fe8d1001-6a9d-424d-ae2a-301493bb12da}" style="left:0px; top:0px; width:0px; height:0px; "/>
- </xhtml:body>
- </xhtml:html>
|