SPRAC01000_프로젝트IDHELP.xrw 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  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>프로젝트 ID HELP</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list>
  11. <projectidlist/>
  12. </list>
  13. </main>
  14. <send>
  15. <retrparams>
  16. <flag>name</flag>
  17. <retrnm/>
  18. <useyn>Y</useyn>
  19. </retrparams>
  20. <tempparams>
  21. <emplno/>
  22. <emplnm/>
  23. </tempparams>
  24. </send>
  25. <init/>
  26. <temp/>
  27. <target/>
  28. </root>
  29. </instance>
  30. <submission id="TRRAC00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams" resultref="/root/main/list"/>
  31. <submission id="TXRAC00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list/projectidlist" resultref="/root/temp"/>
  32. </model>
  33. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  34. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  35. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  36. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  37. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  38. <script type="javascript" ev:event="xforms-ready">
  39. <![CDATA[
  40. fInitialize();
  41. ]]>
  42. </script>
  43. <script type="javascript">
  44. <![CDATA[
  45. //========================================================================================
  46. //초기화
  47. //========================================================================================
  48. function fInitialize()
  49. {
  50. model.copyNode("/root/main/list", "/root/target/validation");
  51. misfMsterDetailSet(grd_projectidlist, null, "TRRAC00801", "Y");
  52. if(instance1.selectNodes("/root/target/validation/projectidlist").length == 0)
  53. {
  54. model.removenode("/root/main/list/projectidlist");
  55. btn_search.dispatch("DOMActivate");
  56. }
  57. model.refresh();
  58. }
  59. ]]>
  60. </script>
  61. </xhtml:head>
  62. <xhtml:body pagewidth="730" pageheight="480" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  63. <group id="group1" style="left:0px; top:0px; width:710; height:13px; ">
  64. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:190px; height:14px; ">프로젝트ID HELP</caption>
  65. </group>
  66. <group id="group2" scroll="auto" style="left:0px; top:12px; width:710px; height:432px; ">
  67. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:7px; width:710px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  68. <caption id="caption1" class="tit_2" style="left:10px; top:49px; width:190px; height:13px; ">프로젝트ID 목록</caption>
  69. <line id="line2" class="line_1" style="x1:0px; y1:63px; x2:710px; y2:63px; "/>
  70. <line id="line21" class="line_4" style="x1:614px; y1:14px; x2:614px; y2:36px; "/>
  71. <button id="btn_search" class="btn1_letter2" style="left:629px; top:14px; width:56px; height:22px; ">
  72. <caption>조회</caption>
  73. <script type="javascript" ev:event="DOMActivate">
  74. <![CDATA[
  75. submit("TRRAC00801");
  76. misfSetReadOnlyCol(grd_projectidlist, "projectid", true);
  77. ]]>
  78. </script>
  79. </button>
  80. <input id="ipt_retrnm" ref="/root/send/retrparams/retrnm" class="input_search" style="left:140px; top:15px; width:215px; height:19px; ">
  81. <script type="javascript" ev:event="onkeypress">
  82. <![CDATA[
  83. if(event.keyCode == 13)
  84. {
  85. ipt_retrnm.value = ipt_retrnm.currentText;
  86. btn_search.dispatch("DOMActivate");
  87. }
  88. ]]>
  89. </script>
  90. </input>
  91. <select1 id="rdo_retrflag" ref="/root/send/retrparams/flag" overflow="visible" appearance="full" cellspacing="5" cols="2" style="left:15px; top:17px; width:119px; height:17px; border-style:none; ">
  92. <choices>
  93. <item>
  94. <label>코드명</label>
  95. <value>name</value>
  96. </item>
  97. <item>
  98. <label>코 드</label>
  99. <value>code</value>
  100. </item>
  101. </choices>
  102. </select1>
  103. <datagrid id="grd_projectidlist" nodeset="/root/main/list/projectidlist" caption="프로젝트ID^프로젝트명^시작일자^종료일자^책임자 ID^책임자명^기관코드" colsep="^" colwidth="100, 167, 90, 90, 75, 100, 0" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:68px; width:710px; height:364px; ">
  104. <col ref="projectid"/>
  105. <col ref="projectnm"/>
  106. <col ref="projectfromdd" format="yyyy-mm-dd"/>
  107. <col ref="projecttodd" format="yyyy-mm-dd"/>
  108. <col ref="projectmnger"/>
  109. <col ref="projectmngernm"/>
  110. <col ref="instcd" visibility="hidden"/>
  111. <script type="javascript" ev:event="onbuttonclick">
  112. <![CDATA[
  113. if(grd_projectidlist.col == grd_projectidlist.colRef("projectmnger"))
  114. {
  115. rpbfOpenPopUpList("SPRPB00101", opt_emplno, "emplno,emplnm", "", "N");
  116. grd_projectidlist.valueMatrix(grd_projectidlist.row, grd_projectidlist.colRef("projectmnger")) = model.getValue("/root/send/tempparams/emplno");
  117. grd_projectidlist.valueMatrix(grd_projectidlist.row, grd_projectidlist.colRef("projectmngernm")) = model.getValue("/root/send/tempparams/emplnm");
  118. model.refresh();
  119. }
  120. ]]>
  121. </script>
  122. <script type="javascript" ev:event="ondblclick">
  123. <![CDATA[
  124. if( grd_projectidlist.row >= grd_projectidlist.fixedRows && grd_projectidlist.isCell(event.target))
  125. {
  126. misfPopUpListReturn(grd_projectidlist);
  127. }
  128. ]]>
  129. </script>
  130. </datagrid>
  131. <output id="opt_emplno" ref="/root/send/tempparams/emplno" visibility="hidden" style="left:410px; top:44px; width:20px; height:19px; "/>
  132. <select1 id="rdo_termflag" ref="/root/send/retrparams/useyn" class="radio_search" visibility="visible" overflow="visible" appearance="full" cellspacing="20" cols="2" style="left:470px; top:17px; width:175px; height:20px; vertical-align:middle; border-style:none; ">
  133. <choices>
  134. <item>
  135. <label>사용</label>
  136. <value>Y</value>
  137. </item>
  138. <item>
  139. <label>종료</label>
  140. <value>N</value>
  141. </item>
  142. </choices>
  143. </select1>
  144. <caption id="caption3" class="search_name" visibility="visible" style="left:360px; top:17px; width:120px; height:17px; ">조 회 구 분 :</caption>
  145. </group>
  146. <group id="grp_btn" scroll="auto" style="left:0px; top:449px; width:710px; height:27px; ">
  147. <line id="line1" class="line_6" style="x1:0px; y1:0px; x2:610px; y2:-10px; "/>
  148. <button id="btn_close" class="btn4_letter2" style="left:644px; top:2px; width:56px; height:22px; ">
  149. <caption>닫기</caption>
  150. <script type="javascript" ev:event="DOMActivate">
  151. <![CDATA[
  152. window.close();
  153. ]]>
  154. </script>
  155. </button>
  156. <button id="btn_cnfm" class="btn4_letter2" style="left:586px; top:2px; width:56px; height:22px; ">
  157. <caption>확인</caption>
  158. <script type="javascript" ev:event="DOMActivate">
  159. <![CDATA[
  160. grd_projectidlist.dispatch("ondblclick");
  161. ]]>
  162. </script>
  163. </button>
  164. </group>
  165. </xhtml:body>
  166. </xhtml:html>