123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="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>
- <dutscheapp>
- <dutscheapplist/>
- </dutscheapp>
- </main>
- <send>
- <save>
- <dutscheapplist/>
- </save>
- <dutcd>
- <instcd/>
- <dutunitcd/>
- <dutunitnm/>
- </dutcd>
- <dutscheapp>
- <instcd/>
- <srvarmapdd/>
- <emplno/>
- <emplnm/>
- <dutunitcd/>
- <dutunitnm/>
- <newElement/>
- <srvarmapfromdd/>
- <srvarmaptodd/>
- <ymdflag>2</ymdflag>
- <srvdd/>
- </dutscheapp>
- </send>
- <dutinfo1>
- <dutlist>
- <yoil/>
- </dutlist>
- </dutinfo1>
- <hidden/>
- <tempday>
- <dutinfo/>
- </tempday>
- </root>
- </instance>
- <submission id="TRRPD04301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/dutscheapp" resultref="/root/main/dutscheapp"/>
- <submission id="TXRPD04301" 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"/>
- <submission id="TRRPD04303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/dutscheapp" resultref="/root/dutinfo1"/>
- </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);
-
- 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");
-
- misfMsterDetailSet(grd_dutscheapplist, null, "TRRPD04301" ,"Y");
-
- misfComboInstCdListMulti("cmb_instcd",ipt_srvarmapfromdd.value,"","N");
- misfGetAndSetUserInfo();
- misfGetUserAuth();
-
- rpdfSetControlAuth();
- rpdfSetDutUnitCombo();
-
- cmb_dutplce.visible = false;
-
- 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");
- ipt_emplno.disabled = true
- ipt_emplnm.disabled = true
- btn_emplno.disabled = true
- btn_search.disabled = !(checkAuth("R"));
- btn_save.disabled = !(checkAuth("X"));
-
- 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("appfrom"))
- {
- var sFromDD = grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row, grd_dutscheapplist.colRef("appfrom"));
- var sToDD = grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row, grd_dutscheapplist.colRef("appto"));
- var sDutCd = grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row, grd_dutscheapplist.colRef("dutcd"));
- if (sFromDD != "" && sToDD != ""){
- if (sFromDD > sToDD){
- messageBox("기간 설정이 잘못 입력되었습니다.", "E999", "");
- return;
- }
- }
- /*
- if(sToDD.length != 8)
- {
- grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row, grd_dutscheapplist.colRef("srvarmtodd")) = sFromDD;
- }
- */
- //var stime = grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row,grd_dutscheapplist.colRef("appfrom").substr(8, 11));
- //var ttime = grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row,grd_dutscheapplist.colRef("appto").substr(8, 11));
- //var dayno = getTimeInterval(grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row,grd_dutscheapplist.colRef("appfrom").substr(8, 11)), grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row,grd_dutscheapplist.colRef("appto").substr(8, 11)));
- //alert(stime);
- //grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row,grd_dutscheapplist.colRef("srvarmdayno")) = dayno + 1;
- model.refresh();
- }
- else if (grd_dutscheapplist.col == grd_dutscheapplist.colRef("appto"))
- {
- var sFromDD = grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row, grd_dutscheapplist.colRef("appfrom"));
- var sToDD = grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row, grd_dutscheapplist.colRef("appto"));
- if (sFromDD != "" && sToDD != ""){
- if (sFromDD > sToDD){
- messageBox("기간 설정이 잘못 입력되었습니다.", "E999", "");
- return;
- }
- }
- //var dayno = getTimeInterval(grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row,grd_dutscheapplist.colRef("appfrom").substr(8, 11)), grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row,grd_dutscheapplist.colRef("appto").substr(8, 11)));
- //alert(dayno);
- //grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row,grd_dutscheapplist.colRef("srvarmdayno")) = dayno + 1;
- model.refresh();
- }
- }
- function fSave(){
- //fSetHoliLen();
- //var yoil = model.getValue("/root/tempday/dutinfo/dutlist/yoil");
- for(var i=1; i<grd_dutscheapplist.rows; i++){
- if (grd_dutscheapplist.rowStatus(i) != 4){
- var iudgb = grd_dutscheapplist.valueMatrix(i, grd_dutscheapplist.colRef("iudgb"));
- var sapptm = grd_dutscheapplist.valueMatrix(i, grd_dutscheapplist.colRef("apptm"));
- var sDutCd = grd_dutscheapplist.valueMatrix(i, grd_dutscheapplist.colRef("dutcd"));
- var sFromDD = grd_dutscheapplist.valueMatrix(i, grd_dutscheapplist.colRef("appfrom"));
- var sToDD = grd_dutscheapplist.valueMatrix(i, grd_dutscheapplist.colRef("appto"));
- var sAppResn = grd_dutscheapplist.valueMatrix(i, grd_dutscheapplist.colRef("appresn"));
- var sCnfmYn = grd_dutscheapplist.valueMatrix(i, grd_dutscheapplist.colRef("deprtmangraprvyn"));
- var sCnfm2Yn = grd_dutscheapplist.valueMatrix(i, grd_dutscheapplist.colRef("psnworkapryn"));
- if (iudgb != "U"){
- model.setValue("/root/send/dutscheapp/srvdd", sFromDD.substr(0, 8));
- submit("TRRPD04303");
- var yoil = model.getValue("/root/dutinfo1/dutlist/yoil");
- //alert(sDutCd + "==" + DUT_PLCEDEPT_CD);
-
- if (sDutCd == "03"){
- if (DUT_PLCEDEPT_CD == "4060100000" || DUT_PLCEDEPT_CD == "3250100000"){
- }else{
- if (yoil != "0"){
- messageBox("휴일외에는 휴일근무를 신청할 수 없습니다..", "E999", "");
- return;
- }
- /*
- if (yoil == "0" && parseInt(sapptm) < 9){
- messageBox("휴일근무는 9시간이 넘어야 가능합니다. 시간외로 신청바랍니다.", "E999", "");
- return;
- }
- */
- }
- }
-
- }else{
- if (grd_dutscheapplist.rowStatus(i) != 0){
- if(sCnfmYn == "Y" || sCnfm2Yn == "Y"){
- messageBox("부서장이나 인사팀 승인이 난 내역은 수정 할 수 없습니다.", "I999");
- return;
- }
- if(sDutCd == "" || sFromDD == "" || sToDD == ""){
- messageBox("[ 근무코드 | 시작일 | 종료일 ] 은 입력하셔야 합니다.", "I999");
- return;
- }
- }
- }
- if (grd_dutscheapplist.rowStatus(i) != 0){
- if (sFromDD.length < 12){
- messageBox("근무시작일시를 정확히 입력하시기 바랍니다.", "E999", "");
- return;
- }
- if (sToDD.length < 12){
- messageBox("근무종료일시를 정확히 입력하시기 바랍니다.", "E999", "");
- return;
- }
- if (sFromDD > sToDD){
- messageBox("근무시작일시가 종료일시보다 큽니다.", "E999", "");
- return;
- }
- if ( sToDD.substr(8, 2) == 24 ){
- messageBox("24시는 틀린 표현입니다. 다음날 00시로 해주세요.", "E999", "");
- return;
- }
- }
- }
- }
- if (misfSave("TXRPD04301")){;
- fRetrieve();
- }
- }
-
- 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 sCnfm2Yn = grd_dutscheapplist.valueMatrix(iRowIdx, grd_dutscheapplist.colRef("psnworkapryn"));
-
- if(sCnfmYn == "Y" || sCnfm2Yn == "Y"){
- messageBox("부서장이나 인사팀 승인이 난 내역은 삭제 할 수 없습니다.", "I999");
- continue;
- }else{
- grd_dutscheapplist.addStatus(iRowIdx, "delete");
- }
- }
- */
- var iRowIdx = grd_dutscheapplist.row;
- var sCnfmYn = grd_dutscheapplist.valueMatrix(iRowIdx, grd_dutscheapplist.colRef("deprtmangraprvyn"));
- var sCnfm2Yn = grd_dutscheapplist.valueMatrix(iRowIdx, grd_dutscheapplist.colRef("psnworkapryn"));
-
- if(sCnfmYn == "Y" || sCnfm2Yn == "Y"){
- messageBox("부서장이나 인사팀 승인이 난 내역은 삭제 할 수 없습니다.", "I999");
- return;
- }else{
- grd_dutscheapplist.addStatus(iRowIdx, "delete");
- }
- model.refresh();
- }
-
- 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("deprtmangraprvyn")) = "N";
- grd_dutscheapplist.valueMatrix(grd_dutscheapplist.row, grd_dutscheapplist.colRef("psnworkapryn")) = "N";
- grd_dutscheapplist.col = grd_dutscheapplist.colRef("dutcd");
- grd_dutscheapplist.editCell();
- }
-
- ]]>
- </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:742px; ">
- <datagrid id="grd_dutscheapplist" nodeset="/root/main/dutscheapp/dutscheapplist" caption="근무코드^근무시작시간^근무종료시간^근무시간^신청사유^부서장승인^인사팀승인^caption1^caption2^복무비용^비용지급일자^부서장
입력여부^부서장승인^인사팀승인^지출결의확인^기관코드^사번^근무지부서^밤근무월제한일수" colsep="^" colwidth="113, 120, 124, 75, 550, 82, 70, 100, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:0px; top:95px; width:1194px; height:645px; ">
- <col disabled="true" ref="dutcd" type="combo" style="text-align:left; vertical-align:middle; ">
- <choices>
- <item>
- <label>시간외</label>
- <value>01</value>
- </item>
- <item>
- <label>휴일</label>
- <value>03</value>
- </item>
- <item>
- <label>CALL</label>
- <value>04</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="appfrom" type="input" format="yyyy-mm-dd hh:mm" style="text-align:center; "/>
- <col ref="appto" type="input" format="yyyy-mm-dd hh:mm" style="text-align:center; "/>
- <col ref="apptm" style="text-align:center; "/>
- <col ref="appresn" type="input"/>
- <col ref="deprtmangraprvyn" style="text-align:center; "/>
- <col ref="psnworkapryn" style="text-align:center; "/>
- <col ref="emplno" visibility="hidden"/>
- <col ref="iudgb" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //fSetHoliLen();
- if (grd_dutscheapplist.colAttribute(grd_dutscheapplist.col,"ref") == "appfrom" || grd_dutscheapplist.colAttribute(grd_dutscheapplist.col,"ref") == "appto") {
- if (model.getValue("/root/main/dutscheapp/dutscheapplist[" + grd_dutscheapplist.row + "]/appfrom") == ""){
- messageBox("시작시간을 먼저 설정하시기 바랍니다.", "E999", "");
- return;
- }
- var appfrom = model.getValue("/root/main/dutscheapp/dutscheapplist[" + grd_dutscheapplist.row + "]/appfrom");
- var appto = model.getValue("/root/main/dutscheapp/dutscheapplist[" + grd_dutscheapplist.row + "]/appto");
- var frDate = appfrom.substr(0, 8);
- var frTime = appfrom.substr(8, 4);
- var toDate = appto.substr(0, 8);
- var toTime = appto.substr(8, 4);
- var dutTime = rpdfGetCalcDutyTime(frDate, frTime, toDate, toTime);
- var dutTime_v = parseInt(dutTime / 60);
- var dutMin_v = dutTime % 60;
- model.setValue("/root/main/dutscheapp/dutscheapplist[" + grd_dutscheapplist.row + "]/apptm", dutTime_v);
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_dutscheapplist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <line id="line2" class="line_1" style="x1:0px; y1:94px; x2:1195px; y2:94px; "/>
- <group id="group4" style="left:0px; top:10px; width:1195px; height:40px; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:40px; 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:690px; top:10px; width:86px; height:17px; ">사원번호 :</caption>
- <button id="btn_emplno" class="icon_search" style="left:860px; top:11px; 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:880px; top:10px; 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:776px; top:10px; 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:10px; 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:11px; width:86px; height:17px; ">소속기관 :</caption>
- <select1 id="cmb_ymdflag" ref="/root/send/dutscheapp/ymdflag" class="combo_search" disabled="true" appearance="minimal" style="left:392px; top:10px; 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:466px; top:10px; 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:570px; top:10px; width:91px; height:19px; text-align:center; "/>
- <caption id="caption9" style="left:558px; top:14px; width:11px; height:15px; ">~</caption>
- <caption id="caption10" class="search_name" style="left:371px; top:12px; 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:1086px; top:53px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAddRow();
- model.setValue("/root/main/dutscheapp/dutscheapplist[" + grd_dutscheapplist.row + "]/appfrom", getCurrentDate());
- model.setValue("/root/main/dutscheapp/dutscheapplist[" + grd_dutscheapplist.row + "]/appto", getCurrentDate());
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_grddeldutscheapplist" class="btn2_letter3" style="left:1141px; top:53px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelRow();
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_name" visibility="hidden" style="left:20px; top:46px; width:87px; height:17px; ">관리부서 :</caption>
- <select1 id="cmb_dutplce" ref="/root/send/dutscheapp/dutunitcd" class="combo_search" visibility="hidden" appearance="minimal" style="left:108px; top:45px; 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>
- <button id="btn_dutdept" class="icon_search" visibility="hidden" style="left:460px; top:42px; 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" visibility="hidden" style="left:480px; top:40px; 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>
- <input id="ipt_dutdeptcd" ref="/root/send/dutscheapp/dutunitcd" class="input_search" navindex="2" visibility="hidden" maxlength="10" style="left:376px; top:40px; 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>
- </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>
- <caption id="caption3" style="left:205px; top:15px; width:705px; height:35px; font-weight:bold; color:#ff0000; ">
- <![CDATA[근무코드가 CALL인 경우 시간외 수당이 미발생 되오니 CALL과 시간외를 구분하여 신청하여 주시기 바랍니다.
- 야간과 심야야간은 시간외 근무로 신청하여 주시기 바랍니다.]]>
- </caption>
- <caption id="caption5" style="left:210px; top:110px; width:705px; height:20px; font-weight:bold; color:#ff0000; ">주의사항 : 종료 시간 입력시 24:00으로 입력하지 마시고 다음날 00:00로 입력하여 주시기 바랍니다.</caption>
- </xhtml:body>
- </xhtml:html>
|