SPABO61900_HLA검사결과조회.xrw 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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>HLA 검사결과조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <hlaresult>
  11. <item>
  12. <patnm/>
  13. <dnorinfo/>
  14. <dnorno/>
  15. <resultdd/>
  16. <a1/>
  17. <a2/>
  18. <b1/>
  19. <b2/>
  20. <cw1/>
  21. <cw2/>
  22. <drb11/>
  23. <drb12/>
  24. <dp1/>
  25. <dp2/>
  26. <dq1/>
  27. <dq2/>
  28. </item>
  29. </hlaresult>
  30. </main>
  31. <send>
  32. <srchdata>
  33. <pid/>
  34. </srchdata>
  35. </send>
  36. <init/>
  37. <hidden/>
  38. <temp>
  39. <selectrow/>
  40. </temp>
  41. </root>
  42. </instance>
  43. <script type="javascript" ev:event="xforms-ready">
  44. <![CDATA[
  45. if ( checkOpener()) {
  46. var param = opener.javascript.getParameter("opener_parameter_id");
  47. if(param != "") // opener parameter value가 있는 경우
  48. {
  49. //parameter value를 이용하여 프로그램 수행
  50. condarray = param.split("▦");
  51. model.setValue("/root/send/srchdata/pid", condarray[0]);
  52. model.setValue("/root/temp/selectrow" , condarray[1]);
  53. btn_sea.dispatch("onclick");
  54. }
  55. }
  56. ]]>
  57. </script>
  58. <submission id="TRABO61901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchdata" replace="instance" resultref="/root/main/hlaresult"/>
  59. </model>
  60. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  61. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  62. </xhtml:head>
  63. <xhtml:body pagewidth="1100" pageheight="390" guideline="1,1194;2,479;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  64. <group id="group3" scroll="auto" style="left:0px; top:0px; width:1090px; height:340px; ">
  65. <group id="group2" style="left:0px; top:0px; width:1070px; height:35px; vertical-align:top; ">
  66. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1070px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  67. <caption id="caption2" class="search_name" style="left:15px; top:8px; width:86px; height:17px; ">등록번호 :</caption>
  68. <line id="line13" class="line_4" style="x1:984px; y1:7px; x2:984px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  69. <button id="btn_sea" class="btn1_letter2" style="left:1000px; top:7px; width:56px; height:22px; ">
  70. <caption>조회</caption>
  71. <script type="javascript" ev:event="DOMActivate">
  72. <![CDATA[
  73. submit("TRABO61901");
  74. ]]>
  75. </script>
  76. </button>
  77. <input id="ipt_ptno" ref="/root/send/srchdata/pid" class="input_s_essential" navindex="1" maxlength="10" style="left:105px; top:7px; width:95px; height:19px; "/>
  78. </group>
  79. <caption id="caption1" class="tit_2" style="left:5px; top:46px; width:165px; height:13px; ">HLA 검사결과</caption>
  80. <line id="line1" class="line_1" style="x1:0px; y1:61px; x2:1070px; y2:61px; "/>
  81. <datagrid id="grd_hlaresult" nodeset="/root/main/hlaresult/item" caption="환자명^공여자명^DnorNo^일자^A^A^B^B^CW^CW^DRB1^DRB1^DP^DP^DQ^DQ" colsep="^" colwidth="50, 110, 50, 89, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:66px; width:1070px; height:270px; ">
  82. <col ref="patnm" type="output"/>
  83. <col ref="dnorinfo" type="output"/>
  84. <col ref="dnorno" type="output"/>
  85. <col ref="resultdd" type="output" visibility="hidden"/>
  86. <col ref="a1" type="output"/>
  87. <col ref="a2" type="output"/>
  88. <col ref="b1" type="output"/>
  89. <col ref="b2" type="output"/>
  90. <col ref="cw1" type="output"/>
  91. <col ref="cw2" type="output"/>
  92. <col ref="drb11" type="output"/>
  93. <col ref="drb12" type="output"/>
  94. <col ref="dp1" type="output"/>
  95. <col ref="dp2" type="output"/>
  96. <col ref="dq1" type="output"/>
  97. <col ref="dq2" type="output"/>
  98. <script type="javascript" ev:event="ondblclick">
  99. <![CDATA[
  100. if ( checkOpener() ) {
  101. opener.model.setValue("/root/main/popupendflag", "cancel");
  102. var sselectrow = model.getValue("/root/temp/selectrow");
  103. opener.model.setValue("/root/main/trnptsrchinfo/srchdetlinfo[" + sselectrow + "]/a1" , model.getValue("/root/main/hlaresult/item[" + grd_hlaresult.row + "]/a1"));
  104. opener.model.setValue("/root/main/trnptsrchinfo/srchdetlinfo[" + sselectrow + "]/a2" , model.getValue("/root/main/hlaresult/item[" + grd_hlaresult.row + "]/a2"));
  105. opener.model.setValue("/root/main/trnptsrchinfo/srchdetlinfo[" + sselectrow + "]/b1" , model.getValue("/root/main/hlaresult/item[" + grd_hlaresult.row + "]/b1"));
  106. opener.model.setValue("/root/main/trnptsrchinfo/srchdetlinfo[" + sselectrow + "]/b2" , model.getValue("/root/main/hlaresult/item[" + grd_hlaresult.row + "]/b2"));
  107. opener.model.setValue("/root/main/trnptsrchinfo/srchdetlinfo[" + sselectrow + "]/cw1" , model.getValue("/root/main/hlaresult/item[" + grd_hlaresult.row + "]/cw1"));
  108. opener.model.setValue("/root/main/trnptsrchinfo/srchdetlinfo[" + sselectrow + "]/cw2" , model.getValue("/root/main/hlaresult/item[" + grd_hlaresult.row + "]/cw2"));
  109. opener.model.setValue("/root/main/trnptsrchinfo/srchdetlinfo[" + sselectrow + "]/drb11", model.getValue("/root/main/hlaresult/item[" + grd_hlaresult.row + "]/drb11"));
  110. opener.model.setValue("/root/main/trnptsrchinfo/srchdetlinfo[" + sselectrow + "]/drb12", model.getValue("/root/main/hlaresult/item[" + grd_hlaresult.row + "]/drb12"));
  111. //환자관리 화면에서 Related 공여자 지정시 사용함.
  112. if(model.getValue("/root/main/hlaresult/item[" + grd_hlaresult.row + "]/dnorno") != ""){
  113. opener.model.makeValue("/root/main/hsctinfo/dnorinfo/dnorid", model.getValue("/root/main/hlaresult/item[" + grd_hlaresult.row + "]/dnorno"));
  114. }
  115. opener.model.makeNode("/root/main/popupendflag");
  116. opener.model.setValue("/root/main/popupendflag", "ok");
  117. opener.model.refresh();
  118. window.close();
  119. } else {
  120. alert("상위화면이 변경되어 데이터를 전달할 수 없습니다.");
  121. }
  122. ]]>
  123. </script>
  124. </datagrid>
  125. </group>
  126. <group id="group1" scroll="auto" style="left:0px; top:341px; width:1085px; height:27px; ">
  127. <button id="btn_cfm" class="btn4_letter2" style="left:942px; top:5px; width:56px; height:22px; ">
  128. <caption>확인</caption>
  129. <script type="javascript" ev:event="DOMActivate">
  130. <![CDATA[
  131. if ( checkOpener() ) {
  132. opener.model.setValue("/root/main/popupendflag", "cancel");
  133. var sselectrow = model.getValue("/root/temp/selectrow");
  134. opener.model.setValue("/root/main/trnptsrchinfo/srchdetlinfo[" + sselectrow + "]/a1" , model.getValue("/root/main/hlaresult/item[" + grd_hlaresult.row + "]/a1"));
  135. opener.model.setValue("/root/main/trnptsrchinfo/srchdetlinfo[" + sselectrow + "]/a2" , model.getValue("/root/main/hlaresult/item[" + grd_hlaresult.row + "]/a2"));
  136. opener.model.setValue("/root/main/trnptsrchinfo/srchdetlinfo[" + sselectrow + "]/b1" , model.getValue("/root/main/hlaresult/item[" + grd_hlaresult.row + "]/b1"));
  137. opener.model.setValue("/root/main/trnptsrchinfo/srchdetlinfo[" + sselectrow + "]/b2" , model.getValue("/root/main/hlaresult/item[" + grd_hlaresult.row + "]/b2"));
  138. opener.model.setValue("/root/main/trnptsrchinfo/srchdetlinfo[" + sselectrow + "]/cw1" , model.getValue("/root/main/hlaresult/item[" + grd_hlaresult.row + "]/cw1"));
  139. opener.model.setValue("/root/main/trnptsrchinfo/srchdetlinfo[" + sselectrow + "]/cw2" , model.getValue("/root/main/hlaresult/item[" + grd_hlaresult.row + "]/cw2"));
  140. opener.model.setValue("/root/main/trnptsrchinfo/srchdetlinfo[" + sselectrow + "]/drb11", model.getValue("/root/main/hlaresult/item[" + grd_hlaresult.row + "]/drb11"));
  141. opener.model.setValue("/root/main/trnptsrchinfo/srchdetlinfo[" + sselectrow + "]/drb12", model.getValue("/root/main/hlaresult/item[" + grd_hlaresult.row + "]/drb12"));
  142. opener.model.setValue("/root/main/trnptsrchinfo/srchdetlinfo[" + sselectrow + "]/dnorno", model.getValue("/root/main/hlaresult/item[" + grd_hlaresult.row + "]/dnorno"));
  143. opener.model.makeNode("/root/main/popupendflag");
  144. opener.model.setValue("/root/main/popupendflag", "ok");
  145. opener.model.refresh();
  146. window.close();
  147. } else {
  148. alert("상위화면이 변경되어 데이터를 전달할 수 없습니다.");
  149. }
  150. ]]>
  151. </script>
  152. </button>
  153. <button id="btn_can" class="btn4_letter2" style="left:1001px; top:5px; width:56px; height:22px; ">
  154. <caption>취소</caption>
  155. <script type="javascript" ev:event="DOMActivate">
  156. <![CDATA[
  157. window.close();
  158. ]]>
  159. </script>
  160. </button>
  161. </group>
  162. </xhtml:body>
  163. </xhtml:html>