123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322 |
- <?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>
- <list>
- <dutsumlist/>
- <valiuselist/>
- <abslatelist/>
- </list>
- </main>
- <send>
- <retrparams>
- <instcd/>
- <dutyy/>
- <dutunitcd/>
- <dutunitnm/>
- <emplno/>
- <emplnm/>
- <dutplceinst/>
- </retrparams>
- </send>
- <init/>
- <temp/>
- </root>
- </instance>
- <submission id="TRRPD00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams" resultref="/root/main/list"/>
- </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[
- fInitialize();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- var DUT_UNIT_CD = "";
- var DUT_UNIT_NM = "";
-
- function fInitialize()
- {
- model.removenode("/root/main/list/dutsumlist");
- model.removenode("/root/main/list/valiuselist");
- model.removenode("/root/main/list/abslatelist");
-
- model.setValue("/root/send/retrparams/dutyy", getCurrentDate().substr(0, 6));
- // misfComboComCdListMulti("Z0007","cmb_instcd");
- misfComboInstCdListMulti("cmb_instcd",getCurrentDate().substr(0, 8),"","Y");
-
- misfGetAndSetUserInfo();
- misfGetUserAuth();
- rpdfSetControlAuthDuty();
-
- misfMsterDetailSet(grd_dutsumlist, null, "TRRPD00201", "Y");
-
- 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/emplno", getUserInfo("userid"));
- model.setValue("/root/send/retrparams/emplnm", getUserInfo("usernm"));
- ipt_emplno.disabled = true
- ipt_emplnm.disabled = true
- btn_help.disabled = true
- grd_dutsumlist.rowHeight(0) = 23;
- grd_dutsumlist.rowHeight(1) = 23;
- model.refresh();
- }
-
- function fRetrieve()
- {
- submit("TRRPD00201");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-right:8; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">개인근태집계조회</caption>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line13" class="line_4" style="x1:1110px; y1:16px; x2:1110px; y2:38px; "/>
- <caption id="caption278" class="tit_2" style="left:5px; top:54px; width:162px; height:13px; ">개인근태집계목록</caption>
- <line id="line207" class="line_1" style="x1:0px; y1:69px; x2:1195px; y2:69px; "/>
- <datagrid id="grd_dutsumlist" nodeset="/root/main/list/dutsumlist" caption="사원번호^성명^근무부서코드^근무부서명^법휴^법휴^법휴^법휴^법휴^보호휴가^보호휴가^보호휴가^지각^결근^공가^경조휴가^병가^휴직^공상|사원번호^성명^근무부서코드^근무부서명^발 생^사 용^1↓ 발생^1↓사용^잔 여 ^발 생^사 용^잔 여^지각^결근^공가^경조휴가^병가^휴직^공상" colsep="^" colwidth="75, 80, 80, 193, 81, 72, 55, 55, 76, 55, 55, 55, 55, 55, 71, 69, 69, 69, 69" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:74px; width:1195px; height:71px; ">
- <col ref="emplno" style="text-align:center; "/>
- <col ref="emplnm" style="text-align:center; "/>
- <col ref="dutplcedeptcd" style="text-align:center; "/>
- <col ref="deptnm" style="text-align:center; "/>
- <col ref="genryearno" style="text-align:center; "/>
- <col ref="useyearno" style="text-align:center; "/>
- <col ref="olmtgenryearno" visibility="hidden" style="text-align:center; "/>
- <col ref="olmtspreyearno" visibility="hidden" style="text-align:center; "/>
- <col ref="spreyearno" style="text-align:center; "/>
- <col ref="genrhealholi" visibility="hidden" style="text-align:center; "/>
- <col ref="usehealholi" visibility="hidden" style="text-align:center; "/>
- <col ref="sprehealholi" visibility="hidden" style="text-align:center; "/>
- <col ref="lateness" visibility="hidden" format="99" style="text-align:center; "/>
- <col ref="absence" visibility="hidden" format="99" style="text-align:center; "/>
- <col ref="public1" visibility="hidden" format="99" style="text-align:center; "/>
- <col ref="holi" visibility="hidden" format="99" style="text-align:center; "/>
- <col ref="sick" visibility="hidden" format="99" style="text-align:center; "/>
- <col ref="suspense" visibility="hidden" format="99" style="text-align:center; "/>
- <col ref="publict" visibility="hidden" format="99" style="text-align:center; "/>
- </datagrid>
- <caption id="caption5" class="search_name" style="left:10px; top:19px; width:86px; height:17px; ">근무기관 :</caption>
- <caption id="caption1" class="search_name" style="left:260px; top:19px; width:86px; height:17px; ">근무년월 :</caption>
- <input id="ipt_dutym" ref="/root/send/retrparams/dutyy" class="input_search" navindex="2" inputtype="date" format="yyyy-mm" style="left:355px; top:18px; width:95px; 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" ) {
- model.removeNodeset(cmb_instcd.attribute("ref"));
- model.makeNode("/root/send/retrparams/instcd");
- misfComboInstCdListMulti("cmb_instcd",ipt_dutym.value+"31","","Y");
- cmb_instcd.value = instcd;
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <select1 id="cmb_instcd" ref="/root/send/retrparams/instcd" class="combo_search" navindex="1" appearance="minimal" style="left:100px; top:18px; width:145px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_dutdept" class="icon_search" style="left:633px; top:20px; 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_dutym.value+"31", "instcd,basedd");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_name" style="left:467px; top:19px; width:88px; height:17px; ">근무부서 :</caption>
- <input id="ipt_dutdeptnm" ref="/root/send/retrparams/dutunitnm" class="input_search" navindex="4" style="left:651px; top:18px; width:114px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- if(ipt_dutdeptnm.value == ipt_dutdeptnm.currentText) return;
- ipt_dutdeptnm.value = ipt_dutdeptnm.currentText;
- misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_dutdeptcd" ref="/root/send/retrparams/dutunitcd" class="input_search" navindex="3" maxlength="10" style="left:555px; top:18px; width:75px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- if(ipt_dutdeptcd.value == ipt_dutdeptcd.currentText) return;
- ipt_dutdeptcd.value = ipt_dutdeptcd.currentText;
- misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_help" class="icon_search" style="left:939px; top:20px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rpbfOpenPopUpList("SPRPB00101", ipt_emplno, "emplno,emplnm,dutunitcd,dutunitnm,dutplceinst", "", "N");
- if(model.getValue("/root/send/retrparams/emplno") != "" && model.getValue("/root/send/retrparams/emplnm") != "" && getUserInfo("dutplceinstcd") == "001")
- {
- model.setValue("/root/send/retrparams/instcd", model.getValue("/root/send/retrparams/dutplceinst"));
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption3" class="search_name" style="left:780px; top:19px; width:86px; height:17px; ">사원번호 :</caption>
- <input id="ipt_emplno" ref="/root/send/retrparams/emplno" class="input_search" disabled="true" navindex="5" maxlength="8" style="left:869px; top:18px; width:65px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rpbfValidationCheck("EMPLNO", "emplno,emplnm,dutunitcd,dutunitnm,dutplceinst");
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- ipt_emplno.value = ipt_emplno.currentText;
- rpbfValidationCheck("EMPLNO", "emplno,emplnm,dutunitcd,dutunitnm,dutplceinst");
- if(model.getValue("/root/send/retrparams/emplno") != "" && model.getValue("/root/send/retrparams/emplnm") != "" && getUserInfo("dutplceinstcd") == "001")
- {
- model.setValue("/root/send/retrparams/instcd", model.getValue("/root/send/retrparams/dutplceinst"));
- }
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <input id="ipt_emplnm" ref="/root/send/retrparams/emplnm" class="input_search" disabled="true" navindex="6" style="left:960px; top:18px; width:90px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rpbfValidationCheck("EMPLNM", "emplno,emplnm,dutunitcd,dutunitnm,dutplceinst");
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- ipt_emplnm.value = ipt_emplnm.currentText;
- rpbfValidationCheck("EMPLNM", "emplno,emplnm,dutunitcd,dutunitnm,dutplceinst");
- if(model.getValue("/root/send/retrparams/emplno") != "" && model.getValue("/root/send/retrparams/emplnm") != "" && getUserInfo("dutplceinstcd") == "001")
- {
- model.setValue("/root/send/retrparams/instcd", model.getValue("/root/send/retrparams/dutplceinst"));
- }
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <caption id="caption4" class="tit_2" style="left:5px; top:157px; width:136px; height:14px; ">개인 복무 신청 내역</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:172px; x2:1195px; y2:172px; "/>
- <caption id="caption7" class="tit_2" visibility="hidden" style="left:5px; top:510px; width:229px; height:14px; ">법휴 신청내역 및 지각/결근 내역</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:525px; x2:1195px; y2:525px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1125px; top:16px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fRetrieve();
- ]]>
- </script>
- </button>
- <datagrid id="grd_valiuselist" nodeset="/root/main/list/valiuselist" caption="사용일자^근무코드^근무명^사용횟수^밤근무월제한일수|사용일자^근무코드^근무명^사용횟수^밤근무월제한일수" colsep="^" colwidth="100, 70, 300, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:0px; top:177px; width:1195px; height:321px; ">
- <col ref="dutdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="dutcd" type="output" style="text-align:center; vertical-align:middle; "/>
- <col ref="dutnm"/>
- <col ref="usecnts" style="text-align:center; vertical-align:middle; "/>
- </datagrid>
- <datagrid id="grd_abslatelist" nodeset="/root/main/list/abslatelist" caption="근무코드^근무명^신청일^신청기간^신청기간^일수^승인여부^신청사유^복무비용^비용지급일자^부서장
입력여부^부서장승인^인사팀승인^지출결의확인^기관코드^사번^근무지부서^밤근무월제한일수|근무코드^근무명^신청일^시작일^종료일^일수^승인여부^신청사유^복무비용^비용지급일자^부서장
입력여부^부서장승인^인사팀승인^지출결의확인^기관코드^사번^근무지부서^밤근무월제한일수" colsep="^" colwidth="70, 100, 120, 120, 120, 100, 100, 412, 0, 0, 0, 0, 0, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:0px; top:177px; width:1195px; height:563px; ">
- <col ref="dutcd" type="output" style="text-align:center; vertical-align:middle; "/>
- <col ref="dutnm"/>
- <col ref="srvarmappdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="srvarmfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="srvarmtodd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="srvarmdayno" style="text-align:center; vertical-align:middle; "/>
- <col/>
- <col ref="appresn"/>
- <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[
- fSetHoliLen();
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <line id="line4" class="line_6" style="x1:0px; y1:25; x2:1195px; y2:25; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|