SPAVT00120_수혜자조회.xfdl 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml" />
  4. <Form id="SPAVT00120" position="absolute 0 0 660 380" titletext="기증환자조회" onload="SPAVT00120_onload">
  5. <Layouts>
  6. <Layout>
  7. <Shape id="roundrect1" anchor="default" type="roundrectangle" position="absolute 3 21 642 56" style="border:1 solid #ffd799 #ffd799;background:#fffbf2 ;" />
  8. <Static id="caption2" class="tit_2" position="absolute 0 0 175 14" style="align: middle;" text="수혜자조회" />
  9. <Static id="caption3" class="search_name" position="absolute 150 30 236 47" style="" text="등록번호 :" />
  10. <Shape id="line1" linetype="vertical" position="absolute 564 27 567 49" style="border:1 solid #ffe4bb #ffe4bb;" anchor="default" />
  11. <Shape id="line3" class="line_1" linetype="horizontal" position="absolute 3 58 642 61" style="" anchor="default" />
  12. <Button id="btn_search" class="btn1_letter2" position="absolute 576 28 632 50" style="" text="조회" onclick="btn_search_onclick" />
  13. <Button id="btn_cfm" class="btn4_letter2" position="absolute 528 355 584 377" style="" text="확인" onclick="btn_cfm_onclick" />
  14. <Button id="btn_can" class="btn4_letter2" position="absolute 585 355 641 377" style="" text="취소" onclick="btn_can_onclick" />
  15. <Grid id="grd_srchlist" binddataset="ds_main_recvinfo_item" position="absolute 5 65 644 344" style="align:center ;border:1 solid #B0B0B0 #B0B0B0;background:#ffffff ;" oncelldblclick="grd_srchlist_oncelldblclick">
  16. <Formats>
  17. <Format id="default">
  18. <Columns>
  19. <Column size="70" />
  20. <Column size="90" />
  21. <Column size="90" />
  22. <Column size="110" />
  23. <Column size="110" />
  24. <Column size="145" />
  25. </Columns>
  26. <Rows>
  27. <Row size="24" band="head" />
  28. <Row size="24" />
  29. </Rows>
  30. <Band id="head">
  31. <Cell text="이식번호" />
  32. <Cell col="1" text="등록번호" />
  33. <Cell col="2" text="성 명" />
  34. <Cell col="3" text="주민번호" />
  35. <Cell col="4" text="전화번호" />
  36. <Cell col="5" text="수술명" />
  37. </Band>
  38. <Band id="body">
  39. <Cell text="bind:recvno" />
  40. <Cell col="1" text="bind:pid" />
  41. <Cell col="2" text="bind:hngnm" />
  42. <Cell col="3" text="bind:rrgstno" />
  43. <Cell col="4" text="bind:telno" />
  44. <Cell col="5" text="bind:ophngnm" />
  45. </Band>
  46. </Format>
  47. </Formats>
  48. </Grid>
  49. <Static id="caption4" class="search_name" position="absolute 16 30 102 47" style="" text="이식번호 :" />
  50. <Edit id="ipt_srchrecvno" class="input_search" position="absolute 105 29 140 48" style="" anchor="default" onkeypress="ipt_srchrecvno_onkeypress" />
  51. <Static id="caption3" class="search_name" position="absolute 150 30 236 47" style="" text="등록번호 :" />
  52. <Edit id="ipt_srchpid" class="input_search" position="absolute 239 29 345 48" style="" anchor="default" onkeypress="ipt_srchpid_onkeypress" />
  53. <Static id="caption1" class="search_name" position="absolute 355 30 441 47" style="" text="성 명 :" />
  54. <Edit id="ipt_srchhngnm" class="input_search" position="absolute 438 30 544 49" style="" anchor="default" onkeypress="ipt_srchhngnm_onkeypress" />
  55. </Layout>
  56. </Layouts>
  57. <Objects>
  58. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  59. <ColumnInfo>
  60. <Column id="receiveref" type="STRING" size="256" />
  61. </ColumnInfo>
  62. <Rows>
  63. <Row>
  64. <Col id="receiveref"></Col>
  65. </Row>
  66. </Rows>
  67. </Dataset>
  68. <Dataset id="ds_main_recvinfo_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  69. <ColumnInfo>
  70. <Column id="mode" type="STRING" size="256" />
  71. <Column id="recvno" type="STRING" size="256" />
  72. <Column id="pid" type="STRING" size="256" />
  73. <Column id="hngnm" type="STRING" size="256" />
  74. <Column id="rrgstno" type="STRING" size="256" />
  75. <Column id="rrgstno1" type="STRING" size="256" />
  76. <Column id="rrgstno2" type="STRING" size="256" />
  77. <Column id="telno" type="STRING" size="256" />
  78. <Column id="address" type="STRING" size="256" />
  79. <Column id="diagcd" type="STRING" size="256" />
  80. <Column id="diaghngnm" type="STRING" size="256" />
  81. <Column id="diagengnm" type="STRING" size="256" />
  82. <Column id="opcd" type="STRING" size="256" />
  83. <Column id="ophngnm" type="STRING" size="256" />
  84. <Column id="opengnm" type="STRING" size="256" />
  85. <Column id="opdrcd" type="STRING" size="256" />
  86. <Column id="opdrnm" type="STRING" size="256" />
  87. <Column id="opdeptcd" type="STRING" size="256" />
  88. <Column id="opdeptnm" type="STRING" size="256" />
  89. <Column id="hospnm" type="STRING" size="256" />
  90. <Column id="opdd" type="STRING" size="256" />
  91. <Column id="writenm" type="STRING" size="256" />
  92. <Column id="writedd" type="STRING" size="256" />
  93. <Column id="medadmin" type="STRING" size="256" />
  94. <Column id="judgedd" type="STRING" size="256" />
  95. <Column id="cnclyn" type="STRING" size="256" />
  96. <Column id="cncldd" type="STRING" size="256" />
  97. </ColumnInfo>
  98. <Rows>
  99. <Row>
  100. <Col id="mode"></Col>
  101. <Col id="recvno"></Col>
  102. <Col id="pid"></Col>
  103. <Col id="hngnm"></Col>
  104. <Col id="rrgstno"></Col>
  105. <Col id="rrgstno1"></Col>
  106. <Col id="rrgstno2"></Col>
  107. <Col id="telno"></Col>
  108. <Col id="address"></Col>
  109. <Col id="diagcd"></Col>
  110. <Col id="diaghngnm"></Col>
  111. <Col id="diagengnm"></Col>
  112. <Col id="opcd"></Col>
  113. <Col id="ophngnm"></Col>
  114. <Col id="opengnm"></Col>
  115. <Col id="opdrcd"></Col>
  116. <Col id="opdrnm"></Col>
  117. <Col id="opdeptcd"></Col>
  118. <Col id="opdeptnm"></Col>
  119. <Col id="hospnm"></Col>
  120. <Col id="opdd"></Col>
  121. <Col id="writenm"></Col>
  122. <Col id="writedd"></Col>
  123. <Col id="medadmin"></Col>
  124. <Col id="judgedd"></Col>
  125. <Col id="cnclyn"></Col>
  126. <Col id="cncldd"></Col>
  127. </Row>
  128. </Rows>
  129. </Dataset>
  130. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  131. <ColumnInfo />
  132. </Dataset>
  133. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  134. <ColumnInfo>
  135. <Column id="init" type="STRING" size="256" />
  136. </ColumnInfo>
  137. </Dataset>
  138. <Dataset id="ds_main_recvinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  139. <ColumnInfo />
  140. </Dataset>
  141. <Dataset id="ds_send_srch" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  142. <ColumnInfo>
  143. <Column id="srchrecvno" type="STRING" size="256" />
  144. <Column id="srchpid" type="STRING" size="256" />
  145. <Column id="srchhngnm" type="STRING" size="256" />
  146. </ColumnInfo>
  147. <Rows>
  148. <Row>
  149. <Col id="srchrecvno"></Col>
  150. <Col id="srchpid"></Col>
  151. <Col id="srchhngnm"></Col>
  152. </Row>
  153. </Rows>
  154. </Dataset>
  155. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  156. <ColumnInfo />
  157. </Dataset>
  158. </Objects>
  159. <Bind>
  160. <BindItem id="item0" compid="ipt_srchrecvno" propid="value" datasetid="ds_send_srch" columnid="srchrecvno" />
  161. <BindItem id="item1" compid="ipt_srchpid" propid="value" datasetid="ds_send_srch" columnid="srchpid" />
  162. <BindItem id="item2" compid="ipt_srchhngnm" propid="value" datasetid="ds_send_srch" columnid="srchhngnm" />
  163. </Bind>
  164. <Script type="xscript4.0"><![CDATA[
  165. //스크립트 시작 ***
  166. //전체에서 event와 src를 제외한 script 를 모두포함.
  167. function fSetOpener(){
  168. if( frmf_checkOpener() ){
  169. opener.dsf_makeValue( ds_temp, "okflag", "string", "" );
  170. opener.ds_temp.setColumn( 0, "okflag", "ok");
  171. var idx = grd_srchlist.row;
  172. opener.dsf_makeValue( ds_temp_templst_item, "recvno", "string", "" );
  173. opener.ds_temp_templst_item.setColumn( 0, "recvno", model.getValue( "ds_main_recvinfo_item["+idx+"]_recvno" ) );
  174. opener.dsf_makeValue( ds_temp_templst_item, "pid", "string", "" );
  175. opener.ds_temp_templst_item.setColumn( 0, "pid", model.getValue( "ds_main_recvinfo_item["+idx+"]_pid" ) );
  176. opener.dsf_makeValue( ds_temp_templst_item, "hngnm", "string", "" );
  177. opener.ds_temp_templst_item.setColumn( 0, "hngnm", model.getValue( "ds_main_recvinfo_item["+idx+"]_hngnm" ) );
  178. window.close();
  179. }
  180. }
  181. //스크립트 끝
  182. include '../../.._com_commonweb_js_common.js'
  183. include '../../.._com_commonweb_js_tfHelper.js'
  184. function SPAVT00120_onload(obj:Form, e:LoadEventInfo) {
  185. frmf_initForm(obj);
  186. //grdf_initGrid(grd_XXX);
  187. //grdf_setGridSort(grd_XXX);
  188. //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
  189. //submit("TRAVT00303");
  190. }
  191. function btn_search_onclick(obj:Button, e:ClickEventInfo) {
  192. // submit("TRAVT00303");
  193. var oParam = {};
  194. oParam.id = "TRAVT00303";
  195. oParam.service = "tissuebankapp.TissueBankProcess";
  196. oParam.method = "getTissueBankRecv";
  197. oParam.inds = "req=ds_";
  198. oParam.outds = "ds_=item";
  199. oParam.async = false;
  200. oParam.callback = "cf_TRAVT00303";
  201. tranf_submit(oParam);
  202. /*
  203. function cf_TRAVT00303(sSvcId, nErrorCode, sErrorMsg) {
  204. if(nErrorCode < 0) return;
  205. }
  206. function cf_TRAVT00303(sSvcId, nErrorCode, sErrorMsg) {
  207. arErrorCode.push(sSvcId, nErrorCode);
  208. }
  209. arErrorCode.pop("TRAVT00303") > -1
  210. arErrorCode.pop("TRAVT00303") < 0
  211. */
  212. }
  213. function btn_cfm_onclick(obj:Button, e:ClickEventInfo) {
  214. fSetOpener();
  215. }
  216. function btn_can_onclick(obj:Button, e:ClickEventInfo) {
  217. if( frmf_checkOpener() ) {
  218. opener.dsf_makeValue( ds_temp, "okflag", "string", "" );
  219. opener.ds_temp.setColumn( 0, "okflag", "");
  220. }
  221. window.close();
  222. }
  223. function grd_srchlist_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
  224. fSetOpener();
  225. }
  226. function ipt_srchrecvno_onkeydown(obj:Edit, e:KeyEventInfo) {
  227. inputEnterKey("btn_search", "DOMActivate");
  228. }
  229. function ipt_srchpid_onkeydown(obj:Edit, e:KeyEventInfo) {
  230. inputEnterKey("btn_search", "DOMActivate");
  231. }
  232. function ipt_srchhngnm_onkeydown(obj:Edit, e:KeyEventInfo) {
  233. inputEnterKey("btn_search", "DOMActivate");
  234. }
  235. ]]></Script>
  236. </Form>
  237. </FDL>