123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286 |
- <?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 xmlns="">
- <main>
- <educsche>
- <educscheinfo>
- <clscd/>
- <clsnm/>
- <seqno/>
- <fromdd/>
- <todd/>
- <titlnm/>
- <fromtm/>
- <totm/>
- <milehh/>
- <milemm/>
- <miletm/>
- <plcenm/>
- <trgtpsnqty/>
- <chrgconslrid/>
- <chrgconslrnm/>
- <goalnm/>
- <lactrnm/>
- <schecnts/>
- <valursltcnts/>
- <valubugtcnts/>
- <status/>
- </educscheinfo>
- </educsche>
- <attntrlist>
- <attntrlistinfo>
- <img_st/>
- <status/>
- <attnrseqno/>
- <attntrid/>
- <attntrnm/>
- <baptnm/>
- <depthngnm/>
- <attntcnt/>
- </attntrlistinfo>
- </attntrlist>
- </main>
- <send>
- <reqdata/>
- <savedata/>
- <conslrpastor/>
- </send>
- <init>
- </init>
- <hidden>
- <addrowcnt/>
- <conslrpastor/>
- <attntcnt/>
- <grdattnd/>
- </hidden>
- <temp/>
- <popdata/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- fInit();
-
- model.toggle("case_schecnts");
- ]]>
- </script>
- <submission id="TRAYA00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/educsche"/>
- <submission id="TRAYA00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/attntrlist"/>
- <submission id="TRAYA00603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/conslr" resultref="/root/hidden/conslr"/>
- <submission id="TRAYA00604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/grdattnd" resultref="/root/main/userpopupinfo"/>
- <submission id="TXAYA00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden"/>
- <submission id="TRAYA00703" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond/userid" resultref="/root/temp"/>
- <submission id="TRAYA01303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/conslrpastor" resultref="/root/hidden/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="../../../ast/fthcnstweb/js/SPAYA00600.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="1211" pageheight="769" guideline="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; ">
- <line id="line37" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- <button id="button38" class="btn4_letter3" visibility="hidden" style="left:1005px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- </button>
- </group>
- <group id="group2" style="left:0px; top:0px; width:1195px; height:742px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:11px; width:126px; height:14px; ">교육일정 관련사항</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:26px; x2:1194px; y2:26px; "/>
- <line id="line2" class="line_2" style="x1:0px; y1:53px; x2:1195px; y2:53px; "/>
- <line id="line9" class="line_2" style="x1:0px; y1:77px; x2:1195px; y2:77px; "/>
- <button id="button11" class="btn_sw" group="tab" selected="true" style="left:0px; top:109px; width:90px; height:22px; ">
- <caption>일정 및 내용</caption>
- <toggle case="case_schecnts" ev:event="onclick"/>
- </button>
- <button id="button3" class="btn_sw" group="tab" style="left:90px; top:109px; width:36px; height:22px; ">
- <caption>평가</caption>
- <toggle case="case_valu" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //교직원 리스트 팝업 조회
-
- ]]>
- </script>
- </button>
- <switch id="swt_schevalu" style="left:0px; top:130px; width:1195px; height:610px; border-color:#c7a3cf; border-style:solid; ">
- <case id="case_schecnts">
- <textarea id="tar_schecnts" ref="/root/main/educsche/educscheinfo/schecnts" style="left:0px; top:0px; width:1185px; height:600px; "/>
- </case>
- <case id="case_valu" selected="true">
- <caption id="caption8" class="tit_2" style="left:430px; top:10px; width:133px; height:13px; ">교육평가</caption>
- <line id="line10" class="line_1" style="x1:430px; y1:25px; x2:1188px; y2:25px; "/>
- <line id="line7" class="line_1" style="x1:430px; y1:335px; x2:1188px; y2:335px; "/>
- <caption id="caption13" class="tit_2" style="left:430px; top:320px; width:133px; height:14px; ">결산내역</caption>
- <textarea id="tar_valureccnts" ref="/root/main/educsche/educscheinfo/valursltcnts" navindex="13" style="left:430px; top:30px; width:758px; height:275px; "/>
- <textarea id="tar_valubugtcnts" ref="/root/main/educsche/educscheinfo/valubugtcnts" navindex="14" style="left:430px; top:340px; width:758px; height:265px; "/>
- <line id="line11" class="line_3" style="x1:430px; y1:305px; x2:1193px; y2:306px; "/>
- <button id="button4" class="btn2_letter3" style="left:309px; top:5px; 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;
- }
-
- var rowCnt = 0;
- for(var i = 1; i <= addRowCnt ; i++){
-
- grd_attntrlist.addItem();//행추가
-
- model.setValue(xAttendPath + '[' + grd_attntrlist.row + ']/status', "i");//status
- grd_attntrlist.cellStyle("background-image", grd_attntrlist.row, 1) = "../../../com/commonweb/images/icon_i.gif";//insert img
- }
-
- //fGetAttendant();
- ]]>
- </script>
- </button>
- <button id="button5" class="btn2_letter3" style="left:365px; top:5px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDeleteAttendRow();
- ]]>
- </script>
- </button>
- <caption id="caption20" class="tit_2" style="left:9px; top:10px; width:74px; height:13px; ">참석현황</caption>
- <line id="line13" class="line_1" style="x1:4px; y1:25px; x2:425px; y2:25px; "/>
- <caption id="caption12" style="left:158px; top:37px; width:20px; height:15px; vertical-align:middle; ">명</caption>
- <caption id="caption6" class="cell_1" style="left:4px; top:30px; width:70px; height:23px; vertical-align:middle; ">참석자</caption>
- <input id="input3" ref="/root/main/attntrlist/attntrlistinfo/attntcnt" class="output_fix" appearance="input" style="left:77px; top:32px; width:75px; height:19px; text-align:right; "/>
- <datagrid id="grd_attntrlist" nodeset="/root/main/attntrlist/attntrlistinfo" autoresize="true" caption="^status^attnrseqno^사번^성명^세례명^부서명" colsep="^" colwidth="19, 25, 43, 78, 82, 93" dataheight="25" defaultrows="1" explorerbar="sortshowmove" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:4px; top:55px; width:416px; height:550px; ">
- <col ref="img_st" style="text-align:center; "/>
- <col ref="status" type="output" visibility="hidden"/>
- <col ref="attntrseqno" type="output" visibility="hidden"/>
- <col ref="attntrid" type="input" _key="true"/>
- <col ref="attntrnm" type="inputbutton" _key="true" style="left:20px; top:23px; width:98px; height:18px; "/>
- <col ref="baptnm"/>
- <col ref="depthngnm"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- //status가 i인것만 col 5번째를 눌렀을때 팝업을 띄운다.
- if(grd_attntrlist.col == 5 && model.getValue('/root/main/attntrlist/attntrlistinfo[' + grd_attntrlist.row + ']/status') == 'i'){
- fGetAttendant();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
-
- if(event.keyCode == 13){
- if(grd_attntrlist.col == 4){
- fGetAtdIdNm('userid', grd_attntrlist.valueMatrix(grd_attntrlist.row, grd_attntrlist.col));
- }else if(grd_attntrlist.col == 5){
- fGetAtdIdNm('usernm', grd_attntrlist.valueMatrix(grd_attntrlist.row, grd_attntrlist.col));
- }
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption21" class="cell_1" style="left:217px; top:4px; width:58px; height:20px; vertical-align:middle; ">추가행수</caption>
- <input id="input10" ref="/root/hidden/addrowcnt" class="input_default" maxlength="2" format="#,###" style="left:277px; top:5px; width:30px; height:19px; "/>
- </case>
- </switch>
- <caption id="caption19" style="left:550px; top:83px; width:26px; height:15px; vertical-align:middle; ">시간</caption>
- <input id="input7" ref="/root/main/educsche/educscheinfo/trgtpsnqty" class="input_default" navindex="9" maxlength="3" appearance="input" style="left:339px; top:80px; width:61px; height:19px; text-align:right; "/>
- <input id="input13" ref="/root/main/educsche/educscheinfo/lactrnm" class="input_default" navindex="8" maxlength="30" appearance="input" style="left:98px; top:80px; width:142px; height:19px; "/>
- <input id="input6" ref="/root/main/educsche/educscheinfo/fromtm" class="input_default" navindex="4" format="hh:nn" appearance="input" style="left:98px; top:55px; width:60px; height:19px; "/>
- <caption id="caption4" style="left:1081px; top:32px; width:12px; height:17px; ">~</caption>
- <input id="input1" ref="/root/main/educsche/educscheinfo/totm" class="input_default" navindex="5" format="hh:nn" appearance="input" style="left:179px; top:55px; width:60px; height:19px; "/>
- <input id="input12" ref="/root/main/educsche/educscheinfo/titlnm" class="input_default" navindex="1" maxlength="100" appearance="input" style="left:339px; top:32px; width:541px; height:19px; "/>
- <input id="input9" ref="/root/main/educsche/educscheinfo/goalnm" class="input_default" navindex="12" maxlength="100" appearance="input" style="left:730px; top:80px; width:465px; height:19px; "/>
- <input id="input2" ref="/root/main/educsche/educscheinfo/plcenm" class="input_default" navindex="6" maxlength="100" appearance="input" style="left:339px; top:56px; width:541px; height:19px; "/>
- <input id="ipt_fromdd" ref="/root/main/educsche/educscheinfo/fromdd" class="input_essential" navindex="2" inputtype="date" style="left:980px; top:32px; width:90px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue('/root/main/educsche/educscheinfo/todd', model.getValue('/root/main/educsche/educscheinfo/fromdd'));
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption22" style="left:160px; top:57px; width:12px; height:17px; ">~</caption>
- <input id="ipt_todd" ref="/root/main/educsche/educscheinfo/todd" class="input_default" navindex="3" inputtype="date" style="left:1101px; top:32px; width:90px; height:19px; "/>
- <caption id="caption10" class="cell_1" style="left:0px; top:55px; width:95px; height:23px; vertical-align:middle; ">교육시간</caption>
- <caption id="caption2" class="cell_1" style="left:242px; top:31px; width:95px; height:23px; vertical-align:middle; ">교육제목</caption>
- <caption id="caption23" class="cell_1" style="left:882px; top:29px; width:95px; height:23px; vertical-align:middle; ">교육일자</caption>
- <caption id="caption14" class="cell_1" style="left:242px; top:79px; width:95px; height:23px; vertical-align:middle; ">대상인원</caption>
- <caption id="caption5" class="cell_1" style="left:667px; top:79px; width:60px; height:23px; vertical-align:middle; ">목적</caption>
- <caption id="caption7" class="cell_1" style="left:0px; top:31px; width:95px; height:23px; vertical-align:middle; ">교육명</caption>
- <caption id="caption17" class="cell_1" style="left:0px; top:79px; width:95px; height:23px; vertical-align:middle; ">강사명</caption>
- <caption id="caption9" class="cell_1" style="left:242px; top:55px; width:95px; height:23px; vertical-align:middle; ">장소</caption>
- <caption id="caption18" class="cell_1" style="left:882px; top:55px; width:95px; height:23px; vertical-align:middle; ">담당원목자</caption>
- <line id="line6" class="line_3" style="x1:0px; y1:102px; x2:1194px; y2:102px; "/>
- <input id="opt_clsnm" ref="/root/main/educsche/educscheinfo/clsnm" class="output_fix" style="left:98px; top:32px; width:142px; height:19px; "/>
- <output id="input4" ref="/root/main/educsche/educscheinfo/chrgconslrid" class="output_fix" style="left:1075px; top:56px; width:79px; height:19px; "/>
- <button id="button8" class="icon_search" style="left:1160px; top:56px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fConslrSearch();
- ]]>
- </script>
- </button>
- <caption id="caption3" class="cell_1" style="left:425px; top:79px; width:60px; height:23px; vertical-align:middle; ">적립시간</caption>
- <input id="input5" ref="/root/main/educsche/educscheinfo/milehh" class="input_default" navindex="10" maxlength="5" format="#,###" style="left:490px; top:80px; width:55px; height:19px; "/>
- <input id="input8" ref="/root/main/educsche/educscheinfo/milemm" class="input_default" navindex="11" maxlength="4" format="#,###" style="left:580px; top:80px; width:55px; height:19px; "/>
- <caption id="caption11" style="left:640px; top:83px; width:26px; height:15px; vertical-align:middle; ">분</caption>
- <caption id="caption15" style="left:405px; top:83px; width:20px; height:15px; vertical-align:middle; ">명</caption>
- <input id="input11" ref="/root/main/educsche/educscheinfo/chrgconslrnm" class="input_default" navindex="7" appearance="input" style="left:980px; top:56px; width:90px; height:19px; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- if(input11.currentText == ''){
- input4.value= '';
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode==13)
- {
- model.resetInstanceNode("/root/popdata");
- var pastornm = input11.currentText;
- fGetConslrID(pastornm);
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/educsche/educscheinfo/chrgconslrid", "");
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input14" ref="/root/main/educsche/educscheinfo/clscd" visibility="hidden" style="left:185px; top:15px; width:100px; height:20px; "/>
- <input id="input15" ref="/root/main/educsche/educscheinfo/seqno" visibility="hidden" style="left:305px; top:15px; width:100px; height:20px; "/>
- <button id="bt_save" class="btn4_letter2" style="left:1075px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSave();
- ]]>
- </script>
- </button>
- <button id="bt_cncl" class="btn4_letter2" style="left:1134px; top:3px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.close();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|