123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426 |
- <?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>
- <ovtmworkapplist>
- <appfromdd/>
- <yoil/>
- <emplnm/>
- <appfromtm/>
- <apptotm/>
- <coufromtm/>
- <coutotm/>
- <coutm_v/>
- <couresn/>
- <remark/>
- <deprtmangraprvyn/>
- <deprtmangrcouyn/>
- <psnworkapryn/>
- </ovtmworkapplist>
- </list>
- </main>
- <send>
- <instcd/>
- <dutym/>
- <emplno_s/>
- <emplnm_s/>
- <dutplcedeptcd/>
- <instnm/>
- <instcd/>
- <dutplceinstnm/>
- <dutplceinstcd/>
- <dutym_ss/>
- <dutym_ee/>
- <emplno/>
- <emplnm/>
- <dutunitcd/>
- <dutunitnm/>
- <psnworkapryn_s/>
- <dutdeptnm_s/>
- <popworkgbn/>
- <dutym_s/>
- <dutym_e/>
- <dutplcedeptnm/>
- <deptgb/>
- <deducord>
- <instcd/>
- <dutym_s/>
- <dutym_e/>
- <dutplcedeptcd/>
- <emplno/>
- <emplnm/>
- <dutplcedeptnm/>
- <psnworkapryn/>
- <deptgb/>
- <retrflag>psnwork</retrflag>
- </deducord>
- </send>
- <init>
- <combo1>
- <label>Y</label>
- <value>Y</value>
- <label>N</label>
- <value>N</value>
- </combo1>
- <radio1>
- <label>승인</label>
- <value>Y</value>
- <label>미승인</label>
- <value>N</value>
- <label>전체</label>
- <value>%</value>
- </radio1>
- </init>
- <tempday>
- <dutinfo/>
- </tempday>
- </root>
- </instance>
- <submission id="TRRPD05601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/deducord" resultref="/root/main/list"/>
- <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/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript" src="../../../mis/dligclaznsmngtweb/js/RPD001.js"/>
- <script type="javascript" src="../../../mis/pubwelfmngtweb/js/RPS001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- var DUT_UNIT_CD = "";
- var DUT_UNIT_NM = "";
-
- var PSNWORK_ALL_CHECK_YN = false;
-
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize()
- {
- model.removenode("/root/main/ovtmworkapplist");
-
- misfGridInit(datagrid1);
-
- misfComboInstCdListMulti("cmb_instcd",ipt_appfromdd.value,"","N");
- misfGetAndSetUserInfo();
-
- cmb_instcd.disabled = true;
- model.setValue("/root/send/dutplcedeptcd", DUT_UNIT_CD);
- model.setValue("/root/send/dutunitcd", DUT_UNIT_CD);
- model.setValue("/root/send/dutplcedeptnm", DUT_UNIT_NM);
- model.setValue("/root/send/dutdeptnm_s", DUT_UNIT_NM);
- fSetDate();
- model.setValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.setValue("/root/send/popworkgbn", "SMRPD01800");
- model.setValue("/root/send/dutym_s", model.getValue("/root/send/dutym_ss"));
- model.setValue("/root/send/dutym_e", model.getValue("/root/send/dutym_ee"));
- model.setValue("/root/send/deptgb", "1");
- rdo_psnworkapryn.value = "";
-
- btn_search.dispatch("DOMActivate");
-
- model.refresh();
- }
-
- function fSetDate() {
- var dt = new Date(getCurrentDate().substr(0, 4), getCurrentDate().substr(4, 2), 0);
- var iLastDay = dt.getDate();
- submit("TRRPD10102", false);
- model.setValue("/root/send/dutym_ss", model.getValue("/root/tempday/dutinfo/dutlist/fromymd"));
- model.setValue("/root/send/dutym_ee", model.getValue("/root/tempday/dutinfo/dutlist/toymd"));
- }
-
- ]]>
- </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:800px; height:14px; ">특근신청현황</caption>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
- <line id="line1" 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; "/>
- <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1128px; top:15px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(ipt_dutym_s.value == "" || ipt_dutym_e.value == "") {
- messageBox("근무월은","I003");
- return;
- }
- model.setValue("/root/send/deducord/psnworkapryn", model.getValue("/root/send/psnworkapryn_s"));
- model.setValue("/root/send/deducord/instcd", model.getValue("/root/send/instcd"));
- model.setValue("/root/send/deducord/retrflag", "psnwork");
- model.setValue("/root/send/deducord/emplno", ipt_emplno.value);
- model.setValue("/root/send/deducord/deptgb", model.getValue("/root/send/deptgb"));
- model.setValue("/root/send/deducord/dutplcedeptcd", model.getValue("/root/send/dutplcedeptcd"));
- model.setValue("/root/send/deducord/dutym_s", model.getValue("/root/send/dutym_ss"));
- model.setValue("/root/send/deducord/dutym_e", model.getValue("/root/send/dutym_ee"));
- model.removeNodeset("/root/main/list");
- submit("TRRPD05601");
- ]]>
- </script>
- </button>
- <caption id="caption3" style="left:628px; top:7px; width:25px; height:20px; font-weight:bold; text-align:center; vertical-align:middle; ">~</caption>
- <input id="ipt_appfromdd" ref="/root/send/dutym_ss" class="input_s_essential" inputtype="date" style="left:528px; top:6px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var instcd = cmb_instcd.value;
- if( getStringLength(ipt_appfromdd.value) == "8" ) {
- model.removeNodeset(cmb_instcd.attribute("ref"));
- model.makeNode("/root/send/instcd");
- misfComboInstCdListMulti("cmb_instcd",ipt_appfromdd.value,"","Y");
- cmb_instcd.value = instcd;
- model.refresh();
- }
- ipt_dutym_s.value = ipt_appfromdd.value;
- ]]>
- </script>
- </input>
- <input id="ipt_apptodd" ref="/root/send/dutym_ee" class="input_s_essential" inputtype="date" style="left:647px; top:6px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var instcd = cmb_instcd.value;
- if( getStringLength(ipt_appfromdd.value) == "8" ) {
- model.removeNodeset(cmb_instcd.attribute("ref"));
- model.makeNode("/root/send/instcd");
- misfComboInstCdListMulti("cmb_instcd",ipt_appfromdd.value,"","Y");
- cmb_instcd.value = instcd;
- model.refresh();
- }
- ipt_dutym_e.value = ipt_apptodd.value;
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption4" class="search_name" style="left:440px; top:7px; width:86px; height:17px; ">신청기간 :</caption>
- <button id="btn_dutdept" class="icon_search" style="left:184px; top:32px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // misfOpenPopUpList("02", ipt_dutdeptcd, "", "dutplcedeptcd,dutdeptnm_s", cmb_instcd.value, "instcd" );
- misfOpenPopUpList("02", ipt_dutdeptcd,"","dutplcedeptcd,dutdeptnm_s", cmb_instcd.value + "," + ipt_apptodd.value, "instcd,basedd");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_dutdeptnm" ref="/root/send/dutdeptnm_s" class="input_search" navindex="3" style="left:202px; top:30px; 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", "", "dutplcedeptcd,dutdeptnm_s", cmb_instcd.value, "instcd" );
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "dutplcedeptcd,dutdeptnm_s", cmb_instcd.value, "instcd" );
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_dutdeptcd" ref="/root/send/dutplcedeptcd" class="input_search" navindex="2" maxlength="10" style="left:101px; top:30px; width:80px; 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", "", "dutplcedeptcd,dutdeptnm_s", cmb_instcd.value, "instcd" );
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "dutplcedeptcd,dutdeptnm_s", cmb_instcd.value, "instcd" );
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption1" class="search_name" style="left:13px; top:31px; width:86px; height:17px; ">근무부서 :</caption>
- <caption id="caption5" class="search_name" style="left:440px; top:31px; width:86px; height:17px; ">사원번호 :</caption>
- <input id="ipt_emplno" ref="/root/send/emplno_s" class="input_search" navindex="4" maxlength="8" style="left:528px; top:30px; width:77px; 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/emplno_s" , model.getValue("/root/send/emplno"));
- model.setValue("/root/send/emplnm_s", model.getValue("/root/send/emplnm"));
- model.setValue("/root/send/dutplcedeptcd", model.getValue("/root/send/dutunitcd"));
- model.setValue("/root/send/dutdeptnm_s", model.getValue("/root/send/dutunitnm"));
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rpbfValidationCheck("EMPLNO", "emplno,emplnm,dutunitcd,dutunitnm");
-
- model.setValue("/root/send/emplno_s" , model.getValue("/root/send/emplno"));
- model.setValue("/root/send/emplnm_s", model.getValue("/root/send/emplnm"));
- model.setValue("/root/send/dutplcedeptcd", model.getValue("/root/send/dutunitcd"));
- model.setValue("/root/send/dutdeptnm_s", model.getValue("/root/send/dutunitnm"));
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_emplnm" ref="/root/send/emplnm_s" class="input_search" navindex="5" style="left:628px; top:30px; width:162px; 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/emplno_s" , model.getValue("/root/send/emplno"));
- model.setValue("/root/send/emplnm_s", model.getValue("/root/send/emplnm"));
- model.setValue("/root/send/dutplcedeptcd", model.getValue("/root/send/dutunitcd"));
- model.setValue("/root/send/dutdeptnm_s", model.getValue("/root/send/dutunitnm"));
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rpbfValidationCheck("EMPLNM", "emplno,emplnm,dutunitcd,dutunitnm");
-
- model.setValue("/root/send/emplno_s" , model.getValue("/root/send/emplno"));
- model.setValue("/root/send/emplnm_s", model.getValue("/root/send/emplnm"));
- model.setValue("/root/send/dutplcedeptcd", model.getValue("/root/send/dutunitcd"));
- model.setValue("/root/send/dutdeptnm_s", model.getValue("/root/send/dutunitnm"));
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_emplhelp" class="icon_search" style="left:609px; top:32px; width:16px; height:16px; ">
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rpbfOpenPopUpList("SPRPB00101", ipt_emplno, "emplno,emplnm,dutunitcd,dutunitnm", "", "N");
-
- model.setValue("/root/send/emplno_s" , model.getValue("/root/send/emplno"));
- model.setValue("/root/send/emplnm_s", model.getValue("/root/send/emplnm"));
- model.setValue("/root/send/dutplcedeptcd", model.getValue("/root/send/dutunitcd"));
- model.setValue("/root/send/dutdeptnm_s", model.getValue("/root/send/dutunitnm"));
- model.refresh();
- ]]>
- </script>
- <caption/>
- </button>
- <line id="line3" class="line_4" style="x1:1115px; y1:7px; x2:1115px; y2:49px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption7" class="search_name" style="left:818px; top:7px; width:86px; height:17px; ">승인여부 :</caption>
- <select1 id="rdo_psnworkapryn" ref="/root/send/psnworkapryn_s" overflow="visible" appearance="full" cols="3" style="left:905px; top:7px; width:150px; height:14px; border-style:none; ">
- <choices>
- <item>
- <label>승인</label>
- <value>Y</value>
- </item>
- <item>
- <label>미승인</label>
- <value>N</value>
- </item>
- <item>
- <label>전체</label>
- <value/>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_search" navindex="1" appearance="minimal" style="left:101px; top:6px; width:214px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption8" class="search_name" style="left:13px; top:7px; width:86px; height:17px; ">소속기관 :</caption>
- <select1 id="combo1" ref="/root/send/deptgb" appearance="minimal" style="left:320px; top:30px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>근무지</label>
- <value>1</value>
- </item>
- <item>
- <label>소속부서</label>
- <value>2</value>
- </item>
- <item>
- <label>소속과(팀)</label>
- <value>3</value>
- </item>
- <item>
- <label>소속과(실)</label>
- <value>4</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- </group>
- <caption id="caption9" class="tit_2" style="left:0px; top:74px; width:170px; height:13px; ">특근신청내역</caption>
- <button id="button1" class="btn2_letter4" style="left:1128px; top:69px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfSaveExcel(datagrid1);
- ]]>
- </script>
- </button>
- <datagrid id="datagrid1" nodeset="/root/main/list/ovtmworkapplist" caption="날짜^요일^성명^계획시간^계획시간^실근무시간^실근무시간^해당시간^근무내용^비고|날짜^요일^성명^시작^종료^시작^종료^해당시간^근무내용^비고" colsep="^" colwidth="100, 61, 89, 71, 62, 61, 61, 72, 416, 157" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:95px; width:1195px; height:645px; ">
- <col ref="appfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="yoil" style="text-align:center; "/>
- <col ref="emplnm"/>
- <col ref="appfromtm" format="hh:nn" style="text-align:center; "/>
- <col ref="apptotm" format="hh:nn" style="text-align:center; "/>
- <col ref="coufromtm" format="hh:nn" style="text-align:center; "/>
- <col ref="coutotm" format="hh:nn" style="text-align:center; "/>
- <col ref="coutm_v" style="text-align:center; "/>
- <col ref="appresn"/>
- <col ref="remark"/>
- </datagrid>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:28px; ">
- <line id="line75" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
- <input id="ipt_popworkgbn" ref="/root/send/popworkgbn" class="input_search" navindex="2" visibility="hidden" style="left:705px; top:5px; width:19px; height:19px; "/>
- <input id="ipt_dutplceinstcd" ref="/root/send/dutplceinstcd" class="input_search" navindex="2" visibility="hidden" style="left:725px; top:5px; width:19px; height:19px; "/>
- <input id="ipt_dutplceinstnm" ref="/root/send/dutplceinstnm" class="input_search" navindex="2" visibility="hidden" style="left:745px; top:5px; width:19px; height:19px; "/>
- <input id="ipt_deptcd" ref="/root/send/deptcd" class="input_search" navindex="2" visibility="hidden" style="left:765px; top:5px; width:19px; height:19px; "/>
- <input id="ipt_deptnm" ref="/root/send/deptnm" class="input_search" navindex="2" visibility="hidden" style="left:785px; top:5px; width:19px; height:19px; "/>
- <input id="ipt_dutym_s" ref="/root/send/dutym_s" class="input_search" navindex="2" visibility="hidden" style="left:805px; top:5px; width:19px; height:19px; "/>
- <input id="ipt_dutym_e" ref="/root/send/dutym_e" class="input_search" navindex="2" visibility="hidden" style="left:825px; top:5px; width:19px; height:19px; "/>
- <input id="ipt_dutdeptcd2" ref="/root/send/dutdeptcd" class="input_search" navindex="2" visibility="hidden" style="left:845px; top:5px; width:19px; height:19px; "/>
- <input id="ipt_dutdeptnm2" ref="/root/send/dutdeptnm" class="input_search" navindex="2" visibility="hidden" style="left:865px; top:5px; width:19px; height:19px; "/>
- <input id="ipt_instcd" ref="/root/send/instcd" class="input_search" navindex="2" visibility="hidden" style="left:885px; top:5px; width:19px; height:19px; "/>
- <input id="ipt_instnm" ref="/root/send/instnm" class="input_search" navindex="2" visibility="hidden" style="left:905px; top:5px; width:19px; height:19px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|