SPABO61300_BMT환자검색.xrw 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  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>BMT 환자검색</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <hsctlist>
  11. <item>
  12. <pid/>
  13. <hngnm/>
  14. <rrgstno1/>
  15. <rrgstno2/>
  16. <cntctel/>
  17. <mpphontel/>
  18. <trnptdg/>
  19. <srchreqdg/>
  20. <cibmtrid/>
  21. <dnorid/>
  22. <dnornm/>
  23. <dnorrrgstno1/>
  24. <dnorrrgstno2/>
  25. <sex/>
  26. <age/>
  27. <diagcd1/>
  28. <trnptkind/>
  29. <insuaprvdd/>
  30. </item>
  31. </hsctlist>
  32. </main>
  33. <send>
  34. <srchdata>
  35. <patflag>1</patflag>
  36. <srchflag>2</srchflag>
  37. <srchcnts/>
  38. <srchcnts2/>
  39. </srchdata>
  40. </send>
  41. <init/>
  42. <hidden/>
  43. <temp/>
  44. </root>
  45. </instance>
  46. <submission id="TRABO61301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchdata" replace="instance" resultref="/root/main/hsctlist"/>
  47. <script type="javascript" ev:event="xforms-ready">
  48. <![CDATA[
  49. ]]>
  50. </script>
  51. </model>
  52. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  53. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  54. </xhtml:head>
  55. <xhtml:body pagewidth="930" pageheight="485" guideline="1,1194;1,923;2,488;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  56. <group id="group3" scroll="auto" style="left:0px; top:0px; width:910px; height:450px; ">
  57. <caption id="caption1" class="tit_2" style="left:5px; top:76px; width:165px; height:13px; ">BMT 환자검색</caption>
  58. <line id="line1" class="line_1" style="x1:0px; y1:91px; x2:910px; y2:91px; "/>
  59. <datagrid id="grd_hsctlist" nodeset="/root/main/hsctlist/item" caption="BMT 환자^BMT 환자^BMT 환자^BMT 환자^BMT 환자^BMT 환자^BMT 환자^BMT 환자^BMT 환자^공여자^공여자^공여자^공여자^caption3^caption4^caption5^caption6^caption1^caption2|등록번호^성명^주민번호^주민번호^연락처^H.P.^이식차수^검색차수^CIBMTR ID^공여자ID^성명^주민번호^주민번호^caption3^caption4^caption5^caption6^caption1^caption2" colsep="^" colwidth="70, 70, 54, 59, 93, 95, 54, 54, 73, 70, 54, 73, 73, 0, 0, 0, 0, 0" dataheight="25" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" style="left:0px; top:96px; width:910px; height:349px; ">
  60. <col ref="pid" style="text-align:center; "/>
  61. <col ref="hngnm" style="text-align:center; "/>
  62. <col ref="rrgstno1" style="text-align:center; "/>
  63. <col ref="rrgstno2" style="text-align:center; "/>
  64. <col ref="cntctel" style="text-align:center; "/>
  65. <col ref="mpphontel" style="text-align:center; "/>
  66. <col ref="trnptdg" style="text-align:center; "/>
  67. <col ref="srchreqdg" style="text-align:center; "/>
  68. <col ref="cibmtrid" style="text-align:center; "/>
  69. <col ref="dnorid" style="text-align:center; "/>
  70. <col ref="dnornm" style="text-align:center; "/>
  71. <col ref="dnorrrgstno1" style="text-align:center; "/>
  72. <col ref="dnorrrgstno2" visibility="visible" style="text-align:center; "/>
  73. <col ref="sex"/>
  74. <col ref="age" visibility="hidden"/>
  75. <col ref="diagcd1" visibility="hidden"/>
  76. <col ref="trnptkind" visibility="hidden"/>
  77. <col ref="insuaprvdd" visibility="hidden"/>
  78. <script type="javascript" ev:event="onaftersort">
  79. <![CDATA[
  80. grd_hsctlist.gridToInstance();
  81. ]]>
  82. </script>
  83. <script type="javascript" ev:event="ondblclick">
  84. <![CDATA[
  85. if ( (grd_hsctlist.row >= grd_hsctlist.fixedRows) && (grd_hsctlist.isCell(event.target))) {
  86. if(grd_hsctlist.row > 1){
  87. opener.model.setValue("/root/main/popupendflag", "cancel");
  88. if ( checkOpener() ) {
  89. opener.model.copyNode("/root/temp/bmtpatientinfo", grd_hsctlist.getNode( grd_hsctlist.row ));
  90. opener.model.makeNode("/root/main/popupendflag");
  91. opener.model.setValue("/root/main/popupendflag", "ok");
  92. opener.model.refresh();
  93. window.close();
  94. } else {
  95. alert("상위화면이 변경되어 데이터를 전달할 수 없습니다.");
  96. }
  97. }
  98. }
  99. ]]>
  100. </script>
  101. </datagrid>
  102. <group id="grp_sea" style="left:0px; top:0px; width:910px; height:61px; vertical-align:top; ">
  103. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:910px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
  104. <caption id="caption2" class="search_name" style="left:15px; top:8px; width:86px; height:17px; ">검색조건 :</caption>
  105. <line id="line13" class="line_4" style="x1:809px; y1:7px; x2:809px; y2:51px; border-color:#ffe4bb; border-left-style:solid; "/>
  106. <select1 id="radio2" ref="/root/send/srchdata/srchflag" class="radio_search" appearance="full" cols="3" rows="2" overflow="visible" style="left:220px; top:10px; width:220px; height:35px; border-style:none; ">
  107. <choices>
  108. <item>
  109. <label>등록번호</label>
  110. <value>1</value>
  111. </item>
  112. <item>
  113. <label>성명</label>
  114. <value>2</value>
  115. </item>
  116. <item>
  117. <label>주민번호</label>
  118. <value>3</value>
  119. </item>
  120. <item>
  121. <label>검색차수</label>
  122. <value>4</value>
  123. </item>
  124. <item>
  125. <label>CIBMTR ID</label>
  126. <value>5</value>
  127. </item>
  128. </choices>
  129. <script type="javascript" ev:event="xforms-value-changed">
  130. <![CDATA[
  131. model.setFocus("ipt_srchcnts");
  132. ]]>
  133. </script>
  134. </select1>
  135. <button id="btn_sea" class="btn1_letter2" style="left:835px; top:20px; width:56px; height:22px; ">
  136. <caption>조회</caption>
  137. <script type="javascript" ev:event="DOMActivate">
  138. <![CDATA[
  139. model.removeNodeset("/root/main/hsctlist/item");
  140. submit("TRABO61301");
  141. grd_hsctlist.colStyle(9, "data", "background-color") = "#FFE4E1";
  142. grd_hsctlist.colStyle(10, "data", "background-color") = "#FFE4E1";
  143. grd_hsctlist.colStyle(11, "data", "background-color") = "#FFE4E1";
  144. grd_hsctlist.colStyle(12, "data", "background-color") = "#FFE4E1";
  145. ]]>
  146. </script>
  147. </button>
  148. <select1 id="cmb_srchflag" ref="/root/send/srchdata/patflag" class="combo_search" appearance="minimal" style="left:105px; top:8px; width:105px; height:19px; ">
  149. <choices>
  150. <item>
  151. <label>BMT환자</label>
  152. <value>1</value>
  153. </item>
  154. <item>
  155. <label>공여자</label>
  156. <value>2</value>
  157. </item>
  158. </choices>
  159. </select1>
  160. <input id="input1" ref="/root/send/srchdata/srchcnts2" class="input_search" navindex="2" visibility="hidden" style="left:547px; top:8px; width:100px; height:19px; ">
  161. <script type="javascript" ev:event="onkeyup">
  162. <![CDATA[
  163. inputEnterKey("btn_sea", "DOMActivate");
  164. ]]>
  165. </script>
  166. </input>
  167. <input id="ipt_srchcnts" ref="/root/send/srchdata/srchcnts" class="input_search" navindex="1" style="left:445px; top:8px; width:100px; height:19px; ">
  168. <script type="javascript" ev:event="onkeyup">
  169. <![CDATA[
  170. inputEnterKey("btn_sea", "DOMActivate");
  171. ]]>
  172. </script>
  173. </input>
  174. </group>
  175. </group>
  176. <group id="group1" scroll="auto" style="left:0px; top:451px; width:910px; height:27px; ">
  177. <button id="btn_cfm" class="btn4_letter2" style="left:792px; top:5px; width:56px; height:22px; ">
  178. <caption>확인</caption>
  179. <script type="javascript" ev:event="DOMActivate">
  180. <![CDATA[
  181. opener.model.setValue("/root/main/popupendflag", "cancel");
  182. if ( checkOpener() ) {
  183. opener.model.copyNode("/root/temp/bmtpatientinfo", grd_hsctlist.getNode( grd_hsctlist.row ));
  184. opener.model.makeNode("/root/main/popupendflag");
  185. opener.model.setValue("/root/main/popupendflag", "ok");
  186. opener.model.refresh();
  187. window.close();
  188. } else {
  189. alert("상위화면이 변경되어 데이터를 전달할 수 없습니다.");
  190. }
  191. ]]>
  192. </script>
  193. </button>
  194. <button id="btn_can" class="btn4_letter2" style="left:851px; top:5px; width:56px; height:22px; ">
  195. <caption>취소</caption>
  196. <script type="javascript" ev:event="DOMActivate">
  197. <![CDATA[
  198. ]]>
  199. </script>
  200. </button>
  201. </group>
  202. </xhtml:body>
  203. </xhtml:html>