SMATB00300_과제검색화면.xrw 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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. <subjlist>
  11. <item>
  12. <subjno/>
  13. <stdyno/>
  14. <itemnm/>
  15. <drugcd/>
  16. <stdysubjnm/>
  17. <respstdynm/>
  18. <reqnm/>
  19. <clincflag/>
  20. <ioflag/>
  21. <stdytermfrom/>
  22. <stdytermto/>
  23. <judgdg/>
  24. <irbjudglistdd/>
  25. <conpaperconacptdd/>
  26. <subjenddd/>
  27. <subjid/>
  28. </item>
  29. </subjlist>
  30. </main>
  31. <send>
  32. <srchdata>
  33. <srchsubjno/>
  34. <srchflag>1</srchflag>
  35. <srchsubjendyn>3</srchsubjendyn>
  36. <srchcmbcond/>
  37. <srchiptcond/>
  38. <srchclincflag>A</srchclincflag>
  39. <srchfrom/>
  40. <srchend/>
  41. <srchioflag>A</srchioflag>
  42. </srchdata>
  43. </send>
  44. <init/>
  45. <hidden/>
  46. <temp>
  47. <receivedata>
  48. <receiveref/>
  49. </receivedata>
  50. </temp>
  51. </root>
  52. </instance>
  53. <script type="javascript" ev:event="xforms-ready">
  54. <![CDATA[
  55. var crDate = new Date();
  56. var frDate = crDate.getAddDate(-1, "D");
  57. model.setValue("/root/send/srchdata/srchfrom", "");
  58. model.setValue("/root/send/srchdata/srchend", "" );
  59. model.refresh();
  60. ]]>
  61. </script>
  62. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  63. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  64. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  65. <submission id="TRATB00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchdata" replace="instance" resultref="/root/main/subjlist"/>
  66. </model>
  67. </xhtml:head>
  68. <xhtml:body pagewidth="1211" pageheight="785" guideline="1,1194;2,757;2,785;">
  69. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">과제검색화면</caption>
  70. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  71. <group id="group2" style="left:0px; top:10px; width:1194px; height:60px; vertical-align:top; ">
  72. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:59px; "/>
  73. <button id="button1" class="btn1_letter2" style="left:1120px; top:20px; width:56px; height:22px; ">
  74. <caption>조회</caption>
  75. <script type="javascript" ev:event="DOMActivate">
  76. <![CDATA[
  77. submit("TRATB00301");
  78. ]]>
  79. </script>
  80. </button>
  81. <line id="line2" class="line_4" style="x1:1104px; y1:9px; x2:1104px; y2:52px; "/>
  82. </group>
  83. <line id="line6" class="line_3" style="x1:655px; y1:743px; x2:1194px; y2:743px; "/>
  84. <select1 id="radio1" ref="/root/send/srchdata/srchsubjendyn" appearance="full" cols="3" overflow="visible" style="left:110px; top:18px; width:170px; height:20px; border-style:none; ">
  85. <choices>
  86. <item>
  87. <label>미종결</label>
  88. <value>1</value>
  89. </item>
  90. <item>
  91. <label>종결</label>
  92. <value>2</value>
  93. </item>
  94. <item>
  95. <label>전체</label>
  96. <value>3</value>
  97. </item>
  98. </choices>
  99. </select1>
  100. <select1 id="radio2" ref="/root/send/srchdata/srchclincflag" appearance="full" cols="3" overflow="visible" style="left:110px; top:42px; width:170px; height:20px; border-style:none; ">
  101. <choices>
  102. <item>
  103. <label>허가용</label>
  104. <value>1</value>
  105. </item>
  106. <item>
  107. <label>연구용</label>
  108. <value>4</value>
  109. </item>
  110. <item>
  111. <label>전체</label>
  112. <value>A</value>
  113. </item>
  114. </choices>
  115. </select1>
  116. <caption id="caption2" class="search_name" style="left:333px; top:43px; width:114px; height:17px; ">원내외구분 :</caption>
  117. <caption id="caption3" class="search_name" style="left:333px; top:19px; width:91px; height:17px; ">과제번호 :</caption>
  118. <input id="input8" ref="/root/send/srchdata/srchsubjno" class="input_default" style="left:444px; top:19px; width:93px; height:19px; ">
  119. <script type="javascript" ev:event="onkeyup">
  120. <![CDATA[
  121. if ( event.keyCode == 13 ) {
  122. setInputNodeCurText();
  123. submit("TRATB00301");
  124. }
  125. ]]>
  126. </script>
  127. </input>
  128. <select1 id="radio3" ref="/root/send/srchdata/srchflag" appearance="full" cols="3" overflow="visible" style="left:539px; top:19px; width:95px; height:20px; border-style:none; ">
  129. <choices>
  130. <item>
  131. <label>포함</label>
  132. <value>1</value>
  133. </item>
  134. <item>
  135. <label>일치</label>
  136. <value>2</value>
  137. </item>
  138. </choices>
  139. </select1>
  140. <select1 id="radio4" ref="/root/send/srchdata/srchioflag" appearance="full" cols="3" overflow="visible" style="left:445px; top:41px; width:170px; height:20px; border-style:none; ">
  141. <choices>
  142. <item>
  143. <label>원내</label>
  144. <value>I</value>
  145. </item>
  146. <item>
  147. <label>원외</label>
  148. <value>O</value>
  149. </item>
  150. <item>
  151. <label>전체</label>
  152. <value>A</value>
  153. </item>
  154. </choices>
  155. </select1>
  156. <select1 id="combo1" ref="/root/send/srchdata/srchcmbcond" class="combo_search" appearance="minimal" style="left:775px; top:19px; width:100px; height:19px; ">
  157. <choices>
  158. <item>
  159. <label>시험책임자</label>
  160. <value>1</value>
  161. </item>
  162. <item>
  163. <label>의뢰자</label>
  164. <value>2</value>
  165. </item>
  166. <item>
  167. <label>약품코드명</label>
  168. <value>3</value>
  169. </item>
  170. <item>
  171. <label>품목명</label>
  172. <value>4</value>
  173. </item>
  174. <item>
  175. <label>진료과</label>
  176. <value>5</value>
  177. </item>
  178. <item>
  179. <label>연구코드</label>
  180. <value>6</value>
  181. </item>
  182. </choices>
  183. </select1>
  184. <input id="input1" ref="/root/send/srchdata/srchiptcond" class="input_search" style="left:895px; top:19px; width:100px; height:19px; ">
  185. <script type="javascript" ev:event="onkeyup">
  186. <![CDATA[
  187. if ( event.keyCode == 13 ) {
  188. setInputNodeCurText();
  189. submit("TRATB00301");
  190. }
  191. ]]>
  192. </script>
  193. </input>
  194. <caption id="caption11" class="search_n_b" style="left:879px; top:42px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  195. <input id="input2" ref="/root/send/srchdata/srchfrom" class="input_s_essential" inputtype="date" style="left:775px; top:41px; width:100px; height:19px; "/>
  196. <input id="input6" ref="/root/send/srchdata/srchend" class="input_s_essential" inputtype="date" style="left:895px; top:41px; width:100px; height:19px; "/>
  197. <line id="line1" class="line_1" style="x1:0px; y1:94px; x2:1194px; y2:94px; "/>
  198. <button id="button5" class="btn2_letter4" style="left:1131px; top:74px; width:64px; height:19px; ">
  199. <caption>엑셀저장</caption>
  200. </button>
  201. <caption id="caption7" class="tit_2" style="left:5px; top:79px; width:78px; height:13px; "/>
  202. <datagrid id="grd_subjlist" nodeset="/root/main/subjlist/item" caption="과제번호^연구코드^품목명^시험약코드^연구제목^책임연구자^의뢰자^임상단계^원내외구분^연구예정기간^연구예정기간^IRB차수^승인일^계약일^종결일^과제ID" colsep="^" colwidth="95, 63, 104, 70, 110, 70, 91, 80, 70, 72, 72, 54, 72, 72, 72, 100" ellipsis="true" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:99px; width:1195px; height:645px; ">
  203. <col ref="subjno"/>
  204. <col ref="stdyno"/>
  205. <col ref="itemnm"/>
  206. <col ref="drugcd"/>
  207. <col ref="stdysubjnm"/>
  208. <col ref="respstdynm"/>
  209. <col ref="reqnm"/>
  210. <col disabled="true" ref="clincflag" type="combo">
  211. <choices>
  212. <item>
  213. <label>허가1</label>
  214. <value>1</value>
  215. </item>
  216. <item>
  217. <label>허가2</label>
  218. <value>2</value>
  219. </item>
  220. <item>
  221. <label>허가3</label>
  222. <value>3</value>
  223. </item>
  224. <item>
  225. <label>연구용</label>
  226. <value>4</value>
  227. </item>
  228. </choices>
  229. </col>
  230. <col disabled="true" ref="ioflag" type="combo">
  231. <choices>
  232. <item>
  233. <label>원내</label>
  234. <value>I</value>
  235. </item>
  236. <item>
  237. <label>원외</label>
  238. <value>O</value>
  239. </item>
  240. </choices>
  241. </col>
  242. <col ref="stdytermfrom" format="yyyy-mm-dd"/>
  243. <col ref="stdytermto" format="yyyy-mm-dd"/>
  244. <col ref="judgdg" style="text-align:center; "/>
  245. <col ref="irbjudglistdd" format="yyyy-mm-dd"/>
  246. <col ref="conpaperconacptdd" format="yyyy-mm-dd"/>
  247. <col ref="subjenddd" format="yyyy-mm-dd"/>
  248. <col ref="subjid" visibility="hidden"/>
  249. <script type="javascript" ev:event="ondblclick">
  250. <![CDATA[
  251. var receiveref = model.getValue("/root/temp/receivedata/receiveref");
  252. if ( checkOpener() ) {
  253. // opener.model.setValue("/root/send/srchdata/subjno", model.getValue("/root/main/subjlist/item["+grd_subjlist.row+"]/subjno"));
  254. opener.window.javascript.setParameter("stdyno",model.getValue("/root/main/subjlist/item["+grd_subjlist.row+"]/stdyno"));
  255. opener.window.javascript.setParameter("subjno",model.getValue("/root/main/subjlist/item["+grd_subjlist.row+"]/subjno"));
  256. //-----------(20091015)
  257. opener.window.javascript.setParameter("subjid",model.getValue("/root/main/subjlist/item["+grd_subjlist.row+"]/subjid"));
  258. //-----------(20091015)
  259. //opener.model.makeNode (receiveref +"/ordnm");
  260. //opener.model.setValue(receiveref +"/ordnm", model.getValue("/root/main/druglist/item["+grd_druglist1.row+"]/ordnm"));
  261. opener.model.refresh();
  262. window.close();
  263. } else {
  264. alert("상위화면이 변경되어 데이터를 전달할 수 없습니다.");
  265. }
  266. ]]>
  267. </script>
  268. </datagrid>
  269. </group>
  270. <caption id="caption10" class="search_name" style="left:15px; top:56px; width:91px; height:17px; ">임상단계 :</caption>
  271. <caption id="caption1" class="search_name" style="left:15px; top:32px; width:91px; height:17px; ">종결여부 :</caption>
  272. <caption id="caption4" class="search_name" style="left:681px; top:55px; width:91px; height:17px; ">승 인 일 :</caption>
  273. <caption id="caption5" class="search_name" style="left:681px; top:31px; width:91px; height:17px; ">검색조건 :</caption>
  274. <group id="grp_btn" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
  275. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  276. </group>
  277. </xhtml:body>
  278. </xhtml:html>