123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196 |
- <?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>Untitle</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <dutyempstate/>
- </list>
- </main>
- <send>
- <retrparams>
- <instcd/>
- <frym/>
- <toym/>
- <dutunitcd/>
- <dutunitnm/>
- </retrparams>
- </send>
- <init/>
- <temp/>
- </root>
- </instance>
- <submission id="TRRPD10601" 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" ev:event="xforms-ready">
- <![CDATA[
- fInit();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fInit()
- {
- model.removenode("/root/main/list/dutyempstate");
-
- // misfComboComCdListMulti("Z0007","cmb_instcd");
- misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
-
- var dt = new Date(parseInt(getCurrentDate().substr(0, 4), 10), parseInt(getCurrentDate().substr(4, 2), 10) - 1, parseInt(getCurrentDate().substr(6, 2), 10));
- var sDay = dt.getMonth();
- var sDay = (sDay.toString().length == 1) ? "0" + sDay : sDay;
-
- model.setValue("/root/send/retrparams/instcd", getUserInfo("dutplceinstcd"));
- model.setValue("/root/send/retrparams/frym", getCurrentDate().substr(0, 4) + "01");
- model.setValue("/root/send/retrparams/toym", getCurrentDate().substr(0, 4) + sDay);
-
- misfMsterDetailSet(grd_dutyempstate, null, "TRRPD10601", "Y");
-
- model.refresh();
-
- grd_dutyempstate.rowHeight(0) = 35;
- }
-
- function fRetrieve()
- {
- submit("TRRPD10601");
- }
- ]]>
- </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="group3" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
- <caption id="caption102" class="tit_2" style="left:5px; top:58px; width:144px; height:13px; ">계산</caption>
- <line id="line98" class="line_1" style="x1:0px; y1:74px; x2:1195px; y2:74px; "/>
- <line id="line5" class="line_2" style="x1:40px; y1:-418px; x2:720px; y2:-418px; "/>
- <group id="group2" style="left:0px; top:15px; width:1195px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1195px; height:35px; "/>
- <button id="button1" class="btn1_letter2" navindex="4" selected="true" style="left:1125px; top:7px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fRetrieve();
- ]]>
- </script>
- </button>
- <line id="line1" class="line_4" style="x1:1110px; y1:7px; x2:1110px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <select1 id="cmb_instcd" ref="/root/send/retrparams/instcd" class="combo_search" navindex="1" appearance="minimal" style="left:102px; top:8px; width:173px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption29" class="search_name" style="left:14px; top:9px; width:86px; height:17px; ">근무기관 :</caption>
- <caption id="caption9" class="search_name" style="left:305px; top:9px; width:87px; height:17px; ">조회기간 :</caption>
- <caption id="caption10" class="search_n_b" style="left:480px; top:9px; width:12px; height:17px; font-weight:bolder; ">~</caption>
- <input id="input5" ref="/root/send/retrparams/toym" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:495px; top:8px; width:80px; height:19px; "/>
- <button id="btn_dutdept" class="icon_search" visibility="visible" style="left:790px; top:10px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("02", ipt_dutunitcd, "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_dutunitnm" ref="/root/send/retrparams/dutunitnm" class="input_search" navindex="3" visibility="visible" style="left:810px; top:8px; width:134px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- ipt_dutunitnm.value = ipt_dutunitnm.currentText;
- misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <input id="ipt_dutunitcd" ref="/root/send/retrparams/dutunitcd" class="input_s_essential" navindex="2" visibility="visible" maxlength="10" style="left:701px; top:8px; width:85px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- ipt_dutunitcd.value = ipt_dutunitcd.currentText;
- misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <caption id="caption11" class="search_name" style="left:610px; top:9px; width:87px; height:17px; ">근무부서 :</caption>
- <input id="ipt_frym" ref="/root/send/retrparams/frym" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:395px; top:8px; width:80px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var instcd = cmb_instcd.value;
- if( getStringLength(ipt_frym.value) == "6" ) {
- model.removeNodeset(cmb_instcd.attribute("ref"));
- model.makeNode("/root/send/retrparams/instcd");
- misfComboInstCdListMulti("cmb_instcd",ipt_frym.value+"31","","N");
- cmb_instcd.value = instcd;
- model.refresh();
- }
- ]]>
- </script>
- </input>
- </group>
- <datagrid id="grd_dutyempstate" nodeset="/root/main/list/dutyempstate" caption="기관^근무부서^남녀
구분^인원^실근무시간^근무가능시간^업무과다시간^1인평균근무시간
(여성근로시간기준)^인력증감^적정인력^1인연장근무시간^1인당휴가사용일" colsep="^" colwidth="0, 180, 60, 50, 100, 100, 100, 120, 80, 100, 100, 100" frozencols="1" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheight="0" rowsep="|" style="left:0px; top:79px; width:1195px; height:661px; ">
- <col ref="instnm"/>
- <col ref="dutunitnm"/>
- <col ref="gndr" style="text-align:center; "/>
- <col ref="dutempcnt" style="text-align:center; "/>
- <col ref="rlduttmcnt" style="text-align:right; padding-right:2; "/>
- <col ref="duttm" style="text-align:right; padding-right:2; "/>
- <col ref="dutovtm" style="text-align:right; padding-right:2; "/>
- <col ref="priavgduttm" style="text-align:right; padding-right:2; "/>
- <col ref="emphl" style="text-align:right; padding-right:2; "/>
- <col ref="emp" style="text-align:right; padding-right:2; "/>
- <col ref="ovtm" style="text-align:right; padding-right:2; "/>
- <col ref="vali" style="text-align:right; padding-right:2; "/>
- </datagrid>
- <button id="button2" class="btn2_letter4" visibility="hidden" style="left:1060px; top:54px; width:64px; height:19px; ">
- <caption>인력산정</caption>
- </button>
- <button id="btn_excel" class="btn2_letter4" style="left:1130px; top:54px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfSaveExcel(grd_dutyempstate);
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <button id="button89" class="btn6_letter2" visibility="hidden" style="left:0px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- </button>
- <line id="line6" class="line_2" style="x1:0px; y1:25; x2:1195px; y2:25; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|