SPIRS00200_연구관련담당자지정.xrw 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  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. <list>
  11. <grid1>
  12. <item>
  13. <userkind/>
  14. <usernm/>
  15. <userid/>
  16. <sosok/>
  17. <mpphonno/>
  18. <chrgyn/>
  19. <subjid/>
  20. <instcd/>
  21. </item>
  22. </grid1>
  23. <grid2>
  24. <item>
  25. <subjid/>
  26. <subjno/>
  27. <subjnm/>
  28. <itemnm/>
  29. <instcd/>
  30. <cmpynm/>
  31. </item>
  32. </grid2>
  33. </list>
  34. </main>
  35. <send>
  36. <data>
  37. <subjid/>
  38. <instcd/>
  39. <subjno/>
  40. <screenmenu/>
  41. </data>
  42. </send>
  43. <senddata>
  44. <grid1/>
  45. </senddata>
  46. <init>
  47. <baseinfo>
  48. <instinfo>
  49. <instcd/>
  50. <hospnm/>
  51. </instinfo>
  52. </baseinfo>
  53. <cmb_info>
  54. <initbank>
  55. <cdid/>
  56. <cdnm/>
  57. </initbank>
  58. </cmb_info>
  59. </init>
  60. <hidden>
  61. <source>
  62. <seqno/>
  63. </source>
  64. </hidden>
  65. </root>
  66. </instance>
  67. <script type="javascript" ev:event="xforms-ready">
  68. <![CDATA[
  69. zbcfGetCodeList( new Array("R0001"), new Array("/root/init/cmb_info/initbank") );
  70. submit("TRZBC00101", false);
  71. model.removeNodeset("/root/main/list/grid1");
  72. model.setValue("/root/send/data/screenmenu", getScreenMenuParameter());
  73. submit("TRIRS00202", false);
  74. submit("TRIRZ00000", false);
  75. if ( model.getValue("/root/send/data/screenmenu") == 'C' ) {
  76. btn_save.disabled = true;
  77. } else {
  78. btn_save.disabled = false;
  79. }
  80. model.refresh();
  81. ]]>
  82. </script>
  83. <submission id="TRICU01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" replace="instance" resultref="/root/init/expendcdinfo"/>
  84. <submission id="TRZBC00101"/>
  85. <submission id="TRIRS00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data" replace="instance" resultref="/root/main/list/grid1"/>
  86. <submission id="TXIRS00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/senddata/grid1" replace="instance" resultref="/root/hidden/source"/>
  87. <submission id="TRIRS00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list/grid2"/>
  88. <submission id="TRIRZ00000" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init/baseinfo"/>
  89. </model>
  90. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  91. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  92. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  93. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  94. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  95. <script type="javascript">
  96. <![CDATA[
  97. ]]>
  98. </script>
  99. </xhtml:head>
  100. <xhtml:body pagewidth="880" pageheight="580" guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  101. <caption id="caption1" class="tit_2" style="left:0px; top:50px; width:185px; height:13px; ">연구과제</caption>
  102. <button id="btn_save" class="btn5_letter3" navindex="30" style="left:765px; top:525px; width:53px; height:19px; ">
  103. <caption>저장</caption>
  104. <script type="javascript" ev:event="DOMActivate">
  105. <![CDATA[
  106. var update = getGridUpdateData(grd_reserapnt);
  107. model.setValue("/root/senddata/grid1", update);
  108. if (submit("TXIRS00201", false)){
  109. submit("TRIRS00201");
  110. }
  111. ]]>
  112. </script>
  113. </button>
  114. <datagrid id="grd_reserapnt" nodeset="/root/main/list/grid1/item" autoresize="true" caption="역할^성명^사번^소속^연락처^선택^caption1^caption2" colsep="^" colwidth="100, 100, 100, 118, 130, 55, 22, 17" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:5px; top:347px; width:815px; height:165px; ">
  115. <col disabled="true" ref="userkind" type="combo">
  116. <choices>
  117. <item>
  118. <label>책임</label>
  119. <value>1</value>
  120. </item>
  121. <item>
  122. <label>공동</label>
  123. <value>2</value>
  124. </item>
  125. <item>
  126. <label>코디네이터</label>
  127. <value>3</value>
  128. </item>
  129. <item>
  130. <label>관리약사</label>
  131. <value>4</value>
  132. </item>
  133. </choices>
  134. </col>
  135. <col ref="usernm"/>
  136. <col ref="userid" visibility="hidden"/>
  137. <col ref="sosok"/>
  138. <col ref="mpphonno"/>
  139. <col checkvalue="Y,N" ref="chrgyn" type="radio"/>
  140. <col ref="subjid" visibility="hidden"/>
  141. <col ref="instcd" visibility="hidden"/>
  142. </datagrid>
  143. <datagrid id="grd_subj" nodeset="/root/main/list/grid2/item" caption="과제ID^과제번호^과제명^품목명^해당병원^의뢰자" colsep="^" colwidth="100, 100, 211, 78, 116, 162" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:5px; top:70px; width:815px; height:220px; ">
  144. <col ref="subjid"/>
  145. <col ref="subjno"/>
  146. <col ref="subjnm"/>
  147. <col ref="itemnm"/>
  148. <col disabled="true" ref="instcd" type="combo">
  149. <choices>
  150. <itemset nodeset="/root/init/baseinfo/instinfo">
  151. <label ref="hospnm"/>
  152. <value ref="instcd"/>
  153. </itemset>
  154. </choices>
  155. </col>
  156. <col ref="cmpynm"/>
  157. <script type="javascript" ev:event="onclick">
  158. <![CDATA[
  159. if( isDataCell() ){
  160. model.setValue("/root/send/data/subjid", model.getValue("/root/main/list/grid2/item[" + grd_subj.row + "]/subjid"));
  161. model.setValue("/root/send/data/instcd", model.getValue("/root/main/list/grid2/item[" + grd_subj.row + "]/instcd"));
  162. submit("TRIRS00201");
  163. }
  164. ]]>
  165. </script>
  166. </datagrid>
  167. <line id="line3" class="line_1" style="x1:5px; y1:68px; x2:820px; y2:67px; "/>
  168. <caption id="caption2" class="tit_2" style="left:0px; top:327px; width:185px; height:13px; ">연구관련담당자</caption>
  169. <line id="line1" class="line_1" style="x1:5px; y1:345px; x2:820px; y2:344px; "/>
  170. <group id="group2" style="left:0px; top:5px; width:820px; height:35px; vertical-align:top; ">
  171. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:820px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  172. <caption id="caption3" class="search_name" style="left:15px; top:8px; width:86px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">과제번호 :</caption>
  173. <button id="btn_search" class="btn1_letter2" style="left:735px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  174. <caption>조회</caption>
  175. <script type="javascript" ev:event="DOMActivate">
  176. <![CDATA[
  177. submit("TRIRS00202", false);
  178. ]]>
  179. </script>
  180. </button>
  181. <input id="input3" ref="/root/send/data/subjno" class="input_search" style="left:114px; top:8px; width:100px; height:19px; ">
  182. <script type="javascript" ev:event="onkeyup">
  183. <![CDATA[
  184. if(event.keyCode == 13) {
  185. model.setFocus("btn_search");
  186. search();
  187. }
  188. ]]>
  189. </script>
  190. </input>
  191. </group>
  192. </xhtml:body>
  193. </xhtml:html>