123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273 |
- <?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>SMRPD03400_교원휴가조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <emplholi/>
- </list>
- <dtlist>
- <emplholidt/>
- </dtlist>
- </main>
- <send>
- <req>
- <instcd/>
- <yy/>
- <deptcd/>
- <deptnm/>
- <emplno/>
- <emplnm/>
- <appfrmlrg/>
- <appfrmsml/>
- </req>
- <detail>
- <yy/>
- <instcd/>
- <deptcd/>
- <emplno/>
- </detail>
- </send>
- <init>
- </init>
- </root>
- </instance>
- <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/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <submission id="TRRPD03401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/list"/>
- <submission id="TRRPD03402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/detail" resultref="/root/main/dtlist"/>
- </model>
- <script type="javascript">
- <![CDATA[
- // 화면 open시 화면 초기화 기능을 수행한다.
- function fInitialize() {
- model.removenode("/root/main");
- model.makeNode("/root/main/list");
- model.makeNode("/root/main/dtlist");
-
- var today = getCurrentDate();
- var cur_yy = parseInt(today.substring(0, 4));
- model.setValue("/root/send/req/yy", cur_yy);
-
- misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","Y");
- misfComboComCdListMulti("R0325,R0326", "cmb_appfrmlrg,cmb_appfrmsml", null, "N");
-
- misfComboCopyItemSet(cmb_instcd, "", grd_emplholidt, "dutinstcd");
- misfComboCopyItemSet(cmb_appfrmlrg, "", grd_emplholidt, "appfrmlrg");
- misfComboCopyItemSet(cmb_appfrmsml, "", grd_emplholidt, "appfrmsml");
-
- addGridComboItem("cmb_instcd", "- 전체 -", "","above"); // 기관 콤보박스에 '전체'를 추가
-
- model.refresh();
- }
-
- function fsearch() {
- if (ipt_yy.value == ""){
- messageBox("연도는","I003");
- return;
- }
- submit("TRRPD03401");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body 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:18px; width:1195px; height:757px; ">
- <caption id="caption283" class="tit_2" style="left:5px; top:50px; width:136px; height:13px; ">교원 휴가 집계 목록</caption>
- <line id="line203" class="line_1" style="x1:0px; y1:65px; x2:1194px; y2:65px; "/>
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:5px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1125px; top:12px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fsearch();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1110px; y1:10px; x2:1110px; y2:32px; "/>
- <caption id="caption1" class="tit_2" style="left:5px; top:367px; width:134px; height:13px; ">휴가 사용 내역</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:382px; x2:1194px; y2:382px; "/>
- <datagrid id="grd_emplholi" nodeset="/root/main/list/emplholi" caption="사원번호^성명^근무기관^근무부서^직책^직위^법정휴가^사용휴가^남은휴가^년도" colsep="^" colwidth="70, 70, 175, 236, 175, 131, 70, 70, 70, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:1px; top:70px; width:1191px; height:290px; ">
- <col ref="emplno" style="text-align:center; "/>
- <col ref="name" style="text-align:center; "/>
- <col ref="instcd"/>
- <col ref="deptcd"/>
- <col ref="jobrespcd"/>
- <col ref="jobposcd"/>
- <col ref="genryearno" style="text-align:center; "/>
- <col ref="useanul" style="text-align:center; "/>
- <col ref="usepossholi" style="text-align:center; "/>
- <col ref="yy" visibility="hidden"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- var row = grd_emplholi.row;
-
- model.setValue("/root/send/detail/yy", grd_emplholi.valueMatrix(row,grd_emplholi.colRef("yy")) );
- model.setValue("/root/send/detail/instcd", grd_emplholi.valueMatrix(row,grd_emplholi.colRef("instcd")) );
- model.setValue("/root/send/detail/deptcd", grd_emplholi.valueMatrix(row,grd_emplholi.colRef("deptcd")) );
- model.setValue("/root/send/detail/emplno", grd_emplholi.valueMatrix(row,grd_emplholi.colRef("emplno")) );
-
- submit("TRRPD03402");
-
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_emplholidt" nodeset="/root/main/dtlist/emplholidt" caption="대분류^소분류^휴가기간^휴가기간^휴가사유^기관|대분류^소분류^From^To^휴가사유^기관" colsep="^" colwidth="129, 124, 100, 100, 551, 170" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:1px; top:387px; width:1191px; height:355px; ">
- <col disabled="true" ref="appfrmlrg" type="combo" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="appfrmsml" type="combo" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="holifromdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="holitodd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="resn"/>
- <col disabled="true" ref="dutinstcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- </datagrid>
- <caption id="caption5" class="search_name" style="left:205px; top:13px; width:86px; height:17px; ">기 관 :</caption>
- <caption id="caption2" class="search_name" style="left:15px; top:13px; width:86px; height:17px; ">근무년도 :</caption>
- <caption id="caption3" class="search_name" style="left:479px; top:13px; width:86px; height:17px; ">부 서 :</caption>
- <caption id="caption4" class="search_name" style="left:814px; top:13px; width:86px; height:17px; ">사원번호 :</caption>
- <button id="btn_excel" class="btn2_letter4" style="left:1129px; top:45px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- ]]>
- </script>
- </button>
- <select1 id="cmb_instcd" ref="/root/send/req/instcd" appearance="minimal" style="left:292px; top:13px; width:165px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_appfrmlrg" ref="/root/send/req/appfrmlrg" visibility="hidden" appearance="minimal" style="left:305px; top:35px; width:80px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_appfrmsml" ref="/root/send/req/appfrmsml" visibility="hidden" appearance="minimal" style="left:385px; top:35px; width:75px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_yy" ref="/root/send/req/yy" inputtype="date" format="yyyy" style="left:100px; top:13px; width:75px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var instcd = cmb_instcd.value;
- if( getStringLength(ipt_yy.value) == "4" ) {
- model.removeNodeset(cmb_instcd.attribute("ref"));
- model.makeNode("/root/send/req/instcd");
- if(ipt_yy.value == getCurrentDate().substring(0, 4) ) {
- misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","Y");
- }
- else {
- misfComboInstCdListMulti("cmb_instcd",ipt_yy.value+"1231","","Y");
- }
- cmb_instcd.value = instcd;
- model.refresh();
- }
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("ipt_yy", "xforms-value-changed");
- ]]>
- </script>
- </input>
- <button id="btn_deptcdhelp" class="icon_search" style="left:646px; top:13px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var precv_list = "deptcd" + "," + "deptnm";
- misfOpenPopUpList("02", ipt_deptcd, "", precv_list);
- fsearch();
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_deptnm" ref="/root/send/req/deptnm" class="output_search" style="left:665px; top:13px; width:129px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_deptcd" ref="/root/send/req/deptcd" class="input_default" style="left:565px; top:13px; width:78px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_emplnm" ref="/root/send/req/emplnm" class="input_search" appearance="input" style="left:997px; top:13px; width:83px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_emplnohelp" class="icon_search" style="left:978px; top:13px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var precv_list = "emplno" + "," + "name";
- misfOpenPopUpList("01", ipt_emplno, "", precv_list);
- fsearch();
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_emplno" ref="/root/send/req/emplno" class="input_default" style="left:899px; top:13px; width:78px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- </group>
- </xhtml:body>
- </xhtml:html>
|