SPMMO50300_DRG조회.xfdl 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.4">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMMO50300" position="absolute 0 0 680 500" titletext="DRG조회" onload="SPMMO50300_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static text="DRG조회" position="absolute 18 5 103 18" id="caption1" class="tit_2"/>
  8. <Grid position="absolute 15 70 662 475" align="align:center middle;" id="drg_grd" binddataset="ds_drg_grd" oncelldblclick="drg_grd_oncelldblclick">
  9. <Formats>
  10. <Format id="default">
  11. <Columns>
  12. <Column size="100"/>
  13. <Column size="530"/>
  14. <Column size="0"/>
  15. <Column size="0"/>
  16. <Column size="0"/>
  17. <Column size="0"/>
  18. <Column size="0"/>
  19. </Columns>
  20. <Rows>
  21. <Row size="24" band="head"/>
  22. <Row size="24"/>
  23. </Rows>
  24. <Band id="head">
  25. <Cell text="대표번호"/>
  26. <Cell col="1" text="DRG명"/>
  27. <Cell col="2" text="양안"/>
  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 text="bind:drgno"/>
  35. <Cell col="1" style="align:left;" text="bind:drgnm"/>
  36. <Cell col="2" text="bind:drgboth"/>
  37. <Cell col="3" text="bind:drgmin"/>
  38. <Cell col="4" text="bind:drgcel"/>
  39. <Cell col="5" text="bind:drgagefrom"/>
  40. <Cell col="6" text="bind:drgageto"/>
  41. </Band>
  42. </Format>
  43. </Formats>
  44. </Grid>
  45. <Div id="group1" taborder="4" class="div_SA" position="absolute 15 25 553 60">
  46. <Layouts>
  47. <Layout>
  48. <Button id="btn_search" taborder="3" text="조회" class="btn1" position="absolute 470 6 526 28" anchor="default" onclick="btn_search_onclick"/>
  49. <Shape id="line13" linetype="vertical" position="absolute 456 6 462 28" anchor="default"/>
  50. <Edit id="input1" taborder="4" class="input_search" position="absolute 76 7 447 26" anchor="default" onkeydown="input1_onkeydown"/>
  51. <Static id="caption2" text="DRG명:" class="search_name" position="absolute 4 9 73 26" anchor="default"/>
  52. </Layout>
  53. </Layouts>
  54. </Div>
  55. </Layout>
  56. </Layouts>
  57. <Objects>
  58. <Dataset id="ds_drg_grd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  59. <ColumnInfo>
  60. <Column id="drgno" type="STRING"/>
  61. <Column id="drgnm" type="STRING"/>
  62. <Column id="drgboth" type="STRING"/>
  63. <Column id="drgmin" type="STRING"/>
  64. <Column id="drgcel" type="STRING"/>
  65. <Column id="drgagefrom" type="STRING"/>
  66. <Column id="drgageto" type="STRING"/>
  67. </ColumnInfo>
  68. </Dataset>
  69. <Dataset id="ds_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  70. <ColumnInfo>
  71. <Column id="orddeptcd" type="STRING" size="256"/>
  72. <Column id="srchnm" type="STRING" size="256"/>
  73. </ColumnInfo>
  74. </Dataset>
  75. </Objects>
  76. <Bind/>
  77. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  78. * System Name : KNUH2.0
  79. * Job Name : EMR
  80. * Creator :
  81. * Make Date : 2014-08-28
  82. * Description :
  83. *---------------------------------------------------------------------------------------
  84. * Modify Date Modifier Modify Description
  85. *---------------------------------------------------------------------------------------
  86. * 2014-08-28 Live Converter TF->XP
  87. *
  88. *---------------------------------------------------------------------------------------
  89. ****************************************************************************************/
  90. //=======================================================================================
  91. // Lib Include
  92. //---------------------------------------------------------------------------------------
  93. include "com_commonxp::comm_main.xjs"
  94. include "emr_prcpmngtxp::MMO001.xjs"
  95. //=======================================================================================
  96. // Event
  97. //---------------------------------------------------------------------------------------
  98. /****************************************************************************************
  99. * Components : Form
  100. * Components ID : SPMMO50300
  101. * Event : onload
  102. * Argument : 01.obj : Object Event has occurred
  103. * : 02.e : Event Object
  104. * Description : 화면 로드시 초기화 함수 실행
  105. ****************************************************************************************/
  106. function SPMMO50300_onload(obj:Form, e:LoadEventInfo)
  107. {
  108. frmf_initForm(obj);
  109. var deptcd=opener.frmf_getParameter("deptcd");
  110. //deptcd = "2040000000" ;
  111. if(deptcd=="" || deptcd == null){
  112. sysf_messageBox("부서 정보가 없습니다.", "I", "");
  113. this.close();
  114. //return;
  115. }else{
  116. ds_req.clearData();
  117. ds_req.setColumn(ds_req.addRow(), "orddeptcd", deptcd);
  118. }
  119. fInitialize();
  120. }
  121. /****************************************************************************************
  122. * Components : Button
  123. * Components ID : btn_search
  124. * Event : onclick
  125. * Argument : 01.obj : Object Event has occurred
  126. * : 02.e : Event Object
  127. * Description : 조회버튼 실행
  128. ****************************************************************************************/
  129. function btn_search_onclick(obj:Button, e:ClickEventInfo)
  130. {
  131. fInitialize();
  132. }
  133. /****************************************************************************************
  134. * Components : Edit
  135. * Components ID : input1
  136. * Event : onkeydown
  137. * Argument : 01.obj : Object Event has occurred
  138. * : 02.e : Event Object
  139. * Description : 조회버튼 실행
  140. ****************************************************************************************/
  141. function input1_onkeydown(obj:Edit, e:KeyEventInfo)
  142. {
  143. if(e.keycode == "13") {
  144. ds_req.setColumn(0, "srchnm", obj.value);
  145. var e = new ClickEventInfo;
  146. frmf_inputEnterKey("btn_search", "onclick", e);
  147. }
  148. }
  149. /****************************************************************************************
  150. * Components : Grid
  151. * Components ID : drg_grd
  152. * Event : oncelldblclick
  153. * Argument : 01.obj : Object Event has occurred
  154. * : 02.e : Event Object
  155. * Description : 그리드 더블클릭 하여 모화면 데이터 전송
  156. ****************************************************************************************/
  157. function drg_grd_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  158. {
  159. if(frmf_checkOpener()){
  160. dsf_copyDs(opener.ds_tmp, ds_drg_grd, "replace");
  161. }else{
  162. sysf_messageBox("상위화면이 변경되어 데이터를 전달","E001");
  163. return;
  164. }
  165. this.close();
  166. }
  167. //=======================================================================================
  168. // Function
  169. //---------------------------------------------------------------------------------------
  170. /****************************************************************************************
  171. * Function : fInitialize
  172. * Description : 초기화시 조회실행.
  173. * Argument :
  174. * :
  175. * return type :
  176. * Creator :
  177. ****************************************************************************************/
  178. function fInitialize(){
  179. tranf_submit({id:"TRMMO50001"
  180. , service:"prcpmngtapp.EtcPrcpMngt"
  181. , method:"reqGetDgrInfo"
  182. , inds:"req=ds_req"
  183. , outds:"ds_drg_grd=item"
  184. , args:""
  185. , callback:""
  186. , sync:"true"
  187. });
  188. }
  189. ]]></Script>
  190. </Form>
  191. </FDL>