SPABO61300_BMT환자검색.xfdl 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPABO61300" position="absolute 0 0 914 462" titletext="BMT 환자검색" oninit="SPABO61300_oninit" onload="SPABO61300_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 0 910 450" id="group3" scrollbars="autoboth">
  8. <Layouts>
  9. <Layout>
  10. <Static text="BMT 환자검색" position="absolute 0 62 165 79" id="caption1" class="tit_2"/>
  11. <Shape position="absolute 0 79 910 85" linetype="horizontal" id="line1" class="line_1" style="strokepen:3 solid #33bbbbff;"/>
  12. <Grid position="absolute 0 84 910 433" id="grd_hsctlist" binddataset="ds_main_hsctlist_item" oncelldblclick="group3_grd_hsctlist_oncelldblclick" selecttype="multirow" scrollbars="none">
  13. <Formats>
  14. <Format id="default">
  15. <Columns>
  16. <Column size="70"/>
  17. <Column size="70"/>
  18. <Column size="54"/>
  19. <Column size="59"/>
  20. <Column size="93"/>
  21. <Column size="95"/>
  22. <Column size="54"/>
  23. <Column size="54"/>
  24. <Column size="73"/>
  25. <Column size="70"/>
  26. <Column size="54"/>
  27. <Column size="73"/>
  28. <Column size="73"/>
  29. <Column size="0"/>
  30. <Column size="0"/>
  31. <Column size="0"/>
  32. <Column size="0"/>
  33. <Column size="0"/>
  34. </Columns>
  35. <Rows>
  36. <Row size="24" band="head"/>
  37. <Row size="24" band="head"/>
  38. <Row size="24"/>
  39. </Rows>
  40. <Band id="head">
  41. <Cell colspan="9" text="BMT 환자" taborder="undefined"/>
  42. <Cell col="9" colspan="4" text="공여자" taborder="undefined"/>
  43. <Cell col="13" text="caption3"/>
  44. <Cell col="14" text="caption4"/>
  45. <Cell col="15" text="caption5"/>
  46. <Cell col="16" text="caption6"/>
  47. <Cell col="17" text="caption1"/>
  48. <Cell row="1" text="등록번호"/>
  49. <Cell row="1" col="1" text="성명"/>
  50. <Cell row="1" col="2" text="주민번호"/>
  51. <Cell row="1" col="3" text="주민번호"/>
  52. <Cell row="1" col="4" text="연락처"/>
  53. <Cell row="1" col="5" text="H.P."/>
  54. <Cell row="1" col="6" text="이식차수"/>
  55. <Cell row="1" col="7" text="검색차수"/>
  56. <Cell row="1" col="8" text="CIBMTR ID"/>
  57. <Cell row="1" col="9" text="공여자ID"/>
  58. <Cell row="1" col="10" text="성명"/>
  59. <Cell row="1" col="11" text="주민번호"/>
  60. <Cell row="1" col="12" text="주민번호"/>
  61. <Cell row="1" col="13" text="caption3"/>
  62. <Cell row="1" col="14" text="caption4"/>
  63. <Cell row="1" col="15" text="caption5"/>
  64. <Cell row="1" col="16" text="caption6"/>
  65. <Cell row="1" col="17" text="caption1"/>
  66. </Band>
  67. <Band id="body">
  68. <Cell text="bind:pid"/>
  69. <Cell col="1" text="bind:hngnm"/>
  70. <Cell col="2" text="bind:rrgstno1"/>
  71. <Cell col="3" text="bind:rrgstno2"/>
  72. <Cell col="4" text="bind:cntctel"/>
  73. <Cell col="5" text="bind:mpphontel"/>
  74. <Cell col="6" text="bind:trnptdg"/>
  75. <Cell col="7" text="bind:srchreqdg"/>
  76. <Cell col="8" text="bind:cibmtrid"/>
  77. <Cell col="9" text="bind:dnorid"/>
  78. <Cell col="10" text="bind:dnornm"/>
  79. <Cell col="11" text="bind:dnorrrgstno1"/>
  80. <Cell col="12" text="bind:dnorrrgstno2"/>
  81. <Cell col="13" text="bind:sex"/>
  82. <Cell col="14" text="bind:age"/>
  83. <Cell col="15" text="bind:diagcd1"/>
  84. <Cell col="16" text="bind:trnptkind"/>
  85. <Cell col="17" text="bind:insuaprvdd"/>
  86. </Band>
  87. </Format>
  88. </Formats>
  89. </Grid>
  90. <Div position="absolute 0 0 910 56" align="align:center top;" id="grp_sea" class="div_SA">
  91. <Layouts>
  92. <Layout>
  93. <Static text="검색조건 :" position="absolute 15 8 101 25" id="caption2" class="search_name" anchor="default"/>
  94. <Shape position="absolute 806 7 812 51" linetype="vertical" id="line13" class="line_4" anchor="default"/>
  95. <Radio position="absolute 223 6 463 51" id="radio2" class="radio_search" columncount="3" rowcount="2" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" onitemchanged="group3_grp_sea_radio2_onitemchanged">
  96. <Dataset id="innerdataset">
  97. <ColumnInfo>
  98. <Column id="codecolumn" size="256"/>
  99. <Column id="datacolumn" size="256"/>
  100. </ColumnInfo>
  101. <Rows>
  102. <Row>
  103. <Col id="codecolumn">1</Col>
  104. <Col id="datacolumn">등록번호</Col>
  105. </Row>
  106. <Row>
  107. <Col id="codecolumn">2</Col>
  108. <Col id="datacolumn">성명</Col>
  109. </Row>
  110. <Row>
  111. <Col id="codecolumn">3</Col>
  112. <Col id="datacolumn">주민번호</Col>
  113. </Row>
  114. <Row>
  115. <Col id="codecolumn">4</Col>
  116. <Col id="datacolumn">검색차수</Col>
  117. </Row>
  118. <Row>
  119. <Col id="codecolumn">5</Col>
  120. <Col id="datacolumn">CIBMTR ID</Col>
  121. </Row>
  122. </Rows>
  123. </Dataset>
  124. </Radio>
  125. <Button position="absolute 832 18 888 40" id="btn_sea" class="btn1" text="조회" anchor="default" onclick="group3_grp_sea_btn_sea_onclick"/>
  126. <Combo position="absolute 105 8 210 27" id="cmb_srchflag" class="combo_search" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
  127. <Dataset id="innerdataset">
  128. <ColumnInfo>
  129. <Column id="codecolumn"/>
  130. <Column id="datacolumn"/>
  131. </ColumnInfo>
  132. <Rows>
  133. <Row>
  134. <Col id="codecolumn">1</Col>
  135. <Col id="datacolumn">BMT환자</Col>
  136. </Row>
  137. <Row>
  138. <Col id="codecolumn">2</Col>
  139. <Col id="datacolumn">공여자</Col>
  140. </Row>
  141. </Rows>
  142. </Dataset>
  143. </Combo>
  144. <Edit position="absolute 571 8 671 27" id="input1" class="input_search" taborder="2" visible="false" anchor="default" onkeyup="group3_grp_sea_input1_onkeyup"/>
  145. <Edit position="absolute 469 8 569 27" id="ipt_srchcnts" class="input_search" taborder="1" anchor="default" onkeyup="group3_grp_sea_ipt_srchcnts_onkeyup"/>
  146. </Layout>
  147. </Layouts>
  148. </Div>
  149. <Grid id="grd_hsctlist1" taborder="1" binddataset="ds_main_hsctlist_item" useinputpanel="false" selecttype="multirow" oncelldblclick="group3_grd_hsctlist_oncelldblclick" position="absolute 0 108 910 433">
  150. <Formats>
  151. <Format id="default">
  152. <Columns>
  153. <Column size="70"/>
  154. <Column size="70"/>
  155. <Column size="54"/>
  156. <Column size="59"/>
  157. <Column size="93"/>
  158. <Column size="95"/>
  159. <Column size="54"/>
  160. <Column size="54"/>
  161. <Column size="73"/>
  162. <Column size="70"/>
  163. <Column size="54"/>
  164. <Column size="73"/>
  165. <Column size="73"/>
  166. <Column size="0"/>
  167. <Column size="0"/>
  168. <Column size="0"/>
  169. <Column size="0"/>
  170. <Column size="0"/>
  171. </Columns>
  172. <Rows>
  173. <Row size="24" band="head"/>
  174. <Row size="24"/>
  175. </Rows>
  176. <Band id="head">
  177. <Cell text="등록번호"/>
  178. <Cell col="1" text="성명"/>
  179. <Cell col="2" text="주민번호"/>
  180. <Cell col="3" text="주민번호"/>
  181. <Cell col="4" text="연락처"/>
  182. <Cell col="5" text="H.P."/>
  183. <Cell col="6" text="이식차수"/>
  184. <Cell col="7" text="검색차수"/>
  185. <Cell col="8" text="CIBMTR ID"/>
  186. <Cell col="9" text="공여자ID"/>
  187. <Cell col="10" text="성명"/>
  188. <Cell col="11" text="주민번호"/>
  189. <Cell col="12" text="주민번호"/>
  190. <Cell col="13" text="caption3"/>
  191. <Cell col="14" text="caption4"/>
  192. <Cell col="15" text="caption5"/>
  193. <Cell col="16" text="caption6"/>
  194. <Cell col="17" text="caption1"/>
  195. </Band>
  196. <Band id="body">
  197. <Cell text="bind:pid"/>
  198. <Cell col="1" text="bind:hngnm"/>
  199. <Cell col="2" text="bind:rrgstno1"/>
  200. <Cell col="3" text="bind:rrgstno2"/>
  201. <Cell col="4" text="bind:cntctel"/>
  202. <Cell col="5" text="bind:mpphontel"/>
  203. <Cell col="6" text="bind:trnptdg"/>
  204. <Cell col="7" text="bind:srchreqdg"/>
  205. <Cell col="8" text="bind:cibmtrid"/>
  206. <Cell col="9" text="bind:dnorid"/>
  207. <Cell col="10" text="bind:dnornm"/>
  208. <Cell col="11" text="bind:dnorrrgstno1"/>
  209. <Cell col="12" text="bind:dnorrrgstno2"/>
  210. <Cell col="13" text="bind:sex"/>
  211. <Cell col="14" text="bind:age"/>
  212. <Cell col="15" text="bind:diagcd1"/>
  213. <Cell col="16" text="bind:trnptkind"/>
  214. <Cell col="17" text="bind:insuaprvdd"/>
  215. </Band>
  216. </Format>
  217. </Formats>
  218. </Grid>
  219. <Div id="Div00" taborder="2" position="absolute 892 94 909 109" style="background:white;"/>
  220. </Layout>
  221. </Layouts>
  222. </Div>
  223. <Div position="absolute 0 435 910 458" id="group1" scrollbars="autoboth">
  224. <Layouts>
  225. <Layout>
  226. <Button position="absolute 792 1 848 23" id="btn_cfm" class="btn4" text="확인" anchor="default" onclick="group1_btn_cfm_onclick"/>
  227. <Button position="absolute 851 1 907 23" id="btn_can" class="btn4" text="취소" anchor="default"/>
  228. </Layout>
  229. </Layouts>
  230. </Div>
  231. </Layout>
  232. </Layouts>
  233. <Objects>
  234. <Dataset id="ds_grd_hsctlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  235. <ColumnInfo>
  236. <Column id="pid" type="STRING"/>
  237. <Column id="hngnm" type="STRING"/>
  238. <Column id="rrgstno1" type="STRING"/>
  239. <Column id="rrgstno2" type="STRING"/>
  240. <Column id="cntctel" type="STRING"/>
  241. <Column id="mpphontel" type="STRING"/>
  242. <Column id="trnptdg" type="STRING"/>
  243. <Column id="srchreqdg" type="STRING"/>
  244. <Column id="cibmtrid" type="STRING"/>
  245. <Column id="dnorid" type="STRING"/>
  246. <Column id="dnornm" type="STRING"/>
  247. <Column id="dnorrrgstno1" type="STRING"/>
  248. <Column id="dnorrrgstno2" type="STRING"/>
  249. <Column id="sex" type="STRING"/>
  250. <Column id="age" type="STRING"/>
  251. <Column id="diagcd1" type="STRING"/>
  252. <Column id="trnptkind" type="STRING"/>
  253. <Column id="insuaprvdd" type="STRING"/>
  254. </ColumnInfo>
  255. </Dataset>
  256. <Dataset id="ds_main_hsctlist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  257. <ColumnInfo>
  258. <Column id="pid" type="STRING" size="256"/>
  259. <Column id="hngnm" type="STRING" size="256"/>
  260. <Column id="rrgstno1" type="STRING" size="256"/>
  261. <Column id="rrgstno2" type="STRING" size="256"/>
  262. <Column id="cntctel" type="STRING" size="256"/>
  263. <Column id="mpphontel" type="STRING" size="256"/>
  264. <Column id="trnptdg" type="STRING" size="256"/>
  265. <Column id="srchreqdg" type="STRING" size="256"/>
  266. <Column id="cibmtrid" type="STRING" size="256"/>
  267. <Column id="dnorid" type="STRING" size="256"/>
  268. <Column id="dnornm" type="STRING" size="256"/>
  269. <Column id="dnorrrgstno1" type="STRING" size="256"/>
  270. <Column id="dnorrrgstno2" type="STRING" size="256"/>
  271. <Column id="sex" type="STRING" size="256"/>
  272. <Column id="age" type="STRING" size="256"/>
  273. <Column id="diagcd1" type="STRING" size="256"/>
  274. <Column id="trnptkind" type="STRING" size="256"/>
  275. <Column id="insuaprvdd" type="STRING" size="256"/>
  276. </ColumnInfo>
  277. <Rows>
  278. <Row>
  279. <Col id="pid"/>
  280. <Col id="hngnm"/>
  281. <Col id="rrgstno1"/>
  282. <Col id="rrgstno2"/>
  283. <Col id="cntctel"/>
  284. <Col id="mpphontel"/>
  285. <Col id="trnptdg"/>
  286. <Col id="srchreqdg"/>
  287. <Col id="cibmtrid"/>
  288. <Col id="dnorid"/>
  289. <Col id="dnornm"/>
  290. <Col id="dnorrrgstno1"/>
  291. <Col id="dnorrrgstno2"/>
  292. <Col id="sex"/>
  293. <Col id="age"/>
  294. <Col id="diagcd1"/>
  295. <Col id="trnptkind"/>
  296. <Col id="insuaprvdd"/>
  297. </Row>
  298. </Rows>
  299. </Dataset>
  300. <Dataset id="ds_send_srchdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  301. <ColumnInfo>
  302. <Column id="patflag" type="STRING" size="256"/>
  303. <Column id="srchflag" type="STRING" size="256"/>
  304. <Column id="srchcnts" type="STRING" size="256"/>
  305. <Column id="srchcnts2" type="STRING" size="256"/>
  306. </ColumnInfo>
  307. <Rows>
  308. <Row>
  309. <Col id="patflag">1</Col>
  310. <Col id="srchflag">2</Col>
  311. <Col id="srchcnts"/>
  312. <Col id="srchcnts2"/>
  313. </Row>
  314. </Rows>
  315. </Dataset>
  316. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  317. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  318. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  319. </Objects>
  320. <Bind>
  321. <BindItem id="item0" compid="group3.grp_sea.cmb_srchflag" propid="value" datasetid="ds_send_srchdata" columnid="patflag"/>
  322. <BindItem id="item1" compid="group3.grp_sea.radio2" propid="value" datasetid="ds_send_srchdata" columnid="srchflag"/>
  323. <BindItem id="item2" compid="group3.grp_sea.ipt_srchcnts" propid="value" datasetid="ds_send_srchdata" columnid="srchcnts"/>
  324. <BindItem id="item3" compid="group3.grp_sea.input1" propid="value" datasetid="ds_send_srchdata" columnid="srchcnts2"/>
  325. </Bind>
  326. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  327. * System Name :
  328. * Job Name :
  329. * Creator :
  330. * Make Date : 2015-11-13
  331. * Description :
  332. *---------------------------------------------------------------------------------------
  333. * Modify Date Modifier Modify Description
  334. *---------------------------------------------------------------------------------------
  335. * 2015-11-13 Live Converter TF->XP
  336. *
  337. *---------------------------------------------------------------------------------------
  338. ****************************************************************************************/
  339. include "com_commonxp::comm_main.xjs";
  340. function group3_grp_sea_radio2_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  341. {
  342. group3.grp_sea.ipt_srchcnts.setFocus();
  343. }
  344. function group3_grp_sea_ipt_srchcnts_onkeyup(obj:Edit, e:KeyEventInfo)
  345. {
  346. if(e.keycode == "13")
  347. {
  348. ds_send_srchdata.setColumn(0, "srchcnts", group3.grp_sea.ipt_srchcnts.value);
  349. frmf_inputEnterKey("group3.grp_sea.btn_sea", "onclick", new ClickEventInfo );
  350. }
  351. }
  352. function group3_grp_sea_input1_onkeyup(obj:Edit, e:KeyEventInfo)
  353. {
  354. if(e.keycode == "13")
  355. {
  356. ds_send_srchdata.setColumn(0, "srchcnts2", group3.grp_sea.input1.value);
  357. frmf_inputEnterKey("group3.grp_sea.btn_sea", "onclick", new ClickEventInfo );
  358. }
  359. }
  360. function group3_grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  361. {
  362. ds_main_hsctlist_item.clearData();
  363. //submit("TRABO61301");
  364. var oParam = {};
  365. oParam.id = "TRABO61301";
  366. oParam.service = "hsctcoordinatorapp.HsctPatient";
  367. oParam.method = "reqGetPatientSrch";
  368. oParam.inds = "req=ds_send_srchdata";
  369. oParam.outds = "ds_main_hsctlist_item=item";
  370. oParam.async = false;
  371. tranf_submit(oParam);
  372. group3.grd_hsctlist.setCellProperty("body", 9, "background", "#FFE4E1"); //.colStyle(10, "data", "background-color") = "#FFE4E1";
  373. group3.grd_hsctlist.setCellProperty("body", 10, "background", "#FFE4E1"); //.colStyle(11, "data", "background-color") = "#FFE4E1";
  374. group3.grd_hsctlist.setCellProperty("body", 11, "background", "#FFE4E1"); //.colStyle(12, "data", "background-color") = "#FFE4E1";
  375. group3.grd_hsctlist.setCellProperty("body", 12, "background", "#FFE4E1"); //.colStyle( 9, "data", "background-color") = "#FFE4E1";
  376. group3.grd_hsctlist.setCellProperty("body", 9, "background2", "#FFE4E1"); //.colStyle(10, "data", "background-color") = "#FFE4E1";
  377. group3.grd_hsctlist.setCellProperty("body", 10, "background2", "#FFE4E1"); //.colStyle(11, "data", "background-color") = "#FFE4E1";
  378. group3.grd_hsctlist.setCellProperty("body", 11, "background2", "#FFE4E1"); //.colStyle(12, "data", "background-color") = "#FFE4E1";
  379. group3.grd_hsctlist.setCellProperty("body", 12, "background2", "#FFE4E1"); //.colStyle( 9, "data", "background-color") = "#FFE4E1";
  380. }
  381. function group3_grd_hsctlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  382. {
  383. if ( (e.row >= 0 && e.col >= 0)) ////.fixedRows) && (group3.grd_hsctlist.isCell(event.target)))
  384. {
  385. trace("11111");
  386. if(ds_main_hsctlist_item.rowposition >= 0 ){
  387. dsf_makeValue(opener.ds_main, "popupendflag", "string", "" );
  388. opener.ds_main.setColumn( 0, "popupendflag", "cancel");
  389. dsf_copyColInfo(opener.ds_temp_bmtpatientinfo, ds_main_hsctlist_item);
  390. if ( frmf_checkOpener() ) {
  391. if(opener.ds_temp_bmtpatientinfo.rowcount == 0){
  392. opener.ds_temp_bmtpatientinfo.addRow();
  393. }
  394. opener.ds_temp_bmtpatientinfo.copyRow(0, ds_main_hsctlist_item, e.row); //opener.copyNode("ds_temp_bmtpatientinfo", group3.grd_hsctlist.getNode( e.row ));
  395. opener.ds_main.setColumn( 0, "popupendflag", "ok");
  396. //opener.//model.refresh();
  397. this.close();
  398. } else {
  399. alert("상위화면이 변경되어 데이터를 전달할 수 없습니다.");
  400. }
  401. }
  402. }
  403. }
  404. function group1_btn_cfm_onclick(obj:Button, e:ClickEventInfo)
  405. {
  406. opener.ds_main.setColumn(0, "popupendflag", "cancel");
  407. if ( frmf_checkOpener() ) {
  408. dsf_copyColInfo(opener.ds_temp_bmtpatientinfo, ds_main_hsctlist_item);
  409. if(opener.ds_temp_bmtpatientinfo.rowcount == 0){
  410. opener.ds_temp_bmtpatientinfo.addRow();
  411. }
  412. opener.ds_temp_bmtpatientinfo.copyRow(0, ds_main_hsctlist_item, ds_main_hsctlist_item.rowposition);
  413. //opener.ds_main.makeNode("/root/main/popupendflag");
  414. dsf_makeValue(opener.ds_main, "popupendflag", "string", "ok");
  415. this.close();
  416. } else {
  417. alert("상위화면이 변경되어 데이터를 전달할 수 없습니다.");
  418. }
  419. }
  420. function SPABO61300_oninit(obj:Form, e:InitEventInfo)
  421. {
  422. frmf_initForm(obj);
  423. //grdf_initGrid(group3.grd_hsctlist);
  424. grdf_initGrid(group3.grd_hsctlist1);
  425. }
  426. function SPABO61300_onload(obj:Form, e:LoadEventInfo)
  427. {
  428. grdf_setGridSort(group3.grd_hsctlist);
  429. }
  430. ]]></Script>
  431. </Form>
  432. </FDL>