SMLBP00510_환자별반환내역조회.xfdl 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMLBP00510" position="absolute 0 0 1237 783" titletext="환자별수혈내역조회" oninit="SMLBP00510_oninit" onload="SMLBP00510_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 0 1195 13" id="group1"/>
  8. <Div position="absolute 0 24 1206 750" id="group3" scrollbars="autoboth" anchor="all">
  9. <Layouts>
  10. <Layout>
  11. <Static text="수혈반환목록 목록" position="absolute 3 75 148 90" id="caption1" class="tit_2" anchor="left top"/>
  12. <Shape position="absolute -1 92 1193 98" linetype="horizontal" id="line1" class="line_1" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
  13. <Button position="absolute 1138 68 1194 89" id="btn_excel" class="btn7" text="엑셀" anchor="top right" onclick="group3_btn_excel_onclick"/>
  14. <Div position="absolute 0 1 1195 61" id="grp_ref" class="div_SA" anchor="left top right">
  15. <Layouts>
  16. <Layout>
  17. <Shape position="absolute 627 8 633 52" linetype="vertical" id="line2" class="line_4" anchor="left top"/>
  18. <Static text="등록번호 :" position="absolute 395 21 470 38" id="caption4" class="search_name" anchor="left top"/>
  19. <Static text="실시일자 :" position="absolute 20 22 97 39" id="caption11" class="search_name" anchor="left top"/>
  20. <Calendar position="absolute 109 21 209 40" id="input7" class="input_s_essential" anchor="left top"/>
  21. <Calendar position="absolute 230 21 330 40" id="input8" class="input_s_essential" anchor="left top" onkeyup="group3_grp_ref_input8_onkeyup"/>
  22. <Static text="~" position="absolute 215 25 230 42" align="align:center middle;" id="caption12" class="search_no_b" anchor="left top"/>
  23. <Button position="absolute 655 20 711 42" id="btn_ref" class="btn1" text="조회" anchor="left top" onclick="group3_grp_ref_btn_ref_onclick"/>
  24. <Edit position="absolute 487 19 587 38" id="ipt_pid" class="input_s_essential" anchor="left top" onkeyup="group3_grp_ref_ipt_pid_onkeyup"/>
  25. </Layout>
  26. </Layouts>
  27. </Div>
  28. <Grid position="absolute 0 96 1193 708" id="grd_tnslist" class="datagrid2" binddataset="ds_grd_tnslist" anchor="all" autosizemergetype="nomerge" autosizingtype="none" autofittype="col">
  29. <Formats>
  30. <Format id="default">
  31. <Columns>
  32. <Column size="30"/>
  33. <Column size="129"/>
  34. <Column size="151"/>
  35. <Column size="149"/>
  36. <Column size="123"/>
  37. <Column size="198"/>
  38. <Column size="124"/>
  39. <Column size="144"/>
  40. <Column size="142"/>
  41. </Columns>
  42. <Rows>
  43. <Row size="24" band="head"/>
  44. <Row size="24"/>
  45. </Rows>
  46. <Band id="head">
  47. <Cell/>
  48. <Cell col="1" text="혈액번호"/>
  49. <Cell col="2" text="차트번호"/>
  50. <Cell col="3" text="성명"/>
  51. <Cell col="4" text="혈액형"/>
  52. <Cell col="5" text="성분명"/>
  53. <Cell col="6" text="성분제제"/>
  54. <Cell col="7" text="실시일"/>
  55. <Cell col="8" text="출고일"/>
  56. </Band>
  57. <Band id="body">
  58. <Cell expr="expr:currow + 1"/>
  59. <Cell col="1" text="bind:blodno"/>
  60. <Cell col="2" text="bind:pid"/>
  61. <Cell col="3" text="bind:patnm"/>
  62. <Cell col="4" text="bind:btype"/>
  63. <Cell col="5" text="bind:blodcomnm"/>
  64. <Cell col="6" text="bind:blodcomcd"/>
  65. <Cell col="7" text="bind:execdt"/>
  66. <Cell col="8" text="bind:lastupdtdt"/>
  67. </Band>
  68. </Format>
  69. </Formats>
  70. </Grid>
  71. </Layout>
  72. </Layouts>
  73. </Div>
  74. <Button id="btn_reset" taborder="1" text="초기화" class="btn4" position="absolute 1125 2 1193 24" anchor="top right" onclick="btn_reset_onclick"/>
  75. <Static id="caption6" text="수혈 반환내역조회" class="tit_1" position="absolute 0 0 141 25" anchor="left top"/>
  76. </Layout>
  77. </Layouts>
  78. <Objects>
  79. <Dataset id="ds_grd_tnslist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  80. <ColumnInfo>
  81. <Column id="blodno" type="STRING"/>
  82. <Column id="pid" type="STRING"/>
  83. <Column id="patnm" type="STRING"/>
  84. <Column id="btype" type="STRING"/>
  85. <Column id="blodcomnm" type="STRING"/>
  86. <Column id="blodcomcd" type="STRING"/>
  87. <Column id="execdt" type="STRING"/>
  88. <Column id="lastupdtdt" type="STRING"/>
  89. </ColumnInfo>
  90. </Dataset>
  91. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  92. <ColumnInfo>
  93. <Column id="pid" type="STRING" size="256"/>
  94. <Column id="hopefromdd" type="STRING" size="256"/>
  95. <Column id="hopetodd" type="STRING" size="256"/>
  96. <Column id="tnsflag" type="STRING" size="256"/>
  97. <Column id="tnsstat" type="STRING" size="256"/>
  98. </ColumnInfo>
  99. <Rows>
  100. <Row/>
  101. </Rows>
  102. </Dataset>
  103. <Dataset id="ds_hidden_ref" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  104. <ColumnInfo>
  105. <Column id="pid" type="STRING" size="256"/>
  106. <Column id="hopefromdd" type="STRING" size="256"/>
  107. <Column id="hopetodd" type="STRING" size="256"/>
  108. <Column id="tnsflag" type="STRING" size="256"/>
  109. <Column id="tnsstat" type="STRING" size="256"/>
  110. </ColumnInfo>
  111. <Rows>
  112. <Row>
  113. <Col id="tnsflag">0</Col>
  114. </Row>
  115. </Rows>
  116. </Dataset>
  117. </Objects>
  118. <Bind>
  119. <BindItem id="item0" compid="group3.grp_ref.input7" propid="value" datasetid="ds_hidden_ref" columnid="hopefromdd"/>
  120. <BindItem id="item1" compid="group3.grp_ref.input8" propid="value" datasetid="ds_hidden_ref" columnid="hopetodd"/>
  121. <BindItem id="item2" compid="group3.grp_ref.ipt_pid" propid="value" datasetid="ds_hidden_ref" columnid="pid"/>
  122. </Bind>
  123. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  124. * System Name :
  125. * Job Name :
  126. * Creator :
  127. * Make Date : 2015-05-01
  128. * Description :
  129. *---------------------------------------------------------------------------------------
  130. * Modify Date Modifier Modify Description
  131. *---------------------------------------------------------------------------------------
  132. * 2015-05-01 Live Converter TF->XP
  133. *
  134. *---------------------------------------------------------------------------------------
  135. ****************************************************************************************/
  136. include "com_commonxp::comm_main.xjs";
  137. include "lis_commonxp::LLZ001.xjs";
  138. function SMLBP00510_oninit(obj:Form, e:InitEventInfo)
  139. {
  140. //폼 초기화 함수
  141. frmf_initForm(obj);
  142. }
  143. function SMLBP00510_onload(obj:Form, e:LoadEventInfo)
  144. {
  145. grdf_initGrid(group3.grd_tnslist);
  146. group3.grp_ref.input7.value = utlf_getCurrentDate();
  147. group3.grp_ref.input8.value = utlf_getCurrentDate();
  148. }
  149. //조회
  150. function fGetTnsReqList()
  151. {
  152. ds_send.setColumn(0, "pid", group3.grp_ref.ipt_pid.value);
  153. ds_send.setColumn(0, "hopefromdd", ds_hidden_ref.getColumn(0, "hopefromdd"));
  154. ds_send.setColumn(0, "hopetodd", ds_hidden_ref.getColumn(0, "hopetodd"));
  155. ds_send.setColumn(0, "tnsflag", ds_hidden_ref.getColumn(0, "tnsflag"));
  156. var oParam = {};
  157. oParam.id = "TRLBP00502";
  158. oParam.service = "refprintmngtapp.BloodBankRefPrintMngt";
  159. oParam.method = "reqGetTnsRetList";
  160. oParam.inds = "cond=ds_send";
  161. oParam.outds = "ds_grd_tnslist=getTnsReqList";
  162. oParam.async = false;
  163. //oParam.callback = "cf_TRLBP00502";
  164. tranf_submit(oParam);
  165. }
  166. function group3_grp_ref_input8_onkeyup(obj:Calendar, e:KeyEventInfo)
  167. {
  168. if(e.keycode == 13)
  169. {
  170. fGetTnsReqList();
  171. }
  172. }
  173. function group3_grp_ref_btn_ref_onclick(obj:Button, e:ClickEventInfo)
  174. {
  175. fGetTnsReqList();
  176. }
  177. function group3_grp_ref_ipt_pid_onkeyup(obj:Edit, e:KeyEventInfo)
  178. {
  179. if(e.keycode == 13)
  180. {
  181. fGetTnsReqList();
  182. }
  183. }
  184. //초기화
  185. function btn_reset_onclick(obj:Button, e:ClickEventInfo)
  186. {
  187. this.reload();
  188. }
  189. //엑셀저장
  190. function group3_btn_excel_onclick(obj:Button, e:ClickEventInfo)
  191. {
  192. grdf_exportExcel(group3.grd_tnslist, lf_lisGetTitle(this), "see");
  193. }
  194. ]]></Script>
  195. </Form>
  196. </FDL>