123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699 |
- <?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>SMRPD03700_개인복무계획신청</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <dutcd>
- <dutcdlist/>
- </dutcd>
- <dutscheapp>
- <dutscheapplist/>
- </dutscheapp>
- <predutscheapp>
- <predutscheapplist/>
- </predutscheapp>
- </main>
- <send>
- <save>
- <dutscheapplist/>
- </save>
- <dutcd>
- <instcd/>
- <dutunitcd/>
- <dutunitnm/>
- </dutcd>
- <dutscheapp>
- <instcd/>
- <srvarmapdd/>
- <emplno/>
- <emplnm/>
- <dutunitcd/>
- <dutunitnm/>
- <newElement/>
- <srvarmapfromdd/>
- <srvarmaptodd/>
- <ymdflag>1</ymdflag>
- </dutscheapp>
- </send>
- <hidden/>
- <tempday>
- <dutinfo/>
- </tempday>
- </root>
- </instance>
- <submission id="TRRPD03701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/dutscheapp" resultref="/root/main/dutscheapp"/>
- <submission id="TRRPD03702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/dutcd" resultref="/root/main/dutcd"/>
- <submission id="TRRPD03703" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/dutscheapp" resultref="/root/main/predutscheapp"/>
- <submission id="TXRPD03701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hiddeen/temp"/>
- <submission id="TRRPD10102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams" resultref="/root/tempday/dutinfo"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/dligclaznsmngtweb/js/RPD001.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- var DUT_UNIT_CD = "";
- var DUT_UNIT_NM = "";
-
- function fInit()
- {
- misfGridInit(grd_dutscheapplist);
- misfGridInit(grd_dutscheapplist);
- misfGridInit(grd_predutscheapplist);
-
- var dt = new Date(getCurrentDate().substr(0, 4), getCurrentDate().substr(4, 2), 0);
- submit("TRRPD10102", false);
- ipt_srvarmapfromdd.value = model.getValue("/root/tempday/dutinfo/dutlist/fromymd");
- ipt_srvarmaptodd.value = model.getValue("/root/tempday/dutinfo/dutlist/toymd");
- //ipt_srvarmapfromdd.value = getCurrentDate().substr(0, 6) + "01";
- //ipt_srvarmaptodd.value = getCurrentDate().substr(0, 6) + dt.getDate();;
-
- misfMsterDetailSet(grd_dutscheapplist, null, "TRRPD03701" ,"Y");
- misfMsterDetailSet(grd_predutscheapplist, null, "TRRPD03703" ,"N");
-
- // misfComboComCdListMulti("Z0007","cmb_instcd");
- misfComboInstCdListMulti("cmb_instcd",ipt_srvarmapfromdd.value,"","N");
- misfGetAndSetUserInfo();
- misfGetUserAuth();
-
- rpdfSetControlAuth();
- rpdfComboCdList(cmb_dutplce); // 권한별 근무부서 세팅
- rpdfSetDutUnitCombo();
-
- model.setValue("/root/send/dutscheapp/instcd", getUserInfo("dutplceinstcd"));
- model.setValue("/root/send/dutscheapp/emplno", getUserInfo("userid"));
- model.setValue("/root/send/dutscheapp/emplnm", getUserInfo("usernm"));
- model.setValue("/root/send/dutscheapp/dutunitcd", DUT_UNIT_CD);
- model.setValue("/root/send/dutscheapp/dutunitnm", DUT_UNIT_NM);
- model.setValue("/root/send/dutcd/dutunitcd", DUT_UNIT_CD);
- model.setValue("/root/send/dutcd/dutunitnm", DUT_UNIT_NM);
- btn_search.dispatch("DOMActivate");
- rpdfSetControlByJobRespCd("ipt_emplno,btn_emplno,ipt_emplnm");
- btn_search.disabled = !(checkAuth("R"));
- btn_save.disabled = !(checkAuth("X"));
- ipt_emplno.disabled = true
- ipt_emplnm.disabled = true
- btn_emplno.disabled = true
- cmb_dutplce.value = DUT_UNIT_CD;
- if (cmb_dutplce.value == "")
- {
- cmb_dutplce.select(0);
- }
- model.refresh();
- }
- function fRetrieve()
- {
- if(ipt_emplno.value == "" || ipt_emplnm.value == "")
- {
- messageBox("사원번호를", "C001");
- return;
- }
- model.setValue("/root/send/dutcd/instcd", model.getValue("/root/send/dutscheapp/instcd"));
- misfMsterDetailRetrieve();
- submit("TRRPD03702");
- for(var i=2; i<grd_dutscheapplist.rows; i++)
- {
- var sCnfmYn = grd_dutscheapplist.valueMatrix(i, grd_dutscheapplist.colRef("deprtmangraprvyn"));
-
- if(sCnfmYn == "Y")
- {
- grd_dutscheapplist.rowStyle(i, "all", "background-color") = "#DDDDDD";
- misfSetReadOnlyCol(grd_dutscheapplist, "dutcd,srvarmappdd,srvarmfromdd,srvarmtodd,appresn", true, i);
- }
- else
- {
- grd_dutscheapplist.rowStyle(i, "all", "background-color") = "#FFFFFF";
- misfSetReadOnlyCol(grd_dutscheapplist, "dutcd,srvarmappdd,srvarmfromdd,srvarmtodd,appresn", false, i);
- }
- }
- }
- function fSetHoliLen()
- {
- if (grd_dutscheapplist.col == grd_dutscheapplist.colRef("srvarmfromdd"))
- {
- var sFromDD = grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row, grd_dutscheapplist.colRef("srvarmfromdd"));
- var sToDD = grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row, grd_dutscheapplist.colRef("srvarmtodd"));
- var sDutCd = grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row, grd_dutscheapplist.colRef("dutcd"));
- if(sToDD.length != 8)
- {
- grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row, grd_dutscheapplist.colRef("srvarmtodd")) = sFromDD;
- }
- if(sDutCd.length > 0)
- {
- if(sDutCd.substr(0, 1) == "B" && sFromDD.length == 8)
- {
- var dtCurrent = new Date(misfConvertChar2Date(sFromDD, "/"));
- dtCurrent.setDate(dtCurrent.getDate() + 89);
- model.makeValue("/root/temp/date", dtCurrent.getVarDate());
- grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row, grd_dutscheapplist.colRef("srvarmtodd")) = model.getValue("/root/temp/date").replace("-", "").replace("-", "").replace("/", "").replace("/", "");
- }
- }
- var dayno = getDateInterval(grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row,grd_dutscheapplist.colRef("srvarmfromdd")), grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row,grd_dutscheapplist.colRef("srvarmtodd")));
- if (isNaN(dayno) || dayno == ""){
- dayno = 0;
- }
- var dayno1 = 0;
- if (sDutCd == "DV" || sDutCd == "EV" || sDutCd == "RV" || sDutCd == "SV" || sDutCd == "V1"){
- dayno1 = parseInt(dayno + 1) * 0.5;
- }else{
- dayno1 = dayno + 1;
- }
- grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row,grd_dutscheapplist.colRef("srvarmdayno")) = dayno1;
- model.refresh();
- }
- else if (grd_dutscheapplist.col == grd_dutscheapplist.colRef("srvarmtodd"))
- {
- var sDutCd = grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row, grd_dutscheapplist.colRef("dutcd"));
- var dayno = getDateInterval(grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row,grd_dutscheapplist.colRef("srvarmfromdd")), grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row,grd_dutscheapplist.colRef("srvarmtodd")));
- if (isNaN(dayno) || dayno == ""){
- dayno = 0;
- }
- var dayno1 = 0;
- if (sDutCd == "DV" || sDutCd == "EV" || sDutCd == "RV" || sDutCd == "SV" || sDutCd == "V1"){
- dayno1 = parseInt(dayno + 1) * 0.5;
- }else{
- dayno1 = dayno + 1;
- }
- grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row,grd_dutscheapplist.colRef("srvarmdayno")) = dayno1;
- model.refresh();
- }
- else if (grd_dutscheapplist.col == grd_dutscheapplist.colRef("dutcd"))
- {
- var sDutCd = grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row, grd_dutscheapplist.colRef("dutcd"));
- var dayno = getDateInterval(grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row,grd_dutscheapplist.colRef("srvarmfromdd")), grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row,grd_dutscheapplist.colRef("srvarmtodd")));
- if (isNaN(dayno) || dayno == ""){
- dayno = 0;
- }
- var dayno1 = 0;
- if (sDutCd == "DV" || sDutCd == "EV" || sDutCd == "RV" || sDutCd == "SV" || sDutCd == "V1"){
- dayno1 = parseInt(dayno + 1) * 0.5;
- }else{
- dayno1 = dayno + 1;
- }
- grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row,grd_dutscheapplist.colRef("srvarmdayno")) = dayno1;
- model.refresh();
- }
- }
- function fSave()
- {
- var bSave = true;
- var iCnt = 0;
-
- for(var i=2; i<grd_dutscheapplist.rows; i++)
- {
- if(grd_dutscheapplist.rowStatus(i) == 0)
- {
- continue;
- }
- else
- {
- iCnt++;
- }
-
- var sDutCd = grd_dutscheapplist.valueMatrix(i, grd_dutscheapplist.colRef("dutcd"));
- var sFromDD = grd_dutscheapplist.valueMatrix(i, grd_dutscheapplist.colRef("srvarmfromdd"));
- var sToDD = grd_dutscheapplist.valueMatrix(i, grd_dutscheapplist.colRef("srvarmtodd"));
- var sAppResn = grd_dutscheapplist.valueMatrix(i, grd_dutscheapplist.colRef("appresn"));
- if(sDutCd == "" || sFromDD == "" || sToDD == "" || sAppResn == "")
- {
- bSave = false;
- }
- }
- if(bSave && iCnt > 0)
- {
- misfSave("TXRPD03701");
- fRetrieve();
- }
- else if(!bSave)
- {
- messageBox("[ 근무코드 | 시작일 | 종료일 | 신청사유 ] 는 입력하셔야 합니다.", "I999");
- }
- }
-
- function fDelRow()
- {
- for(var i=0; i<grd_dutscheapplist.selectedCells.length; i++)
- {
- var iRowIdx = grd_dutscheapplist.selectedCells.item(i).row;
- var sCnfmYn = grd_dutscheapplist.valueMatrix(iRowIdx, grd_dutscheapplist.colRef("deprtmangraprvyn"));
- var sInptYn = grd_dutscheapplist.valueMatrix(iRowIdx, grd_dutscheapplist.colRef("deprtmangrinptyn"));
-
- if(sCnfmYn == "Y")
- {
- messageBox("부서장 승인이 난 내역은 삭제 할 수 없습니다.", "I999");
- continue;
- }
- else
- {
- if(sInptYn == "Y")
- {
- messageBox("부서장 확인된 내역이 아니어도\n\n부서장이 입력한 내역이므로 삭제 할 수 없습니다.", "I999");
- continue;
- }
- else
- {
- if(grd_dutscheapplist.rowStatus(iRowIdx) == 1 || grd_dutscheapplist.rowStatus(iRowIdx) == 3)
- {
- grd_dutscheapplist.deleteRow(iRowIdx, false)
- }
- else
- {
- grd_dutscheapplist.addStatus(iRowIdx, "delete");
- }
- }
- }
-
- }
- }
-
- function fAddRow()
- {
- if(ipt_emplno.value == "" || ipt_emplnm.value == "")
- {
- messageBox("사원번호를", "C001");
- return;
- }
- misfGridIUD(grd_dutscheapplist, "A");
- grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row, grd_dutscheapplist.colRef("srvarmappdd")) = getCurrentDate();
- grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row, grd_dutscheapplist.colRef("dutplcedeptcd")) = model.getValue("/root/send/dutscheapp/dutunitcd");
- grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row, grd_dutscheapplist.colRef("deprtmangraprvyn")) = "N";
- grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row, grd_dutscheapplist.colRef("psnworkapryn")) = "N";
- grd_dutscheapplist.col = grd_dutscheapplist.colRef("dutcd");
- grd_dutscheapplist.editCell();
- }
- function fSetDutCdAppList()
- {
- if (grd_dutscheapplist.rows > 0 && grd_dutscheapplist.row > 0)
- {
- var sDeprtAppYn = grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row, grd_dutscheapplist.colRef("deprtmangraprvyn"));
- var sFromDD = grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row, grd_dutscheapplist.colRef("srvarmfromdd"));
- var sSetCd = grd_dutcdlist.valueMatrix(grd_dutcdlist.row, grd_dutcdlist.colRef("dutcd"));
-
- if(sDeprtAppYn != "Y")
- {
- grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row, grd_dutscheapplist.colRef("dutcd")) = sSetCd;
- if(grd_dutscheapplist.rowStatus(grd_dutscheapplist.row) == 0)
- {
- grd_dutscheapplist.addStatus(grd_dutscheapplist.row, "update");
- }
-
- //if(sSetCd == "B")
- //{
- grd_dutscheapplist.col = grd_dutscheapplist.colRef("dutcd");
- grd_dutscheapplist.dispatch("xforms-value-changed");
- //}
- }
- else
- {
- messageBox("부서장 승인 된 내역입니다.", "I999");
- }
- }
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:230px; height:14px; ">개인복무계획신청</caption>
- <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
- <line id="line204" class="line_3" style="x1:0px; y1:733px; x2:1005px; y2:733px; "/>
- <datagrid id="grd_dutscheapplist" nodeset="/root/main/dutscheapp/dutscheapplist" caption="근무코드^신청일^신청기간^신청기간^일수^신청사유^복무비용^비용지급일자^부서장
입력여부^부서장승인^인사팀승인^지출결의확인^기관코드^사번^근무지부서^밤근무월제한일수|근무코드^신청일^시작일^종료일^일수^신청사유^복무비용^비용지급일자^부서장
입력여부^부서장승인^인사팀승인^지출결의확인^기관코드^사번^근무지부서^밤근무월제한일수" colsep="^" colwidth="100, 100, 120, 120, 90, 432, 0, 0, 0, 0, 0, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:0px; top:94px; width:1004px; height:262px; ">
- <col ref="dutcd" type="input" style="text-align:center; vertical-align:middle; "/>
- <col ref="srvarmappdd" type="inputdate" style="text-align:center; "/>
- <col ref="srvarmfromdd" type="inputdate" style="text-align:center; "/>
- <col ref="srvarmtodd" type="inputdate" style="text-align:center; "/>
- <col ref="srvarmdayno" style="text-align:center; vertical-align:middle; "/>
- <col ref="appresn" type="input"/>
- <col ref="srvarmcost" visibility="hidden"/>
- <col ref="srvarmcostpaydd" visibility="hidden"/>
- <col disabled="true" ref="deprtmangrinptyn" visibility="hidden" style="text-align:center; "/>
- <col ref="deprtmangraprvyn"/>
- <col ref="psnworkapryn" visibility="hidden"/>
- <col ref="expsaactrelcnfm" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="emplno" visibility="hidden"/>
- <col ref="dutplcedeptcd" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(grd_dutscheapplist.col == grd_dutscheapplist.colRef("dutcd"))
- {
- var sDutCd = grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row, grd_dutscheapplist.colRef("dutcd"));
- var node = instance1.selectSingleNode("/root/main/dutcd/dutcdlist[dutcd='" + sDutCd.toUpperCase() + "']/dutcd");
-
- if(node == null)
- {
- messageBox("등록되지 않은 근무코드를 사용", "E001");
- grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row, grd_dutscheapplist.colRef("dutcd")) = "";
- return;
- }
- grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row, grd_dutscheapplist.colRef("dutcd")) = sDutCd.toUpperCase();
- }
- fSetHoliLen();
- ]]>
- </script>
- </datagrid>
- <line id="line2" class="line_1" style="x1:0px; y1:89px; x2:1195px; y2:89px; "/>
- <group id="group4" style="left:0px; top:10px; width:1195px; height:55px; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:55px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1125px; top:14px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fRetrieve();
- ]]>
- </script>
- </button>
- <caption id="caption1" class="search_name" style="left:401px; top:31px; width:86px; height:17px; ">사원번호 :</caption>
- <button id="btn_emplno" class="icon_search" style="left:571px; top:32px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- rpbfOpenPopUpList("SPRPB00101", ipt_emplno, "emplno,emplnm,dutunitcd,dutunitnm", "", "N");
- model.setValue("/root/send/dutcd/dutunitcd", model.getValue("/root/send/dutscheapp/dutunitcd"));
- model.setValue("/root/send/dutcd/dutunitnm", model.getValue("/root/send/dutscheapp/dutunitnm"));
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_emplnm" ref="/root/send/dutscheapp/emplnm" class="input_search" disabled="true" navindex="3" style="left:591px; top:30px; width:150px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- if(ipt_emplnm.value == ipt_emplnm.currentText) return;
- ipt_emplnm.value = ipt_emplnm.currentText;
- rpbfValidationCheck("EMPLNM", "emplno,emplnm,dutunitcd,dutunitnm");
- model.setValue("/root/send/dutcd/dutunitcd", model.getValue("/root/send/dutscheapp/dutunitcd"));
- model.setValue("/root/send/dutcd/dutunitnm", model.getValue("/root/send/dutscheapp/dutunitnm"));
- model.refresh();
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rpbfValidationCheck("EMPLNO", "emplno,emplnm,dutunitcd,dutunitnm");
- model.setValue("/root/send/dutcd/dutunitcd", model.getValue("/root/send/dutscheapp/dutunitcd"));
- model.setValue("/root/send/dutcd/dutunitnm", model.getValue("/root/send/dutscheapp/dutunitnm"));
- model.refresh();
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_emplno" ref="/root/send/dutscheapp/emplno" class="input_search" disabled="true" navindex="2" style="left:487px; top:30px; width:80px; 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;
- rpbfValidationCheck("EMPLNO", "emplno,emplnm,dutunitcd,dutunitnm");
- model.setValue("/root/send/dutcd/dutunitcd", model.getValue("/root/send/dutscheapp/dutunitcd"));
- model.setValue("/root/send/dutcd/dutunitnm", model.getValue("/root/send/dutscheapp/dutunitnm"));
- model.refresh();
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rpbfValidationCheck("EMPLNO", "emplno,emplnm,dutunitcd,dutunitnm");
- model.setValue("/root/send/dutcd/dutunitcd", model.getValue("/root/send/dutscheapp/dutunitcd"));
- model.setValue("/root/send/dutcd/dutunitnm", model.getValue("/root/send/dutscheapp/dutunitnm"));
- model.refresh();
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <select1 id="cmb_instcd" ref="/root/send/dutscheapp/instcd" class="combo_search" navindex="1" appearance="minimal" style="left:108px; top:7px; width:231px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/dutcd/instcd", model.getValue("/root/send/dutscheapp/instcd"));
- ]]>
- </script>
- </select1>
- <caption id="caption7" class="search_name" style="left:20px; top:8px; width:86px; height:17px; ">소속기관 :</caption>
- <select1 id="cmb_ymdflag" ref="/root/send/dutscheapp/ymdflag" class="combo_search" appearance="minimal" style="left:422px; top:7px; width:75px; height:19px; text-align:center; ">
- <choices>
- <item>
- <label>적용년월</label>
- <value>1</value>
- </item>
- <item>
- <label>신청년월</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_srvarmapfromdd" ref="/root/send/dutscheapp/srvarmapfromdd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:496px; top:7px; width:91px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var instcd = cmb_instcd.value;
- if( getStringLength(ipt_srvarmapfromdd.value) == "8" ) {
- model.removeNodeset(cmb_instcd.attribute("ref"));
- model.makeNode("/root/send/dutscheapp/instcd");
- misfComboInstCdListMulti("cmb_instcd",ipt_srvarmapfromdd.value,"","N");
- cmb_instcd.value = instcd;
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <input id="ipt_srvarmaptodd" ref="/root/send/dutscheapp/srvarmaptodd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:600px; top:7px; width:91px; height:19px; text-align:center; "/>
- <caption id="caption9" style="left:588px; top:11px; width:11px; height:15px; ">~</caption>
- <button id="btn_dutdept" class="icon_search" style="left:192px; top:32px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // misfOpenPopUpList("02", ipt_dutdeptcd, "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
- misfOpenPopUpList("02", ipt_dutdeptcd,"","dutunitcd,dutunitnm", cmb_instcd.value + "," + ipt_srvarmaptodd.value, "instcd,basedd");
- model.setValue("/root/send/dutcd/dutunitcd", model.getValue("/root/send/dutscheapp/dutunitcd"));
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_dutdeptnm" ref="/root/send/dutscheapp/dutunitnm" class="input_search" navindex="3" style="left:212px; top:30px; width:127px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
- model.setValue("/root/send/dutcd/dutunitcd", model.getValue("/root/send/dutscheapp/dutunitcd"));
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- ipt_dutdeptnm.value = ipt_dutdeptnm.currentText;
-
- misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
- model.setValue("/root/send/dutcd/dutunitcd", model.getValue("/root/send/dutscheapp/dutunitcd"));
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <caption id="caption2" class="search_name" style="left:20px; top:31px; width:87px; height:17px; ">관리부서 :</caption>
- <input id="ipt_dutdeptcd" ref="/root/send/dutscheapp/dutunitcd" class="input_search" navindex="2" maxlength="10" style="left:108px; top:30px; width:80px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
- model.setValue("/root/send/dutcd/dutunitcd", model.getValue("/root/send/dutscheapp/dutunitcd"));
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- ipt_dutdeptcd.value = ipt_dutdeptcd.currentText;
-
- misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
- model.setValue("/root/send/dutcd/dutunitcd", model.getValue("/root/send/dutscheapp/dutunitcd"));
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <select1 id="cmb_dutplce" ref="/root/send/dutscheapp/dutunitcd" class="combo_search" visibility="visible" appearance="minimal" style="left:108px; top:30px; width:231px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/dutcd/dutunitcd", model.getValue("/root/send/dutscheapp/dutunitcd"));
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <caption id="caption10" class="search_name" style="left:401px; top:9px; width:15px; height:17px; "/>
- </group>
- <caption id="caption8" class="tit_2" style="left:5px; top:74px; width:165px; height:13px; ">개인신청내역</caption>
- <button id="btn_grdadddutscheapplist" class="btn2_letter3" style="left:1019px; top:69px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAddRow();
- ]]>
- </script>
- </button>
- <button id="btn_grddeldutscheapplist" class="btn2_letter3" style="left:1074px; top:69px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelRow();
- ]]>
- </script>
- </button>
- <input id="input11" class="input_default" visibility="hidden" style="left:270px; top:712px; width:100px; height:19px; "/>
- <caption id="caption11" class="cell_1" visibility="hidden" style="left:186px; top:711px; width:82px; height:23px; vertical-align:middle; ">보휴</caption>
- <input id="input13" class="input_default" visibility="hidden" style="left:84px; top:712px; width:100px; height:19px; "/>
- <caption id="caption283" class="tit_2" visibility="hidden" style="left:5px; top:691px; width:118px; height:13px; ">휴가 보유 현황</caption>
- <caption id="caption3" class="cell_1" visibility="hidden" style="left:0px; top:711px; width:82px; height:23px; vertical-align:middle; ">년차</caption>
- <line id="line203" class="line_1" visibility="hidden" style="x1:0px; y1:706px; x2:1005px; y2:706px; "/>
- <datagrid id="grd_predutscheapplist" nodeset="/root/main/predutscheapp/predutscheapplist" caption="사원번호^성명^신청일^신청기간^신청기간^신청일수^근무코드^신청사유^부서장
승인여부^인사팀
승인여부^밤근무월제한일수|사원번호^성명^신청일^시작일^종료일^신청일수^근무코드^신청사유^부서장
승인여부^인사팀
승인여부^밤근무월제한일수" colsep="^" colwidth="80, 80, 97, 100, 100, 36, 60, 300, 54, 54" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:386px; width:1004px; height:344px; ">
- <col ref="emplno"/>
- <col ref="name"/>
- <col disabled="true" ref="srvarmappdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="srvarmfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="srvarmtodd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="srvarmdayno" style="text-align:center; "/>
- <col ref="dutcd" style="text-align:center; "/>
- <col ref="appresn"/>
- <col ref="deprtmangraprvyn" style="text-align:center; "/>
- <col ref="psnworkapryn" style="text-align:center; "/>
- </datagrid>
- <line id="line1" class="line_1" style="x1:0px; y1:381px; x2:1005px; y2:381px; "/>
- <caption id="caption5" class="tit_2" style="left:5px; top:366px; width:95px; height:13px; ">기 신청내역</caption>
- <datagrid id="grd_dutcdlist" nodeset="/root/main/dutcd/dutcdlist" allowuserresize="true" caption="근무
코드^근무명^근무시간^Day인원^Evening인원^Night인원|근무
코드^근무명^근무시간^Day인원^Evening인원^Night인원" colsep="^" colwidth="42, 119, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:1010px; top:94px; width:185px; height:640px; ">
- <col ref="dutcd" style="font-size:8pt; text-align:left; "/>
- <col ref="dutnm" style="font-size:8pt; "/>
- <col ref="duttm" visibility="hidden"/>
- <col ref="daycnt" visibility="hidden"/>
- <col ref="eveningpsnno" visibility="hidden"/>
- <col ref="nigtpsnno" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fSetDutCdAppList();
- ]]>
- </script>
- </datagrid>
- <line id="line4" class="line_1" style="x1:1007px; y1:93px; x2:1006px; y2:733px; "/>
- <button id="btn_saveexcel" class="btn2_letter4" style="left:1129px; top:69px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != "")
- {
- grd_dutscheapplist.saveExcel(fileName, "sheetname:savetype", true, true, "", "");
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="group5" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" style="left:1139px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSave();
- ]]>
- </script>
- </button>
- <line id="line75" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|