123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet ype="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>
- <fmlyheader>
- <emplno/>
- <emplnm/>
- <empfirsebornyn/>
- <empmarryyn/>
- <spousejob/>
- <spousephone/>
- <rregno/>
- <jobkindcd/>
- <jobkindnm/>
- <jobposcd/>
- <jobposnm/>
- <dutplcedeptcd/>
- <dutplcedeptnm/>
- <fstappntdd/>
- <retiredd/>
- <residncaddr/>
- <residnczipcd1/>
- <residnczipcd2/>
- <mpphonno/>
- <cntctel/>
- <hosinseqno/>
- <chkaprl/>
- </fmlyheader>
- </main>
- <send>
- <save>
- </save>
- <emplno/>
- <emplnm/>
- <dutunitcd/>
- <dutunitnm/>
- <srchfrmdd/>
- <srchendd/>
- <srchaprlflag/>
- <data2>
- <emplno/>
- </data2>
- </send>
- <temp>
- <data2/>
- </temp>
- <init>
- </init>
- <hidden>
- <savelist>
- <fmlyheader/>
- </savelist>
- </hidden>
- </root>
- </instance>
- <submission id="TRRWP22002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main"/>
- <submission id="TXRWP22003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/savelist" replace="instance" resultref="/root/temp"/>
- </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/utilHelper.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" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fInitialize()
- {
- misfGridInit(dtg_fmlyheader);
- model.setValue("/root/send/srchfrmdd", getCurrentDate().substring(0,6)+"01" );
- model.setValue("/root/send/srchendd", getCurrentDate() );
- model.setValue("/root/send/srchaprlflag", "" );
- misfComboComCdListMulti("R0077","dtg_fmlyheader.relation");
-
- var logindeptcd = getUserInfo("dutplcecd");
- var loginid = getUserInfo("userid");
-
- if( logindeptcd == "4020323000" || logindeptcd == "4020327000" || loginid == "97089" ){ //4020300000
- btn_save.disabled = false;
- }else{
- btn_save.disabled = true;
- }
- btn_search.dispatch("DOMActivate");
- model.refresh();
- }
-
- function fSave(){
-
- var len = getNodesetCount("/root/main/fmlymaster");
- var updtdata_h = getGridUpdateData(dtg_fmlyheader);
-
- if (updtdata_h == "" ){
- messageBox("변경된 데이터가","I004");
- return;
- }
- model.makeValue("/root/hidden/savelist/fmlyheader",dtg_fmlyheader.getUpdateData() );
- if( submit("TXRWP22003") ){
- messageBox("저장되었습니다.", "I000");
- btn_search.dispatch("DOMActivate");
- }
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-right:8; ">
- <group id="group2" scroll="auto" style="left:0px; top:25px; width:1195px; height:744px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:2px; width:1195px; height:40px; "/>
- <line id="line207" class="line_1" style="x1:0px; y1:71px; x2:1192px; y2:70px; "/>
- <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1113px; top:10px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if(model.getValue("/root/send/srchfrmdd") == "" || model.getValue("/root/send/srchendd") == "" )
- {
- messageBox("조회 신청기간은 필수입력입니다.", "E999");
- return;
- }
-
- submit("TRRWP22002");
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line3" class="line_4" style="x1:1080px; y1:8px; x2:1080px; y2:36px; border-color:#ffe4bb; border-left-style:solid; "/>
- <datagrid id="dtg_fmlyheader" nodeset="/root/main/fmlyheader" caption="신청일자^신청구분^사원번호^사원명^부서명^가족관계^가족명^신고사유^승인여부^승인일자^승인자^비고^부서코드" colsep="^" colwidth="100, 59, 79, 82, 130, 72, 79, 137, 69, 100, 100, 145, 100, 100, 100" dataheight="25" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:73px; width:1193px; height:667px; ">
- <col disabled="true" ref="aplctndate" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="aplctnflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>추가</label>
- <value>1</value>
- </item>
- <item>
- <label>상실</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="emplno" style="text-align:center; "/>
- <col disabled="true" ref="emplnm" style="text-align:center; "/>
- <col disabled="true" ref="dutplcedeptnm" style="text-align:center; "/>
- <col disabled="true" editmode="inputsearch" ref="relation" type="combo" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="relname" style="text-align:center; "/>
- <col disabled="true" ref="reason" style="text-align:left; "/>
- <col ref="approveflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>확인완료</label>
- <value>Y</value>
- </item>
- <item>
- <label>확인중</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="approvedate" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="approver" style="text-align:center; "/>
- <col disabled="true" ref="note" style="text-align:left; "/>
- <col ref="approverid" visibility="hidden" style="text-align:center; "/>
- <col ref="dutplcedeptcd" visibility="hidden"/>
- <col ref="rregno" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( dtg_fmlyheader.colAttribute(dtg_fmlyheader.col,"ref") == "approveflag" ){
- if( model.getValue( "/root/main/fmlyheader[" + dtg_fmlyheader.row + "]/approveflag") == "1"){ //확인완료
- model.setValue( "/root/main/fmlyheader[" + dtg_fmlyheader.row + "]/approvedate", getCurrentDate());
- model.setValue( "/root/main/fmlyheader[" + dtg_fmlyheader.row + "]/approverid", getUserInfo("userid"));
- model.setValue( "/root/main/fmlyheader[" + dtg_fmlyheader.row + "]/approver", getUserInfo("usernm"));
- }else{
- model.setValue( "/root/main/fmlyheader[" + dtg_fmlyheader.row + "]/approvedate", "" );
- model.setValue( "/root/main/fmlyheader[" + dtg_fmlyheader.row + "]/approverid", "" );
- model.setValue( "/root/main/fmlyheader[" + dtg_fmlyheader.row + "]/approver", "" );
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- model.setValue("/root/send/data2/emplno", model.getValue("/root/main/fmlyheader[" + dtg_fmlyheader.row + "]/emplno"));
- modal("../../../mis/paybnusmngtweb/xrw/SMRWP22000", "1","150", "150", "SMRWP22000", "/root/send/data2", "/root/temp/data2");
- ]]>
- </script>
- </datagrid>
- <caption id="caption1" class="search_name" style="left:395px; top:14px; width:86px; height:17px; ">사원번호 :</caption>
- <input id="ipt_emplnm" ref="/root/send/emplnm" class="input_search" disabled="true" navindex="3" style="left:580px; top:12px; width:150px; height:19px; "/>
- <button id="btn_emplno" class="icon_search" style="left:560px; top:13px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- rpbfOpenPopUpList("SPRPB00101", ipt_emplno, "emplno,emplnm,dutunitcd,dutunitnm", "", "N");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_emplno" ref="/root/send/emplno" class="input_search" navindex="3" style="left:486px; top:12px; width:70px; 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.refresh();
- // btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rpbfValidationCheck("EMPLNO", "emplno,emplnm,dutunitcd,dutunitnm");
- model.refresh();
- // btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption15" class="tit_2" style="left:0px; top:50px; width:230px; height:13px; ">부양가족수당 신청현황LIST</caption>
- <caption id="caption2" class="search_name" style="left:20px; top:15px; width:90px; height:17px; ">신청기간 :</caption>
- <input id="ipt_enddd" ref="/root/send/srchendd" class="input_s_essential" navindex="14" inputtype="date" style="left:247px; top:12px; width:110px; height:19px; "/>
- <caption id="caption3" style="left:224px; top:11px; width:20px; height:25px; font-size:10pt; font-weight:bold; text-align:center; ">~</caption>
- <input id="ipt_fromdd" ref="/root/send/srchfrmdd" class="input_s_essential" navindex="14" inputtype="date" style="left:111px; top:12px; width:110px; height:19px; "/>
- <caption id="caption4" class="search_name" style="left:755px; top:14px; width:140px; height:17px; ">총무팀확인여부 :</caption>
- <select1 id="cmb_aprlflag" ref="/root/send/srchaprlflag" class="combo_search" navindex="1" appearance="minimal" style="left:890px; top:11px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>확인완료</label>
- <value>Y</value>
- </item>
- <item>
- <label>확인중</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:0px; width:1195px; height:27px; ">
- <line id="line75" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
- <button id="btn_save" class="btn4_letter2" navindex="5" style="left:1135px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSave();
- ]]>
- </script>
- </button>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:13px; ">부양가족수당 신청현황</caption>
- <button id="button6" class="btn4_letter5" navindex="5" style="left:1041px; top:3px; width:92px; height:22px; ">
- <caption>신청HELP</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SPRWP00907");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|