SMRAC00800_프로젝트ID관리.xrw 7.8 KB

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