SMLLJ00500_샘플뱅킹시스템.xfdl 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMLLJ00500" position="absolute 0 0 1193 747" titletext="샘플 뱅킹 시스템" oninit="SMLLJ00500_oninit" onload="SMLLJ00500_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="Div00" taborder="9" position="absolute 0 25 1191 71" class="div_SA" anchor="left top right">
  8. <Layouts>
  9. <Layout>
  10. <Static id="caption2" text="조회 구간 :" class="search_name" position="absolute 15 13 127 30" anchor="left top"/>
  11. <Calendar id="ipt_reqfromdd" taborder="1" class="input_default" position="absolute 130 12 230 31" anchor="left top"/>
  12. <Static id="caption5" text="~" class="search_no_b" position="absolute 233 14 245 31" anchor="left top"/>
  13. <Calendar id="ipt_reqtodd" taborder="2" class="input_default" position="absolute 249 12 349 31" anchor="left top"/>
  14. <Static id="caption1" text="조회 구분 :" class="search_name" position="absolute 802 13 914 30" anchor="top right"/>
  15. <Combo id="combo1" taborder="3" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 901 12 1001 31" anchor="top right">
  16. <Dataset id="innerdataset">
  17. <ColumnInfo>
  18. <Column id="codecolumn"/>
  19. <Column id="datacolumn"/>
  20. </ColumnInfo>
  21. <Rows>
  22. <Row>
  23. <Col id="codecolumn">1</Col>
  24. <Col id="datacolumn">바코드번호</Col>
  25. </Row>
  26. <Row>
  27. <Col id="codecolumn">2</Col>
  28. <Col id="datacolumn">등록번호</Col>
  29. </Row>
  30. <Row>
  31. <Col id="codecolumn">3</Col>
  32. <Col id="datacolumn">환자명</Col>
  33. </Row>
  34. <Row>
  35. <Col id="codecolumn">4</Col>
  36. <Col id="datacolumn">진료과</Col>
  37. </Row>
  38. <Row>
  39. <Col id="codecolumn">5</Col>
  40. <Col id="datacolumn">진료의</Col>
  41. </Row>
  42. <Row>
  43. <Col id="codecolumn">6</Col>
  44. <Col id="datacolumn">채혈일시</Col>
  45. </Row>
  46. <Row>
  47. <Col id="codecolumn">7</Col>
  48. <Col id="datacolumn">검체명</Col>
  49. </Row>
  50. </Rows>
  51. </Dataset>
  52. </Combo>
  53. <Edit id="input1" taborder="4" position="absolute 1003 12 1103 31" anchor="top right"/>
  54. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1109 11 1115 33" anchor="top right"/>
  55. <Button id="btn_sea" taborder="5" text="조회" onclick="btn_sea_onclick" class="btn1" position="absolute 1128 11 1184 33" anchor="top right"/>
  56. </Layout>
  57. </Layouts>
  58. </Div>
  59. <Button id="btn_excsave" taborder="2" text="엑셀저장" class="btn7" position="absolute 1117 77 1191 96" onclick="btn_excsave_onclick" anchor="top right"/>
  60. <Grid id="grd_smpbaking" taborder="3" binddataset="ds_grd_smpbaking" useinputpanel="false" position="absolute 0 104 1190 744" anchor="all">
  61. <Formats>
  62. <Format id="default">
  63. <Columns>
  64. <Column size="23"/>
  65. <Column size="130"/>
  66. <Column size="90"/>
  67. <Column size="100"/>
  68. <Column size="50"/>
  69. <Column size="62"/>
  70. <Column size="100"/>
  71. <Column size="90"/>
  72. <Column size="130"/>
  73. <Column size="226"/>
  74. <Column size="100"/>
  75. <Column size="100"/>
  76. <Column size="300"/>
  77. </Columns>
  78. <Rows>
  79. <Row size="24" band="head"/>
  80. <Row size="24"/>
  81. </Rows>
  82. <Band id="head">
  83. <Cell/>
  84. <Cell col="1" text="바코드번호"/>
  85. <Cell col="2" text="등록번호"/>
  86. <Cell col="3" text="환자명"/>
  87. <Cell col="4" text="성별"/>
  88. <Cell col="5" text="나이"/>
  89. <Cell col="6" text="진료과"/>
  90. <Cell col="7" text="진료의"/>
  91. <Cell col="8" text="채혈일시"/>
  92. <Cell col="9" text="처방명"/>
  93. <Cell col="10" text="검체명"/>
  94. <Cell col="11" text="검체상태"/>
  95. <Cell col="12" text="의뢰의사Remark"/>
  96. </Band>
  97. <Band id="body">
  98. <Cell text="expr:currow + 1"/>
  99. <Cell col="1" displaytype="normal" edittype="none" style="align:left middle;" text="bind:bcno"/>
  100. <Cell col="2" displaytype="normal" edittype="none" style="align:left middle;" text="bind:pid"/>
  101. <Cell col="3" displaytype="normal" edittype="none" style="align:left middle;" text="bind:hngnm"/>
  102. <Cell col="4" displaytype="normal" edittype="none" style="align:left middle;" text="bind:sex"/>
  103. <Cell col="5" displaytype="normal" edittype="none" style="align:left middle;" text="bind:age"/>
  104. <Cell col="6" displaytype="normal" edittype="none" style="align:left middle;" text="bind:deptnm"/>
  105. <Cell col="7" displaytype="normal" edittype="none" style="align:left middle;" text="bind:usernm"/>
  106. <Cell col="8" displaytype="date" edittype="date" style="align:left middle;" text="bind:bcolldt" mask="yyyy-MM-dd hh:mm:ss"/>
  107. <Cell col="9" displaytype="normal" edittype="none" style="align:left middle;" text="bind:tclsnm"/>
  108. <Cell col="10" displaytype="normal" edittype="none" style="align:left middle;" text="bind:spcnm"/>
  109. <Cell col="11" displaytype="normal" edittype="none" style="align:left middle;" text="bind:spcstat"/>
  110. <Cell col="12" displaytype="normal" edittype="none" style="align:left middle;" text="bind:prcpremfact"/>
  111. </Band>
  112. </Format>
  113. </Formats>
  114. </Grid>
  115. <Static id="caption6" text="샘플 뱅킹 시스템" class="tit_1" position="absolute 0 0 136 25" anchor="default"/>
  116. <Shape id="line05" onclick="grp3_line3_onclick" class="line_3" position="absolute 0 101 1190 106" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
  117. </Layout>
  118. </Layouts>
  119. <Objects>
  120. <Dataset id="ds_grd_smpbaking" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  121. <ColumnInfo>
  122. <Column id="bcno" type="STRING"/>
  123. <Column id="pid" type="STRING"/>
  124. <Column id="hngnm" type="STRING"/>
  125. <Column id="sex" type="STRING"/>
  126. <Column id="age" type="STRING"/>
  127. <Column id="orddeptnm" type="STRING"/>
  128. <Column id="orddrnm" type="STRING"/>
  129. <Column id="bcolldt" type="STRING"/>
  130. <Column id="prcpnm" type="STRING"/>
  131. <Column id="spcnm" type="STRING"/>
  132. <Column id="spcstat" type="STRING"/>
  133. <Column id="prcprenfact" type="STRING"/>
  134. <Column id="tclsnm" type="STRING" size="256"/>
  135. </ColumnInfo>
  136. </Dataset>
  137. <Dataset id="ds_combo1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  138. <ColumnInfo>
  139. <Column id="label" type="STRING" size="256"/>
  140. <Column id="value" type="STRING" size="256"/>
  141. </ColumnInfo>
  142. <Rows>
  143. <Row>
  144. <Col id="value">1</Col>
  145. <Col id="label">바코드번호</Col>
  146. </Row>
  147. <Row>
  148. <Col id="value">2</Col>
  149. <Col id="label">등록번호</Col>
  150. </Row>
  151. <Row>
  152. <Col id="value">3</Col>
  153. <Col id="label">환자명</Col>
  154. </Row>
  155. <Row>
  156. <Col id="value">4</Col>
  157. <Col id="label">진료과</Col>
  158. </Row>
  159. <Row>
  160. <Col id="value">5</Col>
  161. <Col id="label">진료의</Col>
  162. </Row>
  163. <Row>
  164. <Col id="value">6</Col>
  165. <Col id="label">채혈일시</Col>
  166. </Row>
  167. <Row>
  168. <Col id="label">검체명</Col>
  169. <Col id="value">7</Col>
  170. </Row>
  171. </Rows>
  172. </Dataset>
  173. <Dataset id="ds_reqfromdd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  174. <ColumnInfo>
  175. <Column id="reqfromdd" type="STRING" size="256"/>
  176. <Column id="reqtodd" type="STRING" size="256"/>
  177. <Column id="select" type="STRING" size="256"/>
  178. <Column id="code" type="STRING" size="256"/>
  179. </ColumnInfo>
  180. <Rows>
  181. <Row/>
  182. </Rows>
  183. </Dataset>
  184. </Objects>
  185. <InitValue/>
  186. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  187. * System Name :
  188. * Job Name :
  189. * Creator :
  190. * Make Date : 2015-11-09
  191. * Description :
  192. *---------------------------------------------------------------------------------------
  193. * Modify Date Modifier Modify Description
  194. *---------------------------------------------------------------------------------------
  195. * 2015-11-09 Live Converter TF->XP
  196. *
  197. *---------------------------------------------------------------------------------------
  198. ****************************************************************************************/
  199. include "com_commonxp::comm_main.xjs";
  200. function SMLLJ00500_oninit(obj:Form, e:InitEventInfo)
  201. {
  202. //폼 초기화 함수
  203. frmf_initForm(obj);
  204. }
  205. function SMLLJ00500_onload(obj:Form, e:LoadEventInfo)
  206. {
  207. grdf_initGrid(grd_smpbaking);
  208. Div00.ipt_reqfromdd.value = utlf_addDate(utlf_getCurrentDate(),-30);
  209. Div00.ipt_reqtodd.value = utlf_getCurrentDate();
  210. Div00.combo1.value = '1';
  211. }
  212. //엑셀저장
  213. function btn_excsave_onclick(obj:Button, e:ClickEventInfo)
  214. {
  215. grdf_exportExcel(grd_smpbaking, lf_lisGetTitle(this), "see");
  216. }
  217. //조회
  218. function btn_sea_onclick(obj:Button, e:ClickEventInfo)
  219. {
  220. var reqfromdd = Div00.ipt_reqfromdd.value;
  221. var reqtodd = Div00.ipt_reqtodd.value;
  222. var sInDsName = dsf_createDsRow("ds_temp_search", [{col : "reqfromdd", val : reqfromdd}
  223. , {col : "reqtodd", val : reqtodd}]);
  224. var oParam = {};
  225. oParam.id = "TRLLJ00501";
  226. oParam.service = "acptmngtapp.AcptMngt";
  227. oParam.method = "reqGetSampleBanking";
  228. oParam.inds = "cond=" + sInDsName;
  229. oParam.outds = "ds_grd_smpbaking=item";
  230. oParam.async = false;
  231. //oParam.callback = "cf_TRLLJ00501";
  232. tranf_submit(oParam);
  233. }
  234. ]]></Script>
  235. </Form>
  236. </FDL>