123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet ype="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>직무기술서 관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <jobdsccrptnlist>
- <emplno/>
- <emplnm/>
- <deptcd/>
- <deptnm/>
- <teamcd/>
- <teamnm/>
- <unitcd/>
- <unitnm/>
- <dutplcedeptnm/>
- <jobposcd/>
- <jobposnm/>
- <jobgradcd/>
- <jobgradnm/>
- <ability/>
- <business/>
- <career/>
- <confirm/>
- <confirmdate/>
- <education/>
- <etc/>
- <jobdate/>
- <jobdesc/>
- <jobname/>
- <jobobject/>
- <license/>
- <major/>
- <scholar/>
- <valuer/>
- <valuerdate/>
- <writer/>
- <writerdate/>
- <dutplcedeptcd/>
- <dutunitcd/>
- <dutunitnm/>
- <jobdescd/>
- <jobdescm/>
- <jobseq/>
- </jobdsccrptnlist>
- <empInfolst>
- <empllist/>
- </empInfolst>
- <jobdsccrptndesclist/>
- </main>
- <send>
- <save>
- </save>
- <emplno/>
- <emplnm/>
- <dutunitcd/>
- <dutunitnm/>
- <jobdate/>
- <initemplno/>
- <initemplnm/>
- <refcond/>
- <instcd/>
- <indexseq/>
- <delitem>
- <demplno/>
- <djobdate/>
- <djobseq/>
- <djobflag/>
- </delitem>
- </send>
- <temp>
- </temp>
- <init>
- </init>
- <hidden>
- <savelist>
- <jobdsccrptnlist/>
- <jobdsccrptndesclist/>
- </savelist>
- </hidden>
- <init2>
- <jobposerlist/>
- <jobposer/>
- </init2>
- <srch>
- <jobdsccrptnlist>
- <emplno/>
- <emplnm/>
- <deptcd/>
- <deptnm/>
- <teamcd/>
- <teamnm/>
- <unitcd/>
- <unitnm/>
- <dutplcedeptnm/>
- <jobposcd/>
- <jobposnm/>
- <jobgradcd/>
- <jobgradnm/>
- <ability/>
- <business/>
- <career/>
- <confirm/>
- <confirmdate/>
- <education/>
- <etc/>
- <jobdate/>
- <jobdesc/>
- <jobname/>
- <jobobject/>
- <license/>
- <major/>
- <scholar/>
- <valuer/>
- <valuerdate/>
- <writer/>
- <writerdate/>
- <dutplcedeptcd/>
- <dutunitcd/>
- <dutunitnm/>
- </jobdsccrptnlist>
- </srch>
- <temp2>
- <jobdescd/>
- <jobdescm/>
- <jobseq/>
- <jobdate/>
- </temp2>
- </root>
- </instance>
- <submission id="TRRWP23001" mediatype="application/x-www-form-urlencoded" method="get" ref="/root/send" replace="instance" resultref="/root/main/"/>
- <submission id="TRRWP23002" mediatype="application/x-www-form-urlencoded" method="get" ref="/root/send" replace="instance" resultref="/root/init2"/>
- <submission id="TXRWP23001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/savelist" replace="instance" resultref="/root/temp"/>
- <submission id="TXRWP23002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/delitem" replace="instance" resultref="/root/temp"/>
- <submission id="TRRWP23003" mediatype="application/x-www-form-urlencoded" method="get" ref="/root/send" replace="instance" resultref="/root/main/empInfolst"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/paybaseinfomngtweb/js/RWC001.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript" src="../../../mis/paybaseinfomngtweb/js/RWC001.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RAC001.js"/>
- <script type="javascript" src="../../../mis/acntcommonweb/js/RAD001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fInitialize()
- {
- model.setValue("/root/send/initemplno", getUserInfo("userid"));
- model.setValue("/root/send/initemplnm", getUserInfo("usernm"));
- model.setValue("/root/send/jobdate", getCurrentDate());
-
- model.setValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.setValue("/root/send/refcond", "emplno");
-
- submit("TRRWP23002");
- misfComboComCdListMulti("R0062,R0064","cmb_jobpos,cmb_jobgrad");
- model.removenode("/root/main/jobdsccrptnlist");
- btn_search.dispatch("DOMActivate");
-
- if( getNodesetCount("/root/main/jobdsccrptnlist") < 1){
- btn_init.dispatch("DOMActivate");
- }
-
- // 부서가 총무팀, 로그인아이디가 97089일 경우, 사번 전체조회가능
- var logindeptcd = getUserInfo("dutplcecd");
- var loginid = getUserInfo("userid");
- if( logindeptcd == "4020323000" || logindeptcd == "4020327000" || loginid == "97089" ){
- ipt_emplno.disabled = false;
- btn_emplno.disabled = false;
- }else{
- ipt_emplno.disabled = true;
- btn_emplno.disabled = true;
- }
- model.refresh();
- }
-
- function fSave()
- {
- if(model.getValue("/root/main/jobdsccrptnlist/emplno") == "" )
- {
- messageBox("사원번호를 입력해주세요.", "E999");
- return;
- }
-
- if(model.getValue("/root/main/jobdsccrptnlist/jobdate") == "" )
- {
- messageBox("직무기간을 입력해주세요.", "E999");
- return;
- }
-
- model.setValue("/root/main/jobdsccrptnlist/writer", getUserInfo("userid"));
- model.setValue("/root/main/jobdsccrptnlist/confirmdate", getCurrentDate());
- model.setValue("/root/main/jobdsccrptnlist/writerdate", getCurrentDate());
- model.setValue("/root/main/jobdsccrptnlist/valuerdate", getCurrentDate());
-
- model.copyNode("/root/hidden/savelist/jobdsccrptnlist", "/root/main/jobdsccrptnlist");
- model.makeValue("/root/hidden/savelist/jobdsccrptnlist/desclist", dtg_desclist.getUpdateData());
-
- if( submit("TXRWP23001") ){
- messageBox("저장되었습니다.", "I000");
- btn_search.dispatch("DOMActivate");
- }
- model.refresh();
- }
-
- function fDel(){
- if( model.getValue("/root/main/jobdsccrptnlist/emplno") == "" ){
- messageBox("직무기술서 내역을 조회한 후 진행하십시오.", "E999", "");
- return;
- }
-
- if( messageBox("삭제하시겠습니까", "Q999") == 6 ){
- model.setValue("/root/send/delitem/demplno", model.getValue("/root/main/jobdsccrptnlist/emplno") );
- model.setValue("/root/send/delitem/djobdate", model.getValue("/root/main/jobdsccrptnlist/jobdate") );
- model.setValue("/root/send/delitem/djobseq", "" );
- model.setValue("/root/send/delitem/djobflag", "1" );
- if( submit("TXRWP23002") ){
- messageBox("삭제되었습니다.", "I000");
- btn_search.dispatch("DOMActivate");
- }
- }
- model.refresh();
- }
-
- function fPrint(){
- model.removeNodeset("/root/prntlst/jobdsccrptnlist");
- model.removeNodeset("/root/prntlst/jobdesclist");
- model.makeNode("/root/prntlst/jobdsccrptnlist");
- model.makeNode("/root/prntlst/jobdesclist");
- model.copyNode("/root/prntlst/jobdsccrptnlist", "/root/main/jobdsccrptnlist");
-
- model.setValue("/root/prntlst/jobdsccrptnlist/jobgradnm", cmb_jobgrad.label );
- model.setValue("/root/prntlst/jobdsccrptnlist/jobposnm", cmb_jobpos.label );
-
- model.setValue("/root/prntlst/jobdsccrptnlist/valuer", cmb_valuer.label );
- model.setValue("/root/prntlst/jobdsccrptnlist/writer", model.getValue("/root/main/jobdsccrptnlist/emplnm") );
- model.setValue("/root/prntlst/jobdsccrptnlist/confirm", cmb_confirm.label );
-
- var desc = model.getValue("/root/temp2/jobdescm") + "\n\n" + model.getValue("/root/temp2/jobdescd");
- var split;
- var cnt = 1;
- split = desc.split("\n");
- for( var i = 0 ; i < split.length ; i++){
- model.makeNode("/root/prntlst/jobdesclist[" + (i+1) + "]");
- model.makeValue("/root/prntlst/jobdesclist[" + (i+1) + "]/desc", split[i] );
- cnt++;
- }
- model.makeValue("/root/prntlst/jobdsccrptnlist/lastcnt", cnt);
- exeReportPreview("RPRWP23001", "XMLSTR");
- model.refresh();
- }
-
- function fOpenPopupUserHelp(pCtrl, pInstance){
- misfOpenPopUpList("01", pCtrl, "", pInstance);
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1220" pageheight="600" style="margin-left:8; margin-right:8; ">
- <group id="group2" scroll="auto" style="left:5px; top:25px; width:1195px; height:545px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:2px; width:1190px; height:40px; "/>
- <caption id="caption278" class="tit_2" style="left:0px; top:50px; width:162px; height:13px; ">기본직무 정보</caption>
- <button id="btn_search" class="btn1_letter2" navindex="3" style="left:1113px; top:11px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removenode("/root/main/jobdsccrptnlist");
- model.setValue("/root/temp2/jobdescd", "");
- model.setValue("/root/temp2/jobdescm", "");
- model.setValue("/root/temp2/jobseq", "");
- model.setValue("/root/temp2/jobdate", "");
-
- if(model.getValue("/root/send/initemplno") == "" )
- {
- messageBox("사원번호를 입력해주세요.", "E999");
- return;
- }
-
- model.removeNodeset("/root/main/jobdsccrptndesclist");
- if( submit("TRRWP23001") ){
- if( getNodesetCount("/root/main/jobdsccrptnlist") < 1){
- btn_init.dispatch("DOMActivate");
- }
-
- var len = dtg_desclist.rows-1;
- if( len < 1 ){
- txt_jobdescd.disabled = true;
- ipt_jobdescm.disabled = true;
- }else{
- dtg_desclist.row = 1;
- model.setValue("/root/temp2/jobdescd", model.getValue("/root/main/jobdsccrptndesclist[1]/jobdescd") );
- model.setValue("/root/temp2/jobdescm", model.getValue("/root/main/jobdsccrptndesclist[1]/jobdescm") );
- txt_jobdescd.disabled = false;
- ipt_jobdescm.disabled = false;
- }
- dtg_desclist.clearStatus();
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line3" class="line_4" style="x1:1080px; y1:8px; x2:1080px; y2:36px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption1" class="search_name" style="left:20px; top:14px; width:86px; height:17px; ">사원번호 :</caption>
- <input id="ipt_emplnm" ref="/root/send/initemplnm" class="input_search" disabled="true" navindex="3" style="left:205px; top:12px; width:150px; height:19px; "/>
- <button id="btn_emplno" class="icon_search" style="left:185px; top:13px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fOpenPopupUserHelp(ipt_emplno, "initemplno,initemplnm");
- model.setValue("/root/send/emplno", model.getValue("/root/send/initemplno"));
- submit("TRRWP23003");
- model.setValue("/root/send/initemplnm", model.getValue("/root/main/empInfolst/empllist/emplnm"));
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_emplno" ref="/root/send/initemplno" class="input_search" navindex="1" style="left:111px; top:12px; width:70px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- if(ipt_emplno.value == ipt_emplno.currentText) return;
- ipt_emplno.value = ipt_emplno.currentText;
- model.setValue("/root/send/emplno", model.getValue("/root/send/initemplno"));
- submit("TRRWP23003");
- model.setValue("/root/send/initemplnm", model.getValue("/root/main/empInfolst/empllist/emplnm"));
- model.refresh();
- // btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/emplno", model.getValue("/root/send/initemplno"));
- submit("TRRWP23003");
- model.setValue("/root/send/initemplnm", model.getValue("/root/main/empInfolst/empllist/emplnm"));
- model.refresh();
- ]]>
- </script>
- </input>
- <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:600px; y2:69px; "/>
- <input id="ipt_fstappntdd" ref="/root/main/jobdsccrptnlist/jobdate" navindex="9" inputtype="date" style="left:73px; top:126px; width:118px; height:19px; "/>
- <input id="ipt_hemplno" ref="/root/main/jobdsccrptnlist/emplno" navindex="8" maxlength="5" style="left:73px; top:74px; width:72px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/emplno", model.getValue("/root/main/jobdsccrptnlist/emplno"));
- if( submit("TRRWP23003") ){
- model.setValue("/root/main/jobdsccrptnlist/emplnm", model.getValue("/root/main/empInfolst/empllist/emplnm"));
- model.setValue("/root/main/jobdsccrptnlist/dutunitcd" , model.getValue("/root/main/empInfolst/empllist/dutunitcd"));
- model.setValue("/root/main/jobdsccrptnlist/dutunitnm" , model.getValue("/root/main/empInfolst/empllist/dutunitnm"));
- model.setValue("/root/main/jobdsccrptnlist/dutplcedeptcd", model.getValue("/root/main/empInfolst/empllist/dutplcedeptcd"));
- model.setValue("/root/main/jobdsccrptnlist/dutplcedeptnm", model.getValue("/root/main/empInfolst/empllist/dutplcedeptnm"));
- model.setValue("/root/main/jobdsccrptnlist/jobposcd" , model.getValue("/root/main/empInfolst/empllist/jobposcd"));
- model.setValue("/root/main/jobdsccrptnlist/jobgradcd" , model.getValue("/root/main/empInfolst/empllist/jobgradcd"));
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption319" class="cell_1" style="left:268px; top:99px; width:70px; height:21px; vertical-align:middle; ">근무부서</caption>
- <caption id="caption7" class="cell_1" style="left:0px; top:99px; width:70px; height:21px; ">소속부서</caption>
- <caption id="caption164" class="cell_1" style="left:0px; top:74px; width:70px; height:19px; ">사원번호</caption>
- <input id="ipt_hemplnm" ref="/root/main/jobdsccrptnlist/emplnm" disabled="true" style="left:168px; top:74px; width:97px; height:19px; "/>
- <input id="ipt_cntctel" ref="/root/main/jobdsccrptnlist/dutplcedeptnm" disabled="true" style="left:73px; top:100px; width:192px; height:19px; "/>
- <input id="ipt_hosinseqno" ref="/root/main/jobdsccrptnlist/dutunitnm" disabled="true" style="left:341px; top:100px; width:259px; height:19px; "/>
- <caption id="caption9" class="cell_1" style="left:268px; top:74px; width:70px; height:20px; vertical-align:middle; ">직 급</caption>
- <caption id="caption12" class="cell_1" style="left:433px; top:74px; width:70px; height:20px; vertical-align:middle; ">직 위</caption>
- <line id="line8" class="line_3" style="x1:0px; y1:122px; x2:600px; y2:122px; "/>
- <line id="line2" class="line_3" style="x1:0px; y1:96px; x2:600px; y2:96px; "/>
- <select1 id="cmb_jobgrad" ref="/root/main/jobdsccrptnlist/jobgradcd" disabled="true" navindex="7" appearance="minimal" style="left:341px; top:74px; width:89px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_jobpos" ref="/root/main/jobdsccrptnlist/jobposcd" disabled="true" navindex="7" appearance="minimal" style="left:506px; top:74px; width:94px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <line id="line4" class="line_3" style="x1:0px; y1:148px; x2:600px; y2:148px; "/>
- <caption id="caption16" class="cell_1" style="left:0px; top:125px; width:70px; height:21px; ">직무기간</caption>
- <button id="button1" class="icon_search" style="left:148px; top:76px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fOpenPopupUserHelp(ipt_hemplno, "emplno,emplnm");
- model.setValue("/root/send/emplno", model.getValue("/root/main/jobdsccrptnlist/emplno"));
-
- if( submit("TRRWP23003") ) {
- model.setValue("/root/main/jobdsccrptnlist/emplnm", model.getValue("/root/main/empInfolst/empllist/emplnm"));
- model.setValue("/root/main/jobdsccrptnlist/dutunitcd" , model.getValue("/root/main/empInfolst/empllist/dutunitcd"));
- model.setValue("/root/main/jobdsccrptnlist/dutunitnm" , model.getValue("/root/main/empInfolst/empllist/dutunitnm"));
- model.setValue("/root/main/jobdsccrptnlist/dutplcedeptcd", model.getValue("/root/main/empInfolst/empllist/dutplcedeptcd"));
- model.setValue("/root/main/jobdsccrptnlist/dutplcedeptnm", model.getValue("/root/main/empInfolst/empllist/dutplcedeptnm"));
- model.setValue("/root/main/jobdsccrptnlist/jobposcd" , model.getValue("/root/main/empInfolst/empllist/jobposcd"));
- model.setValue("/root/main/jobdsccrptnlist/jobgradcd" , model.getValue("/root/main/empInfolst/empllist/jobgradcd"));
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption2" class="cell_1" style="left:194px; top:125px; width:70px; height:21px; vertical-align:middle; ">직 무 명</caption>
- <input id="input1" ref="/root/main/jobdsccrptnlist/jobname" navindex="10" style="left:267px; top:126px; width:333px; height:19px; "/>
- <caption id="caption3" class="cell_1" style="left:0px; top:152px; width:70px; height:42px; vertical-align:middle; ">직무개요 -목적/내용</caption>
- <line id="line5" class="line_3" style="x1:0px; y1:197px; x2:600px; y2:197px; "/>
- <textarea id="textarea1" ref="/root/main/jobdsccrptnlist/jobobject" navindex="11" style="left:73px; top:152px; width:525px; height:42px; "/>
- <caption id="caption4" class="tit_2" style="left:0px; top:210px; width:162px; height:13px; ">직무수행 요건</caption>
- <line id="line6" class="line_1" style="x1:0px; y1:230px; x2:600px; y2:229px; "/>
- <line id="line7" class="line_3" style="x1:0px; y1:256px; x2:600px; y2:256px; "/>
- <caption id="caption5" class="cell_1" style="left:268px; top:233px; width:70px; height:21px; vertical-align:middle; ">전 공</caption>
- <input id="input2" ref="/root/main/jobdsccrptnlist/major" navindex="13" style="left:341px; top:234px; width:259px; height:19px; "/>
- <caption id="caption8" class="cell_1" style="left:0px; top:233px; width:70px; height:21px; ">학 력</caption>
- <input id="input3" ref="/root/main/jobdsccrptnlist/ability" navindex="12" style="left:73px; top:234px; width:192px; height:19px; "/>
- <input id="input4" ref="/root/main/jobdsccrptnlist/license" navindex="14" style="left:73px; top:260px; width:527px; height:19px; "/>
- <caption id="caption10" class="cell_1" style="left:0px; top:259px; width:70px; height:21px; ">자격/면허</caption>
- <line id="line9" class="line_3" style="x1:-2px; y1:282px; x2:598px; y2:282px; "/>
- <caption id="caption11" class="cell_1" style="left:1px; top:285px; width:70px; height:42px; vertical-align:middle; ">교 육</caption>
- <textarea id="textarea2" ref="/root/main/jobdsccrptnlist/education" navindex="15" style="left:74px; top:285px; width:527px; height:42px; "/>
- <line id="line10" class="line_3" style="x1:2px; y1:330px; x2:602px; y2:330px; "/>
- <line id="line11" class="line_3" style="x1:0px; y1:356px; x2:600px; y2:356px; "/>
- <caption id="caption13" class="cell_1" style="left:1px; top:333px; width:70px; height:21px; ">경 력</caption>
- <input id="input5" ref="/root/main/jobdsccrptnlist/career" navindex="16" style="left:74px; top:334px; width:527px; height:19px; "/>
- <line id="line12" class="line_3" style="x1:0px; y1:382px; x2:600px; y2:382px; "/>
- <caption id="caption14" class="cell_1" style="left:1px; top:359px; width:70px; height:21px; ">기 타</caption>
- <input id="input6" ref="/root/main/jobdsccrptnlist/etc" navindex="17" style="left:74px; top:360px; width:527px; height:19px; "/>
- <line id="line13" class="line_3" style="x1:1px; y1:430px; x2:601px; y2:430px; "/>
- <caption id="caption15" class="cell_1" style="left:0px; top:385px; width:70px; height:42px; vertical-align:middle; ">학술지식 및 기술</caption>
- <textarea id="textarea3" ref="/root/main/jobdsccrptnlist/scholar" navindex="18" style="left:73px; top:385px; width:527px; height:42px; "/>
- <line id="line14" class="line_3" style="x1:1px; y1:479px; x2:601px; y2:479px; "/>
- <caption id="caption17" class="cell_1" style="left:0px; top:434px; width:70px; height:42px; vertical-align:middle; ">실무지식 및 기술</caption>
- <textarea id="textarea4" ref="/root/main/jobdsccrptnlist/business" navindex="19" style="left:73px; top:434px; width:527px; height:42px; "/>
- <caption id="caption18" class="tit_2" style="left:610px; top:50px; width:142px; height:13px; ">직무내용</caption>
- <line id="line15" class="line_1" style="x1:610px; y1:69px; x2:1190px; y2:68px; "/>
- <textarea id="txt_jobdescd" ref="/root/temp2/jobdescd" navindex="27" style="left:698px; top:98px; width:492px; height:435px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var len = dtg_desclist.rows-1;
- for( var i = 1 ; i <= len ; i++){
- if( model.getValue("/root/temp2/jobseq") == model.getValue("/root/main/jobdsccrptndesclist[" + i + "]/jobseq") ){
- model.setValue("/root/main/jobdsccrptndesclist[" + dtg_desclist.row + "]/jobdescd", model.getValue("/root/temp2/jobdescd") );
- }
- }
- model.refresh();
- ]]>
- </script>
- </textarea>
- <caption id="caption19" class="tit_2" style="left:0px; top:490px; width:162px; height:13px; ">작성자 / 평가자 / 확인자</caption>
- <line id="line16" class="line_1" style="x1:0px; y1:510px; x2:600px; y2:509px; "/>
- <select1 id="cmb_valuer" ref="/root/main/jobdsccrptnlist/valuer" navindex="20" appearance="minimal" editmode="inputsearch" style="left:277px; top:514px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init2/jobposerlist/jobposer">
- <label ref="emplnm"/>
- <value ref="emplno"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption20" class="cell_1" style="left:199px; top:514px; width:75px; height:20px; vertical-align:middle; ">평 가 자</caption>
- <line id="line17" class="line_3" style="x1:0px; y1:536px; x2:600px; y2:536px; "/>
- <select1 id="cmb_write" ref="/root/main/jobdsccrptnlist/writer" navindex="7" visibility="hidden" appearance="minimal" style="left:170px; top:485px; width:124px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption21" class="cell_1" style="left:0px; top:514px; width:70px; height:20px; vertical-align:middle; ">작 성 자</caption>
- <caption id="caption22" class="cell_1" style="left:401px; top:514px; width:75px; height:20px; vertical-align:middle; ">확 인 자</caption>
- <select1 id="cmb_confirm" ref="/root/main/jobdsccrptnlist/confirm" navindex="21" appearance="minimal" editmode="inputsearch" style="left:479px; top:514px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init2/jobposerlist/jobposer">
- <label ref="emplnm"/>
- <value ref="emplno"/>
- </itemset>
- </choices>
- </select1>
- <line id="line18" class="line_3" style="x1:609px; y1:536px; x2:1190px; y2:536px; "/>
- <caption id="caption23" class="search_name" style="left:369px; top:14px; width:86px; height:17px; ">직무일자 :</caption>
- <input id="input7" ref="/root/send/jobdate" class="input_search" navindex="2" inputtype="date" format="yyyy-mm-dd" style="left:459px; top:13px; width:101px; height:19px; text-align:center; "/>
- <input id="input8" ref="/root/main/jobdsccrptnlist/emplnm" disabled="true" style="left:72px; top:514px; width:125px; height:19px; "/>
- <line id="line19" class="line_3" style="x1:610px; y1:94px; x2:1190px; y2:94px; "/>
- <button id="button3" class="btn2_letter2" navindex="22" style="left:1103px; top:46px; width:42px; height:19px; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/main/jobdsccrptnlist/emplno") == ""){
- messageBox("직무기술서 내역을 조회한 후 진행하십시오.", "E999", "");
- return;
- }
-
- // JOBSEQ 따기
- var len = dtg_desclist.rows-1;
- misfGridIUD(dtg_desclist,"A");
- var seq = 1;
- if( len > 0 ){
- seq = parseInt(model.getValue("/root/main/jobdsccrptndesclist[" + len + "]/jobseq"))+1;
- }
-
- model.setValue("/root/main/jobdsccrptndesclist[" + (dtg_desclist.rows-1) + "]/jobseq", seq );
- model.setValue("/root/main/jobdsccrptndesclist[" + (dtg_desclist.rows-1) + "]/emplno", model.getValue("/root/main/jobdsccrptnlist/emplno"));
- model.setValue("/root/main/jobdsccrptndesclist[" + (dtg_desclist.rows-1) + "]/jobdate", model.getValue("/root/main/jobdsccrptnlist/jobdate"));
-
- model.setValue("/root/temp2/jobdescd", "" );
- model.setValue("/root/temp2/jobdescm", "" );
- model.setValue("/root/temp2/jobseq", seq );
- txt_jobdescd.disabled = false;
- ipt_jobdescm.disabled = false;
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_jobdescm" ref="/root/temp2/jobdescm" navindex="26" style="left:762px; top:73px; width:428px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var len = dtg_desclist.rows-1;
- for( var i = 1 ; i <= len ; i++){
- if( model.getValue("/root/temp2/jobseq") == model.getValue("/root/main/jobdsccrptndesclist[" + i + "]/jobseq") ){
- model.setValue("/root/main/jobdsccrptndesclist[" + dtg_desclist.row + "]/jobdescm", model.getValue("/root/temp2/jobdescm") );
- }
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="button5" class="btn2_letter2" navindex="22" style="left:1147px; top:46px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( dtg_desclist.row != "" ){
- misfGridIUD(dtg_desclist, "D");
- dtg_desclist.rowStatus(dtg_desclist.row) = 4;
- if( messageBox("삭제하시겠습니까", "Q999") == 6 ){
- model.setValue("/root/send/delitem/demplno", model.getValue("/root/main/jobdsccrptnlist/emplno") );
- model.setValue("/root/send/delitem/djobdate", model.getValue("/root/temp2/jobdate") );
- model.setValue("/root/send/delitem/djobseq", model.getValue("/root/temp2/jobseq") );
- model.setValue("/root/send/delitem/djobflag", "2" );
- if( submit("TXRWP23002") ){
- messageBox("삭제되었습니다.", "I000");
- btn_search.dispatch("DOMActivate");
- }
- }else{
- return;
- }
- }else{
- messageBox("직무내용LIST의 삭제할 SEQ를 선택한 후 진행해주세요.", "E999", "");
- return;
- }
- ]]>
- </script>
- </button>
- <datagrid id="dtg_desclist" nodeset="/root/main/jobdsccrptndesclist" caption="SEQ^제목^상세내용^VIEW SEQ^사번^직무기간" colsep="^" colwidth="41, 52, 31, 39, 154, 165" dataheight="25" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:610px; top:73px; width:85px; height:460px; ">
- <col ref="jobseq"/>
- <col ref="jobdescm" visibility="hidden"/>
- <col ref="jobdescd" visibility="hidden"/>
- <col ref="viewjobseq" visibility="hidden"/>
- <col ref="emplno" visibility="hidden"/>
- <col ref="jobdate" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if( dtg_desclist.rows > 1 ){
- model.setValue("/root/temp2/jobdescd", model.getValue("/root/main/jobdsccrptndesclist[" + dtg_desclist.row + "]/jobdescd"));
- model.setValue("/root/temp2/jobdescm", model.getValue("/root/main/jobdsccrptndesclist[" + dtg_desclist.row + "]/jobdescm"));
- model.setValue("/root/temp2/jobseq", model.getValue("/root/main/jobdsccrptndesclist[" + dtg_desclist.row + "]/jobseq"));
- model.setValue("/root/temp2/jobdate", model.getValue("/root/main/jobdsccrptndesclist[" + dtg_desclist.row + "]/jobdate"));
-
- ipt_jobdescm.disabled = false;
- txt_jobdescd.disabled = false;
- }
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <caption id="caption24" class="cell_1" style="left:698px; top:73px; width:62px; height:20px; vertical-align:middle; ">제 목</caption>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:0px; width:1195px; height:27px; ">
- <button id="btn_print" class="btn4_letter2" navindex="7" style="left:1135px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if( model.getValue("/root/main/jobdsccrptnlist/jobname").length > 26 ){
- messageBox("직무명의 글자수가 정해진 자리수 이상의 길이입니다. ", "E999", "");
- return;
- }
-
- if( model.getValue("/root/main/jobdsccrptnlist/ability").length > 13 ){
- messageBox("학력의 글자수가 정해진 자리수 이상의 길이입니다. ", "E999", "");
- return;
- }
-
- if( model.getValue("/root/main/jobdsccrptnlist/license").length > 13 ){
- messageBox("자격/면허의 글자수가 정해진 자리수 이상의 길이입니다. ", "E999", "");
- return;
- }
-
- if( model.getValue("/root/main/jobdsccrptnlist/major").length > 16 ){
- messageBox("전공의 글자수가 정해진 자리수 이상의 길이입니다. ", "E999", "");
- return;
- }
- if( model.getValue("/root/main/jobdsccrptnlist/education").length > 93 ){
- messageBox("교육의 글자수가 정해진 자리수 이상의 길이입니다. ", "E999", "");
- return;
- }
-
- if( model.getValue("/root/main/jobdsccrptnlist/career").length > 93 ){
- messageBox("경력의 글자수가 정해진 자리수 이상의 길이입니다. ", "E999", "");
- return;
- }
-
- if( model.getValue("/root/main/jobdsccrptnlist/etc").length > 93 ){
- messageBox("기타의 글자수가 정해진 자리수 이상의 길이입니다. ", "E999", "");
- return;
- }
-
- if( model.getValue("/root/main/jobdsccrptnlist/scholar").length > 93 ){
- messageBox("학술지식 및 기술의 글자수가 정해진 자리수 이상의 길이입니다. ", "E999", "");
- return;
- }
-
- if( model.getValue("/root/main/jobdsccrptnlist/jobobject").length > 93 ){
- messageBox("직무개요(목적/내용)의 글자수가 정해진 자리수 이상의 길이입니다. ", "E999", "");
- return;
- }
-
- if( model.getValue("/root/main/jobdsccrptnlist/business").length > 93 ){
- messageBox("실무지식 및 기술의 글자수가 정해진 자리수 이상의 길이입니다. ", "E999", "");
- return;
- }
- fSave();
- ]]>
- </script>
- </button>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:13px; ">직무기술서 관리</caption>
- <button id="button2" class="btn3_letter7" navindex="5" style="left:961px; top:3px; width:116px; height:22px; ">
- <caption>직무기술서출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPrint();
- ]]>
- </script>
- </button>
- <button id="btn_init" class="btn3_letter3" navindex="4" style="left:892px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removenode("/root/main/jobdsccrptnlist");
- model.makeValue("/root/main/jobdsccrptnlist/emplno" , "" );
- model.makeValue("/root/main/jobdsccrptnlist/emplnm" , "" );
- model.makeValue("/root/main/jobdsccrptnlist/deptcd" , "" );
- model.makeValue("/root/main/jobdsccrptnlist/deptnm" , "" );
- model.makeValue("/root/main/jobdsccrptnlist/teamcd" , "" );
- model.makeValue("/root/main/jobdsccrptnlist/teamnm" , "" );
- model.makeValue("/root/main/jobdsccrptnlist/unitcd" , "" );
- model.makeValue("/root/main/jobdsccrptnlist/unitnm" , "" );
- model.makeValue("/root/main/jobdsccrptnlist/dutplcedeptcd" , "" );
- model.makeValue("/root/main/jobdsccrptnlist/dutplcedeptnm" , "" );
- model.makeValue("/root/main/jobdsccrptnlist/dutunitcd" , "" );
- model.makeValue("/root/main/jobdsccrptnlist/dutunitnm" , "" );
- model.makeValue("/root/main/jobdsccrptnlist/jobposcd" , "" );
- model.makeValue("/root/main/jobdsccrptnlist/jobposnm" , "" );
- model.makeValue("/root/main/jobdsccrptnlist/jobgradcd" , "" );
- model.makeValue("/root/main/jobdsccrptnlist/jobgradnm" , "" );
- model.makeValue("/root/main/jobdsccrptnlist/ability" , "" );
- model.makeValue("/root/main/jobdsccrptnlist/business" , "" );
- model.makeValue("/root/main/jobdsccrptnlist/career" , "" );
- model.makeValue("/root/main/jobdsccrptnlist/confirm" , "" );
- model.makeValue("/root/main/jobdsccrptnlist/confirmdate" , "" );
- model.makeValue("/root/main/jobdsccrptnlist/education" , "" );
- model.makeValue("/root/main/jobdsccrptnlist/etc" , "" );
- model.makeValue("/root/main/jobdsccrptnlist/jobdate" , "" );
- model.makeValue("/root/main/jobdsccrptnlist/jobdesc" , "" );
- model.makeValue("/root/main/jobdsccrptnlist/jobname" , "" );
- model.makeValue("/root/main/jobdsccrptnlist/jobobject" , "" );
- model.makeValue("/root/main/jobdsccrptnlist/license" , "" );
- model.makeValue("/root/main/jobdsccrptnlist/major" , "" );
- model.makeValue("/root/main/jobdsccrptnlist/scholar" , "" );
- model.makeValue("/root/main/jobdsccrptnlist/valuer" , "" );
- model.makeValue("/root/main/jobdsccrptnlist/valuerdate" , "" );
- model.makeValue("/root/main/jobdsccrptnlist/writer" , "" );
- model.makeValue("/root/main/jobdsccrptnlist/writerdate" , "" );
- model.resetInstanceNode("/root/main/jobdsccrptndesclist");
- model.setValue("/root/temp2/jobseq", "");
- model.setValue("/root/temp2/jobdate", "");
- model.setValue("/root/temp2/jobdescd", "");
- model.setValue("/root/temp2/jobdescm", "");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button4" class="btn4_letter2" navindex="6" style="left:1078px; top:3px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDel();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|