SPADB61000_임상시험약품검색.xrw 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741
  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>Untitle</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <druglist>
  11. <item>
  12. <drugcd/>
  13. <ordnm/>
  14. <hngnm/>
  15. <druginfo/>
  16. </item>
  17. </druglist>
  18. <comlist>
  19. <item>
  20. <comcd/>
  21. <comnm/>
  22. <comlevel/>
  23. </item>
  24. </comlist>
  25. <efcylist>
  26. <item>
  27. <efcycd/>
  28. <efcynm/>
  29. <efcylevel/>
  30. </item>
  31. </efcylist>
  32. </main>
  33. <send>
  34. <srchcls>1</srchcls>
  35. <cnfmyn>Y N</cnfmyn>
  36. <seqflag>1</seqflag>
  37. <drugkind>N M Y</drugkind>
  38. <drugkindall>4</drugkindall>
  39. <spcldrug/>
  40. <efcycd>-</efcycd>
  41. <efcycls/>
  42. <srchflag>1</srchflag>
  43. <srchcnts/>
  44. <srchdrugcd>%</srchdrugcd>
  45. <srchcomcd/>
  46. <srchcomnm/>
  47. <srchefcy/>
  48. <srchetcflag>A</srchetcflag>
  49. <srchclincflag/>
  50. <blntestclsflag/>
  51. <ctdrugyn>Y</ctdrugyn>
  52. </send>
  53. <init>
  54. <cmbinfo>
  55. <efcycls>
  56. <P0096>
  57. <cdid/>
  58. <cdnm/>
  59. </P0096>
  60. </efcycls>
  61. <spcldrug>
  62. <A0006>
  63. <cdid/>
  64. <cdnm/>
  65. </A0006>
  66. </spcldrug>
  67. </cmbinfo>
  68. </init>
  69. <hidden>
  70. </hidden>
  71. <temp>
  72. <receivedata>
  73. <receiveref/>
  74. <srchflag/>
  75. <srchcnts/>
  76. <drugkind/>
  77. </receivedata>
  78. </temp>
  79. </root>
  80. </instance>
  81. <submission id="TRZBC00101"/>
  82. <submission id="TRADB60101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/druglist"/>
  83. <submission id="TRADB60102" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/main/comlist"/>
  84. <submission id="TRADB60103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchefcy" replace="instance" resultref="/root/main/efcylist"/>
  85. <submission id="TRADB60104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/druglist"/>
  86. </model>
  87. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  88. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  89. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  90. <script type="javascript" ev:event="xforms-ready">
  91. <![CDATA[
  92. zbcfGetCodeList( new Array("A0006", "P0096"), new Array("/root/init/cmbinfo/spcldrug", "/root/init/cmbinfo/efcycls") );
  93. if ( model.getValue("/root/temp/receivedata/drugkind") != ""){
  94. model.setValue ( "/root/send/drugkind", model.getValue("/root/temp/receivedata/drugkind"));
  95. }
  96. if ( model.getValue("/root/temp/receivedata/srchcnts") != ""){
  97. model.setValue ( "/root/send/srchcnts", model.getValue("/root/temp/receivedata/srchcnts"));
  98. model.setValue ( "/root/send/srchflag", model.getValue("/root/temp/receivedata/srchflag"));
  99. model.setValue("/root/send/srchdrugcd","D%");
  100. submit("TRADB60101");
  101. }
  102. model.refresh();
  103. ]]>
  104. </script>
  105. </xhtml:head>
  106. <xhtml:body pagewidth="827" pageheight="657" guideline="1,1194;2,784;2,757;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  107. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:5px; width:810px; height:75px; background-color:#fffbf2; border-color:#ffd799; "/>
  108. <caption id="caption3" class="search_name" style="left:10px; top:10px; width:86px; height:17px; ">구 분 :</caption>
  109. <caption id="caption1" class="search_name" style="left:10px; top:35px; width:86px; height:17px; ">분 류 :</caption>
  110. <caption id="caption2" class="search_name" style="left:10px; top:60px; width:86px; height:17px; ">종결여부 :</caption>
  111. <caption id="caption4" class="search_name" style="left:520px; top:10px; width:60px; height:17px; ">순서 :</caption>
  112. <caption id="caption5" class="search_name" style="left:515px; top:35px; width:86px; height:17px; ">맹검분류 :</caption>
  113. <caption id="caption6" class="search_name" style="left:465px; top:60px; width:60px; height:17px; ">조회 :</caption>
  114. <line id="line13" class="line_4" style="x1:744px; y1:15px; x2:744px; y2:69px; border-color:#ffe4bb; border-left-style:solid; "/>
  115. <button id="button64" class="btn_sw" group="tab" selected="true" style="left:0px; top:110px; width:30px; height:22px; ">
  116. <caption>All</caption>
  117. <script type="javascript" ev:event="DOMActivate">
  118. <![CDATA[
  119. model.setValue("/root/send/srchcnts","");
  120. model.setValue("/root/send/srchdrugcd","");
  121. submit("TRADB60101");
  122. ]]>
  123. </script>
  124. </button>
  125. <button id="button2" class="btn_sw" group="tab" selected="false" style="left:30px; top:110px; width:30px; height:22px; ">
  126. <caption>A</caption>
  127. <script type="javascript" ev:event="DOMActivate">
  128. <![CDATA[
  129. model.setValue("/root/send/srchcnts","");
  130. model.setValue("/root/send/srchdrugcd","A%");
  131. submit("TRADB60101");
  132. ]]>
  133. </script>
  134. </button>
  135. <button id="button3" class="btn_sw" group="tab" selected="false" style="left:60px; top:110px; width:30px; height:22px; ">
  136. <caption>B</caption>
  137. <script type="javascript" ev:event="DOMActivate">
  138. <![CDATA[
  139. model.setValue("/root/send/srchcnts","");
  140. model.setValue("/root/send/srchdrugcd","B%");
  141. submit("TRADB60101");
  142. ]]>
  143. </script>
  144. </button>
  145. <button id="button4" class="btn_sw" group="tab" selected="false" style="left:90px; top:110px; width:30px; height:22px; ">
  146. <caption>C</caption>
  147. <script type="javascript" ev:event="DOMActivate">
  148. <![CDATA[
  149. model.setValue("/root/send/srchcnts","");
  150. model.setValue("/root/send/srchdrugcd","C%");
  151. submit("TRADB60101");
  152. ]]>
  153. </script>
  154. </button>
  155. <button id="button5" class="btn_sw" group="tab" selected="false" style="left:120px; top:110px; width:30px; height:22px; ">
  156. <caption>D</caption>
  157. <script type="javascript" ev:event="DOMActivate">
  158. <![CDATA[
  159. model.setValue("/root/send/srchcnts","");
  160. model.setValue("/root/send/srchdrugcd","D%");
  161. submit("TRADB60101");
  162. ]]>
  163. </script>
  164. </button>
  165. <button id="button6" class="btn_sw" group="tab" selected="false" style="left:150px; top:110px; width:30px; height:22px; ">
  166. <caption>E</caption>
  167. <script type="javascript" ev:event="DOMActivate">
  168. <![CDATA[
  169. model.setValue("/root/send/srchcnts","");
  170. model.setValue("/root/send/srchdrugcd","E%");
  171. submit("TRADB60101");
  172. ]]>
  173. </script>
  174. </button>
  175. <button id="button7" class="btn_sw" group="tab" selected="false" style="left:180px; top:110px; width:30px; height:22px; ">
  176. <caption>F</caption>
  177. <script type="javascript" ev:event="DOMActivate">
  178. <![CDATA[
  179. model.setValue("/root/send/srchcnts","");
  180. model.setValue("/root/send/srchdrugcd","F%");
  181. submit("TRADB60101");
  182. ]]>
  183. </script>
  184. </button>
  185. <button id="button8" class="btn_sw" group="tab" selected="false" style="left:210px; top:110px; width:30px; height:22px; ">
  186. <caption>G</caption>
  187. <script type="javascript" ev:event="DOMActivate">
  188. <![CDATA[
  189. model.setValue("/root/send/srchcnts","");
  190. model.setValue("/root/send/srchdrugcd","G%");
  191. submit("TRADB60101");
  192. ]]>
  193. </script>
  194. </button>
  195. <button id="button9" class="btn_sw" group="tab" selected="false" style="left:240px; top:110px; width:30px; height:22px; ">
  196. <caption>H</caption>
  197. <script type="javascript" ev:event="DOMActivate">
  198. <![CDATA[
  199. model.setValue("/root/send/srchcnts","");
  200. model.setValue("/root/send/srchdrugcd","H%");
  201. submit("TRADB60101");
  202. ]]>
  203. </script>
  204. </button>
  205. <button id="button10" class="btn_sw" group="tab" style="left:270px; top:110px; width:30px; height:22px; ">
  206. <caption>I</caption>
  207. <script type="javascript" ev:event="DOMActivate">
  208. <![CDATA[
  209. model.setValue("/root/send/srchcnts","");
  210. model.setValue("/root/send/srchdrugcd","I%");
  211. submit("TRADB60101");
  212. ]]>
  213. </script>
  214. </button>
  215. <button id="button11" class="btn_sw" group="tab" style="left:300px; top:110px; width:30px; height:22px; ">
  216. <caption>J</caption>
  217. <script type="javascript" ev:event="DOMActivate">
  218. <![CDATA[
  219. model.setValue("/root/send/srchcnts","");
  220. model.setValue("/root/send/srchdrugcd","J%");
  221. submit("TRADB60101");
  222. ]]>
  223. </script>
  224. </button>
  225. <button id="button12" class="btn_sw" group="tab" style="left:330px; top:110px; width:30px; height:22px; ">
  226. <caption>K</caption>
  227. <script type="javascript" ev:event="DOMActivate">
  228. <![CDATA[
  229. model.setValue("/root/send/srchcnts","");
  230. model.setValue("/root/send/srchdrugcd","K%");
  231. submit("TRADB60101");
  232. ]]>
  233. </script>
  234. </button>
  235. <button id="button13" class="btn_sw" group="tab" style="left:360px; top:110px; width:30px; height:22px; ">
  236. <caption>L</caption>
  237. <script type="javascript" ev:event="DOMActivate">
  238. <![CDATA[
  239. model.setValue("/root/send/srchcnts","");
  240. model.setValue("/root/send/srchdrugcd","L%");
  241. submit("TRADB60101");
  242. ]]>
  243. </script>
  244. </button>
  245. <button id="button14" class="btn_sw" group="tab" style="left:390px; top:110px; width:30px; height:22px; ">
  246. <caption>M</caption>
  247. <script type="javascript" ev:event="DOMActivate">
  248. <![CDATA[
  249. model.setValue("/root/send/srchcnts","");
  250. model.setValue("/root/send/srchdrugcd","M%");
  251. submit("TRADB60101");
  252. ]]>
  253. </script>
  254. </button>
  255. <button id="button15" class="btn_sw" group="tab" selected="false" style="left:420px; top:110px; width:30px; height:22px; ">
  256. <caption>N</caption>
  257. <script type="javascript" ev:event="DOMActivate">
  258. <![CDATA[
  259. model.setValue("/root/send/srchcnts","");
  260. model.setValue("/root/send/srchdrugcd","N%");
  261. submit("TRADB60101");
  262. ]]>
  263. </script>
  264. </button>
  265. <button id="button16" class="btn_sw" group="tab" selected="false" style="left:450px; top:110px; width:30px; height:22px; ">
  266. <caption>O</caption>
  267. <script type="javascript" ev:event="DOMActivate">
  268. <![CDATA[
  269. model.setValue("/root/send/srchcnts","");
  270. model.setValue("/root/send/srchdrugcd","O%");
  271. submit("TRADB60101");
  272. ]]>
  273. </script>
  274. </button>
  275. <button id="button17" class="btn_sw" group="tab" selected="false" style="left:480px; top:110px; width:30px; height:22px; ">
  276. <caption>P</caption>
  277. <script type="javascript" ev:event="DOMActivate">
  278. <![CDATA[
  279. model.setValue("/root/send/srchcnts","");
  280. model.setValue("/root/send/srchdrugcd","P%");
  281. submit("TRADB60101");
  282. ]]>
  283. </script>
  284. </button>
  285. <button id="button18" class="btn_sw" group="tab" selected="false" style="left:510px; top:110px; width:30px; height:22px; ">
  286. <caption>Q</caption>
  287. <script type="javascript" ev:event="DOMActivate">
  288. <![CDATA[
  289. model.setValue("/root/send/srchcnts","");
  290. model.setValue("/root/send/srchdrugcd","Q%");
  291. submit("TRADB60101");
  292. ]]>
  293. </script>
  294. </button>
  295. <button id="button19" class="btn_sw" group="tab" selected="false" style="left:540px; top:110px; width:30px; height:22px; ">
  296. <caption>R</caption>
  297. <script type="javascript" ev:event="DOMActivate">
  298. <![CDATA[
  299. model.setValue("/root/send/srchcnts","");
  300. model.setValue("/root/send/srchdrugcd","R%");
  301. submit("TRADB60101");
  302. ]]>
  303. </script>
  304. </button>
  305. <button id="button20" class="btn_sw" group="tab" selected="false" style="left:570px; top:110px; width:30px; height:22px; ">
  306. <caption>S</caption>
  307. <script type="javascript" ev:event="DOMActivate">
  308. <![CDATA[
  309. model.setValue("/root/send/srchcnts","");
  310. model.setValue("/root/send/srchdrugcd","S%");
  311. submit("TRADB60101");
  312. ]]>
  313. </script>
  314. </button>
  315. <button id="button21" class="btn_sw" group="tab" selected="false" style="left:600px; top:110px; width:30px; height:22px; ">
  316. <caption>T</caption>
  317. <script type="javascript" ev:event="DOMActivate">
  318. <![CDATA[
  319. model.setValue("/root/send/srchcnts","");
  320. model.setValue("/root/send/srchdrugcd","T%");
  321. submit("TRADB60101");
  322. ]]>
  323. </script>
  324. </button>
  325. <button id="button22" class="btn_sw" group="tab" selected="false" style="left:630px; top:110px; width:30px; height:22px; ">
  326. <caption>U</caption>
  327. <script type="javascript" ev:event="DOMActivate">
  328. <![CDATA[
  329. model.setValue("/root/send/srchcnts","");
  330. model.setValue("/root/send/srchdrugcd","U%");
  331. submit("TRADB60101");
  332. ]]>
  333. </script>
  334. </button>
  335. <button id="button23" class="btn_sw" group="tab" selected="false" style="left:660px; top:110px; width:30px; height:22px; ">
  336. <caption>V</caption>
  337. <script type="javascript" ev:event="DOMActivate">
  338. <![CDATA[
  339. model.setValue("/root/send/srchcnts","");
  340. model.setValue("/root/send/srchdrugcd","V%");
  341. submit("TRADB60101");
  342. ]]>
  343. </script>
  344. </button>
  345. <button id="button24" class="btn_sw" group="tab" selected="false" style="left:690px; top:110px; width:30px; height:22px; ">
  346. <caption>W</caption>
  347. <script type="javascript" ev:event="DOMActivate">
  348. <![CDATA[
  349. model.setValue("/root/send/srchcnts","");
  350. model.setValue("/root/send/srchdrugcd","W%");
  351. submit("TRADB60101");
  352. ]]>
  353. </script>
  354. </button>
  355. <button id="button25" class="btn_sw" group="tab" selected="false" style="left:720px; top:110px; width:30px; height:22px; ">
  356. <caption>X</caption>
  357. <script type="javascript" ev:event="DOMActivate">
  358. <![CDATA[
  359. model.setValue("/root/send/srchcnts","");
  360. model.setValue("/root/send/srchdrugcd","X%");
  361. submit("TRADB60101");
  362. ]]>
  363. </script>
  364. </button>
  365. <button id="button26" class="btn_sw" group="tab" style="left:750px; top:110px; width:30px; height:22px; ">
  366. <caption>Y</caption>
  367. <script type="javascript" ev:event="DOMActivate">
  368. <![CDATA[
  369. model.setValue("/root/send/srchcnts","");
  370. model.setValue("/root/send/srchdrugcd","Y%");
  371. submit("TRADB60101");
  372. ]]>
  373. </script>
  374. </button>
  375. <button id="button27" class="btn_sw" group="tab" selected="false" style="left:780px; top:110px; width:30px; height:22px; ">
  376. <caption>Z</caption>
  377. <script type="javascript" ev:event="DOMActivate">
  378. <![CDATA[
  379. model.setValue("/root/send/srchcnts","");
  380. model.setValue("/root/send/srchdrugcd","Z%");
  381. submit("TRADB60101");
  382. ]]>
  383. </script>
  384. </button>
  385. <caption id="caption7" class="tit_2" style="left:6px; top:89px; width:169px; height:13px; ">임상시험약품검색</caption>
  386. <line id="line1" class="line_1" style="x1:1px; y1:103px; x2:811px; y2:103px; "/>
  387. <switch id="switch1" style="left:0px; top:130px; width:810px; height:500px; border-color:#c7a3cf; border-style:solid; ">
  388. <case id="case1" selected="true">
  389. <datagrid id="grd_druglist1" nodeset="/root/main/druglist/item" autoresize="true" backcoloralternate="#f0f0f0" caption="약품코드^성분명^한글상품명^영문상품명^과제번호^시험책임자^의뢰자^임상단계^맹검구분^분류^효능^수가생성일^종결일" colsep="^" colwidth="90, 131, 183, 196, 62, 75, 62, 63, 66, 56, 52, 100, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="select" rowsep="|" style="left:0px; top:5px; width:805px; height:485px; ">
  390. <col ref="drugcd"/>
  391. <col ref="ordnm"/>
  392. <col ref="hngnm"/>
  393. <col ref="engnm"/>
  394. <col ref="subjid"/>
  395. <col ref="respstdynm"/>
  396. <col ref="reqnm"/>
  397. <col ref="clincflag"/>
  398. <col ref="blntestcls"/>
  399. <col ref="kindcls"/>
  400. <col ref="efcycd"/>
  401. <col ref="calcscorreqdt"/>
  402. <col ref="subjenddd"/>
  403. <script type="javascript" ev:event="ondblclick">
  404. <![CDATA[
  405. var receiveref = model.getValue("/root/temp/receivedata/receiveref");
  406. if ( checkOpener() ) {
  407. opener.model.setValue(receiveref, model.getValue("/root/main/druglist/item["+grd_druglist1.row+"]/drugcd"));
  408. //opener.model.makeNode (receiveref +"/ordnm");
  409. //opener.model.setValue(receiveref +"/ordnm", model.getValue("/root/main/druglist/item["+grd_druglist1.row+"]/ordnm"));
  410. opener.model.refresh();
  411. window.close();
  412. } else {
  413. alert("상위화면이 변경되어 데이터를 전달할 수 없습니다.");
  414. }
  415. ]]>
  416. </script>
  417. </datagrid>
  418. </case>
  419. <case id="case2">
  420. <datagrid id="grd_comlist" nodeset="/root/main/comlist/item" autoresize="true" caption="코드^명 칭^레벨" colsep="^" colwidth="0, 216, 0" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="select" rowsep="|" style="left:5px; top:5px; width:240px; height:490px; ">
  421. <col ref="comcd"/>
  422. <col ref="comnm"/>
  423. <col ref="comlevel"/>
  424. <script type="javascript" ev:event="ondblclick">
  425. <![CDATA[
  426. model.setValue("/root/send/srchetcflag","C");
  427. model.setValue("/root/send/srchcomcd",model.getValue("/root/main/comlist/item[" + grd_comlist.row +"]/comcd"));
  428. submit("TRADB60101");
  429. ]]>
  430. </script>
  431. </datagrid>
  432. <datagrid id="grd_druglist2" nodeset="/root/main/druglist/item" autoresize="true" backcoloralternate="#e0e0e0" caption="약품코드^처방명칭^^" colsep="^" colwidth="100, 421, 14, 9" explorerbar="sortshow" extendlastcol="scroll" focuscolor="#c0c0c0" mergecellsfixedrows="bycolrec" rowheader="select" rowsep="|" style="left:250px; top:5px; width:550px; height:490px; ">
  433. <col ref="drugcd"/>
  434. <col ref="ordnm"/>
  435. <col ref="hngnm"/>
  436. <col ref="druginfo"/>
  437. <script type="javascript" ev:event="ondblclick">
  438. <![CDATA[
  439. var receiveref = model.getValue("/root/temp/receivedata/receiveref");
  440. if ( checkOpener() ) {
  441. opener.model.setValue(receiveref, model.getValue("/root/main/druglist/item["+grd_druglist2.row+"]/drugcd"));
  442. //opener.model.makeNode (receiveref +"/ordnm");
  443. //opener.model.setValue(receiveref +"/ordnm", model.getValue("/root/main/druglist/item["+grd_druglist1.row+"]/ordnm"));
  444. opener.model.refresh();
  445. window.close();
  446. } else {
  447. alert("상위화면이 변경되어 데이터를 전달할 수 없습니다.");
  448. }
  449. ]]>
  450. </script>
  451. </datagrid>
  452. </case>
  453. <case id="case3">
  454. <datagrid id="grd_efcylist" nodeset="/root/main/efcylist/item" caption="코드^효능명칭^레벨" colsep="^" colwidth="0, 212, 0" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:5px; width:240px; height:490px; ">
  455. <col ref="efcycd"/>
  456. <col ref="efcynm"/>
  457. <col ref="efcylevel" visibility="hidden"/>
  458. <script type="javascript" ev:event="ondblclick">
  459. <![CDATA[
  460. model.setValue("/root/send/srchetcflag","E");
  461. model.setValue("/root/send/srchefcy",model.getValue("/root/main/efcylist/item[" + grd_efcylist.row +"]/efcycd"));
  462. submit("TRADB60101");
  463. ]]>
  464. </script>
  465. </datagrid>
  466. <datagrid id="grd_druglist3" nodeset="/root/main/druglist/item" autoresize="true" backcoloralternate="#e0e0e0" caption="약품코드^처방명칭^^" colsep="^" colwidth="100, 421, 14, 9" explorerbar="sortshow" extendlastcol="scroll" focuscolor="#c0c0c0" mergecellsfixedrows="bycolrec" rowheader="select" rowsep="|" style="left:250px; top:5px; width:550px; height:490px; ">
  467. <col ref="drugcd"/>
  468. <col ref="ordnm"/>
  469. <col ref="hngnm"/>
  470. <col ref="druginfo"/>
  471. <script type="javascript" ev:event="ondblclick">
  472. <![CDATA[
  473. var receiveref = model.getValue("/root/temp/receivedata/receiveref");
  474. if ( checkOpener() ) {
  475. opener.model.setValue(receiveref, model.getValue("/root/main/druglist/item["+grd_druglist3.row+"]/drugcd"));
  476. //opener.model.makeNode (receiveref +"/ordnm");
  477. //opener.model.setValue(receiveref +"/ordnm", model.getValue("/root/main/druglist/item["+grd_druglist1.row+"]/ordnm"));
  478. opener.model.refresh();
  479. window.close();
  480. } else {
  481. alert("상위화면이 변경되어 데이터를 전달할 수 없습니다.");
  482. }
  483. ]]>
  484. </script>
  485. </datagrid>
  486. </case>
  487. </switch>
  488. <select1 id="radio2" ref="/root/send/srchcls" class="radio_search" appearance="full" cols="5" rows="1" overflow="visible" style="left:100px; top:10px; width:240px; height:20px; border-style:none; ">
  489. <choices>
  490. <item>
  491. <label>코드별</label>
  492. <value>1</value>
  493. </item>
  494. <item>
  495. <label>성분별</label>
  496. <value>2</value>
  497. </item>
  498. <item>
  499. <label>효능별</label>
  500. <value>3</value>
  501. </item>
  502. <item>
  503. <label>상품명별</label>
  504. <value>4</value>
  505. </item>
  506. </choices>
  507. <script type="javascript" ev:event="xforms-value-changed">
  508. <![CDATA[
  509. if ( model.getValue("/root/send/srchcls") == "2") {
  510. model.toggle("case2");
  511. if ( grd_comlist.rows < 3 ) {
  512. submit("TRADB60102");
  513. setTree(grd_comlist, grd_comlist.colRef("comlevel"),grd_comlist.colRef("comnm"), true );
  514. }
  515. } else if ( model.getValue("/root/send/srchcls") == "3") {
  516. model.toggle("case3");
  517. if ( grd_efcylist.rows<3 ) {
  518. submit("TRADB60103");
  519. setTree(grd_efcylist, grd_efcylist.colRef("efcylevel"),grd_efcylist.colRef("efcynm"), true );
  520. }
  521. }else {
  522. model.setValue("/root/send/srchetcflag","A");
  523. model.toggle("case1");
  524. }
  525. ]]>
  526. </script>
  527. </select1>
  528. <select id="chk_drugkind" ref="/root/send/drugkind" class="checkbox_search" overflow="visible" appearance="full" cols="4" rows="1" style="left:100px; top:35px; width:135px; height:20px; border-style:none; ">
  529. <choices>
  530. <item>
  531. <label>내복</label>
  532. <value>N</value>
  533. </item>
  534. <item>
  535. <label>주사</label>
  536. <value>M</value>
  537. </item>
  538. <item>
  539. <label>외용</label>
  540. <value>Y</value>
  541. </item>
  542. </choices>
  543. </select>
  544. <line id="line3" class="line_2" style="x1:5px; y1:30px; x2:725px; y2:30px; "/>
  545. <line id="line2" class="line_2" style="x1:5px; y1:55px; x2:725px; y2:55px; "/>
  546. <input id="input1" ref="/root/send/srchcnts" class="input_search" style="left:605px; top:58px; width:135px; height:19px; ">
  547. <script type="javascript" ev:event="onkeyup">
  548. <![CDATA[
  549. if(event.keyCode == "13") {
  550. setInputNodeCurText();
  551. btn_sea.dispatch("DOMActivate")
  552. }
  553. ]]>
  554. </script>
  555. </input>
  556. <select1 id="combo1" ref="/root/send/srchflag" class="combo_search" appearance="minimal" style="left:525px; top:58px; width:75px; height:19px; ">
  557. <choices>
  558. <item>
  559. <label>코드명</label>
  560. <value>1</value>
  561. </item>
  562. <item>
  563. <label>성분명</label>
  564. <value>2</value>
  565. </item>
  566. <item>
  567. <label>상품명</label>
  568. <value>3</value>
  569. </item>
  570. <!-- <item>
  571. <label>의뢰자</label>
  572. <value>4</value>
  573. </item>
  574. <item>
  575. <label>시험책임자</label>
  576. <value>5</value>
  577. </item>
  578. <item>
  579. <label>과제번호</label>
  580. <value>6</value>
  581. </item>
  582. <item>
  583. <label>효능</label>
  584. <value>7</value>
  585. </item>
  586. <item>
  587. <label>진료과</label>
  588. <value>8</value>
  589. </item>-->
  590. </choices>
  591. </select1>
  592. <select1 id="combo2" class="combo_search" disabled="true" appearance="minimal" style="left:100px; top:58px; width:95px; height:19px; ">
  593. <choices>
  594. <item>
  595. <label>수가미등록</label>
  596. <value>1</value>
  597. </item>
  598. <item>
  599. <label>수가등록</label>
  600. <value>2</value>
  601. </item>
  602. <item>
  603. <label>수가종결</label>
  604. <value>3</value>
  605. </item>
  606. <item>
  607. <label>전체</label>
  608. <value>4</value>
  609. </item>
  610. </choices>
  611. </select1>
  612. <select1 id="combo3" ref="/root/send/blntestclsflag" class="combo_default" appearance="minimal" style="left:605px; top:35px; width:135px; height:19px; ">
  613. <choices>
  614. <item>
  615. <label/>
  616. <value/>
  617. </item>
  618. <item>
  619. <label>공개</label>
  620. <value>1</value>
  621. </item>
  622. <item>
  623. <label>미공개</label>
  624. <value>2</value>
  625. </item>
  626. <item>
  627. <label>단일맹검</label>
  628. <value>3</value>
  629. </item>
  630. <item>
  631. <label>이중맹검</label>
  632. <value>4</value>
  633. </item>
  634. <item>
  635. <label>처방의맹검</label>
  636. <value>5</value>
  637. </item>
  638. <item>
  639. <label>전체</label>
  640. <value>6</value>
  641. </item>
  642. </choices>
  643. </select1>
  644. <select1 id="radio1" ref="/root/send/seqflag" class="radio_search" appearance="full" cols="3" rows="1" overflow="visible" style="left:580px; top:10px; width:160px; height:20px; border-style:none; ">
  645. <choices>
  646. <item>
  647. <label>약품코드순</label>
  648. <value>1</value>
  649. </item>
  650. <item>
  651. <label>처방명칭순</label>
  652. <value>2</value>
  653. </item>
  654. </choices>
  655. </select1>
  656. <caption id="caption8" class="search_name" style="left:340px; top:10px; width:86px; height:17px; ">저장구분 :</caption>
  657. <select id="checkbox1" ref="/root/send/cnfmyn" class="checkbox_search" overflow="visible" appearance="full" cols="4" rows="1" sep="|" style="left:425px; top:10px; width:85px; height:20px; border-style:none; ">
  658. <choices>
  659. <item>
  660. <label>확정</label>
  661. <value>1</value>
  662. </item>
  663. <item>
  664. <label>임시</label>
  665. <value>2</value>
  666. </item>
  667. </choices>
  668. </select>
  669. <select1 id="combo4" ref="/root/send/srchclincflag" class="combo_default" appearance="minimal" style="left:375px; top:35px; width:135px; height:19px; ">
  670. <choices>
  671. <item>
  672. <label/>
  673. <value/>
  674. </item>
  675. <item>
  676. <label>허가1</label>
  677. <value>1</value>
  678. </item>
  679. <item>
  680. <label>허가2</label>
  681. <value>2</value>
  682. </item>
  683. <item>
  684. <label>허가3</label>
  685. <value>3</value>
  686. </item>
  687. <item>
  688. <label>연구용</label>
  689. <value>4</value>
  690. </item>
  691. <item>
  692. <label>전체</label>
  693. <value>5</value>
  694. </item>
  695. </choices>
  696. </select1>
  697. <caption id="caption9" class="search_name" style="left:285px; top:35px; width:86px; height:17px; ">임상단계 :</caption>
  698. <caption id="caption10" class="search_name" style="left:200px; top:60px; width:65px; height:17px; ">기간 :</caption>
  699. <input id="input5" class="input_search" disabled="true" inputtype="date" style="left:260px; top:58px; width:100px; height:19px; "/>
  700. <input id="input2" class="input_search" disabled="true" inputtype="date" style="left:363px; top:58px; width:100px; height:19px; "/>
  701. <button id="btn_sea" class="btn1_letter2" style="left:750px; top:30px; width:56px; height:22px; ">
  702. <caption>조회</caption>
  703. <script type="javascript" ev:event="DOMActivate">
  704. <![CDATA[
  705. //model.setValue("/root/send/srchdrugcd","XD%");
  706. model.setValue("/root/send/ctdrugyn","Y");
  707. if(model.getValue("/root/send/srchclincflag") == "" && model.getValue("/root/send/blntestclsflag") == "" ) {
  708. submit("TRADB60101");
  709. } else {
  710. submit("TRADB60104");
  711. }
  712. ]]>
  713. </script>
  714. </button>
  715. <button id="btn_cls" class="btn4_letter2" style="left:755px; top:635px; width:56px; height:22px; ">
  716. <caption>닫기</caption>
  717. <close ev:event="DOMActivate"/>
  718. </button>
  719. <select id="chk_drugkindall" ref="/root/send/drugkindall" class="checkbox_search" overflow="visible" appearance="full" cols="4" rows="1" style="left:240px; top:35px; width:50px; height:20px; border-style:none; ">
  720. <choices>
  721. <item>
  722. <label>전체</label>
  723. <value>4</value>
  724. </item>
  725. </choices>
  726. <script type="javascript" ev:event="xforms-value-changed">
  727. <![CDATA[
  728. if ((model.getValue("/root/send/drugkindall")).indexOf("4")>-1) { //전체가 선택됐을때 다른 체크도 모두 전체체크의 상태대로 셋팅
  729. model.setValue("/root/send/drugkind","N M Y");
  730. } else {
  731. model.setValue("/root/send/drugkind"," ");
  732. }
  733. model.refresh();
  734. ]]>
  735. </script>
  736. </select>
  737. </xhtml:body>
  738. </xhtml:html>