1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069 |
- <?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>SMRPB30100_TIS 인사마스터수정</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <empl>
- <empllist>
- <gndr/>
- <maryyn/>
- <hdfamyyn/>
- <concroffcyn/>
- <gradupmm/>
- </empllist>
- </empl>
- <emplnogvnoffcord>
- <emplnogvnoffcordlist/>
- </emplnogvnoffcord>
- <empldata>
- <empllist>
- <gndr/>
- <maryyn/>
- <hdfamyyn/>
- <concroffcyn/>
- <gradupmm/>
- <deptcd/>
- <deptnm/>
- <teamcd/>
- <teamnm/>
- <unitcd/>
- <unitnm/>
- <dutplcedeptcd/>
- <dutplcedeptnm/>
- <grupjoblncd/>
- <grupjoblnnm/>
- <joblncd/>
- <joblncnm/>
- <jobkindcd/>
- <jobkindnm/>
- <jobposcd/>
- <jobposnm/>
- <jobrespcd/>
- <jobrespnm/>
- <ojobgradcd/>
- <ojobgradnm/>
- <njobgradcd/>
- <njobgradnm/>
- <continuyy/>
- <continumm/>
- <age/>
- </empllist>
- </empldata>
- <emplnogvnoffcord>
- <emplnogvnoffcordlist/>
- </emplnogvnoffcord>
- <imgdata>
- <photimg/>
- </imgdata>
- <imgviewlist>
- <emplno/>
- <photimg/>
- </imgviewlist>
- </main>
- <send>
- <emplref>
- <emplno/>
- </emplref>
- <save>
- <empllist/>
- <imgviewlist>
- </imgviewlist>
- <emplnogvnoffcordlist/>
- </save>
- </send>
- <init>
- <radio1>
- <label>남</label>
- <value>M</value>
- <label>여</label>
- <value>F</value>
- </radio1>
- <radio2>
- <label>기혼</label>
- <value>Y</value>
- <label>미혼</label>
- <value>N</value>
- </radio2>
- <radio3>
- <label>Yes</label>
- <value>Y</value>
- <label>No</label>
- <value>N</value>
- </radio3>
- <radio4>
- <label>3월</label>
- <value>03</value>
- <label>9월</label>
- <value>09</value>
- </radio4>
- <systemflag/>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
-
- /* Grid 초기화 */
- misfGridInit(grd_empllist);
- misfGridInit(grd_imgviewlist);
-
-
- /* Grid의 Mater, Detail관계 설정
- misfMsterDetailSet(관계설정할 Grid, Mater가 될 Grid, submit ID, 저장여부) */
- misfMsterDetailSet(grd_empllist, null, "TRRPB30101" ,"Y");
- misfMsterDetailSet(grd_imgviewlist, grd_empllist, "TRRPB30103" ,"Y");
- misfMsterDetailSet(grd_gvnoffcordlist, grd_empllist, "TRRPB30102" ,"Y");
- /* Combo Data Setting
- misfComboComCdListMulti(공통코드군, Combo) */
- misfComboComCdListMulti("Z0007,R0058,R0066,R0098,R0187,R0090,Z0007,Z0007,R0059,R0064,R0098,R0091,R0146,R0064"
- ,"cmb_instcd,cmb_prfshipflag,cmb_holyordflag,cmb_payclscd,cmb_pensreglattdnc,grd_gvnoffcordlist.gvnoffcorddetlflag,grd_gvnoffcordlist.dutinstcd,grd_gvnoffcordlist.instcd,grd_gvnoffcordlist.grupjoblncd,grd_gvnoffcordlist.ojobgradcd,grd_gvnoffcordlist.payclscd,grd_gvnoffcordlist.gvnoffcordflag,grd_gvnoffcordlist.preststatcd,grd_gvnoffcordlist.njobgradcd");
-
- var deptcd=getUserInfo("posdeptcd");
- ipt_systemflag.value = "T";
- model.setFocus("ipt_emplno");
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize() {
- model.removeNodeset("/root/main/empl/empllist");
- model.removeNodeset("/root/send/save/imgviewlist");
- model.removeNodeset(grd_gvnoffcordlist.nodeset);
- model.resetInstanceNode("/root/main/empldata");
- model.resetInstanceNode("/root/main/imgviewlist");
- model.refresh();
- fChangeImage("../../../com/commonweb/images/no_image.gif");//초기 이미지설정
- }
- function fChangeImage(imgsrc) {
- img_hidden.src = imgsrc; // 파일에서 읽은 이미지의 base64 encoding 값을 가져오기 위한 이미지 컨트롤
- var data = img_hidden.getbase64data(); // base64 encoding 문자열을 가져온다.
- var imgSize = getImageSize(imgsrc);
- var imgWidthSize = imgSize.split("^")[0];
- var imgHeightSize = imgSize.split("^")[1];
- model.setValue("/root/main/imgdata/photimg",data,true); // 이미지를 보여주기 위하여 view용 이미지컨트롤의 ref instance에 값을 저장
- setImageRefInstance("/root/main/imgdata/photimg"); //base64 encoding 문자열을 이미지로 변환하여 보여준다,
-
- img_view.attribute("width")= "140";
- img_view.attribute("height")= "164";
- var cur_rows = grd_imgviewlist.rows;
- var emplno=model.getValue("/root/main/empldata/empllist[1]/emplno");
- var imgemplno=model.getValue("/root/main/imgviewlist[1]/emplno");
- if(img_hidden.src != "../../../com/commonweb/images/no_image.gif" && imgemplno ==""){//이미지추가시 그리드 추가
- grd_imgviewlist.addrow(); // 입력할 행 추가.
- cur_row = grd_imgviewlist.row; // 추가된 행 번호 가져오기
- // 그리드에 추가
- model.setValue("/root/main/imgviewlist["+cur_row+"]/emplno",emplno);
- model.setValue("/root/main/imgviewlist["+cur_row+"]/photimg",data,true);
- }else if(img_hidden.src != "../../../com/commonweb/images/no_image.gif" && imgemplno !=""){//업데이트시 그리드셋팅
- grd_imgviewlist.addStatus(1,"update");
- model.setValue("/root/main/imgviewlist[1]/emplno",emplno);
- model.setValue("/root/main/imgviewlist[1]/photimg",data,true);
- }
-
- model.refresh();
- }
- function fRetrImage() {//조회시 그리드에 base64 encoding data셋팅하고 사진이미지 보여준다.
- for( var i = grd_imgviewlist.fixedRows ; i < grd_imgviewlist.Rows ; i++ ) {
- var imgdata = model.getValue("/root/main/imgviewlist["+i+"]/photimg"); // base64 encoding 문자열을 가져온다.
- model.setValue("/root/main/imgdata/photimg", imgdata,true);
- setImageRefInstance("/root/main/imgdata/photimg");
- }
- grd_imgviewlist.rebuild();
- model.refresh();
- }
- function fbtndisabled( bool ) {
- btn_save.disabled = bool;
- btn_grdaddscholist.disabled = bool;
- btn_grddelscholist.disabled = bool;
-
- }
-
- function faddDay(yyyy, mm, dd, pDay) {// 년, 월, 일, 계산할 일자 (년도는 반드시 4자리로 입력)
- var oDate; // 리턴할 날짜 객체 선언
- dd = dd*1;// pDay*1; // 날짜 계산
- mm--; // 월은 0~11 이므로 하나 빼준다
- oDate = new Date(yyyy, mm, dd) // 계산된 날짜 객체 생성 (객체에서 자동 계산)
- return oDate;
- }
- function fcalcDate(){
- var cDate;
- var y,m,d;
- var now = new Date();
- var y = now.getYear();
- var m = now.getMonth()+1;
- var d= now.getDate();
- cDate = faddDay(y, m, d, 1)
- yr = cDate.getFullYear();
- mName = cDate.getMonth()+1;
- dName = cDate.getDate();
- if (yr < 100)
- year=("19"+yr).toString();
- else
- year=yr.toString();
-
- if (mName <10)
- month=("0"+mName).toString();
- else
- month=mName.toString();
-
- if (dName <10)
- day=("0"+dName).toString();
- else
- day=dName.toString();
- return year+month+day;
-
- }
- ]]>
- </script>
- <submission id="TRRPB30101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/emplref" resultref="/root/main/empl"/>
- <submission id="TRRPB30102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/emplref" resultref="/root/main/emplnogvnoffcord"/>
- <submission id="TRRPB30103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/emplref" resultref="/root/main/imgviewlist"/>
- <submission id="TXRPB30101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hiddeen/temp"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- </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; ">TIS 인사마스터</caption>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:717px; ">
- <line id="line196" class="line_3" style="x1:0px; y1:229px; x2:160px; y2:229px; "/>
- <line id="line7" class="line_2" style="x1:165px; y1:181px; x2:1195px; y2:181px; "/>
- <line id="line6" class="line_2" style="x1:165px; y1:157px; x2:1195px; y2:157px; "/>
- <line id="line5" class="line_2" style="x1:165px; y1:133px; x2:1195px; y2:133px; "/>
- <line id="line4" class="line_2" style="x1:165px; y1:109px; x2:1195px; y2:109px; "/>
- <line id="line3" class="line_2" style="x1:165px; y1:85px; x2:1195px; y2:85px; "/>
- <line id="line2" class="line_2" style="x1:165px; y1:61px; x2:1195px; y2:61px; "/>
- <line id="line1" class="line_2" style="x1:165px; y1:37px; x2:1195px; y2:37px; "/>
- <line id="line195" class="line_3" style="x1:165; y1:229px; x2:1195; y2:229px; "/>
- <line id="line193" class="line_1" style="x1:165; y1:10px; x2:1195; y2:10px; "/>
- <line id="line8" class="line_2" style="x1:165px; y1:205px; x2:1195px; y2:205px; "/>
- <caption id="caption322" class="cell_1" style="left:989px; top:135px; width:80px; height:23px; vertical-align:middle; ">수습일자</caption>
- <input id="ipt_continuyy" ref="/root/main/empldata/empllist/continuyy" class="input_default" maxlength="2" style="left:575px; top:185px; width:29px; height:19px; "/>
- <caption id="caption311" class="cell_1" style="left:483px; top:159px; width:90px; height:23px; vertical-align:middle; ">가장여부</caption>
- <caption id="caption333" class="cell_1" style="left:483px; top:63px; width:90px; height:23px; ">휴대폰</caption>
- <caption id="caption323" class="cell_1" style="left:713px; top:135px; width:80px; height:23px; vertical-align:middle; ">구직급/호봉</caption>
- <input id="ipt_age" ref="/root/main/empldata/empllist/age" class="input_default" maxlength="2" style="left:575px; top:209px; width:136px; height:19px; "/>
- <button id="btn_emplsearch" class="icon_search" style="left:410px; top:19px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /* 사원번호 Help 화면 Open
- misfOpenPopUpList(화면종류Code, OPEN하는 Control, 공통코드, 리턴받을 Instance명) */
- var recv_list = "emplno";
- rpbfOpenPopUpList("SPRPB00101", ipt_emplno, recv_list,"ipt_systemflag","N");
- //misfOpenPopUpList("01", ipt_emplno,"", recv_list) ;
-
- model.refresh();
- if (ipt_emplno.label != "" && ipt_emplno.label.length > 0) {
- ipt_emplno.dispatch("xforms-value-changed");
- }
-
- ]]>
- </script>
- </button>
- <caption id="caption324" class="cell_1" style="left:713px; top:207px; width:80px; height:23px; vertical-align:middle; ">승급월</caption>
- <caption id="caption325" class="cell_1" style="left:989px; top:15px; width:80px; height:23px; vertical-align:middle; ">입사일자</caption>
- <caption id="caption314" class="cell_1" style="left:483px; top:111px; width:90px; height:23px; vertical-align:middle; ">성별</caption>
- <caption id="caption315" class="cell_1" style="left:713px; top:15px; width:80px; height:23px; vertical-align:middle; ">직군</caption>
- <line id="line192" class="line_1" style="x1:0px; y1:10px; x2:160px; y2:10px; "/>
- <caption id="caption327" class="cell_1" style="left:989px; top:39px; width:80px; height:23px; vertical-align:middle; ">퇴사일자</caption>
- <caption id="caption316" class="cell_1" style="left:713px; top:159px; width:80px; height:23px; vertical-align:middle; ">신직급/연차</caption>
- <caption id="caption328" class="cell_1" style="left:713px; top:39px; width:80px; height:23px; vertical-align:middle; ">직렬</caption>
- <caption id="caption317" class="cell_1" style="left:713px; top:63px; width:80px; height:23px; vertical-align:middle; ">직종</caption>
- <select1 id="rdo_gndr" ref="/root/main/empldata/empllist/gndr" class="radio_search" navindex="12" overflow="visible" appearance="full" cols="2" itemheight="18" itemwidth="50" style="left:575px; top:114px; width:104px; height:19px; text-align:center; border-style:solid; ">
- <choices>
- <itemset nodeset="/root/init/radio1">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption318" class="cell_1" style="left:713px; top:111px; width:80px; height:23px; vertical-align:middle; ">직책</caption>
- <input id="ipt_rregno2" ref="/root/main/empldata/empllist/rregno2" class="input_essential" navindex="11" maxlength="7" style="left:649px; top:89px; width:61px; height:19px; "/>
- <caption id="caption307" class="cell_1" style="left:483px; top:135px; width:90px; height:23px; vertical-align:middle; ">결혼여부</caption>
- <caption id="caption329" class="cell_1" style="left:165px; top:63px; width:90px; height:23px; ">성명(한문)</caption>
- <caption id="caption2" class="cell_1" style="left:165px; top:39px; width:90px; height:23px; ">성명</caption>
- <caption id="caption319" class="cell_1" style="left:713px; top:87px; width:80px; height:23px; vertical-align:middle; ">직위</caption>
- <input id="ipt_rregno1" ref="/root/main/empldata/empllist/rregno1" class="input_essential" navindex="10" maxlength="6" style="left:575px; top:89px; width:58px; height:19px; "/>
- <caption id="caption308" class="cell_1" style="left:483px; top:87px; width:90px; height:23px; vertical-align:middle; ">주민등록번호</caption>
- <caption id="caption3" class="cell_1" style="left:165px; top:87px; width:90px; height:23px; ">소속기관</caption>
- <caption id="caption309" style="left:633px; top:90px; width:16px; height:17px; font-weight:bold; text-align:center; vertical-align:bottom; ">~</caption>
- <select1 id="cmb_prfshipflag" ref="/root/main/empldata/empllist/prfshipflag" class="combo_essential" navindex="7" appearance="minimal" style="left:575px; top:17px; width:136px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption4" class="cell_1" style="left:165px; top:111px; width:90px; height:23px; ">부서</caption>
- <caption id="caption5" class="cell_1" style="left:165px; top:183px; width:90px; height:23px; ">근무지</caption>
- <caption id="caption172" class="cell_1" style="left:0px; top:15px; width:160px; height:215px; vertical-align:middle; "/>
- <input id="ipt_emplno" ref="/root/send/emplref/emplno" class="input_s_essential" navindex="1" autonext="false" maxlength="8" style="left:257px; top:17px; width:149px; height:19px; text-align:center; vertical-align:middle; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfGridInit(grd_empllist);
- misfMsterDetailRetrieve();
-
- if (grd_empllist.rows - grd_empllist.fixedRows == 0) {
- messageBox("사번을 확인 하십시요. 조회 ","E001");
- return;
- //misfGridIUD(grd_empllist, "A");
- }
- /*
- else {
- var prfshipflag = grd_empllist.valueMatrix(grd_empllist.fixedRows, grd_empllist.colRef("prfshipflag"));
-
- /*if (prfshipflag == "31") { // 교직구분 : 전공의
- fbtndisabled(true);
-
- }
- else{
- fbtndisabled(false);
-
- }
- }*/
-
-
- /* Grid Data를 다른 Control로 Copy : TARGET_NODE, SOURCE_NODE는 RPB001.js에 정의 됨.*/
- model.copyNode(TARGET_NODE,SOURCE_NODE);
- fRetrImage();
- //model.copyNode("/root/main/imgview", "/root/main/imgviewlist");
- //if(model.getValue("/root/main/imgviewlist/photimg") ==""){
- //fChangeImage("../../../com/commonweb/images/no_image.gif");
- //}
- model.refresh();
- var cur_row=grd_empllist.row;
- brthdd=model.getValue(grd_empllist.attribute("nodeset")+"["+cur_row+"]/brthdd");
- entcodd=model.getValue(grd_empllist.attribute("nodeset")+"["+cur_row+"]/entcodd");
- retiredd=model.getValue(grd_empllist.attribute("nodeset")+"["+cur_row+"]/retiredd");
- if(retiredd ==""){
- nowday=fcalcDate();
- }else{
- nowday=retiredd;
- }
-
- if(entcodd !=""){
- continuyy=parseFloat(nowday)-parseFloat(entcodd);
- continuyy=""+continuyy;
- if (continuyy.length ==6 ){
- continuyy_i=continuyy.substring(0,2);
- continumm_i=continuyy.substring(2,4);
- }else if(continuyy.length ==5){
- continuyy_i=continuyy.substring(0,2);
- continumm_i=continuyy.substring(2,4);
- }else if(continuyy.length ==4){
-
- continuyy_i="0";
- continumm_i=continuyy.substring(0,2);
-
- }else if(continuyy.length ==3){
- continuyy_i="0";
- continumm_i=continuyy.substring(0,1);
- }else{
- continuyy_i="0";
- continumm_i="0";
- }
-
- ipt_continuyy.value=continuyy_i;
- ipt_continumm.value=continumm_i;
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- /* Enter Key입력시 ipt_emplno의 xforms-value-changed 이벤트 발생 */
- inputEnterKey("ipt_emplno", "xforms-value-changed");
- ]]>
- </script>
- </input>
- <caption id="caption1" class="cell_1" style="left:483px; top:15px; width:90px; height:23px; ">교직구분</caption>
- <caption id="caption7" class="cell_1" style="left:483px; top:183px; width:90px; height:23px; vertical-align:middle; ">근속기간</caption>
- <input id="ipt_name" ref="/root/main/empldata/empllist/name" class="input_essential" navindex="2" maxlength="30" style="left:257px; top:41px; width:224px; height:19px; "/>
- <caption id="caption8" class="cell_1" style="left:483px; top:207px; width:90px; height:23px; vertical-align:middle; ">나이</caption>
- <input id="ipt_chinm" ref="/root/main/empldata/empllist/chinm" class="input_essential" navindex="3" maxlength="30" style="left:257px; top:65px; width:224px; height:19px; "/>
- <caption id="caption9" class="cell_1" style="left:713px; top:183px; width:80px; height:23px; vertical-align:middle; ">겸직유무</caption>
- <input id="ipt_dutplcedeptcd" ref="/root/main/empldata/empllist/dutplcedeptcd" class="input_essential" navindex="6" style="left:257px; top:185px; width:78px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- /* 부서코드,명 입력시 Validation Check
- misfValidationCheck(Validation 종류(부서코드, 공통코드, 우편번호...), 공통코드군, 자료를 받을 Instance Node(콤마로 분류해서 넘기면됨)) */
- misfValidationCheck("02", "", "dutplcedeptcd,dutplcedeptnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption320" class="cell_1" style="left:989px; top:63px; width:80px; height:23px; vertical-align:middle; ">연금직급</caption>
- <input id="ipt_hosinseqno" ref="/root/main/empldata/empllist/hosinseqno" class="input_essential" navindex="8" maxlength="15" style="left:575px; top:41px; width:136px; height:19px; "/>
- <caption id="caption331" class="cell_1" style="left:483px; top:39px; width:90px; height:23px; ">원내번호</caption>
- <button id="btn_fileupload" class="btn2_letter9" style="left:20px; top:199px; width:119px; height:19px; text-align:center; ">
- <caption>사 진 변 경</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var emplno=model.getValue("/root/main/empldata/empllist[1]/emplno");
- if(emplno ==""){
- messageBox("사원을 ","C002");
- return;
- }
- // var file = openImageFileDialog(32768); // image 파일이 너무 크면 submit 시간이 매우 오래(5분이상) 걸리므로 가급적 사이즈를 작게 제한한다.
- var file = openImageFileDialog(1048576); // image 파일이 너무 크면 submit 시간이 매우 오래(5분이상) 걸리므로 가급적 사이즈를 작게 제한한다.
- if (file == "") {
- return;
- }
- fChangeImage(file);
-
- //model.setFocus("ipt_imgnminput");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption321" class="cell_1" style="left:989px; top:111px; width:80px; height:23px; vertical-align:middle; ">CMC입사일</caption>
- <input id="ipt_mpphonno" ref="/root/main/empldata/empllist/mpphonno" class="input_essential" navindex="9" maxlength="15" style="left:575px; top:65px; width:136px; height:19px; "/>
- <select1 id="rdo_maryyn" ref="/root/main/empldata/empllist/maryyn" class="radio_search" navindex="13" overflow="visible" appearance="full" cols="2" itemheight="18" itemwidth="50" style="left:575px; top:138px; width:104px; height:19px; text-align:center; border-style:solid; ">
- <choices>
- <itemset nodeset="/root/init/radio2">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="rdo_hdfamyyn" ref="/root/main/empldata/empllist/hdfamyyn" class="radio_search" navindex="14" overflow="visible" appearance="full" cols="4" itemheight="18" itemwidth="50" style="left:575px; top:162px; width:104px; height:19px; text-align:center; border-style:solid; ">
- <choices>
- <itemset nodeset="/root/init/radio3">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="rdo_concroffcyn" ref="/root/main/empldata/empllist/concroffcyn" class="radio_search" navindex="15" overflow="visible" appearance="full" cols="2" itemheight="18" itemwidth="50" style="left:795px; top:186px; width:120px; height:19px; text-align:center; border-style:solid; ">
- <choices>
- <itemset nodeset="/root/init/radio3">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <img id="img_view" ref="/root/main/imgdata/photimg" style="left:10px; top:25px; width:140px; height:164px; background-stretch:stretch; "/>
- <img id="img_hidden" visibility="hidden" style="left:10px; top:25px; width:140px; height:164px; "/>
- <caption id="caption164" class="cell_1" style="left:165px; top:15px; width:90px; height:23px; ">사원번호</caption>
- <input id="ipt_deptcd" ref="/root/main/empldata/empllist/deptcd" class="input_essential" navindex="5" required="true" style="left:257px; top:113px; width:78px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- /* 부서코드,명 입력시 Validation Check
- misfValidationCheck(Validation 종류(부서코드, 공통코드, 우편번호...), 공통코드군, 자료를 받을 Instance Node(콤마로 분류해서 넘기면됨)) */
- misfValidationCheck("02", "", "deptcd,deptnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_anual" ref="/root/main/empldata/empllist/anual" class="input_default" navindex="28" maxlength="2" style="left:926px; top:161px; width:61px; height:19px; "/>
- <button id="button52" class="btn2_letter3" style="left:428px; top:16px; width:53px; height:19px; ">
- <caption>조직도</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.load("./SMRPC00400_조직도.xrw", "modal", "modalWin", "width:900px; height:800px", "", "");
- ]]>
- </script>
- </button>
- <caption id="caption23" style="left:605px; top:185px; width:15px; height:20px; vertical-align:middle; ">년</caption>
- <input id="ipt_continumm" ref="/root/main/empldata/empllist/continumm" class="input_default" maxlength="2" style="left:619px; top:185px; width:29px; height:19px; "/>
- <caption id="caption26" style="left:654px; top:185px; width:26px; height:20px; vertical-align:middle; ">개월</caption>
- <select1 id="cmb_instcd" ref="/root/main/empldata/empllist/instcd" class="combo_search comboinput" navindex="4" appearance="minimal" style="left:257px; top:89px; width:224px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_deptcd" class="icon_search" style="left:338px; top:115px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "deptcd,deptnm";
- var instcd = cmb_instcd.value;
- rpbfOpenDeptCdHelp(ipt_deptcd,recv_list, instcd, "instcd");
- model.refresh();
-
- ]]>
- </script>
- </button>
- <output id="opt_deptnm" ref="/root/main/empldata/empllist/deptnm" class="output_fix" style="left:356px; top:113px; width:125px; height:19px; "/>
- <output id="opt_dutplcedeptnm" ref="/root/main/empldata/empllist/dutplcedeptnm" class="output_fix" style="left:356px; top:185px; width:125px; height:19px; "/>
- <button id="btn_dutplcedeptcd" class="icon_search" style="left:338px; top:187px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "dutplcedeptcd,dutplcedeptnm";
- var instcd = grd_empllist.valueMatrix(grd_empllist.row, grd_empllist.colRef("dutplceinst"));
-
- rpbfOpenDeptCdHelp(ipt_dutplcedeptcd,recv_list, instcd, "instcd");
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="cmb_payclscd" ref="/root/main/empldata/empllist/payclscd" class="combo_essential" navindex="27" appearance="minimal" style="left:926px; top:137px; width:61px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_entcodd" ref="/root/main/empldata/empllist/entcodd" navindex="30" inputtype="date" style="left:1071px; top:17px; width:122px; height:19px; "/>
- <input id="ipt_retiredd" ref="/root/main/empldata/empllist/retiredd" navindex="31" inputtype="date" style="left:1071px; top:41px; width:122px; height:19px; "/>
- <caption id="caption91" class="cell_1" style="left:989px; top:87px; width:80px; height:23px; vertical-align:middle; ">연금년수</caption>
- <select1 id="cmb_pensreglattdnc" ref="/root/main/empldata/empllist/pensreglattdnc" class="combo_essential" navindex="32" appearance="minimal" style="left:1071px; top:65px; width:122px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_cmcentcodd" ref="/root/main/empldata/empllist/cmcentcodd" navindex="34" inputtype="date" style="left:1071px; top:113px; width:122px; height:19px; "/>
- <input id="ipt_probatndd" ref="/root/main/empldata/empllist/probatndd" navindex="35" inputtype="date" style="left:1071px; top:137px; width:122px; height:19px; "/>
- <output id="opt_grupjoblnnm" ref="/root/main/empldata/empllist/grupjoblnnm" class="output_fix" style="left:867px; top:17px; width:120px; height:19px; "/>
- <button id="btn_grupjoblncd" class="icon_search" style="left:850px; top:19px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "grupjoblncd,grupjoblnnm";
- rpbfOpenComCdHelp(ipt_grupjoblncd,"R0059", recv_list);
- model.refresh();
-
-
- ]]>
- </script>
- </button>
- <input id="ipt_grupjoblncd" ref="/root/main/empldata/empllist/grupjoblncd" class="input_essential" navindex="20" style="left:795px; top:17px; width:52px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("03", "R0059", "grupjoblncd,grupjoblnnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_joblncd" class="icon_search" style="left:850px; top:43px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "joblncd,joblnnm";
- rpbfOpenComCdHelp(ipt_joblncd,"R0060", recv_list);
- model.refresh();
-
- ]]>
- </script>
- </button>
- <output id="opt_joblnnm" ref="/root/main/empldata/empllist/joblnnm" class="output_fix" style="left:867px; top:41px; width:120px; height:19px; "/>
- <input id="ipt_joblncd" ref="/root/main/empldata/empllist/joblncd" class="input_essential" navindex="21" style="left:795px; top:41px; width:52px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("03", "R0060", "joblncd,joblnnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_jobkindcd" class="icon_search" style="left:850px; top:67px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "jobkindcd,jobkindnm";
- rpbfOpenComCdHelp(ipt_jobkindcd,"R0061", recv_list);
- model.refresh();
-
- ]]>
- </script>
- </button>
- <output id="opt_jobkindnm" ref="/root/main/empldata/empllist/jobkindnm" class="output_fix" style="left:867px; top:65px; width:120px; height:19px; "/>
- <input id="ipt_jobkindcd" ref="/root/main/empldata/empllist/jobkindcd" class="input_essential" navindex="22" style="left:795px; top:65px; width:52px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("03", "R0061", "jobkindcd,jobkindnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_jobposcd" class="icon_search" style="left:850px; top:91px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "jobposcd,jobposnm";
- rpbfOpenComCdHelp(ipt_jobposcd,"R0062", recv_list);
- model.refresh();
-
- ]]>
- </script>
- </button>
- <output id="opt_jobposnm" ref="/root/main/empldata/empllist/jobposnm" class="output_fix" style="left:867px; top:89px; width:120px; height:19px; "/>
- <input id="ipt_jobposcd" ref="/root/main/empldata/empllist/jobposcd" class="input_essential" navindex="23" style="left:795px; top:89px; width:52px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("03", "R0062", "jobposcd,jobposnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <output id="opt_jobrespnm" ref="/root/main/empldata/empllist/jobrespnm" class="output_fix" style="left:867px; top:113px; width:120px; height:19px; "/>
- <button id="btn_jobrespcd" class="icon_search" style="left:850px; top:115px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "jobrespcd,jobrespnm";
- rpbfOpenComCdHelp(ipt_jobrespcd,"R0063", recv_list);
- model.refresh();
-
- ]]>
- </script>
- </button>
- <input id="ipt_jobrespcd" ref="/root/main/empldata/empllist/jobrespcd" class="input_essential" navindex="24" style="left:795px; top:113px; width:52px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("03", "R0063", "jobrespcd,jobrespnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_ojobgradcd" class="icon_search" style="left:850px; top:139px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "ojobgradcd,ojobgradnm";
- rpbfOpenComCdHelp(ipt_ojobgradcd,"R0064", recv_list);
- model.refresh();
-
- ]]>
- </script>
- </button>
- <output id="opt_ojobgradnm" ref="/root/main/empldata/empllist/ojobgradnm" class="output_fix" style="left:867px; top:137px; width:57px; height:19px; "/>
- <input id="ipt_ojobgradcd" ref="/root/main/empldata/empllist/ojobgradcd" class="input_essential" navindex="25" style="left:795px; top:137px; width:52px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("03", "R0064", "ojobgradcd,ojobgradnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_njobgradcd" class="icon_search" style="left:850px; top:163px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "njobgradcd,njobgradnm";
- rpbfOpenComCdHelp(ipt_njobgradcd,"R0064", recv_list);
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_njobgradcd" ref="/root/main/empldata/empllist/njobgradcd" class="input_essential" navindex="26" style="left:795px; top:161px; width:52px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("03", "R0064", "njobgradcd,njobgradnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <output id="opt_njobgradnm" ref="/root/main/empldata/empllist/njobgradnm" class="output_fix" style="left:867px; top:161px; width:57px; height:19px; "/>
- <input id="ipt_regldutyyno" ref="/root/main/empldata/empllist/regldutyyno" class="input_default" navindex="33" style="left:1071px; top:89px; width:122px; height:19px; text-align:center; vertical-align:middle; "/>
- <caption id="caption66" class="cell_1" style="left:165px; top:207px; width:90px; height:23px; vertical-align:middle; ">성직구분</caption>
- <select1 id="cmb_holyordflag" ref="/root/main/empldata/empllist/holyordflag" class="combo_essential" navindex="19" appearance="minimal" style="left:257px; top:209px; width:224px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <select1 id="rdo_gradupmm" ref="/root/main/empldata/empllist/gradupmm" class="radio_search" navindex="29" appearance="full" cols="2" itemheight="18" itemwidth="53" style="left:795px; top:210px; width:120px; height:19px; text-align:center; border-style:solid; ">
- <choices>
- <itemset nodeset="/root/init/radio4">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <output id="opt_teamnm" ref="/root/main/empldata/empllist/teamnm" class="output_fix" style="left:356px; top:137px; width:125px; height:19px; "/>
- <caption id="caption28" class="cell_1" style="left:165px; top:135px; width:90px; height:23px; ">팀</caption>
- <button id="btn_team" class="icon_search" style="left:338px; top:139px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "teamcd,teamnm";
- var instcd = cmb_instcd.value;
- rpbfOpenDeptCdHelp(ipt_teamcd,recv_list, instcd, "instcd");
- model.refresh();
-
- ]]>
- </script>
- </button>
- <input id="ipt_teamcd" ref="/root/main/empldata/empllist/teamcd" class="input_essential" navindex="5" required="true" style="left:257px; top:137px; width:78px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- /* 부서코드,명 입력시 Validation Check
- misfValidationCheck(Validation 종류(부서코드, 공통코드, 우편번호...), 공통코드군, 자료를 받을 Instance Node(콤마로 분류해서 넘기면됨)) */
- misfValidationCheck("02", "", "teamcd,teamnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_unit" class="icon_search" style="left:338px; top:163px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "unitcd,unitnm";
- var instcd = cmb_instcd.value;
- rpbfOpenDeptCdHelp(ipt_unitcd,recv_list,instcd,"instcd");
- model.refresh();
-
- ]]>
- </script>
- </button>
- <caption id="caption32" class="cell_1" style="left:165px; top:159px; width:90px; height:23px; ">유닛</caption>
- <output id="opt_unitnm" ref="/root/main/empldata/empllist/unitnm" class="output_fix" style="left:356px; top:161px; width:125px; height:19px; "/>
- <input id="ipt_unitcd" ref="/root/main/empldata/empllist/unitcd" class="input_essential" navindex="5" required="true" style="left:257px; top:161px; width:78px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- /* 부서코드,명 입력시 Validation Check
- misfValidationCheck(Validation 종류(부서코드, 공통코드, 우편번호...), 공통코드군, 자료를 받을 Instance Node(콤마로 분류해서 넘기면됨)) */
- misfValidationCheck("02", "", "unitcd,unitnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <datagrid id="grd_gvnoffcordlist" nodeset="/root/main/emplnogvnoffcord/emplnogvnoffcordlist" caption="발령일자^해임^종료일자^발령 구분^발령^현재 상태^보직(겸직)기관^근무부(실)^근무부서^근무과(팀)^근무팀^부서코드^보직(겸직)부서^기관^부(실)^부서^과(팀)^팀^부서^유닛^직군^직군코드^직열^직열코드^직종^직종코드^직위^직위코드^직책^직책코드^직급^호봉^신직급^년차^비고^사원번호^순번^발령구분^급여기관^현상태^성직구준^교직구분^겸직여부^삭제^발령번호^퇴직사유^입사일^퇴사일|발령일자^해임^종료일자^발령 구분^발령^현재 상태^보직(겸직)기관^근무부(실)^근무부서^근무과(팀)^근무팀^부서코드^보직(겸직)부서^기관^부(실)^부서^과(팀)^팀^부서^유닛^직군^직군코드^직열^직열코드^직종^직종코드^직위^직위코드^직책^직책코드^직급^호봉^신직급^년차^비고^사원번호^순번^발령구분^급여기관^현상태^성직구준^교직구분^겸직여부^삭제^발령번호^퇴직사유^입사일^퇴사일" colsep="^" colwidth="90, 31, 88, 97, 101, 80, 100, 100, 15, 100, 14, 16, 106, 85, 100, 10, 94, 12, 89, 8, 100, 15, 105, 15, 95, 14, 100, 9, 106, 7, 76, 64, 71, 26, 100, 32, 18, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28" dataheight="25" ellipsis="true" explorerbar="sortshow" frozencols="11" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:259px; width:1195px; height:448px; ">
- <col disabled="true" ref="gvnoffcorddd" type="inputdate"/>
- <col checkvalue="Y,N" ref="concroffccnclyn" type="checkbox"/>
- <col ref="concroffccncldd" type="inputdate"/>
- <col ref="gvnoffcordflag" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <col ref="gvnoffcorddetlflag" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="preststatcd" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <col ref="dutinstcd" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="dutdeptnm" type="inputbutton"/>
- <col ref="dutdeptcd" visibility="hidden"/>
- <col ref="dutteamnm" type="inputbutton"/>
- <col ref="dutteamcd" visibility="hidden"/>
- <col ref="dutunitcd" visibility="hidden"/>
- <col ref="dutunitnm" type="inputbutton"/>
- <col ref="instcd" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="deptnm" type="inputbutton"/>
- <col ref="deptcd" visibility="hidden"/>
- <col ref="teamnm" type="inputbutton"/>
- <col ref="teamcd" visibility="hidden"/>
- <col ref="unitnm" type="inputbutton"/>
- <col ref="unitcd" visibility="hidden"/>
- <col ref="grupjoblncd" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="grupjoblnnm" visibility="hidden"/>
- <col ref="joblnnm" type="inputbutton"/>
- <col ref="joblncd" visibility="hidden"/>
- <col ref="jobkindnm" type="inputbutton"/>
- <col ref="jobkindcd" visibility="hidden"/>
- <col ref="jobposnm" type="inputbutton"/>
- <col ref="jobposcd" visibility="hidden"/>
- <col ref="jobrespnm" type="inputbutton"/>
- <col ref="jobrespcd" visibility="hidden"/>
- <col ref="ojobgradcd" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="payclscd" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="njobgradcd" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="anual" visibility="hidden"/>
- <col ref="cmt" type="input"/>
- <col ref="emplno" visibility="hidden"/>
- <col ref="seqno" visibility="hidden"/>
- <col ref="gvnoffcordflag" visibility="hidden"/>
- <col ref="payinst" visibility="hidden"/>
- <col ref="preststatcd" visibility="hidden"/>
- <col ref="holyordflag" visibility="hidden"/>
- <col ref="prfshipflag" visibility="hidden"/>
- <col ref="concroffcyn" visibility="hidden"/>
- <col ref="delyn" visibility="hidden"/>
- <col ref="gvnoffcordno" visibility="hidden"/>
- <col ref="retireresncd" visibility="hidden"/>
- <col ref="entcodd" visibility="hidden"/>
- <col ref="retiredd" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- var instcd = grd_gvnoffcordlist.valueMatrix(grd_gvnoffcordlist.row, grd_gvnoffcordlist.colRef("dutinstcd"));
- var instcd2 = grd_gvnoffcordlist.valueMatrix(grd_gvnoffcordlist.row, grd_gvnoffcordlist.colRef("instcd"));
- if (grd_gvnoffcordlist.colAttribute(grd_gvnoffcordlist.col,"ref") == "dutunitnm" ) {
- var recv_list = "dutunitcd,dutunitnm";
- rpbfOpenDeptCdHelp(grd_gvnoffcordlist,recv_list, instcd, "instcd");
- model.refresh();
- }
- else if (grd_gvnoffcordlist.colAttribute(grd_gvnoffcordlist.col,"ref") == "dutdeptnm" ) {
- var recv_list = "dutdeptcd,dutdeptnm";
- rpbfOpenDeptCdHelp(grd_gvnoffcordlist,recv_list, instcd, "instcd");
- model.refresh();
- }
- else if (grd_gvnoffcordlist.colAttribute(grd_gvnoffcordlist.col,"ref") == "dutteamnm" ) {
- var recv_list = "dutteamcd,dutteamnm";
- rpbfOpenDeptCdHelp(grd_gvnoffcordlist,recv_list, instcd, "instcd");
- model.refresh();
- }
- else if (grd_gvnoffcordlist.colAttribute(grd_gvnoffcordlist.col,"ref") == "deptnm" ) {
- var recv_list = "deptcd,deptnm";
- rpbfOpenDeptCdHelp(grd_gvnoffcordlist,recv_list, instcd2, "instcd");
- model.refresh();
- }
- else if (grd_gvnoffcordlist.colAttribute(grd_gvnoffcordlist.col,"ref") == "teamnm" ) {
- var recv_list = "teamcd,teamnm";
- rpbfOpenDeptCdHelp(grd_gvnoffcordlist,recv_list, instcd2, "instcd");
- model.refresh();
- }
- else if (grd_gvnoffcordlist.colAttribute(grd_gvnoffcordlist.col,"ref") == "unitnm" ) {
- var recv_list = "unitcd,unitnm";
- rpbfOpenDeptCdHelp(grd_gvnoffcordlist,recv_list, instcd2, "instcd");
- model.refresh();
- }
- else if (grd_gvnoffcordlist.colAttribute(grd_gvnoffcordlist.col,"ref") == "joblnnm" ) {
- var recv_list = "joblncd,joblnnm";
- rpbfOpenComCdHelp(grd_gvnoffcordlist,"R0060", recv_list);
- model.refresh();
- }
- else if (grd_gvnoffcordlist.colAttribute(grd_gvnoffcordlist.col,"ref") == "joblnnm" ) {
- var recv_list = "joblncd,joblnnm";
- rpbfOpenComCdHelp(grd_gvnoffcordlist,"R0060", recv_list);
- model.refresh();
- }
- else if (grd_gvnoffcordlist.colAttribute(grd_gvnoffcordlist.col,"ref") == "jobkindnm" ) {
- var recv_list = "jobkindcd,jobkindnm";
- rpbfOpenComCdHelp(grd_gvnoffcordlist,"R0061", recv_list);
- model.refresh();
- }
- else if (grd_gvnoffcordlist.colAttribute(grd_gvnoffcordlist.col,"ref") == "jobposnm" ) {
- var recv_list = "jobposcd,jobposnm";
- rpbfOpenComCdHelp(grd_gvnoffcordlist,"R0062", recv_list);
- model.refresh();
- }
- else if (grd_gvnoffcordlist.colAttribute(grd_gvnoffcordlist.col,"ref") == "jobrespnm" ) {
- var recv_list = "jobrespcd,jobrespnm";
- rpbfOpenComCdHelp(grd_gvnoffcordlist,"R0063", recv_list);
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (grd_gvnoffcordlist.colAttribute(grd_gvnoffcordlist.col,"ref") == "dutunitcd" ) {
- misfValidationCheck("02", "", "dutunitcd,dutunitnm" );
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_imgviewlist" nodeset="/root/main/imgviewlist" visibility="hidden" caption="사원번호^이미지" colsep="^" colwidth="100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:30px; top:405px; width:240px; height:100; ">
- <col ref="emplno"/>
- <col ref="photimg" style="background-stretch:stretch; "/>
- </datagrid>
- <datagrid id="grd_empllist" nodeset="/root/main/empl/empllist" visibility="hidden" caption="사원번호^나이^년차^한문성명^CMC입사일^겸직유무^부서코드^부서코드명^근무지부서코드^근무지부서명^입사일자^성별^승급월^직군^직군명^가장여부^성직구분^원내번호^기관코드^직종^직종명^직렬^직렬명^직위^직위명^직책^직책명^결혼여부^휴대폰^성명^신직급^신직급명^구직급^구직급명^호봉^연금직급^교직구분^수습일자^직급년수^퇴사일자^주민번호1^주민번호2^팀코드^팀명^유닛코드^유닛명" colsep="^" colwidth="66, 48, 44, 55, 68, 63, 28, 77, 24, 46, 100, 48, 56, 48, 41, 61, 55, 34, 55, 39, 35, 49, 46, 39, 40, 43, 51, 89, 41, 48, 40, 49, 100, 46, 100, 42, 52, 33, 46, 47, 47, 46, 43, 28, 36, 31, 37, 37, 34, 44, 40, 48, 42, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 22, 23, 24, 28, 22, 35, 27, 32, 35, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:30px; top:509px; width:920px; height:100px; ">
- <col ref="emplno"/>
- <col ref="age"/>
- <col ref="anual"/>
- <col ref="chinm"/>
- <col ref="cmcentcodd"/>
- <col ref="concroffcyn"/>
- <col ref="deptcd"/>
- <col ref="deptnm"/>
- <col ref="dutplcedeptcd"/>
- <col ref="dutplcedeptnm"/>
- <col ref="entcodd"/>
- <col ref="gndr"/>
- <col ref="gradupmm"/>
- <col ref="grupjoblncd"/>
- <col ref="grupjoblnnm"/>
- <col ref="hdfamyyn"/>
- <col ref="holyordflag"/>
- <col ref="hosinseqno"/>
- <col ref="instcd"/>
- <col ref="jobkindcd"/>
- <col ref="jobkindnm"/>
- <col ref="joblncd"/>
- <col ref="joblnnm"/>
- <col ref="jobposcd"/>
- <col ref="jobposnm"/>
- <col ref="jobrespcd"/>
- <col ref="jobrespnm"/>
- <col ref="maryyn"/>
- <col ref="mpphonno"/>
- <col ref="name"/>
- <col ref="njobgradcd"/>
- <col ref="njobgradnm"/>
- <col ref="ojobgradcd"/>
- <col ref="ojobgradnm"/>
- <col ref="payclscd"/>
- <col ref="pensreglattdnc"/>
- <col ref="prfshipflag"/>
- <col ref="probatndd"/>
- <col ref="regldutyyno"/>
- <col ref="retiredd"/>
- <col ref="rregno1"/>
- <col ref="rregno2"/>
- <col ref="teamcd"/>
- <col ref="teamnm"/>
- <col ref="unitcd"/>
- <col ref="unitnm"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- misfMsterDetailRetrieve();
- ]]>
- </script>
- </datagrid>
- <caption id="caption460" class="tit_2" style="left:5px; top:239px; width:144px; height:13px; ">발령이동사항</caption>
- <line id="line300" class="line_1" style="x1:0px; y1:254px; x2:1195; y2:254px; "/>
- <button id="btn_grdaddscholist" class="btn2_letter3" style="left:1086px; top:233px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_gvnoffcordlist, "A");
-
- grd_gvnoffcordlist.valueMatrix(grd_gvnoffcordlist.row, grd_gvnoffcordlist.colRef("holyordflag")) = cmb_holyordflag.value;
- grd_gvnoffcordlist.valueMatrix(grd_gvnoffcordlist.row, grd_gvnoffcordlist.colRef("prfshipflag")) = cmb_prfshipflag.value;
- ]]>
- </script>
- </button>
- <button id="btn_grddelscholist" class="btn2_letter3" style="left:1141px; top:233px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_gvnoffcordlist, "D");
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <button id="btn_move" class="btn3_letter4" visibility="hidden" style="left:0px; top:3px; width:80px; height:22px; ">
- <caption>화면이동</caption>
- </button>
- <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[
-
- /* Grid의 DATA와 각 Control의 값을 비교해서 수정 되었으면 Grid에 Copy후 Grid의 상태를 바꿔준다 */
- misfGridRowStatusChange(grd_empllist, SOURCE_NODE, TARGET_NODE);
- var updtdata = getGridUpdateData(grd_empllist);
- updtdata=updtdata + getGridUpdateData(grd_gvnoffcordlist);
- var cur_rows=grd_imgviewlist.rows;
-
- if(img_hidden.src =="../../../com/commonweb/images/no_image.gif"){
- imgupdtdata="";
- }
- else{
- imgupdtdata=getGridUpdateData(grd_imgviewlist);
- }
-
- if (updtdata == "" && imgupdtdata =="") {
- messageBox("변경된 데이터가","I004");
- return;
- }
- model.refresh()
- model.setValue("/root/send/save/empllist", grd_empllist.getUpdateData());
- model.makeNode("/root/send/save/imgviewlist");
- model.setValue("/root/send/save/imgviewlist", grd_imgviewlist.getUpdateData());
- model.setValue("/root/send/save/emplnogvnoffcordlist", grd_gvnoffcordlist.getUpdateData());
- submit("TXRPB30101");
-
- ]]>
- </script>
- </button>
- <line id="line75" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
- <input id="ipt_systemflag" ref="/root/init/systemflag" visibility="hidden" style="left:100px; top:5px; width:45px; height:19px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|