123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281 |
- <?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>
- <gvnoffcorddetl>
- <gvnoffcorddetllist/>
- </gvnoffcorddetl>
- <gvnoffcorddetldata>
- <gvnoffcorddetllist/>
- </gvnoffcorddetldata>
- <rpsplcelist>
- <emplno/>
- <seqno/>
- <rpsplceuseyy/>
- <rpsplcecd/>
- <instcd/>
- <acompstcnt/>
- <acompstrel/>
- <intphno/>
- <tretyn/>
- <aprvyn/>
- <cmt/>
- <emplnm/>
- </rpsplcelist>
- </main>
- <send>
- <rpsplcelist/>
- </send>
- <temp/>
- </root>
- </instance>
- <script type="javascript">
- <![CDATA[
- var GVN_TARGET_NODE = "/root/main/gvnoffcorddetldata";
- var GVN_SOURCE_NODE = "/root/main/gvnoffcorddetl";
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- misfGridInit(grd_gvnoffcorddetllist);
- var userid =getUserInfo("userid");
- var usernm=getUserInfo("usernm");
- var instcdnm = getUserInfo("dutplceinstnm");
- var deptnm = getUserInfo("dutplcenm");
- ipt_emplno.value=userid;
- ipt_emplno_i.value=userid;
- ipt_emplnm.value=usernm;
- ipt_emplnm_i.value=usernm;
- ipt_posdeptnm.value=deptnm;
- ipt_posinstnm.value=instcdnm;
- model.refresh();
- ]]>
- </script>
- <submission id="TXRPA00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- <submission id="TRRPA00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/rpsplcelist"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/pubwelfmngtweb/js/RPS001.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript">
- <![CDATA[
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize() {
- model.removeNodeset("/root/main/gvnoffcorddetl/gvnoffcorddetllist");
- model.resetInstanceNode("/root/main/rpsplcelist");
- model.refresh();
-
- }
-
-
-
-
- function fDeleteSelectedRows(grd,markonly) {
- var rowIdx;
- if (grd.selectedRows > 0) {
- var selectedRows = Array(grd.selectedRows);
- for(i=0;i<grd.selectedRows;i++) {
- selectedRows[i] = grd.selectedRow(i);
- }
- if (markonly != null && markonly == true) { // mark delete
- for(i=selectedRows.length-1;i>=0;i--) {
- rowIdx = selectedRows[i];
- if(grd.rowstatus(rowIdx) == 1 ) { // just inserted row
- grd.deleterow(rowIdx,false);
- } else {
- grd.addStatus(rowIdx,"delete");
- }
- }
- } else {
- for(i=selectedRows.length-1;i>=0;i--) {
- rowIdx = selectedRows[i];
- grd.deleterow(rowIdx,false);
- }
- }
- }
- }
-
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body>
- <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="line205" class="line_2" style="x1:0px; y1:120px; x2:304px; y2:120px; "/>
- <line id="line206" class="line_2" style="x1:0px; y1:144px; x2:304px; y2:144px; "/>
- <line id="line1" class="line_2" style="x1:0px; y1:168px; x2:304px; y2:168px; "/>
- <line id="line204" class="line_2" style="x1:0px; y1:96px; x2:304px; y2:96px; "/>
- <line id="line203" class="line_1" style="x1:0px; y1:69px; x2:304px; y2:69px; "/>
- <line id="line2" class="line_2" style="x1:0px; y1:240px; x2:304px; y2:240px; "/>
- <line id="line3" class="line_2" style="x1:0px; y1:288px; x2:304px; y2:288px; "/>
- <line id="line4" class="line_2" style="x1:0px; y1:312px; x2:304px; y2:312px; "/>
- <button id="button1" class="btn1_letter2" style="left:1125px; top:16px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(ipt_emplno_i.value!=""){
- submit("TRRPA00201");
- }
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1110px; y1:16px; x2:1110px; y2:38px; "/>
- <line id="line5" class="line_3" style="x1:0px; y1:384px; x2:304px; y2:384px; "/>
- <line id="line6" class="line_2" style="x1:0px; y1:336px; x2:304px; y2:336px; "/>
- <line id="line7" class="line_2" style="x1:0px; y1:360px; x2:304px; y2:360px; "/>
- <line id="line8" class="line_2" style="x1:0px; y1:192px; x2:304px; y2:192px; "/>
- <line id="line9" class="line_2" style="x1:0px; y1:216px; x2:304px; y2:216px; "/>
- <caption id="caption5" class="search_name" style="left:15px; top:19px; width:85px; height:17px; ">사 번 :</caption>
- <input id="ipt_emplnm_i" ref="/root/main/rpsplcelist/emplnm" class="input_default" disabled="true" style="left:168px; top:75px; width:125px; height:19px; "/>
- <line id="line10" class="line_2" style="x1:0px; y1:264px; x2:304px; y2:264px; "/>
- <input id="input7" class="input_default" style="left:85px; top:220px; width:220px; height:19px; "/>
- <input id="input8" class="input_default" style="left:85px; top:196px; width:70px; height:19px; "/>
- <caption id="caption1" class="search_n_b" style="left:189px; top:149px; width:12px; height:17px; font-weight:bolder; ">~</caption>
- <input id="input11" class="input_default" style="left:85px; top:292px; width:220px; height:19px; "/>
- <caption id="caption10" class="cell_1" style="left:0px; top:266px; width:82px; height:23px; vertical-align:middle; ">동반자수</caption>
- <caption id="caption2" class="cell_1" style="left:0px; top:338px; width:82px; height:23px; vertical-align:middle; ">처리여부</caption>
- <input id="input12" class="input_default" style="left:85px; top:316px; width:220px; height:19px; "/>
- <caption id="caption11" class="cell_1" style="left:0px; top:122px; width:82px; height:23px; vertical-align:middle; ">직위</caption>
- <caption id="caption3" class="cell_1" style="left:0px; top:362px; width:82px; height:23px; vertical-align:middle; ">비고</caption>
- <select1 id="combo2" class="combo_default" appearance="minimal" style="left:85px; top:172px; width:220px; height:19px; ">
- <choices>
- <item>
- <label>combo1</label>
- <value>combo1</value>
- </item>
- </choices>
- </select1>
- <caption id="caption12" class="cell_1" style="left:0px; top:170px; width:82px; height:23px; vertical-align:middle; ">휴양시설명</caption>
- <caption id="caption13" class="cell_1" style="left:0px; top:290px; width:82px; height:23px; vertical-align:middle; ">관계</caption>
- <caption id="caption4" class="cell_1" style="left:0px; top:242px; width:82px; height:23px; vertical-align:middle; ">가격</caption>
- <caption id="caption14" class="cell_1" style="left:0px; top:314px; width:82px; height:23px; vertical-align:middle; ">구내전화번호</caption>
- <input id="input15" class="input_default" style="left:85px; top:268px; width:220px; height:19px; "/>
- <caption id="caption283" class="tit_2" style="left:5px; top:54px; width:134px; height:13px; ">휴양시설이용신청서</caption>
- <caption id="caption15" class="cell_1" style="left:0px; top:194px; width:82px; height:23px; vertical-align:middle; ">숙박일</caption>
- <input id="input1" class="input_s_essential" inputtype="date" style="left:85px; top:148px; width:100px; height:19px; "/>
- <caption id="caption16" style="left:156px; top:196px; width:30px; height:20px; vertical-align:middle; ">일</caption>
- <caption id="caption7" class="cell_1" style="left:0px; top:218px; width:82px; height:23px; vertical-align:middle; ">평형</caption>
- <input id="input2" class="input_s_essential" inputtype="date" style="left:205px; top:148px; width:100px; height:19px; "/>
- <input id="input3" class="input_default" style="left:85px; top:364px; width:220px; height:19px; "/>
- <select1 id="radio4" ref="/root/hidden/refe/acptgbn" class="radio_search" appearance="full" cols="2" overflow="visible" style="left:85px; top:341px; width:110px; height:16px; text-align:center; border-style:none; ">
- <choices>
- <item>
- <label>승인</label>
- <value>M</value>
- </item>
- <item>
- <label>미승인</label>
- <value>F</value>
- </item>
- </choices>
- </select1>
- <caption id="caption17" class="cell_1" style="left:0px; top:146px; width:82px; height:23px; vertical-align:middle; ">신청기간</caption>
- <caption id="caption8" class="cell_1" style="left:0px; top:74px; width:82px; height:23px; vertical-align:middle; ">사번</caption>
- <caption id="caption9" class="cell_1" style="left:0px; top:98px; width:82px; height:23px; vertical-align:middle; ">근무기관</caption>
- <input id="input6" class="input_default" style="left:85px; top:244px; width:220px; height:19px; "/>
- <datagrid id="grd_gvnoffcorddetllist" nodeset="/root/main/gvnoffcorddetl/gvnoffcorddetllist" visibility="hidden" caption="사번^성명^기관^기관코드^부서^직위명" colsep="^" colwidth="68, 89, 88, 100, 68, 68" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:330px; top:80px; width:410px; height:81px; ">
- <col ref="emplno" type="output"/>
- <col ref="emplnm" type="output"/>
- <col ref="dutplceinstnm" type="output"/>
- <col ref="dutplceinst"/>
- <col ref="posdeptnm" type="output"/>
- <col ref="jobposnm" type="output"/>
- </datagrid>
- <input id="ipt_emplnm" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/emplnm" class="input_essential" disabled="true" navindex="21" style="left:195px; top:18px; width:125px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var emplnm = ipt_emplnm.value;
- if (grd_gvnoffcorddetllist.rowStatus(grd_gvnoffcorddetllist.row) != "1") {
- misfGridIUD(grd_gvnoffcorddetllist, "A");
- model.copyNode(GVN_TARGET_NODE + "/gvnoffcorddetllist" ,GVN_SOURCE_NODE + "/gvnoffcorddetllist[" + (grd_gvnoffcorddetllist.row - grd_gvnoffcorddetllist.fixedRows + 1) + "]" );
- //rpbfGvnoffcordEditYNSet(grd_gvnoffcordcdlist.nodeset, GVN_TARGET_NODE + "/gvnoffcorddetllist");
- }
-
- model.setValue(GVN_TARGET_NODE + "/gvnoffcorddetllist/emplnm", emplnm);
-
- /* 인사정보 Validation Check
- misfValidationCheck(Validation 종류(부서코드, 공통코드, 우편번호...), 공통코드군, 자료를 받을 Instance Node(콤마로 분류해서 넘기면됨)) */
- var recv_list = "emplno,emplnm,dutplceinstnm,dutplceinst,posdeptnm,jobposnm";
- rpbfValidationCheck("EMPLNM", recv_list);
-
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_emplno" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/emplno" class="input_essential" navindex="20" style="left:100px; top:18px; width:69px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- /* 인사정보 Validation Check
- misfValidationCheck(Validation 종류(부서코드, 공통코드, 우편번호...), 공통코드군, 자료를 받을 Instance Node(콤마로 분류해서 넘기면됨)) */
- var emplno = ipt_emplno.value;
- if (grd_gvnoffcorddetllist.rowStatus(grd_gvnoffcorddetllist.row) != "1") {
- misfGridIUD(grd_gvnoffcorddetllist, "A");
- model.copyNode(GVN_TARGET_NODE + "/gvnoffcorddetllist" ,GVN_SOURCE_NODE + "/gvnoffcorddetllist[" + (grd_gvnoffcorddetllist.row - grd_gvnoffcorddetllist.fixedRows + 1) + "]" );
- // rpbfGvnoffcordEditYNSet(grd_gvnoffcordcdlist.nodeset, GVN_TARGET_NODE + "/gvnoffcorddetllist");
- }
-
- model.setValue(GVN_TARGET_NODE + "/gvnoffcorddetllist/emplno", emplno);
-
- var recv_list = "emplno,emplnm,dutplceinstnm,dutplceinst,posdeptnm,jobposnm";
- rpbfValidationCheck("EMPLNO", recv_list);
- model.refresh();
- fInitialize()
- ipt_emplno_i.value=ipt_emplno.value;
- ipt_emplnm_i.value=ipt_emplnm.value;
-
- ]]>
- </script>
- </input>
- <button id="btn_emplsearch" class="icon_search" style="left:175px; top:20px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /* 사원번호 Help 화면 Open
- misfOpenPopUpList(화면종류Code, OPEN하는 Control, 공통코드, 리턴받을 Instance명) */
- if (grd_gvnoffcorddetllist.rowStatus(grd_gvnoffcorddetllist.row) != "1") {
- misfGridIUD(grd_gvnoffcorddetllist, "A");
- model.copyNode(GVN_TARGET_NODE + "/gvnoffcorddetllist" ,GVN_SOURCE_NODE + "/gvnoffcorddetllist[" + (grd_gvnoffcorddetllist.row - grd_gvnoffcorddetllist.fixedRows + 1) + "]" );
- // rpbfGvnoffcordEditYNSet(grd_gvnoffcordcdlist.nodeset, GVN_TARGET_NODE + "/gvnoffcorddetllist");
- }
-
- var recv_list = "emplno,emplnm,dutplceinstnm,dutplceinst,posdeptnm,jobposnm";
- rpbfOpenPopUpList("SMRPA03000", ipt_emplno, recv_list,"","N");
- model.refresh();
- fInitialize()
- ipt_emplno_i.value=ipt_emplno.value;
- ipt_emplnm_i.value=ipt_emplnm.value;
-
- ]]>
- </script>
- </button>
- <input id="ipt_emplno_i" ref="/root/main/rpsplcelist/emplno" class="input_default" disabled="true" style="left:85px; top:75px; width:75px; height:19px; "/>
- <input id="ipt_dutplceinstnm" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/dutplceinstnm" class="input_default" disabled="true" style="left:85px; top:99px; width:208px; height:19px; "/>
- <input id="ipt_jobposnm" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/jobposnm" class="input_default" disabled="true" style="left:85px; top:123px; width:208px; height:19px; "/>
- <input id="ipt_posdeptnm" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/posdeptnm" class="input_default" visibility="hidden" style="left:330px; top:55px; width:208px; height:19px; "/>
- <input id="ipt_seqno" ref="/root/main/rpsplcelist/seqno" class="input_default" style="left:320px; top:195px; width:70px; height:19px; "/>
- <input id="ipt_dutplceinst" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/dutplceinst" class="input_default" disabled="true" style="left:405px; top:195px; width:208px; height:19px; "/>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <button id="button8" class="btn3_letter4" style="left:0px; top:3px; width:80px; height:22px; ">
- <caption>화면이동</caption>
- </button>
- <button id="button36" class="btn4_letter2" style="left:1139px; top:3px; width:56px; height:22px; ">
- <caption>입력</caption>
- </button>
- <line id="line11" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|