SPRSD00260_연구과제HELP.xrw 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  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>연구과제 검색화면</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <studylist>
  11. <stdysubjno/>
  12. <projectyn/>
  13. <stdysubjnm/>
  14. <fromdd/>
  15. <todd/>
  16. <stdypsn/>
  17. <stdypnm/>
  18. <instcd/>
  19. </studylist>
  20. </main>
  21. <target/>
  22. <init>
  23. <refcond>
  24. <label>연구과제번호</label>
  25. <value>stdysubjno</value>
  26. <label>연구과제명</label>
  27. <value>stdysubjnm</value>
  28. </refcond>
  29. </init>
  30. <send>
  31. <refcond/>
  32. <reqdd/>
  33. <stdysubjnm/>
  34. <stdysubjno/>
  35. <instcd/>
  36. <projectyn/>
  37. </send>
  38. </root>
  39. </instance>
  40. <script type="javascript" ev:event="xforms-ready">
  41. <![CDATA[
  42. //model.setValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  43. model.setValue("/root/send/instcd", model.getValue("/root/target/defaultvalue/instcd") );
  44. model.setValue("/root/send/reqdd", model.getValue("/root/target/defaultvalue/reqdd") );
  45. model.setValue("/root/send/projectyn", model.getValue("/root/target/defaultvalue/projectyn") );
  46. // rdo_refcond.select(1);
  47. if( (model.getValue("/root/target/defaultvalue/projectyn") == "") || (model.getValue("/root/target/defaultvalue/projectyn") == null))
  48. {
  49. model.setValue("/root/send/projectyn", "N");
  50. }
  51. model.setValue(rdo_refcond.attribute("ref"),"stdysubjno");
  52. btn_search.dispatch("DOMActivate");
  53. model.setFocus("ipt_refcond");
  54. ]]>
  55. </script>
  56. <submission id="TRRSD00261" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
  57. </model>
  58. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  59. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  60. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  61. </xhtml:head>
  62. <xhtml:body pagewidth="731" pageheight="570" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  63. <group id="group3" scroll="auto" style="left:8; top:0px; width:700; height:560; ">
  64. <group id="group2" style="left:0px; top:5px; width:700; height:35; ">
  65. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:700; height:35; "/>
  66. <input id="ipt_refcond" ref="/root/send/stdysubjnm" class="input_s_essential" style="left:297px; top:8; width:135px; height:19px; ">
  67. <script type="javascript" ev:event="onkeyup">
  68. <![CDATA[
  69. inputEnterKey("btn_search", "DOMActivate");
  70. ]]>
  71. </script>
  72. </input>
  73. <button id="btn_search" class="btn1_letter2" style="left:629px; top:7px; width:56px; height:22px; ">
  74. <caption>조회</caption>
  75. <script type="javascript" ev:event="DOMActivate">
  76. <![CDATA[
  77. if(rdo_refcond.value == "stdysubjnm") {
  78. model.setValue("/root/send/stdysubjnm",ipt_refcond.label);
  79. }
  80. else {
  81. model.setValue("/root/send/stdysubjno",ipt_refcond.label);
  82. }
  83. submit("TRRSD00261");
  84. ]]>
  85. </script>
  86. </button>
  87. <line id="line13" class="line_4" style="x1:614px; y1:6px; x2:614px; y2:30px; border-color:#ffe4bb; border-left-style:solid; "/>
  88. <caption id="caption2" class="search_name" style="left:211px; top:9; width:86px; height:17px; ">조회조건 :</caption>
  89. <select1 id="rdo_refcond" ref="/root/send/refcond" class="radio_search" overflow="visible" appearance="full" cols="2" style="left:15; top:9; width:145px; height:20px; border-style:solid; ">
  90. <choices>
  91. <itemset nodeset="/root/init/refcond">
  92. <label ref="label"/>
  93. <value ref="value"/>
  94. </itemset>
  95. </choices>
  96. <script type="javascript" ev:event="xforms-select">
  97. <![CDATA[
  98. if(rdo_refcond.value == "stdysubjnm") {
  99. ipt_refcond.attribute("imemode") = "stdysubjnm";
  100. }
  101. else if (rdo_refcond.value == "stdysubjno") {
  102. ipt_refcond.attribute("imemode") = "disabled";
  103. }
  104. else {
  105. ipt_refcond.attribute("imemode") = "disabled";
  106. }
  107. model.setFocus("ipt_refcond");
  108. ]]>
  109. </script>
  110. </select1>
  111. </group>
  112. <caption id="caption1" class="tit_2" style="left:5px; top:49px; width:145px; height:13px; ">연구과제리스트</caption>
  113. <line id="line1" class="line_1" style="x1:0px; y1:64px; x2:700px; y2:64px; "/>
  114. <datagrid id="grd_studylist" nodeset="/root/main/studylist" class="grd_prodcmpylist" caption="연구과제번호^연구과제명^청구일자FROM^청구일자 TODD^사원번호^책임자^프로젝트여부^기관코드" colsep="^" colwidth="100, 218, 93, 95, 80, 80, 100, 100" dataheight="23" defaultrows="0" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:69px; width:700px; height:460px; ">
  115. <col ref="stdysubjno"/>
  116. <col ref="stdysubjnm"/>
  117. <col ref="fromdd" format="yyyy-mm-dd" style="text-align:center; "/>
  118. <col ref="todd" format="yyyy-mm-dd" style="text-align:center; "/>
  119. <col ref="stdypsn"/>
  120. <col ref="stdypnm"/>
  121. <col ref="projectyn" visibility="hidden" style="text-align:center; "/>
  122. <col ref="instcd" visibility="hidden"/>
  123. <script type="javascript" ev:event="ondblclick">
  124. <![CDATA[
  125. if( grd_studylist.isCell( event.target ) && grd_studylist.row >= grd_studylist.fixedRows ) {
  126. btn_confirm.dispatch("DOMActivate");
  127. }
  128. ]]>
  129. </script>
  130. <script type="javascript" ev:event="onaftersort">
  131. <![CDATA[
  132. grd_studylist.gridToInstance();
  133. ]]>
  134. </script>
  135. </datagrid>
  136. <group id="group1" scroll="auto" style="left:0px; top:533px; width:700; height:27px; ">
  137. <button id="btn_confirm" class="btn4_letter2" style="left:587px; top:5px; width:56px; height:22px; ">
  138. <caption>확인</caption>
  139. <script type="javascript" ev:event="DOMActivate">
  140. <![CDATA[
  141. misfPopUpListReturn(grd_studylist);
  142. ]]>
  143. </script>
  144. </button>
  145. <button id="btn_cancel" class="btn4_letter2" style="left:644px; top:5px; width:56px; height:22px; ">
  146. <caption>취소</caption>
  147. <script type="javascript" ev:event="DOMActivate">
  148. <![CDATA[
  149. window.close();
  150. ]]>
  151. </script>
  152. </button>
  153. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:700; y2:0px; "/>
  154. </group>
  155. </group>
  156. </xhtml:body>
  157. </xhtml:html>