SPPAS00760_보증인조회.xfdl 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPPAS00760" position="absolute 0 0 530 269" titletext="보증인조회" onload="SPPAS00760_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 25 525 60" id="grp" class="div_SA">
  8. <Layouts>
  9. <Layout>
  10. <Button position="absolute 460 7 516 29" id="btn_search" class="btn1" text="조회" anchor="default" onclick="grp_btn_search_onclick"/>
  11. <Shape position="absolute 447 5 453 27" linetype="vertical" id="line1" class="line_4" visible="true" anchor="default"/>
  12. <Static text="보증인명 :" position="absolute 10 10 101 27" id="caption4" class="search_name" anchor="default"/>
  13. <Edit position="absolute 100 8 205 27" id="input1" anchor="default" onkeydown="grp_input1_onkeydown" autoselect="true" autoskip="true"/>
  14. </Layout>
  15. </Layouts>
  16. </Div>
  17. <Static text="환자정보" position="absolute 0 66 117 82" id="caption2" class="tit_2"/>
  18. <Static text="환자번호" position="absolute 0 87 70 107" id="caption1" class="cell_1"/>
  19. <Shape position="absolute 0 82 520 88" linetype="horizontal" id="line2" class="line_1" style="strokepen:3 solid #33bbbbff;"/>
  20. <Static text="주민번호" position="absolute 0 110 70 130" id="caption3" class="cell_1"/>
  21. <Static text="우편번호" position="absolute 0 133 70 153" id="caption5" class="cell_1"/>
  22. <Shape position="absolute 0 106 520 112" linetype="horizontal" id="line3" class="line_2"/>
  23. <Shape position="absolute 0 129 520 135" linetype="horizontal" id="line4" class="line_2"/>
  24. <Shape position="absolute 0 152 520 158" linetype="horizontal" id="line5" class="line_2"/>
  25. <Static text="연락처" position="absolute 180 87 280 107" id="caption6" class="cell_1"/>
  26. <Static text="휴대폰번호" position="absolute 180 110 280 130" id="caption7" class="cell_1"/>
  27. <Static text="주소" position="absolute 180 133 280 153" id="caption8" class="cell_1"/>
  28. <Edit readonly="true" position="absolute 75 87 175 106" id="output1"/>
  29. <Edit readonly="true" position="absolute 75 110 175 129" id="output2"/>
  30. <Edit readonly="true" position="absolute 75 133 175 152" id="output3"/>
  31. <Edit readonly="true" position="absolute 285 87 385 106" id="output4"/>
  32. <Edit readonly="true" position="absolute 285 110 385 129" id="output5"/>
  33. <Edit readonly="true" position="absolute 285 133 520 152" id="output6"/>
  34. <Edit readonly="true" position="absolute 285 192 385 211" id="output7"/>
  35. <Edit readonly="true" position="absolute 285 215 385 234" id="output8"/>
  36. <Edit readonly="true" position="absolute 285 239 520 258" id="output9"/>
  37. <Static text="보증인명" position="absolute 0 192 70 212" id="caption9" class="cell_1"/>
  38. <Static text="보증인정보" position="absolute 0 171 108 188" id="caption10" class="tit_2"/>
  39. <Static text="주민번호" position="absolute 0 215 70 235" id="caption11" class="cell_1"/>
  40. <Static text="우편번호" position="absolute 0 239 70 259" id="caption12" class="cell_1"/>
  41. <Static text="연락처" position="absolute 180 192 280 212" id="caption13" class="cell_1"/>
  42. <Shape position="absolute 0 187 520 193" linetype="horizontal" id="line6" class="line_1" style="strokepen:3 solid #33bbbbff;"/>
  43. <Static text="휴대폰번호" position="absolute 180 215 280 235" id="caption14" class="cell_1"/>
  44. <Shape position="absolute 0 211 520 217" linetype="horizontal" id="line7" class="line_2" style="strokepen:1 solid #dedcdcff;"/>
  45. <Static text="주소" position="absolute 180 239 280 259" id="caption15" class="cell_1"/>
  46. <Shape position="absolute 0 234 520 240" linetype="horizontal" id="line8" class="line_2"/>
  47. <Edit readonly="true" position="absolute 75 192 175 211" id="output10"/>
  48. <Shape position="absolute 0 258 520 264" linetype="horizontal" id="line9" class="line_2"/>
  49. <Edit readonly="true" position="absolute 75 215 175 234" id="output11"/>
  50. <Edit readonly="true" position="absolute 75 239 175 258" id="output12"/>
  51. <Grid position="absolute 95 82 445 202" id="grd_patinfolist" visible="false" binddataset="ds_list_patinfolist" oncelldblclick="grd_patinfolist_oncelldblclick" autoenter="select" cellsizingtype="col">
  52. <Formats>
  53. <Format id="default">
  54. <Columns>
  55. <Column size="80"/>
  56. <Column size="70"/>
  57. <Column size="98"/>
  58. <Column size="100"/>
  59. </Columns>
  60. <Rows>
  61. <Row size="24" band="head"/>
  62. <Row size="24"/>
  63. </Rows>
  64. <Band id="head">
  65. <Cell text="환자번호"/>
  66. <Cell col="1" text="환자명"/>
  67. <Cell col="2" text="주민번호"/>
  68. <Cell col="3" text="입원일자"/>
  69. </Band>
  70. <Band id="body">
  71. <Cell text="bind:pid"/>
  72. <Cell col="1" text="bind:hngnm"/>
  73. <Cell col="2" text="bind:rrgstno"/>
  74. <Cell col="3" displaytype="date" text="bind:indd" calendardisplaynulltype="nulltext"/>
  75. </Band>
  76. </Format>
  77. </Formats>
  78. </Grid>
  79. <Static id="caption60" text="보증인조회" class="tit_1" position="absolute 0 0 140 25"/>
  80. </Layout>
  81. </Layouts>
  82. <Objects>
  83. <Dataset id="ds_list_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  84. <ColumnInfo>
  85. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  86. <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
  87. <Column id="rrgstno" type="STRING" size="256" sumtext="주민번호"/>
  88. <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
  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="hngnm" type="STRING" size="256"/>
  94. <Column id="pid" type="STRING" size="256"/>
  95. </ColumnInfo>
  96. <Rows>
  97. <Row/>
  98. </Rows>
  99. </Dataset>
  100. <Dataset id="ds_grntorpatinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  101. <ColumnInfo>
  102. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  103. <Column id="zipcd" type="STRING" size="256" sumtext="우편번호"/>
  104. <Column id="rrgstno" type="STRING" size="256" sumtext="주민번호"/>
  105. <Column id="hometel" type="STRING" size="256" sumtext="연락처"/>
  106. <Column id="mpphontel" type="STRING" size="256" sumtext="휴대폰번호"/>
  107. <Column id="zipaddr" type="STRING" size="256" sumtext="주소"/>
  108. <Column id="grntornm" type="STRING" size="256" sumtext="보증인명"/>
  109. <Column id="grntorzipcd" type="STRING" size="256" sumtext="우편번호"/>
  110. <Column id="grntorrrgstno" type="STRING" size="256" sumtext="주민번호"/>
  111. <Column id="grntorhometel" type="STRING" size="256" sumtext="연락처"/>
  112. <Column id="grntormpphontel" type="STRING" size="256" sumtext="휴대폰번호"/>
  113. <Column id="grntorzipcdaddr" type="STRING" size="256" sumtext="주소"/>
  114. </ColumnInfo>
  115. <Rows>
  116. <Row>
  117. <Col id="pid"/>
  118. <Col id="rrgstno"/>
  119. <Col id="zipcd"/>
  120. <Col id="hometel"/>
  121. <Col id="mpphontel"/>
  122. <Col id="zipaddr"/>
  123. <Col id="grntornm"/>
  124. <Col id="grntorrrgstno"/>
  125. <Col id="grntorzipcd"/>
  126. <Col id="grntorhometel"/>
  127. <Col id="grntormpphontel"/>
  128. <Col id="grntorzipcdaddr"/>
  129. </Row>
  130. </Rows>
  131. </Dataset>
  132. <Dataset id="ds_main_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  133. <ColumnInfo>
  134. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  135. <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
  136. <Column id="rrgstno" type="STRING" size="256" sumtext="주민번호"/>
  137. <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
  138. </ColumnInfo>
  139. </Dataset>
  140. </Objects>
  141. <Bind>
  142. <BindItem id="item0" compid="grp.input1" propid="value" datasetid="ds_send" columnid="hngnm"/>
  143. <BindItem id="item1" compid="output1" propid="value" datasetid="ds_grntorpatinfo" columnid="pid"/>
  144. <BindItem id="item2" compid="output4" propid="value" datasetid="ds_grntorpatinfo" columnid="hometel"/>
  145. <BindItem id="item3" compid="output2" propid="value" datasetid="ds_grntorpatinfo" columnid="rrgstno"/>
  146. <BindItem id="item4" compid="output5" propid="value" datasetid="ds_grntorpatinfo" columnid="mpphontel"/>
  147. <BindItem id="item5" compid="output3" propid="value" datasetid="ds_grntorpatinfo" columnid="zipcd"/>
  148. <BindItem id="item6" compid="output6" propid="value" datasetid="ds_grntorpatinfo" columnid="zipaddr"/>
  149. <BindItem id="item7" compid="output10" propid="value" datasetid="ds_grntorpatinfo" columnid="grntornm"/>
  150. <BindItem id="item8" compid="output7" propid="value" datasetid="ds_grntorpatinfo" columnid="grntorhometel"/>
  151. <BindItem id="item9" compid="output11" propid="value" datasetid="ds_grntorpatinfo" columnid="grntorrrgstno"/>
  152. <BindItem id="item10" compid="output8" propid="value" datasetid="ds_grntorpatinfo" columnid="grntormpphontel"/>
  153. <BindItem id="item11" compid="output12" propid="value" datasetid="ds_grntorpatinfo" columnid="grntorzipcd"/>
  154. <BindItem id="item12" compid="output9" propid="value" datasetid="ds_grntorpatinfo" columnid="grntorzipcdaddr"/>
  155. </Bind>
  156. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  157. * System Name :
  158. * Job Name :
  159. * Creator :
  160. * Make Date : 2016-05-24
  161. * Description :
  162. *---------------------------------------------------------------------------------------
  163. * Modify Date Modifier Modify Description
  164. *---------------------------------------------------------------------------------------
  165. * 2016-05-24 Live Converter TF->XP
  166. *
  167. *---------------------------------------------------------------------------------------
  168. ****************************************************************************************/
  169. //=======================================================================================
  170. // Lib Include
  171. //---------------------------------------------------------------------------------------
  172. include 'com_commonxp::comm_main.xjs';
  173. var arErrorCode = new HashArray();
  174. //=======================================================================================
  175. // Local methods
  176. //---------------------------------------------------------------------------------------
  177. /****************************************************************************************
  178. * Argument :
  179. * Description :
  180. ****************************************************************************************/
  181. //=======================================================================================
  182. // callback
  183. //---------------------------------------------------------------------------------------
  184. function callback(sSvcId, nErrorCode, sErrorMsg){
  185. arErrorCode.push(sSvcId, nErrorCode);
  186. }
  187. //=======================================================================================
  188. // Events
  189. //---------------------------------------------------------------------------------------
  190. /****************************************************************************************
  191. * Argument :
  192. * Description : onload
  193. ****************************************************************************************/
  194. function SPPAS00760_onload(obj:Form, e:LoadEventInfo){
  195. frmf_initForm(obj);
  196. }
  197. /****************************************************************************************
  198. * Argument :
  199. * Description : 보증인명 키보드 입력 이벤트
  200. ****************************************************************************************/
  201. function grp_input1_onkeydown(obj:Edit, e:KeyEventInfo){
  202. if(e.keycode == 13){
  203. obj.updateToDataset();
  204. grp.btn_search.click();
  205. }
  206. }
  207. /****************************************************************************************
  208. * Argument :
  209. * Description : 조회 버튼 클릭 이벤트
  210. ****************************************************************************************/
  211. function grp_btn_search_onclick(obj:Button, e:ClickEventInfo){
  212. grd_patinfolist.visible = true;
  213. ds_list_patinfolist.clearData();
  214. ds_list_patinfolist.addRow();
  215. var oParam = {};
  216. oParam.id = "TRPAS00830";
  217. oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
  218. oParam.method = "reqGetGrntorSearch";
  219. oParam.inds = "req=ds_send";
  220. oParam.outds = "ds_list_patinfolist=patinfolist";
  221. oParam.async = false;
  222. //oParam.callback = "cf_TRPAS00830";
  223. tranf_submit(oParam);
  224. }
  225. /****************************************************************************************
  226. * Argument :
  227. * Description : 환자 그리드 셀 더블 클릭 이벤트
  228. ****************************************************************************************/
  229. function grd_patinfolist_oncelldblclick(obj:Grid, e:GridClickEventInfo){
  230. var row = grd_patinfolist.currentrow;
  231. ds_send.setColumn(0, 'pid', ds_list_patinfolist.getColumn(row, 'pid'));
  232. ds_grntorpatinfo.clearData();
  233. ds_grntorpatinfo.addRow();
  234. var oParam = {};
  235. oParam.id = "TRPAS00840";
  236. oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
  237. oParam.method = "reqGetGrntorPatInfo";
  238. oParam.inds = "req=ds_send";
  239. oParam.outds = "ds_grntorpatinfo=grntorpatinfo";
  240. oParam.async = false;
  241. oParam.callback = "callback";
  242. tranf_submit(oParam);
  243. if(arErrorCode.pop("TRPAS00840") > -1){
  244. grd_patinfolist.visible = false;
  245. }
  246. }
  247. ]]></Script>
  248. </Form>
  249. </FDL>