SMLBP02500_헌혈자검사결과조회(BISS).xfdl 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMLBP02500" position="absolute 0 0 1196 763" titletext="헌혈자검사결과조회(BISS)" oninit="SMLBP02500_oninit" onload="SMLBP02500_onload">
  5. <Layouts>
  6. <Layout>
  7. <Button id="button5" taborder="1" text="초기화" class="btn4" position="absolute 1127 19 1195 41" onclick="button5_onclick" anchor="top right"/>
  8. <Shape id="line15" linetype="horizontal" class="line_6" position="absolute 0 46 1194 52" style="strokepen:3 solid #9ebed4ff;" anchor="left top right"/>
  9. <Button id="button2" taborder="2" text="저장" class="btn4" visible="false" position="absolute 1068 19 1124 41" anchor="top right"/>
  10. <Static id="caption6" text="헌혈자 검사결과 조회(BISS)" class="tit_1" position="absolute 0 0 199 25"/>
  11. <Div id="group2" taborder="3" position="absolute 0 50 1195 85" class="div_SA" anchor="left top right">
  12. <Layouts>
  13. <Layout>
  14. <Static id="caption2" text="시행일자 :" class="search_name" position="absolute 27 9 101 26"/>
  15. <Button id="button1" taborder="1" text="조회" class="btn1" position="absolute 1123 7 1179 29" onclick="group2_button1_onclick" anchor="top right"/>
  16. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1105 7 1111 29" anchor="top right"/>
  17. <Calendar id="input26" taborder="2" class="input_s_essential" position="absolute 110 8 220 27"/>
  18. <Radio id="radio1" taborder="3" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 1007 10 1102 30" anchor="top right">
  19. <Dataset id="innerdataset">
  20. <ColumnInfo>
  21. <Column id="codecolumn"/>
  22. <Column id="datacolumn"/>
  23. </ColumnInfo>
  24. <Rows>
  25. <Row>
  26. <Col id="codecolumn">Y</Col>
  27. <Col id="datacolumn">의뢰</Col>
  28. </Row>
  29. <Row>
  30. <Col id="codecolumn">N</Col>
  31. <Col id="datacolumn">완료</Col>
  32. </Row>
  33. </Rows>
  34. </Dataset>
  35. </Radio>
  36. </Layout>
  37. </Layouts>
  38. </Div>
  39. <Static id="caption1" text="헌혈자 검사결과 조회(BISS)" class="tit_2" position="absolute 1 95 198 112"/>
  40. <Shape id="line1" linetype="horizontal" class="line_1" position="absolute 0 111 1194 117" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
  41. <Button id="btn_excel" taborder="4" text="CSV저장" class="btn2" position="absolute 1130 89 1194 108" onclick="btn_excel_onclick" anchor="top right"/>
  42. <Grid id="grd_rsltbiss" taborder="5" binddataset="ds_grd_rsltbiss" useinputpanel="false" position="absolute 0 115 1194 761" anchor="all">
  43. <Formats>
  44. <Format id="default">
  45. <Columns>
  46. <Column size="80"/>
  47. <Column size="120"/>
  48. <Column size="70"/>
  49. <Column size="100"/>
  50. <Column size="130"/>
  51. <Column size="90"/>
  52. <Column size="65"/>
  53. <Column size="60"/>
  54. <Column size="70"/>
  55. <Column size="159"/>
  56. <Column size="90"/>
  57. <Column size="100"/>
  58. <Column size="70"/>
  59. <Column size="80"/>
  60. <Column size="80"/>
  61. <Column size="80"/>
  62. <Column size="90"/>
  63. <Column size="90"/>
  64. <Column size="90"/>
  65. <Column size="90"/>
  66. <Column size="90"/>
  67. <Column size="0"/>
  68. <Column size="0"/>
  69. <Column size="90"/>
  70. <Column size="90"/>
  71. <Column size="0"/>
  72. <Column size="90"/>
  73. <Column size="90"/>
  74. <Column size="90"/>
  75. </Columns>
  76. <Rows>
  77. <Row size="24" band="head"/>
  78. <Row size="24"/>
  79. </Rows>
  80. <Band id="head">
  81. <Cell text="병원코드"/>
  82. <Cell col="1" text="병원명"/>
  83. <Cell col="2" text="헌혈일자"/>
  84. <Cell col="3" text="증서번호"/>
  85. <Cell col="4" text="주민번호"/>
  86. <Cell col="5" text="이름"/>
  87. <Cell col="6" text="혈액형코드"/>
  88. <Cell col="7" text="직업코드"/>
  89. <Cell col="8" text="우편번호"/>
  90. <Cell col="9" text="주소"/>
  91. <Cell col="10" text="집전화"/>
  92. <Cell col="11" text="휴대전화"/>
  93. <Cell col="12" text="제제코드"/>
  94. <Cell col="13" text="제제종류명"/>
  95. <Cell col="14" text="입력자"/>
  96. <Cell col="15" text="NAT검사의뢰유무"/>
  97. <Cell col="16" text="결과(HIV)"/>
  98. <Cell col="17" text="결과(HCV)"/>
  99. <Cell col="18" text="결과(HBV)"/>
  100. <Cell col="19" text="결과(STS)"/>
  101. <Cell col="20" text="결과(ALT)"/>
  102. <Cell col="21" text="결과(ABS)"/>
  103. <Cell col="22" text="결과(SUB)"/>
  104. <Cell col="23" text="NAT(HIV)"/>
  105. <Cell col="24" text="NAT(HCV)"/>
  106. <Cell col="25" text="NAT(HBV)"/>
  107. <Cell col="26" text="결과(MAL)"/>
  108. <Cell col="27" text="HTLV의뢰"/>
  109. <Cell col="28" text="결과(HTLV)"/>
  110. </Band>
  111. <Band id="body">
  112. <Cell text="bind:hospcd"/>
  113. <Cell col="1" text="bind:hospnm"/>
  114. <Cell col="2" displaytype="date" edittype="date" text="bind:dondt" mask="yyyy-MM-dd"/>
  115. <Cell col="3" text="bind:natno" mask="99-99-999999"/>
  116. <Cell col="4" text="bind:dnorrrgstno"/>
  117. <Cell col="5" text="bind:dnornm"/>
  118. <Cell col="6" text="bind:btype"/>
  119. <Cell col="7" text="bind:jobcd" mask="yyyy-mm-dd hh:nn"/>
  120. <Cell col="8" text="bind:homezipcd" mask="yyyy-mm-dd"/>
  121. <Cell col="9" text="bind:homeaddr" mask="yyyy-mm-dd"/>
  122. <Cell col="10" text="bind:hometel" mask="yyyy-mm-dd"/>
  123. <Cell col="11" text="bind:mpphonno"/>
  124. <Cell col="12" displaytype="text" edittype="text" text="bind:blodbarcd"/>
  125. <Cell col="13" displaytype="text" edittype="text" text="bind:blodbarnm"/>
  126. <Cell col="14" displaytype="text" edittype="text" text="bind:inptid"/>
  127. <Cell col="15" displaytype="text" edittype="text" text="bind:natreqyn"/>
  128. <Cell col="16" text="bind:hiv"/>
  129. <Cell col="17" text="bind:hcv"/>
  130. <Cell col="18" text="bind:hbv"/>
  131. <Cell col="19" text="bind:sts"/>
  132. <Cell col="20" text="bind:alt"/>
  133. <Cell col="21" text="bind:abs"/>
  134. <Cell col="22" text="bind:sub"/>
  135. <Cell col="23" text="bind:nhiv"/>
  136. <Cell col="24" text="bind:nhcv"/>
  137. <Cell col="25" text="bind:nhbv"/>
  138. <Cell col="26" text="bind:mal"/>
  139. <Cell col="27" displaytype="text" edittype="text" text="bind:htlvreqyn"/>
  140. <Cell col="28" text="bind:htlv"/>
  141. </Band>
  142. </Format>
  143. </Formats>
  144. </Grid>
  145. <Button id="button3" taborder="6" text="엑셀저장" class="btn7" position="absolute 1055 89 1128 108" onclick="button3_onclick" anchor="top right"/>
  146. </Layout>
  147. </Layouts>
  148. <Objects>
  149. <Dataset id="ds_grd_rsltbiss" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  150. <ColumnInfo>
  151. <Column id="hospcd" type="STRING"/>
  152. <Column id="hospnm" type="STRING"/>
  153. <Column id="dondt" type="STRING"/>
  154. <Column id="natno" type="STRING"/>
  155. <Column id="dnorrrgstno" type="STRING"/>
  156. <Column id="dnornm" type="STRING"/>
  157. <Column id="btype" type="STRING"/>
  158. <Column id="jobcd" type="STRING"/>
  159. <Column id="homezipcd" type="STRING"/>
  160. <Column id="homeaddr" type="STRING"/>
  161. <Column id="hometel" type="STRING"/>
  162. <Column id="mpphonno" type="STRING"/>
  163. <Column id="blodbarcd" type="STRING"/>
  164. <Column id="blodbarnm" type="STRING"/>
  165. <Column id="inptid" type="STRING"/>
  166. <Column id="natreqyn" type="STRING"/>
  167. <Column id="hiv" type="STRING"/>
  168. <Column id="hcv" type="STRING"/>
  169. <Column id="hbv" type="STRING"/>
  170. <Column id="sts" type="STRING"/>
  171. <Column id="alt" type="STRING"/>
  172. <Column id="abs" type="STRING"/>
  173. <Column id="sub" type="STRING"/>
  174. <Column id="nhiv" type="STRING"/>
  175. <Column id="nhcv" type="STRING"/>
  176. <Column id="nhbv" type="STRING"/>
  177. <Column id="mal" type="STRING"/>
  178. <Column id="htlvreqyn" type="STRING"/>
  179. <Column id="htlv" type="STRING"/>
  180. </ColumnInfo>
  181. </Dataset>
  182. <Dataset id="ds_hidden_ref" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  183. <ColumnInfo>
  184. <Column id="refsdd" type="STRING" size="256"/>
  185. </ColumnInfo>
  186. <Rows>
  187. <Row/>
  188. </Rows>
  189. </Dataset>
  190. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  191. <ColumnInfo>
  192. <Column id="codeflag" type="STRING" size="256"/>
  193. <Column id="prcpdd" type="STRING" size="256"/>
  194. <Column id="reqyn" type="STRING" size="256"/>
  195. </ColumnInfo>
  196. <Rows>
  197. <Row>
  198. <Col id="reqyn">Y</Col>
  199. </Row>
  200. </Rows>
  201. </Dataset>
  202. </Objects>
  203. <Bind>
  204. <BindItem id="item0" compid="group2.input26" propid="value" datasetid="ds_hidden_ref" columnid="refsdd"/>
  205. <BindItem id="item1" compid="group2.radio1" propid="value" datasetid="ds_send" columnid="reqyn"/>
  206. </Bind>
  207. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  208. * System Name :
  209. * Job Name :
  210. * Creator :
  211. * Make Date : 2015-05-01
  212. * Description :
  213. *---------------------------------------------------------------------------------------
  214. * Modify Date Modifier Modify Description
  215. *---------------------------------------------------------------------------------------
  216. * 2015-05-01 Live Converter TF->XP
  217. *
  218. *---------------------------------------------------------------------------------------
  219. ****************************************************************************************/
  220. include "com_commonxp::comm_main.xjs";
  221. function SMLBP02500_oninit(obj:Form, e:InitEventInfo)
  222. {
  223. frmf_initForm(obj);
  224. }
  225. function SMLBP02500_onload(obj:Form, e:LoadEventInfo)
  226. {
  227. grdf_initGrid(grd_rsltbiss);
  228. fSetInit();
  229. }
  230. // 초기화
  231. function fSetInit()
  232. {
  233. ds_hidden_ref.setColumn(0, "refsdd", utlf_getCurrentDate());
  234. }
  235. //조회버튼
  236. function group2_button1_onclick(obj:Button, e:ClickEventInfo)
  237. {
  238. fGetDnorRslt();
  239. }
  240. // 조회
  241. function fGetDnorRslt()
  242. {
  243. //model.setValue("/root/send/prcpdd", model.getValue("/root/hidden/ref/refsdd"));
  244. ds_send.setColumn(0, "prcpdd", ds_hidden_ref.getColumn(0, "refsdd"));
  245. var oParam = {};
  246. oParam.id = "TRLBP02501";
  247. oParam.service = "refprintmngtapp.BloodBankRefPrintMngt";
  248. oParam.method = "reqGetDnorRsltBISS";
  249. oParam.inds = "cond=ds_send";
  250. oParam.outds = "ds_grd_rsltbiss=getDnorRsltBISS";
  251. oParam.async = false;
  252. //oParam.callback = "cf_TRLBP02501";
  253. tranf_submit(oParam);
  254. }
  255. //초기화버튼
  256. function button5_onclick(obj:Button, e:ClickEventInfo)
  257. {
  258. this.reload();
  259. }
  260. //엑셀저장버튼
  261. function button3_onclick(obj:Button, e:ClickEventInfo)
  262. {
  263. fExeExcel(grd_rsltbiss);
  264. }
  265. // 엑셀 저장
  266. function fExeExcel(pGridId)
  267. {
  268. var dd = ds_hidden_ref.getColumn(0, "refsdd");
  269. grdf_exportExcel(pGridId, "BISS파일전송_"+dd, "see");
  270. }
  271. //CSV 저장
  272. function btn_excel_onclick(obj:Button, e:ClickEventInfo)
  273. {
  274. fExeCSV(grd_rsltbiss);
  275. }
  276. // CSV 저장
  277. function fExeCSV(pGridId)
  278. {
  279. var dd = ds_hidden_ref.getColumn(0, "refsdd");
  280. grdf_exportExcel(pGridId, "BISS파일전송_"+dd, "see");
  281. } ]]></Script>
  282. </Form>
  283. </FDL>