SPPMI02100_주부유형조회.xfdl 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPPMI02100" position="absolute 0 0 520 300" titletext="입원정보조회" onload="SPPMI02100_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption1" text="입원정보" class="tit_2" position="absolute 5 7 100 24"/>
  8. <Shape id="line1" linetype="horizontal" class="line_1" position="absolute 0 26 517 32" style="strokepen:3 solid #33bbbbff;"/>
  9. <Grid id="grd_inrgstinfo" taborder="1" binddataset="ds_hidden_list_grdinrgstinfo" useinputpanel="false" position="absolute 0 30 517 265" oncelldblclick="grd_inrgstinfo_oncelldblclick">
  10. <Formats>
  11. <Format id="default">
  12. <Columns>
  13. <Column size="66"/>
  14. <Column size="88"/>
  15. <Column size="38"/>
  16. <Column size="66"/>
  17. <Column size="179"/>
  18. <Column size="77"/>
  19. <Column size="0"/>
  20. </Columns>
  21. <Rows>
  22. <Row size="24" band="head"/>
  23. <Row size="24"/>
  24. </Rows>
  25. <Band id="head">
  26. <Cell text="유형구분"/>
  27. <Cell col="1" colspan="2" text="입원일자/시간" taborder="undefined"/>
  28. <Cell col="3" text="등록번호"/>
  29. <Cell col="4" text="진료과"/>
  30. <Cell col="5" text="보험유형"/>
  31. <Cell col="6" text="생성번호"/>
  32. </Band>
  33. <Band id="body">
  34. <Cell displaytype="combo" edittype="combo" text="bind:mskind" combodataset="ds_init_P0006list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  35. <Cell col="1" displaytype="date" text="bind:indd" mask="yyyy-MM-dd" calendardisplaynulltype="none" enable="false"/>
  36. <Cell col="2" text="bind:intm" mask="##:##"/>
  37. <Cell col="3" text="bind:pid" enable="false"/>
  38. <Cell col="4" displaytype="combo" edittype="combo" text="bind:orddeptcd" combodataset="ds_hidden_init_orddeptcd" combocodecol="cd" combodatacol="nm" enable="false"/>
  39. <Cell col="5" displaytype="combo" edittype="combo" text="bind:insukind" combodataset="ds_hidden_init_insukind" combocodecol="cd" combodatacol="nm" enable="false"/>
  40. <Cell col="6" text="bind:cretno"/>
  41. </Band>
  42. </Format>
  43. </Formats>
  44. </Grid>
  45. <Button id="btn_confirm" taborder="2" text="확인" class="btn4" position="absolute 402 272 458 294" onclick="btn_confirm_onclick"/>
  46. <Button id="btn_cancel" taborder="3" text="취소" class="btn4" position="absolute 461 272 517 294" onclick="btn_cancel_onclick"/>
  47. <Shape id="line32" linetype="horizontal" class="line_6" position="absolute 0 265 518 271"/>
  48. </Layout>
  49. </Layouts>
  50. <Objects>
  51. <Dataset id="ds_hidden_list_grdinrgstinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  52. <ColumnInfo>
  53. <Column id="mskind" type="STRING"/>
  54. <Column id="indd" type="STRING"/>
  55. <Column id="intm" type="STRING"/>
  56. <Column id="pid" type="STRING"/>
  57. <Column id="orddeptcd" type="STRING"/>
  58. <Column id="insukind" type="STRING"/>
  59. <Column id="cretno" type="STRING"/>
  60. </ColumnInfo>
  61. </Dataset>
  62. <Dataset id="ds_init_P0006list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  63. <ColumnInfo>
  64. <Column id="cdid" type="STRING" size="256"/>
  65. <Column id="cdnm" type="STRING" size="256"/>
  66. </ColumnInfo>
  67. </Dataset>
  68. <Dataset id="ds_hidden_init_orddeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  69. <ColumnInfo>
  70. <Column id="cd" type="STRING" size="256"/>
  71. <Column id="nm" type="STRING" size="256"/>
  72. </ColumnInfo>
  73. </Dataset>
  74. <Dataset id="ds_hidden_init_insukind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  75. <ColumnInfo>
  76. <Column id="cd" type="STRING" size="256"/>
  77. <Column id="nm" type="STRING" size="256"/>
  78. <Column id="up" type="STRING" size="256"/>
  79. <Column id="io" type="STRING" size="256"/>
  80. </ColumnInfo>
  81. </Dataset>
  82. </Objects>
  83. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  84. * System Name :
  85. * Job Name :
  86. * Creator :
  87. * Make Date : 2016-05-24
  88. * Description :
  89. *---------------------------------------------------------------------------------------
  90. * Modify Date Modifier Modify Description
  91. *---------------------------------------------------------------------------------------
  92. * 2016-05-24 Live Converter TF->XP
  93. *
  94. *---------------------------------------------------------------------------------------
  95. ****************************************************************************************/
  96. //=======================================================================================
  97. // Lib Include
  98. //---------------------------------------------------------------------------------------
  99. include 'com_commonxp::comm_main.xjs';
  100. var arErrorCode = new HashArray();
  101. //=======================================================================================
  102. // Local methods
  103. //---------------------------------------------------------------------------------------
  104. /****************************************************************************************
  105. * Argument :
  106. * Description :
  107. ****************************************************************************************/
  108. //=======================================================================================
  109. // callback
  110. //---------------------------------------------------------------------------------------
  111. function callback(sSvcId, nErrorCode, sErrorMsg){
  112. arErrorCode.push(sSvcId, nErrorCode);
  113. }
  114. //=======================================================================================
  115. // Events
  116. //---------------------------------------------------------------------------------------
  117. /****************************************************************************************
  118. * Argument :
  119. * Description : onload
  120. ****************************************************************************************/
  121. function SPPMI02100_onload(obj:Form, e:LoadEventInfo){
  122. // 폼 초기화
  123. frmf_initForm(obj);
  124. appf_getCodeList([{ dsNm: 'ds_init_P0006list', cdGrpId: 'P0006' }]);
  125. dsf_createDsRow('ds_req', [
  126. { col: 'sess_posinstcd', type: 'string', size: 256, val: sysf_getUserInfo('dutplceinstcd') },
  127. { col: 'ioflag', type: 'string', size: 256, val: 'I' },
  128. { col: 'dridsorttype', type: 'string', size: 256, val: '' }
  129. ], false);
  130. ds_hidden_init_insukind.clearData();
  131. ds_hidden_init_insukind.addRow();
  132. ds_hidden_init_orddeptcd.clearData();
  133. ds_hidden_init_orddeptcd.addRow();
  134. var oParam = {};
  135. oParam.id = "TRPMI00106";
  136. oParam.service = "pamcomnapp.PamComn";
  137. oParam.method = "reqGetComCD";
  138. oParam.inds = "req=ds_req";
  139. oParam.outds = "ds_hidden_init_insukind=insukind ds_hidden_init_orddeptcd=orddeptcd";
  140. oParam.async = false;
  141. //oParam.callback = "cf_TRPMI00106";
  142. tranf_submit(oParam);
  143. if(frmf_checkOpener()){
  144. try{
  145. ds_hidden_list_grdinrgstinfo.copyData(arg_ds_hidden_list_grdinrgstinfo, true);
  146. }
  147. catch(err){
  148. }
  149. }
  150. }
  151. /****************************************************************************************
  152. * Argument :
  153. * Description : 입원정보 그리드 더블클릭 이벤트
  154. ****************************************************************************************/
  155. function grd_inrgstinfo_oncelldblclick(obj:Grid, e:GridClickEventInfo){
  156. if(frmf_checkOpener()){
  157. if(ds_hidden_list_grdinrgstinfo.rowcount > 0){
  158. dsf_createDs('ds_tmp');
  159. dsf_copyColInfo(ds_tmp, ds_hidden_list_grdinrgstinfo);
  160. ds_tmp.copyRow(ds_tmp.addRow(), ds_hidden_list_grdinrgstinfo, e.row);
  161. opener.ds_hidden_popuplist.copyData(ds_tmp);
  162. //opener.ds_hidden_popuplist.copyRow(0, ds_hidden_list_grdinrgstinfo, e.row);
  163. opener.ds_main.setColumn(0, 'popupendflag', 'ok');
  164. this.close();
  165. }
  166. else{
  167. sysf_messageBox('상위화면이 변경되어 데이터를 가져올 수', 'I004');
  168. }
  169. }
  170. }
  171. /****************************************************************************************
  172. * Argument :
  173. * Description : 확인 버튼 클릭 이벤트
  174. ****************************************************************************************/
  175. function btn_confirm_onclick(obj:Button, e:ClickEventInfo){
  176. // do nothing
  177. }
  178. /****************************************************************************************
  179. * Argument :
  180. * Description : 취소 버튼 클릭 이벤트
  181. ****************************************************************************************/
  182. function btn_cancel_onclick(obj:Button, e:ClickEventInfo){
  183. opener.ds_main.setColumn(0, 'popupendflag', 'cancel');
  184. this.close();
  185. }
  186. ]]></Script>
  187. </Form>
  188. </FDL>