123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>
- <main>
- <festivschelist>
- <festivschelistinfo>
- <clsnm/>
- <titlnm/>
- <fromdd/>
- <todd/>
- <fromtm/>
- <totm/>
- <plcenm/>
- <formflagcd/>
- <pastornm/>
- <pastorid/>
- <voluntrnm/>
- <trgtpsnqty/>
- <chrgconslrid/>
- <chrgconslrnm/>
- <schecnts/>
- <valursltcnts/>
- <valubugtcnts/>
- <attntrqty/>
- <attntrlist/>
- <clscd/>
- <status/>
- </festivschelistinfo>
- </festivschelist>
- <festivdetaillist>
- <festivdetaillistinfo>
- <rownum/>
- <clscd/>
- <prcsseqno/>
- <seqno/>
- <prcsdd/>
- <actnm/>
- <fromtm/>
- <totm/>
- <progrscnts/>
- <prepcnts/>
- <rem/>
- </festivdetaillistinfo>
- </festivdetaillist>
- <cond>
- <clscd/>
- <seqno/>
- </cond>
- </main>
- <send>
- <reqdata/>
- <sFestivData/>
- <sFestivDetailData/>
- <conslrpastor/>
- </send>
- <init/>
- <hidden>
- <clscd/>
- <fromdd/>
- <seqno/>
- <addrowcnt/>
- <conslrpastor/>
- <prepoppsn>
- <id/>
- <nm/>
- </prepoppsn>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- fInit();
-
- model.toggle("case_prcslist");
- ]]>
- </script>
- <submission id="TXAYA01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/festivdetaillist"/>
- <submission id="TRAYA01302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/festivdetaillist"/>
- <submission id="TRAYA01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/festivschelist"/>
- <submission id="TRAYA01303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/conslrpastor" resultref="/root/tmp/conslrpastor"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../ast/fthcnstweb/js/SPAYA01300.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="1211" pageheight="769" guideline="1,1195;1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:1195px; height:744px; "/>
- <group id="group5" scroll="auto" style="left:0px; top:742px; width:1195px; height:27px; ">
- <button id="button4" class="btn4_letter3" visibility="hidden" style="left:1011px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[/*
- //수정하지 않은 원상태 데이터로 복구한다.
- if(messageBox('입력 또는 수정하신 데이터는 저장되지 않습니다. 초기화를', 'Q004')){
-
- fInit(true);
- } */
- ]]>
- </script>
- </button>
- <line id="line37" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- </group>
- <group id="group2" style="left:0px; top:0px; width:1195px; height:742px; ">
- <switch id="switch1" style="left:0px; top:130px; width:1195px; height:610px; border-color:#c7a3cf; border-style:solid; ">
- <case id="case_prcslist" selected="true">
- <datagrid id="grd_progrssche" nodeset="/root/main/festivdetaillist/festivdetaillistinfo" caption="^진행일련번호^활동명^진행일자^시작시간^종료시간^내용^준비물^참고사항" colsep="^" colwidth="20, 132, 124, 86, 86, 86, 327, 150, 150" dataheight="25" defaultrows="1" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:4px; top:30px; width:1184px; height:575px; ">
- <col ref="rownum" type="output" visibility="hidden" style="text-align:right; background-color:#BDDDFF; "/>
- <col ref="prcsseqno" visibility="hidden"/>
- <col autonext="true" ref="actnm" type="input"/>
- <col autonext="true" ref="prcsdd" type="inputdate" style="text-align:center; "/>
- <col autonext="true" ref="fromtm" type="input" format="hh:nn" maxlength="4" style="text-align:center; "/>
- <col autonext="true" ref="totm" type="input" format="hh:nn" maxlength="4" style="text-align:center; "/>
- <col autonext="true" ref="progrscnts" type="input" maxlength="300"/>
- <col autonext="true" ref="prepcnts" type="input" maxlength="300"/>
- <col autonext="true" ref="rem" type="input" maxlength="300"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_progrssche.cellStyle("background-color", grd_progrssche.row, 1) = '#BDDDFF';
- ]]>
- </script>
- </datagrid>
- <caption id="caption8" class="cell_1" style="left:986px; top:1px; width:58px; height:23px; vertical-align:middle; ">추가행수</caption>
- <button id="button53" class="btn2_letter3" style="left:1081px; top:4px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var addRowCnt = model.getValue('/root/hidden/addrowcnt');
- if(addRowCnt == '' || addRowCnt < 1){
- addRowCnt = 1;
- }
-
- for(var i = 1; i <= addRowCnt ; i++){
- grd_progrssche.addItem();//행추가
- }
-
-
- /*
- var rowCnt = grd_progrssche.rows;
- var prcsdd = currentdate; //행추가시 진행일자 default로 현재일자 넣어줌..
- if(model.getValue('/root/main/festivschelist/festivschelistinfo/fromdd') != ''){
- //행사일자 입력됐을때 진행일자에 default 행사일자를 넣어줌.
- prcsdd = model.getValue('/root/main/festivschelist/festivschelistinfo/fromdd');
- }
- model.setValue('/root/main/festivdetaillist/festivdetaillistinfo[' + grd_progrssche.row + ']/prcsdd', prcsdd);
- */
- ]]>
- </script>
- </button>
- <button id="button54" class="btn2_letter3" style="left:1137px; top:4px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_progrssche.row > -1){
- if(grd_progrssche.rowStatus(grd_progrssche.row) == 1 || grd_progrssche.rowStatus(grd_progrssche.row) == 3){
- grd_progrssche.deleteRow(grd_progrssche.row);
- }else{
- grd_progrssche.addStatus(grd_progrssche.row,"delete");
- }
- }
- ]]>
- </script>
- </button>
- <line id="line5" class="line_1" style="x1:4px; y1:25px; x2:1188px; y2:25px; "/>
- <input id="input5" ref="/root/hidden/addrowcnt" maxlength="2" format="#,###" style="left:1045px; top:4px; width:30px; height:19px; text-align:right; "/>
- </case>
- <case id="case_schecnts">
- <line id="line10" class="line_1" style="x1:3px; y1:25px; x2:1187px; y2:25px; "/>
- <caption id="caption16" class="tit_2" style="left:10px; top:10px; width:133px; height:13px; ">행사내용</caption>
- <textarea id="tar_schecnts" ref="/root/main/festivschelist/festivschelistinfo/schecnts" navindex="9" style="left:4px; top:32px; width:1184px; height:570px; "/>
- </case>
- <case id="case_valu">
- <line id="line1" class="line_1" style="x1:3px; y1:25px; x2:1187px; y2:25px; "/>
- <caption id="caption1" class="tit_2" style="left:10px; top:10px; width:133px; height:13px; ">행사평가</caption>
- <caption id="caption13" class="tit_2" style="left:10px; top:320px; width:133px; height:13px; ">결산내역</caption>
- <textarea id="tar_valureccnts" ref="/root/main/festivschelist/festivschelistinfo/valursltcnts" navindex="10" style="left:3px; top:30px; width:1184px; height:275px; "/>
- <textarea id="tar_valubugtcnts" ref="/root/main/festivschelist/festivschelistinfo/valubugtcnts" navindex="12" style="left:3px; top:340px; width:1184px; height:265px; "/>
- <line id="line7" class="line_1" style="x1:3px; y1:335px; x2:1187px; y2:335px; "/>
- </case>
- </switch>
- <button id="button11" class="btn_sw" group="tab" selected="true" style="left:0px; top:109px; width:72px; height:22px; ">
- <caption>진행일정</caption>
- <toggle case="case_prcslist" ev:event="onclick"/>
- </button>
- <button id="button2" class="btn_sw" group="tab" style="left:72px; top:109px; width:72px; height:22px; ">
- <caption>행사내용</caption>
- <toggle case="case_schecnts" ev:event="onclick"/>
- </button>
- <button id="button3" class="btn_sw" group="tab" style="left:144px; top:109px; width:36px; height:22px; ">
- <caption>평가</caption>
- <toggle case="case_valu" ev:event="onclick"/>
- </button>
- <line id="line20" class="line_3" style="x1:0px; y1:102px; x2:1194px; y2:102px; "/>
- <line id="line11" class="line_1" style="x1:0px; y1:26px; x2:1194px; y2:26px; "/>
- <caption id="caption22" class="tit_2" style="left:5px; top:11px; width:126px; height:14px; ">행사일정 관련사항</caption>
- <button id="button8" class="icon_search" style="left:294px; top:81px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPastorConslrSearch('pastor');//주례자 선택
- ]]>
- </script>
- </button>
- <caption id="caption25" class="cell_1" style="left:865px; top:55px; width:95px; height:23px; vertical-align:middle; ">담당원목자</caption>
- <caption id="caption37" class="cell_1" style="left:0px; top:31px; width:95px; height:23px; vertical-align:middle; ">전례/행사명</caption>
- <input id="input12" ref="/root/main/festivschelist/festivschelistinfo/titlnm" class="input_default" navindex="1" maxlength="100" appearance="input" style="left:414px; top:32px; width:426px; height:19px; "/>
- <caption id="caption2" class="cell_1" style="left:315px; top:31px; width:95px; height:23px; vertical-align:middle; ">내용</caption>
- <caption id="caption3" class="cell_1" style="left:865px; top:31px; width:95px; height:23px; vertical-align:middle; ">행사일자</caption>
- <caption id="caption10" class="cell_1" style="left:0px; top:55px; width:95px; height:23px; vertical-align:middle; ">시간</caption>
- <caption id="caption4" style="left:175px; top:59px; width:12px; height:17px; ">~</caption>
- <input id="input2" ref="/root/main/festivschelist/festivschelistinfo/totm" class="input_default" navindex="5" format="hh:nn" appearance="input" style="left:195px; top:56px; width:65px; height:19px; "/>
- <input id="input3" ref="/root/main/festivschelist/festivschelistinfo/plcenm" class="input_default" navindex="6" maxlength="100" appearance="input" style="left:414px; top:56px; width:426px; height:19px; "/>
- <caption id="caption9" class="cell_1" style="left:315px; top:55px; width:95px; height:23px; vertical-align:middle; ">장소</caption>
- <input id="input6" ref="/root/main/festivschelist/festivschelistinfo/fromtm" class="input_default" navindex="4" format="hh:nn" appearance="input" style="left:98px; top:56px; width:67px; height:19px; "/>
- <input id="input7" ref="/root/main/festivschelist/festivschelistinfo/trgtpsnqty" class="input_default" navindex="7" maxlength="3" format="#,###" appearance="input" style="left:414px; top:80px; width:61px; height:19px; text-align:right; "/>
- <caption id="caption14" class="cell_1" style="left:315px; top:79px; width:95px; height:23px; vertical-align:middle; ">참석인원</caption>
- <caption id="caption19" style="left:476px; top:83px; width:20px; height:15px; vertical-align:middle; ">명</caption>
- <line id="line9" class="line_2" style="x1:1px; y1:77px; x2:1194px; y2:77px; "/>
- <line id="line2" class="line_2" style="x1:50px; y1:53px; x2:1194px; y2:53px; "/>
- <input id="input13" ref="/root/main/festivschelist/festivschelistinfo/pastorid" class="output_fix" disabled="true" appearance="input" style="left:195px; top:80px; width:94px; height:19px; "/>
- <input id="input17" ref="/root/main/festivschelist/festivschelistinfo/pastornm" class="input_default" appearance="input" style="left:98px; top:80px; width:94px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- //input13.currentText = '';
- //주례자명 입력후 엔터키 치면 실제 주례자팝업 조회쿼리에서 아이디를 찾는다.
- //명칭 입력한 것에 대한 아이디가 없으면 주례자선택하는 팝업을 띄워준다.
- if(event.keyCode==13){
- model.resetInstanceNode("/root/popdata");
- fgetPastorConslrId('pastor', input17.currentText);
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- model.resetInstanceNode("/root/popdata");
- var pastornm = input17.currentText;
-
- if (pastornm == "")
- {
- model.setValue('/root/main/festivschelist/festivschelistinfo/pastorid', '');
- model.setValue('/root/main/festivschelist/festivschelistinfo/pastornm', '');
- }
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/festivschelist/festivschelistinfo/pastorid", "");
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption5" class="cell_1" style="left:0px; top:79px; width:95px; height:23px; vertical-align:middle; ">주례/진행자</caption>
- <output id="opt_clsnm" ref="/root/main/festivschelist/festivschelistinfo/clsnm" class="output_fix" style="left:98px; top:32px; width:190px; height:19px; "/>
- <output id="output1" ref="/root/main/festivschelist/festivschelistinfo/clscd" visibility="hidden" style="left:115px; top:15px; width:172px; height:19px; "/>
- <caption id="caption6" style="left:1059px; top:34px; width:12px; height:17px; ">~</caption>
- <input id="input14" ref="/root/main/festivschelist/festivschelistinfo/fromdd" class="input_default" navindex="2" inputtype="date" style="left:963px; top:32px; width:94px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //시작일자 입력시 종료일자를 시작일자로 자동표시
- var sdate = model.getValue('/root/main/festivschelist/festivschelistinfo/fromdd');
- if(sdate != ''){
- model.setValue('/root/main/festivschelist/festivschelistinfo/todd', sdate);
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <input id="input15" ref="/root/main/festivschelist/festivschelistinfo/todd" class="input_default" navindex="3" inputtype="date" style="left:1074px; top:32px; width:94px; height:19px; "/>
- <button id="button9" class="icon_search" style="left:1172px; top:57px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- fPastorConslrSearch('chrgconslr'); //원목자선택
- ]]>
- </script>
- </button>
- <input id="input4" ref="/root/main/festivschelist/festivschelistinfo/chrgconslrnm" class="input_default" appearance="input" style="left:963px; top:56px; width:107px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
-
- //input16.currentText = '';
-
- //원목자명 입력후 엔터키 치면 실제 원목자팝업 조회쿼리에서 아이디를 찾는다.
- //명칭 입력한 것에 대한 아이디가 없으면 원목자선택하는 팝업을 띄워준다.
- if(event.keyCode==13){
- model.resetInstanceNode("/root/popdata");
- fgetPastorConslrId('chrgconslr', input4.currentText);
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- model.resetInstanceNode("/root/popdata");
- var pastornm = input4.currentText;
-
- if (pastornm == "")
- {
- model.setValue('/root/main/festivschelist/festivschelistinfo/chrgconslrid', '');
- model.setValue('/root/main/festivschelist/festivschelistinfo/chrgconslrnm', '');
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input16" ref="/root/main/festivschelist/festivschelistinfo/chrgconslrid" class="output_fix" disabled="true" visibility="visible" appearance="input" style="left:1074px; top:56px; width:94px; height:19px; "/>
- <input id="input1" ref="/root/main/festivschelist/festivschelistinfo/voluntrnm" class="input_default" navindex="8" maxlength="60" appearance="input" style="left:963px; top:80px; width:202px; height:19px; "/>
- <caption id="caption7" class="cell_1" style="left:865px; top:79px; width:95px; height:23px; vertical-align:middle; ">봉사자</caption>
- <button id="button1" class="btn4_letter2" style="left:1081px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSave();
- ]]>
- </script>
- </button>
- <button id="button46" class="btn4_letter2" style="left:1139px; top:3px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.close();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|