123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156 |
- <?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>
- <educschebaseinfo>
- <educschebaseinfolist/>
- </educschebaseinfo>
- </main>
- <hidden>
- </hidden>
- <temp>
- </temp>
- <init/>
- <send>
- <req>
- <yy/>
- </req>
- <save>
- <educschebaseinfolist/>
- </save>
- </send>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- var today = getCurrentDate();
- var cur_mm = parseInt(today.substring(4, 6));
- var cur_yy = parseInt(today.substring(0, 4));
-
- if (cur_mm < 3)
- {
- cur_yy--;
- }
-
- model.setValue("/root/send/req/yy", cur_yy);
-
- model.removeNodeset(grd_educschebaseinfolist.nodeset);
- ipt_yy.refresh();
- btn_search.dispatch("DOMActivate");
-
- ]]>
- </script>
- <submission id="TRRTS02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req/yy" resultref="/root/main/educschebaseinfo"/>
- <submission id="TXRTS02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save/educschebaseinfolist" resultref="/root/temp"/>
- </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/dateHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/tistrngeducplanmngtweb/js/SMRTS00600.js"/>
- <script type="javascript">
- <![CDATA[
- function fCheckSaveData()
- {
- for(var currow = grd_educschebaseinfolist.fixedRows ; currow < grd_educschebaseinfolist.rows ; currow++)
- {
- if(grd_educschebaseinfolist.valueMatrix(currow , grd_educschebaseinfolist.colRef("dgno")).length == 0)
- {
- messageBox(currow + " 번째 차수를 " ,"C001");
- grd_educschebaseinfolist.row = currow;
- grd_educschebaseinfolist.col= grd_educschebaseinfolist.colRef("dgno");
- return 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:5px; width:1195px; height:36px; background-color:#fffbf2; border-color:#ffd799; "/>
- <input id="ipt_yy" ref="/root/send/req/yy" class="input_s_essential" style="left:90px; top:14px; width:55px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="cap_yy" class="search_name" style="left:5px; top:15px; width:86px; height:17px; ">년 도 :</caption>
- <button id="btn_search" class="btn1_letter2" style="left:1130px; top:12px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( !isRequiredControls("ipt_yy") ) {
- return false;
- }
- model.removenode("/root/main/educschebaseinfo/educschebaseinfolist");
- submit("TRRTS02101");
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line82" class="line_4" style="x1:1115px; y1:10px; x2:1115px; y2:36px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption2" class="tit_2" style="left:5px; top:50px; width:228px; height:14px; ">사랑나눔교육 일정 수립</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:65px; x2:1194px; y2:65px; "/>
- <datagrid id="grd_educschebaseinfolist" nodeset="/root/main/educschebaseinfo/educschebaseinfolist" caption="년도^이전 차수^차 수^교육 시작일^교육 종료일^교육 정원^교육시간
준수^교육장소
위치 준수^가족 및 
타인과의
유대관계
^교육 활동 
이수 사항^숙소 청소
 및 
정리 정돈
^ 특이사항 
(Text 기재)
^평가자^평가일^평가 장소^평가서(출력)^연락처" colsep="^" colwidth="80, 100, 75, 194, 194, 89" dataheight="25" explorerbar="sortshow" frozencols="12" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:70; width:1195px; height:660; ">
- <col ref="yy" type="input" style="text-align:center; "/>
- <col ref="bfdgno" visibility="hidden" style="left:70px; top:25px; width:75px; height:25px; text-align:center; "/>
- <col ref="dgno" type="input" style="left:70px; top:25px; width:75px; height:25px; text-align:center; "/>
- <col ref="educfromdd" type="inputdate" format="yyyy/mm/dd" style="text-align:center; "/>
- <col ref="eductodd" type="inputdate" format="yyyy/mm/dd" style="text-align:center; "/>
- <col ref="capa" type="input" style="text-align:center; "/>
- </datagrid>
- <button id="button2" class="btn2_letter3" style="left:1125px; top:43px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_educschebaseinfolist.rowStatus(grd_educschebaseinfolist.row) = "4";
- grd_educschebaseinfolist.row += 1;
- ]]>
- </script>
- </button>
- <button id="btn_insert" class="btn2_letter3" style="left:1064px; top:43px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_educschebaseinfolist.addRow();
- model.setValue(grd_educschebaseinfolist.nodeset +"[" + (grd_educschebaseinfolist.rows - grd_educschebaseinfolist.fixedRows) + "]/yy" ,model.getValue(ipt_yy.attribute("ref")));
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" style="left:1130px; top:3px; width:56px; height:22px; text-align:left; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (fCheckSaveData()==false) return;
- model.setValue("/root/send/save/educschebaseinfolist", grd_educschebaseinfolist.getUpdateData());
- model.removenode("/root/main/educschebaseinfolist");
-
- submit("TXRTS02101");
- btn_search.dispatch("DOMActivate");
- model.refresh();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|