123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290 |
- <?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>SMRPD12000_미사용 연차휴가 일수 및 사용촉진 통지서</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <unuseyearno/>
- </list>
- </main>
- <send>
- <retrparams>
- <instcd/>
- <dutym/>
- <dutunitcd/>
- <dutunitnm/>
- <teamcd/>
- <teamnm/>
- <emplno/>
- <emplnm/>
- <dutunitcd1/>
- </retrparams>
- </send>
- <init/>
- <temp/>
- <report>
- <unuseyearno/>
- </report>
- </root>
- </instance>
- <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/miscommonweb/js/RAC001.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript" src="../../../mis/dligclaznsmngtweb/js/RPD001.js"/>
- <submission id="TRRPD12001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams" resultref="/root/main/list"/>
- </model>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fInit()
- {
- model.removenode("/root/main/list/unuseyearno");
- misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
-
- misfGetAndSetUserInfo();
- misfGetUserAuth();
-
- rpdfDeptComboCdList(cmb_dutplce,'Y'); // 근무부서 조회
- rpdfSetDutUnitCombo(); // 조회된 근무부서를 콤보에 세팅해줌
-
- model.setValue("/root/send/retrparams/instcd", getUserInfo("dutplceinstcd"));
- model.setValue("/root/send/retrparams/dutunitcd", DUT_UNIT_CD);
- model.setValue("/root/send/retrparams/dutunitnm", DUT_UNIT_NM);
- model.setValue("/root/send/retrparams/dutunitcd1", DUT_UNIT_CD);
- model.setValue("/root/send/retrparams/dutym", getCurrentDate().substr(0, 6));
-
- if(getUserInfo("dutplceinstcd") == "001" && DUTY_PART_YN == "Y") {
- cmb_instcd.disabled = false;
- ipt_dutplcedeptcd.disabled = false;
- btn_dutplcedepthelp.disabled = false;
- ipt_dutplcedeptnm.disabled = false;
-
- cmb_dutplce.visible = false ;
- }
- else if ( DUTY_PART_YN == "Y" ) {
- cmb_instcd.disabled = true;
- ipt_dutplcedeptcd.disabled = false;
- btn_dutplcedepthelp.disabled = false;
- ipt_dutplcedeptnm.disabled = false;
-
- cmb_dutplce.visible = false ;
- }
- else {
- cmb_instcd.disabled = true;
-
- cmb_dutplce.visible = true ;
- ipt_dutplcedeptcd.visible = false ;
- ipt_dutplcedeptnm.visible = false ;
- btn_dutplcedepthelp.visible = false ;
- }
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="text-align:center; 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:261px; 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="line1" class="line_1" style="x1:0px; y1:64px; x2:1195px; y2:64px; "/>
- <caption id="caption9" class="tit_2" style="left:5px; top:49px; width:139px; height:13px; ">연차휴가 사용현황</caption>
- <datagrid id="grd_unuseyearno" nodeset="/root/main/list/unuseyearno" caption="기관^부서^직위^사원번호^성명^입사일자^연차휴가일수^1년미만가용휴가일수^사용연차일수^미사용연차휴가일수^instcd" colsep="^" colwidth="150, 150, 100, 80, 110, 100, 120, 130, 120, 130, 100" explorerbar="sortshow" frozencols="3" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="16" rowsep="|" style="left:0px; top:69px; width:1195px; height:665px; ">
- <col ref="instnm" visibility="hidden"/>
- <col ref="dutunitnm"/>
- <col ref="jobposnm" style="text-align:center; "/>
- <col ref="emplno"/>
- <col ref="emplnm"/>
- <col ref="entcodd" format="yyyy-mm-dd"/>
- <col ref="genryearno" style="text-align:center; "/>
- <col ref="olmtspreyearno" visibility="hidden" style="text-align:center; "/>
- <col ref="useyearno" style="text-align:center; "/>
- <col ref="spreyearno" style="text-align:center; "/>
- <col ref="instcd" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- model.removeNodeset("/root/report");
- model.makeNode("/root/report/unuseyearno");
- model.copyNode("/root/report/unuseyearno","/root/main/list/unuseyearno["+ grd_unuseyearno.row +"]");
- exeReportPreview("RPRPD12001", "XMLSTR");
- ]]>
- </script>
- </datagrid>
- <button id="btn_excsave" class="btn2_letter4" style="left:1128px; top:44px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfSaveExcel(grd_unuseyearno);
- ]]>
- </script>
- </button>
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:36px; background-color:#fffbf2; border-color:#ffd799; "/>
- <select1 id="cmb_instcd" ref="/root/send/retrparams/instcd" class="combo_s_essential" navindex="1" appearance="minimal" style="left:105px; top:8px; width:185px; height:19px; text-align:left; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_emplhelp" class="icon_search" style="left:1007px; top:8px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rpbfOpenPopUpList("SPRPB00101", ipt_emplno, "emplno,emplnm,dutunitcd,dutunitnm", "", "N","Y");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption1" class="search_name" style="left:322px; top:8px; width:86px; height:17px; ">소속부서 :</caption>
- <caption id="caption2" class="search_name" style="left:851px; top:8px; width:86px; height:17px; ">사원번호 :</caption>
- <input id="ipt_emplnm" ref="/root/send/retrparams/emplnm" class="input_search" navindex="7" style="left:1026px; top:8px; width:65px; 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.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rpbfValidationCheck("EMPLNM", "emplno,emplnm");
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_dutplcedeptnm" ref="/root/send/retrparams/dutunitnm" class="input_search" navindex="3" style="left:514px; top:8px; width:115px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- racfDeptValidCheck("dutunitcd,dutunitnm");
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- racfDeptValidCheck("dutunitcd,dutunitnm");
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_dutplcedepthelp" class="icon_search" style="left:494px; top:8px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rpbfOpenDeptCdHelp(ipt_dutplcedeptcd, "dutunitcd,dutunitnm",cmb_instcd.value,"instcd");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption5" class="search_name" style="left:650px; top:8px; width:86px; height:17px; ">조회년월 :</caption>
- <input id="ipt_emplno" ref="/root/send/retrparams/emplno" class="input_search" navindex="6" style="left:939px; top:8px; width:65px; height:19px; ">
- <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.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rpbfValidationCheck("EMPLNO", "emplno,emplnm");
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_dutplcedeptcd" ref="/root/send/retrparams/dutunitcd" class="input_search" navindex="2" maxlength="10" style="left:410px; top:8px; width:80px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- racfDeptValidCheck("dutunitcd,dutunitnm");
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- racfDeptValidCheck("dutunitcd,dutunitnm");
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption7" class="search_name" style="left:16px; top:8px; width:86px; height:17px; ">근무기관 :</caption>
- <button id="btn_search" class="btn1_letter2" navindex="8" selected="true" style="left:1125px; top:7px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRRPD12001");
- ]]>
- </script>
- </button>
- <line id="line5" class="line_4" style="x1:1110px; y1:7px; x2:1110px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <input id="ipt_dutym" ref="/root/send/retrparams/dutym" class="input_s_essential" navindex="1" inputtype="date" format="yyyy-mm" style="left:738px; top:8px; width:85px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var instcd = cmb_instcd.value;
- if( getStringLength(ipt_dutym.value) == "6" ) {
- misfComboInstCdListMulti("cmb_instcd",ipt_dutym.value+"31","","N");
- cmb_instcd.value = instcd;
- model.refresh();
- }
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <select1 id="cmb_dutplce" ref="/root/send/retrparams/dutunitcd1" class="combo_s_essential" visibility="hidden" appearance="minimal" style="left:410px; top:8px; width:220px; height:19px; text-align:left; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue(ipt_dutplcedeptcd.attribute("ref"), cmb_dutplce.value );
- model.setValue(ipt_dutplcedeptnm.attribute("ref"), cmb_dutplce.label );
- model.refresh();
- ]]>
- </script>
- </select1>
- </group>
- <group id="group5" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <button id="button89" class="btn6_letter2" style="left:0px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.copyNode("/root/report","/root/main/list");
- exeReportPreview("RPRPD12001", "XMLSTR");
- ]]>
- </script>
- </button>
- <line id="line7" class="line_6" style="x1:0px; y1:25; x2:1195px; y2:25; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|