SMRPV09600_SAT시험과목등록.xrw 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <?xml-stylesheet href="C:/CMCProject/application/webapps/com/commonweb/css/common.css" type="text/css" ?>
  4. <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">
  5. <xhtml:head>
  6. <xhtml:title>SAT과목등록</xhtml:title>
  7. <model id="model1">
  8. <instance id="instance1">
  9. <root xmlns="">
  10. <main>
  11. <rpvdcodelist/>
  12. </main>
  13. <send>
  14. <valuyy/>
  15. <row_rpvmcdfglist/>
  16. <tranyn/>
  17. <numberflag/>
  18. <valucdflag>SATEXAM</valucdflag>
  19. <save>
  20. <rpvdcodelist/>
  21. </save>
  22. </send>
  23. <init/>
  24. <hidden/>
  25. <temp/>
  26. </root>
  27. </instance>
  28. <script type="javascript" ev:event="xforms-ready">
  29. <![CDATA[
  30. fInitialize();
  31. model.refresh();
  32. ]]>
  33. </script>
  34. <submission id="TXRPV09001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp"/>
  35. <submission id="TRRPV09002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/rpvdcodelist"/>
  36. </model>
  37. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  38. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  39. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  40. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  41. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  42. <script type="javascript">
  43. <![CDATA[
  44. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  45. function fInitialize() {
  46. //그리드 초기화
  47. misfGridInit(grd_rpvdcode);
  48. misfMsterDetailSet(grd_rpvdcode, null, "TRRPV09002", "Y");
  49. // 현재 년도 설정.
  50. model.setValue(ipt_valuyy.attribute("ref"), getCurrentDate().toDate().getDateFormat("YYYY"));
  51. }
  52. ]]>
  53. </script>
  54. </xhtml:head>
  55. <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  56. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  57. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:186px; height:14px; ">SAT 과목 등록</caption>
  58. </group>
  59. <group id="grp_biz" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  60. <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
  61. <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; "/>
  62. <line id="line13" class="line_4" style="x1:1110px; y1:5px; x2:1110px; y2:30px; border-color:#ffe4bb; border-left-style:solid; "/>
  63. <caption id="cap_valuyy" class="search_name" style="left:10; top:10px; width:90px; height:17px; ">조회년도 :</caption>
  64. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:8px; width:56px; height:22px; ">
  65. <caption>조회</caption>
  66. <script type="javascript" ev:event="DOMActivate">
  67. <![CDATA[
  68. if(!isRequiredControls("ipt_valuyy")) return;
  69. submit("TRRPV09002");
  70. ]]>
  71. </script>
  72. </button>
  73. <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; "/>
  74. </group>
  75. <line id="line1" class="line_1" style="x1:5px; y1:80px; x2:1194px; y2:79px; "/>
  76. <button id="btn_codedel" class="btn2_letter3" style="left:1139px; top:58px; width:53px; height:19px; ">
  77. <caption>행삭제</caption>
  78. <script type="javascript" ev:event="DOMActivate">
  79. <![CDATA[
  80. misfGridIUD(grd_rpvdcode, "D");
  81. ]]>
  82. </script>
  83. </button>
  84. <button id="btn_codeadd" class="btn2_letter3" style="left:1083px; top:58px; width:53px; height:19px; ">
  85. <caption>행추가</caption>
  86. <script type="javascript" ev:event="DOMActivate">
  87. <![CDATA[
  88. misfGridIUD(grd_rpvdcode, "A");
  89. grd_rpvdcode.valueMatrix(grd_rpvdcode.row, grd_rpvdcode.colRef("valuyy")) = ipt_valuyy.value;
  90. grd_rpvdcode.valueMatrix(grd_rpvdcode.row, grd_rpvdcode.colRef("valucdflag")) = model.getValue("/root/send/valucdflag");
  91. ]]>
  92. </script>
  93. </button>
  94. <caption id="caption2" class="tit_2" style="left:5px; top:65px; width:103px; height:13px; ">SAT 과목 List</caption>
  95. <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; ">
  96. <col ref="valucd" type="input" _key="true" style="text-align:center; "/>
  97. <col ref="valucdnm" type="input" style="text-align:left; "/>
  98. <col ref="valucdflag" visibility="hidden"/>
  99. <col ref="valuyy" visibility="hidden"/>
  100. </datagrid>
  101. </group>
  102. <group id="group2" style="left:0px; top:12px; width:1195px; height:27px; ">
  103. <line id="line16" class="line_2" style="x1:0px; y1:25px; x2:1195px; y2:25px; "/>
  104. <button id="btn_clear" class="btn4_letter3" style="left:1127px; top:3; width:68px; height:22px; ">
  105. <caption>초기화</caption>
  106. <script type="javascript" ev:event="DOMActivate">
  107. <![CDATA[
  108. window.reload() ;
  109. ]]>
  110. </script>
  111. </button>
  112. <button id="btn_save" class="btn4_letter2" style="left:1069px; top:3; width:56px; height:22px; ">
  113. <caption>저장</caption>
  114. <script type="javascript" ev:event="DOMActivate">
  115. <![CDATA[
  116. var updtdata = getGridUpdateData(grd_rpvdcode);
  117. if (updtdata == "")
  118. {
  119. messageBox("변경된 데이터가","I004");
  120. return;
  121. }
  122. else {
  123. model.setValue("/root/send/save/rpvdcodelist", updtdata);
  124. }
  125. if(!checkKeyColumn("grd_rpvdcode")) return;
  126. // rtn = messageBox("", "Q002");
  127. // if(rtn != "6" ) return false;
  128. submit("TXRPV09001");
  129. btn_search.dispatch("DOMActivate");
  130. ]]>
  131. </script>
  132. </button>
  133. <button id="btn_copy" class="btn4_letter5" visibility="hidden" style="left:975px; top:3px; width:92px; height:22px; ">
  134. <caption>전년도복사</caption>
  135. <script type="javascript" ev:event="DOMActivate">
  136. <![CDATA[
  137. if(!isRequiredControls("ipt_valuyy")) return;
  138. if( messageBox( ipt_valuyy.value +"년도의 Data가 모두 삭제되며\n" + (ipt_valuyy.value - 1) +"년도의 Data를 가져오게됩니다.\n","Q003") == 6 )
  139. {
  140. submit("TXRPV09002");
  141. btn_search.dispatch("DOMActivate");
  142. }else{
  143. return;
  144. }
  145. ]]>
  146. </script>
  147. </button>
  148. </group>
  149. </xhtml:body>
  150. </xhtml:html>