123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <?xml-stylesheet href="C:/CMCProject/application/webapps/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>SAT과목등록</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <rpvdcodelist/>
- </main>
- <send>
- <valuyy/>
- <row_rpvmcdfglist/>
- <tranyn/>
- <numberflag/>
- <valucdflag>SATEXAM</valucdflag>
- <save>
- <rpvdcodelist/>
- </save>
- </send>
- <init/>
- <hidden/>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- model.refresh();
- ]]>
- </script>
- <submission id="TXRPV09001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp"/>
- <submission id="TRRPV09002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/rpvdcodelist"/>
- </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/miscommonweb/js/RSZ001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript">
- <![CDATA[
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize() {
-
- //그리드 초기화
- misfGridInit(grd_rpvdcode);
- misfMsterDetailSet(grd_rpvdcode, null, "TRRPV09002", "Y");
-
- // 현재 년도 설정.
- model.setValue(ipt_valuyy.attribute("ref"), getCurrentDate().toDate().getDateFormat("YYYY"));
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:186px; height:14px; ">SAT 과목 등록</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line13" class="line_4" style="x1:1110px; y1:5px; x2:1110px; y2:30px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="cap_valuyy" class="search_name" style="left:10; top:10px; width:90px; height:17px; ">조회년도 :</caption>
- <button id="btn_search" class="btn1_letter2" style="left:1125px; top:8px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("ipt_valuyy")) return;
-
- submit("TRRPV09002");
- ]]>
- </script>
- </button>
- <input id="ipt_valuyy" ref="/root/send/valuyy" class="input_s_essential" inputtype="date" format="yyyy" style="left:105px; top:9px; width:135px; height:19px; text-align:center; "/>
- </group>
- <line id="line1" class="line_1" style="x1:5px; y1:80px; x2:1194px; y2:79px; "/>
- <button id="btn_codedel" class="btn2_letter3" style="left:1139px; top:58px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_rpvdcode, "D");
- ]]>
- </script>
- </button>
- <button id="btn_codeadd" class="btn2_letter3" style="left:1083px; top:58px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_rpvdcode, "A");
- grd_rpvdcode.valueMatrix(grd_rpvdcode.row, grd_rpvdcode.colRef("valuyy")) = ipt_valuyy.value;
- grd_rpvdcode.valueMatrix(grd_rpvdcode.row, grd_rpvdcode.colRef("valucdflag")) = model.getValue("/root/send/valucdflag");
- ]]>
- </script>
- </button>
- <caption id="caption2" class="tit_2" style="left:5px; top:65px; width:103px; height:13px; ">SAT 과목 List</caption>
- <datagrid id="grd_rpvdcode" nodeset="/root/main/rpvdcodelist" caption="코드^코드명^평가 CODE 구분^평가년도" colsep="^" colwidth="116, 1027, 100, 100" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:5px; top:81px; width:1189px; height:659px; ">
- <col ref="valucd" type="input" _key="true" style="text-align:center; "/>
- <col ref="valucdnm" type="input" style="text-align:left; "/>
- <col ref="valucdflag" visibility="hidden"/>
- <col ref="valuyy" visibility="hidden"/>
- </datagrid>
- </group>
- <group id="group2" style="left:0px; top:12px; width:1195px; height:27px; ">
- <line id="line16" class="line_2" style="x1:0px; y1:25px; x2:1195px; y2:25px; "/>
- <button id="btn_clear" class="btn4_letter3" style="left:1127px; top:3; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.reload() ;
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:1069px; top:3; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_rpvdcode);
-
- if (updtdata == "")
- {
- messageBox("변경된 데이터가","I004");
- return;
- }
- else {
- model.setValue("/root/send/save/rpvdcodelist", updtdata);
- }
-
- if(!checkKeyColumn("grd_rpvdcode")) return;
-
- // rtn = messageBox("", "Q002");
- // if(rtn != "6" ) return false;
-
- submit("TXRPV09001");
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <button id="btn_copy" class="btn4_letter5" visibility="hidden" style="left:975px; top:3px; width:92px; height:22px; ">
- <caption>전년도복사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("ipt_valuyy")) return;
- if( messageBox( ipt_valuyy.value +"년도의 Data가 모두 삭제되며\n" + (ipt_valuyy.value - 1) +"년도의 Data를 가져오게됩니다.\n","Q003") == 6 )
- {
- submit("TXRPV09002");
- btn_search.dispatch("DOMActivate");
- }else{
- return;
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|