SPABO61900_HLA검사결과조회.xfdl 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPABO61900" position="absolute 0 0 1075 362" titletext="HLA 검사결과조회" oninit="SPABO61900_oninit" onload="SPABO61900_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group2" taborder="0" position="absolute 0 0 1070 35" anchor="left top right">
  8. <Layouts>
  9. <Layout>
  10. <Shape id="roundrect1" type="roundrectangle" position="absolute 0 0 1070 35" anchor="left top right"/>
  11. <Static id="caption2" text="등록번호 :" class="search_name" position="absolute 15 9 101 26"/>
  12. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 981 6 987 28" anchor="top right"/>
  13. <Button id="btn_sea" taborder="2" text="조회" class="btn1" position="absolute 1000 6 1056 28" anchor="top right" onclick="group2_btn_sea_onclick"/>
  14. <Edit id="ipt_ptno" taborder="3" class="input_s_essential" position="absolute 105 8 200 27"/>
  15. </Layout>
  16. </Layouts>
  17. </Div>
  18. <Static id="caption1" text="HLA 검사결과" class="tit_2" position="absolute 0 45 165 66"/>
  19. <Shape id="line1" class="line_10" position="absolute 0 61 1070 67" anchor="left top right"/>
  20. <Grid id="grd_hlaresult" taborder="1" binddataset="ds_main_hlaresult_item" useinputpanel="false" position="absolute 0 66 1070 336" anchor="all" cellsizingtype="col" oncelldblclick="grd_hlaresult_oncelldblclick">
  21. <Formats>
  22. <Format id="default">
  23. <Columns>
  24. <Column size="50"/>
  25. <Column size="110"/>
  26. <Column size="50"/>
  27. <Column size="0"/>
  28. <Column size="90"/>
  29. <Column size="90"/>
  30. <Column size="90"/>
  31. <Column size="90"/>
  32. <Column size="90"/>
  33. <Column size="90"/>
  34. <Column size="90"/>
  35. <Column size="90"/>
  36. <Column size="90"/>
  37. <Column size="90"/>
  38. <Column size="90"/>
  39. <Column size="90"/>
  40. </Columns>
  41. <Rows>
  42. <Row size="24" band="head"/>
  43. <Row size="24"/>
  44. </Rows>
  45. <Band id="head">
  46. <Cell text="환자명"/>
  47. <Cell col="1" text="공여자명"/>
  48. <Cell col="2" text="DnorNo"/>
  49. <Cell col="3" text="일자"/>
  50. <Cell col="4" colspan="2" text="A" taborder="undefined"/>
  51. <Cell col="6" colspan="2" text="B" taborder="undefined"/>
  52. <Cell col="8" colspan="2" text="CW" taborder="undefined"/>
  53. <Cell col="10" colspan="2" text="DRB1" taborder="undefined"/>
  54. <Cell col="12" colspan="2" text="DP" taborder="undefined"/>
  55. <Cell col="14" colspan="2" text="DQ" taborder="undefined"/>
  56. </Band>
  57. <Band id="body">
  58. <Cell edittype="none" text="bind:patnm"/>
  59. <Cell col="1" edittype="none" style="align:left;" text="bind:dnorinfo"/>
  60. <Cell col="2" edittype="none" style="align:left;" text="bind:dnorno"/>
  61. <Cell col="3" displaytype="none" edittype="none" text="bind:resultdd"/>
  62. <Cell col="4" edittype="none" style="align:left top;padding:4 2 2 2;" text="bind:a1" wordwrap="word"/>
  63. <Cell col="5" edittype="none" style="align:left top;padding:4 2 2 2;" text="bind:a2" wordwrap="word"/>
  64. <Cell col="6" edittype="none" style="align:left top;padding:4 2 2 2;" text="bind:b1" wordwrap="word"/>
  65. <Cell col="7" edittype="none" style="align:left top;padding:4 2 2 2;" text="bind:b2" wordwrap="word"/>
  66. <Cell col="8" edittype="none" style="align:left top;padding:4 2 2 2;" text="bind:cw1" wordwrap="word"/>
  67. <Cell col="9" edittype="none" style="align:left top;padding:4 2 2 2;" text="bind:cw2" wordwrap="word"/>
  68. <Cell col="10" edittype="none" style="align:left top;padding:4 2 2 2;" text="bind:drb11" wordwrap="word"/>
  69. <Cell col="11" edittype="none" style="align:left top;padding:4 2 2 2;" text="bind:drb12" wordwrap="word"/>
  70. <Cell col="12" edittype="none" style="align:left top;padding:4 2 2 2;" text="bind:dp1" wordwrap="word"/>
  71. <Cell col="13" edittype="none" style="align:left top;padding:4 2 2 2;" text="bind:dp2" wordwrap="word"/>
  72. <Cell col="14" edittype="none" style="align:left top;padding:4 2 2 2;" text="bind:dq1" wordwrap="word"/>
  73. <Cell col="15" edittype="none" style="align:left top;padding:4 2 2 2;" text="bind:dq2" wordwrap="word"/>
  74. </Band>
  75. </Format>
  76. </Formats>
  77. </Grid>
  78. <Button id="btn_cfm" taborder="2" text="확인" class="btn4" position="absolute 956 337 1012 359" anchor="right bottom" onclick="btn_cfm_onclick"/>
  79. <Button id="btn_can" taborder="3" text="취소" class="btn4" position="absolute 1013 337 1069 359" anchor="right bottom" onclick="btn_can_onclick"/>
  80. </Layout>
  81. </Layouts>
  82. <Objects>
  83. <Dataset id="ds_send_srchdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  84. <ColumnInfo>
  85. <Column id="pid" type="STRING" size="256"/>
  86. </ColumnInfo>
  87. <Rows>
  88. <Row/>
  89. </Rows>
  90. </Dataset>
  91. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  92. <Dataset id="ds_main_hlaresult_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  93. <ColumnInfo>
  94. <Column id="resultdd" type="STRING" size="256" sumtext="일자"/>
  95. <Column id="dnorno" type="STRING" size="256" sumtext="공여자id"/>
  96. <Column id="a1" type="STRING" size="256" sumtext="A1"/>
  97. <Column id="a2" type="STRING" size="256" sumtext="A2"/>
  98. <Column id="b1" type="STRING" size="256" sumtext="B1"/>
  99. <Column id="b2" type="STRING" size="256" sumtext="B2"/>
  100. <Column id="cw1" type="STRING" size="256" sumtext="CW1"/>
  101. <Column id="cw2" type="STRING" size="256" sumtext="CW2"/>
  102. <Column id="drb11" type="STRING" size="256" sumtext="DRB11"/>
  103. <Column id="drb12" type="STRING" size="256" sumtext="DRB12"/>
  104. <Column id="dq1" type="STRING" size="256" sumtext="DQ1"/>
  105. <Column id="dq2" type="STRING" size="256" sumtext="DQ2"/>
  106. <Column id="dp1" type="STRING" size="256" sumtext="DP1"/>
  107. <Column id="dp2" type="STRING" size="256" sumtext="DP2"/>
  108. <Column id="patnm" type="STRING" size="256" sumtext="환자"/>
  109. <Column id="dnorinfo" type="STRING" size="256" sumtext="공여자명"/>
  110. </ColumnInfo>
  111. </Dataset>
  112. </Objects>
  113. <Bind>
  114. <BindItem id="item0" compid="group2.ipt_ptno" propid="value" datasetid="ds_send_srchdata" columnid="pid"/>
  115. </Bind>
  116. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  117. * System Name :
  118. * Job Name :
  119. * Creator :
  120. * Make Date : 2015-11-13
  121. * Description :
  122. *---------------------------------------------------------------------------------------
  123. * Modify Date Modifier Modify Description
  124. *---------------------------------------------------------------------------------------
  125. * 2015-11-13 Live Converter TF->XP
  126. *
  127. *---------------------------------------------------------------------------------------
  128. ****************************************************************************************/
  129. include "com_commonxp::comm_main.xjs";
  130. include "ast_hsctxp::bmtcommon.xjs";
  131. function SPABO61900_oninit(obj:Form, e:InitEventInfo)
  132. {
  133. frmf_initForm(obj);
  134. }
  135. function SPABO61900_onload(obj:Form, e:LoadEventInfo)
  136. {
  137. grdf_initGrid(grd_hlaresult);
  138. if ( frmf_checkOpener())
  139. {
  140. var param = opener.frmf_getParameter("opener_parameter_id");
  141. if(!utlf_isNull(param))
  142. {
  143. condarray = param.split("▦");
  144. ds_send_srchdata.setColumn(0, "pid", condarray[0]);
  145. ds_temp.setColumn(0, "selectrow", condarray[1]);
  146. group2_btn_sea_onclick();
  147. }
  148. }
  149. }
  150. function group2_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  151. {
  152. var oParam = {};
  153. oParam.id = "TRABO61901";
  154. oParam.service = "hsctcoordinatorapp.DonorSearch";
  155. oParam.method = "reqGetHlaResult";
  156. oParam.inds = "req=ds_send_srchdata";
  157. oParam.outds = "ds_main_hlaresult_item=item";
  158. oParam.async = false;
  159. //oParam.callback = "cf_TRABO61901";
  160. tranf_submit(oParam);
  161. }
  162. function grd_hlaresult_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  163. {
  164. if (frmf_checkOpener())
  165. {
  166. opener.ds_main.setColumn(0, "popupendflag", "cancel");
  167. var sselectrow = ds_temp.getColumn(0, "selectrow");
  168. opener.ds_main_trnptsrchinfo_srchdetlinfo.setColumn(sselectrow, "a1", ds_main_hlaresult_item.getColumn(e.row, "a1"));
  169. opener.ds_main_trnptsrchinfo_srchdetlinfo.setColumn(sselectrow, "a2", ds_main_hlaresult_item.getColumn(e.row, "a2"));
  170. opener.ds_main_trnptsrchinfo_srchdetlinfo.setColumn(sselectrow, "b1", ds_main_hlaresult_item.getColumn(e.row, "b1"));
  171. opener.ds_main_trnptsrchinfo_srchdetlinfo.setColumn(sselectrow, "b2", ds_main_hlaresult_item.getColumn(e.row, "b2"));
  172. opener.ds_main_trnptsrchinfo_srchdetlinfo.setColumn(sselectrow, "cw1", ds_main_hlaresult_item.getColumn(e.row, "cw1"));
  173. opener.ds_main_trnptsrchinfo_srchdetlinfo.setColumn(sselectrow, "cw2", ds_main_hlaresult_item.getColumn(e.row, "cw2"));
  174. opener.ds_main_trnptsrchinfo_srchdetlinfo.setColumn(sselectrow, "drb11", ds_main_hlaresult_item.getColumn(e.row, "drb11"));
  175. opener.ds_main_trnptsrchinfo_srchdetlinfo.setColumn(sselectrow, "drb12", ds_main_hlaresult_item.getColumn(e.row, "drb12"));
  176. if(!utlf_isNull(ds_main_hlaresult_item.getColumn(ds_main_hlaresult_item.rowposition, "dnorno")))
  177. {
  178. opener.ds_main_hsctinfo_dnorinfo.setColumn(0, "dnorid", ds_main_hlaresult_item.getColumn(e.row, "dnorno"));
  179. }
  180. opener.ds_main.setColumn(0, "popupendflag", "ok");
  181. this.close();
  182. }
  183. else
  184. {
  185. alert("상위화면이 변경되어 데이터를 전달할 수 없습니다.");
  186. }
  187. }
  188. function btn_cfm_onclick(obj:Button, e:ClickEventInfo)
  189. {
  190. if (frmf_checkOpener())
  191. {
  192. opener.ds_main.setColumn(0, "popupendflag", "cancel");
  193. var sselectrow = ds_temp.getColumn(0, "selectrow");
  194. opener.ds_main_trnptsrchinfo_srchdetlinfo.setColumn(sselectrow, "a1", ds_main_hlaresult_item.getColumn(ds_main_hlaresult_item.rowposition, "a1"));
  195. opener.ds_main_trnptsrchinfo_srchdetlinfo.setColumn(sselectrow, "a2", ds_main_hlaresult_item.getColumn(ds_main_hlaresult_item.rowposition, "a2"));
  196. opener.ds_main_trnptsrchinfo_srchdetlinfo.setColumn(sselectrow, "b1", ds_main_hlaresult_item.getColumn(ds_main_hlaresult_item.rowposition, "b1"));
  197. opener.ds_main_trnptsrchinfo_srchdetlinfo.setColumn(sselectrow, "b2", ds_main_hlaresult_item.getColumn(ds_main_hlaresult_item.rowposition, "b2"));
  198. opener.ds_main_trnptsrchinfo_srchdetlinfo.setColumn(sselectrow, "cw1", ds_main_hlaresult_item.getColumn(ds_main_hlaresult_item.rowposition, "cw1"));
  199. opener.ds_main_trnptsrchinfo_srchdetlinfo.setColumn(sselectrow, "cw2", ds_main_hlaresult_item.getColumn(ds_main_hlaresult_item.rowposition, "cw2"));
  200. opener.ds_main_trnptsrchinfo_srchdetlinfo.setColumn(sselectrow, "drb11", ds_main_hlaresult_item.getColumn(ds_main_hlaresult_item.rowposition, "drb11"));
  201. opener.ds_main_trnptsrchinfo_srchdetlinfo.setColumn(sselectrow, "drb12", ds_main_hlaresult_item.getColumn(ds_main_hlaresult_item.rowposition, "drb12"));
  202. opener.ds_main_trnptsrchinfo_srchdetlinfo.setColumn(sselectrow, "dnorno", ds_main_hlaresult_item.getColumn(ds_main_hlaresult_item.rowposition, "dnorno"));
  203. opener.ds_main.setColumn(0, "popupendflag", "ok")
  204. this.close();
  205. }
  206. else
  207. {
  208. alert("상위화면이 변경되어 데이터를 전달할 수 없습니다.");
  209. }
  210. }
  211. function btn_can_onclick(obj:Button, e:ClickEventInfo)
  212. {
  213. this.close();
  214. }
  215. ]]></Script>
  216. </Form>
  217. </FDL>