SMRPS90100_교육코드HELP.xrw 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>교육코드 HELP</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <rpsmedcdlist/>
  11. </main>
  12. <target/>
  13. <init>
  14. <refcond>
  15. <label>교육코드</label>
  16. <value>educcd</value>
  17. <label>교육명</label>
  18. <value>educcdnm</value>
  19. </refcond>
  20. </init>
  21. <send>
  22. <educref>
  23. <refcond/>
  24. <educcdnm/>
  25. <educcd/>
  26. <appyy/>
  27. <instnm/>
  28. <instcd/>
  29. <chrgdeptcd/>
  30. <chrgdeptcdnm/>
  31. <educplce/>
  32. <nexteduccd/>
  33. </educref>
  34. <comcdref>
  35. <cdgrupid/>
  36. <cdid/>
  37. <cdnm/>
  38. <instnm/>
  39. <instcd/>
  40. <chrgdeptcd/>
  41. <chrgdeptcdnm/>
  42. <educplce/>
  43. <nexteduccd/>
  44. </comcdref>
  45. </send>
  46. </root>
  47. </instance>
  48. <script type="javascript" ev:event="xforms-ready">
  49. <![CDATA[
  50. misfGridInit(grd_rpsmedcdlist);
  51. model.copyNode("root/main","/root/target/validation");
  52. model.setValue("/root/send/educref/appyy",model.getValue("/root/target/defaultvalue/appyy"));
  53. model.setValue("/root/send/educref/refcond","educcdnm");
  54. model.refresh();
  55. ipt_refcond.attribute("imemode") = "hangul";
  56. model.setFocus("ipt_refcond");
  57. if(instance1.selectNodes("/root/target/validation/rpsmedcdlist").length == 0){
  58. btn_search.dispatch("DOMActivate");
  59. }
  60. model.refresh();
  61. ]]>
  62. </script>
  63. <submission id="TRRPS90101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/educref" resultref="/root/main"/>
  64. </model>
  65. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  66. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  67. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  68. <script type="javascript" src="../../../mis/educationmngtweb/js/RPS001.js"/>
  69. </xhtml:head>
  70. <xhtml:body pagewidth="700" pageheight="450" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  71. <group id="group3" scroll="auto" style="left:0px; top:0px; width:680px; height:390px; ">
  72. <group id="group2" style="left:0px; top:0px; width:680px; height:30px; ">
  73. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:678px; height:29px; "/>
  74. <input id="ipt_refcond" ref="/root/send/educref/educcdnm" class="input_s_essential" style="left:360px; top:5px; width:99px; height:19px; ">
  75. <script type="javascript" ev:event="onkeyup">
  76. <![CDATA[
  77. inputEnterKey("btn_search", "DOMActivate");
  78. ]]>
  79. </script>
  80. </input>
  81. <button id="btn_search" class="btn1_letter2" style="left:610px; top:4px; width:56px; height:22px; ">
  82. <caption>조회</caption>
  83. <script type="javascript" ev:event="DOMActivate">
  84. <![CDATA[
  85. if(rdo_refcond.value == "deptnm") {
  86. model.setValue("/root/send/educref/educcdnm",ipt_refcond.label);
  87. }
  88. else {
  89. model.setValue("/root/send/educref/educcd",ipt_refcond.label);
  90. }
  91. submit("TRRPS90101");
  92. ]]>
  93. </script>
  94. </button>
  95. <line id="line13" class="line_4" style="x1:595px; y1:0px; x2:595px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  96. <caption id="caption2" class="search_name" style="left:276px; top:5px; width:86px; height:17px; ">조회조건:</caption>
  97. <select1 id="rdo_refcond" ref="/root/send/educref/refcond" class="radio_search" appearance="full" cols="2" overflow="visible" style="left:96px; top:4px; width:125px; height:20px; border-style:solid; ">
  98. <choices>
  99. <itemset nodeset="/root/init/refcond">
  100. <label ref="label"/>
  101. <value ref="value"/>
  102. </itemset>
  103. </choices>
  104. <script type="javascript" ev:event="xforms-select">
  105. <![CDATA[
  106. if(rdo_refcond.value == "educcdnm") {
  107. ipt_refcond.attribute("imemode") = "hangul";
  108. }
  109. else if (rdo_refcond.value == "educcd") {
  110. ipt_refcond.attribute("imemode") = "disabled";
  111. }
  112. else {
  113. ipt_refcond.attribute("imemode") = "disabled";
  114. }
  115. model.setFocus("ipt_refcond");
  116. ]]>
  117. </script>
  118. </select1>
  119. <caption id="caption4" class="search_name" style="left:10px; top:5px; width:86px; height:17px; ">조회구분:</caption>
  120. </group>
  121. <caption id="caption1" class="tit_2" style="left:5px; top:35px; width:150px; height:14px; ">교육코드 List</caption>
  122. <line id="line1" class="line_1" style="x1:0px; y1:50px; x2:678px; y2:50px; "/>
  123. <datagrid id="grd_rpsmedcdlist" nodeset="/root/main/rpsmedcdlist" caption="교육코드^교육 명^인사팀확정교육여부^교육구분^주체기관^주체기관코드" colsep="^" colwidth="115, 325, 100, 93, 100, 100" dataheight="23" defaultrows="0" ellipsis="true" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="never" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:55px; width:677px; height:330px; ">
  124. <col ref="educcd"/>
  125. <col ref="educcdnm"/>
  126. <col ref="insayn" visibility="hidden"/>
  127. <col disabled="true" ref="educflag" type="combo" visibility="hidden" _key="true">
  128. <choices>
  129. <itemset>
  130. <label/>
  131. <value/>
  132. </itemset>
  133. </choices>
  134. </col>
  135. <col ref="instnm" visibility="hidden"/>
  136. <col ref="instcd" visibility="hidden"/>
  137. <script type="javascript" ev:event="ondblclick">
  138. <![CDATA[
  139. if( grd_rpsmedcdlist.isCell(event.target) && grd_rpsmedcdlist.row >= grd_rpsmedcdlist.fixedRows ){
  140. btn_confirm.dispatch("DOMActivate");
  141. }
  142. ]]>
  143. </script>
  144. <script type="javascript" ev:event="onaftersort">
  145. <![CDATA[
  146. grd_rpsmedcdlist.gridToInstance();
  147. ]]>
  148. </script>
  149. </datagrid>
  150. </group>
  151. <group id="group1" scroll="auto" style="left:0px; top:395px; width:680px; height:27px; ">
  152. <button id="btn_confirm" class="btn4_letter2" style="left:564px; top:2px; width:56px; height:22px; ">
  153. <caption>확인</caption>
  154. <script type="javascript" ev:event="DOMActivate">
  155. <![CDATA[
  156. misfPopUpListReturn(grd_rpsmedcdlist);
  157. ]]>
  158. </script>
  159. </button>
  160. <button id="btn_cancel" class="btn4_letter2" style="left:623px; top:2px; width:56px; height:22px; ">
  161. <caption>취소</caption>
  162. <script type="javascript" ev:event="DOMActivate">
  163. <![CDATA[
  164. misfPopUpListCancel();
  165. ]]>
  166. </script>
  167. </button>
  168. </group>
  169. </xhtml:body>
  170. </xhtml:html>