SPPIJ04400_KDRG분류관리.xfdl 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPPIJ04400" position="absolute 0 0 960 660" titletext="KDRG분류관리" onload="SPPIJ04400_onload" oninit="SPPIJ04400_oninit">
  5. <Layouts>
  6. <Layout>
  7. <Div id="grp_biz" scrollbars="autoboth" position="absolute 0 28 959 632" style="" anchor="all">
  8. <Layouts>
  9. <Layout>
  10. <Grid id="grd_drgalist" binddataset="ds_main_drgalist" class="datagrid3" position="absolute 0 70 959 604" style="" anchor="all" autofittype="col">
  11. <Formats>
  12. <Format id="default">
  13. <Columns>
  14. <Column size="0"/>
  15. <Column size="60"/>
  16. <Column size="70"/>
  17. <Column size="409"/>
  18. <Column size="404"/>
  19. </Columns>
  20. <Rows>
  21. <Row size="23" band="head"/>
  22. <Row size="23"/>
  23. </Rows>
  24. <Band id="head">
  25. <Cell text="INSTCD"/>
  26. <Cell col="1" text="분류"/>
  27. <Cell col="2" text="KDRG번호"/>
  28. <Cell col="3" colspan="2" text="KDRG명" taborder="undefined"/>
  29. </Band>
  30. <Band id="body">
  31. <Cell style="align:left middle;" text="bind:instcd"/>
  32. <Cell col="1" displaytype="combo" style="align:center middle;padding:0 0 0 2;" text="bind:drgtype" combodataset="ds_grd_cmb_drgtype" combocodecol="cd" combodatacol="nm"/>
  33. <Cell col="2" style="align:left middle;" text="bind:drgcd"/>
  34. <Cell col="3" style="align:left middle;" text="bind:hngnm"/>
  35. <Cell col="4" style="align:left middle;" text="bind:engnm"/>
  36. </Band>
  37. </Format>
  38. </Formats>
  39. </Grid>
  40. <Static id="cap_judgtrgtman" class="tit_2" position="absolute 0 51 238 66" style="" text="DRG기준자료 리스트" anchor="default"/>
  41. <Div id="group1" position="absolute 0 5 959 45" style="align: top;" anchor="left top right">
  42. <Layouts>
  43. <Layout>
  44. <Shape id="roundrect3" anchor="left top right" type="roundrectangle" position="absolute 0 0 959 40" style=""/>
  45. <Button id="btn_select" class="btn1" taborder="3" position="absolute 900 10 956 32" style="" text="조회" onclick="grp_biz_group1_btn_select_onclick" anchor="top right"/>
  46. <Shape id="line3" class="line_4" linetype="vertical" position="absolute 885 5 888 38" style="" anchor="top right"/>
  47. <Edit id="ipt_drgno" position="absolute 100 10 200 29" style="" anchor="left top" onkeypress="grp_biz_group1_ipt_drgno_onkeypress" onkeydown="grp_biz_group1_ipt_drgno_onkeydown" imemode="alpha" inputmode="upper" taborder="0"/>
  48. <Static id="caption30" class="search_name" position="absolute 8 11 91 28" style="" text="KDRG번호 :" anchor="left top"/>
  49. <Static id="caption1" class="search_name" position="absolute 432 10 511 27" style="" text="KDRG 명 :" anchor="left top"/>
  50. <Edit id="ipt_hngnm" position="absolute 511 10 806 29" style="" anchor="left top" onkeypress="grp_biz_group1_ipt_hngnm_onkeypress" onkeydown="grp_biz_group1_ipt_hngnm_onkeydown" imemode="hangul" taborder="1"/>
  51. <Combo datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="cmb_drgtype" class="combo_search" position="absolute 315 10 410 29" style="" onkeypress="grp_biz_group1_cmb_drgtype_onkeypress" anchor="left top" onkeydown="grp_biz_group1_cmb_drgtype_onkeydown" taborder="2">
  52. <Dataset id="innerdataset">
  53. <ColumnInfo>
  54. <Column id="codecolumn"/>
  55. <Column id="datacolumn"/>
  56. </ColumnInfo>
  57. <Rows>
  58. <Row>
  59. <Col id="codecolumn"/>
  60. <Col id="datacolumn"/>
  61. </Row>
  62. <Row>
  63. <Col id="codecolumn">1</Col>
  64. <Col id="datacolumn">전문</Col>
  65. </Row>
  66. <Row>
  67. <Col id="codecolumn">2</Col>
  68. <Col id="datacolumn">일반</Col>
  69. </Row>
  70. <Row>
  71. <Col id="codecolumn">3</Col>
  72. <Col id="datacolumn">단순</Col>
  73. </Row>
  74. </Rows>
  75. </Dataset>
  76. </Combo>
  77. <Static id="caption2" class="search_name" position="absolute 218 11 308 28" style="" text="KDRG 분류 :" anchor="left top"/>
  78. </Layout>
  79. </Layouts>
  80. </Div>
  81. <Button id="btn_excelsave" class="btn7" position="absolute 880 49 959 68" style="" text="엑셀저장" onclick="grp_biz_btn_excelsave_onclick" anchor="top right"/>
  82. </Layout>
  83. </Layouts>
  84. </Div>
  85. <Button id="btn_cancel" class="btn4" position="absolute 903 637 959 659" style="" text="종료" anchor="right bottom"/>
  86. <Static id="cap_title" text="KDRG 분류관리" class="tit_1" position="absolute 0 0 216 26"/>
  87. </Layout>
  88. </Layouts>
  89. <Objects>
  90. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  91. <ColumnInfo>
  92. <Column id="instcd" type="STRING" size="256"/>
  93. <Column id="drgcd" type="STRING" size="256"/>
  94. <Column id="drgtype" type="STRING" size="256"/>
  95. <Column id="hngnm" type="STRING" size="256"/>
  96. </ColumnInfo>
  97. <Rows>
  98. <Row/>
  99. </Rows>
  100. </Dataset>
  101. <Dataset id="ds_main_drgalist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  102. <ColumnInfo>
  103. <Column id="drga" type="STRING" size="256"/>
  104. </ColumnInfo>
  105. <Rows>
  106. <Row>
  107. <Col id="drga"/>
  108. </Row>
  109. </Rows>
  110. </Dataset>
  111. <Dataset id="ds_grd_cmb_drgtype" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  112. <ColumnInfo>
  113. <Column id="cd" type="STRING" size="256"/>
  114. <Column id="nm" type="STRING" size="256"/>
  115. </ColumnInfo>
  116. <Rows>
  117. <Row>
  118. <Col id="cd">1</Col>
  119. <Col id="nm">전문</Col>
  120. </Row>
  121. <Row>
  122. <Col id="cd">2</Col>
  123. <Col id="nm">일반</Col>
  124. </Row>
  125. <Row>
  126. <Col id="cd">3</Col>
  127. <Col id="nm">단순</Col>
  128. </Row>
  129. </Rows>
  130. </Dataset>
  131. </Objects>
  132. <Bind>
  133. <BindItem id="item0" compid="grp_biz.group1.ipt_drgno" propid="value" datasetid="ds_send" columnid="drgcd"/>
  134. <BindItem id="item1" compid="grp_biz.group1.ipt_hngnm" propid="value" datasetid="ds_send" columnid="hngnm"/>
  135. <BindItem id="item2" compid="grp_biz.group1.cmb_drgtype" propid="value" datasetid="ds_send" columnid="drgtype"/>
  136. </Bind>
  137. <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs";
  138. function SPPIJ04400_oninit(obj:Form, e:InitEventInfo)
  139. {
  140. frmf_initForm(obj);
  141. }
  142. function SPPIJ04400_onload(obj:Form, e:LoadEventInfo) {
  143. grdf_initGrid(grp_biz.grd_drgalist);
  144. // 화면을 초기화한다.
  145. fInitialize();
  146. }
  147. function fInitialize() {
  148. grp_biz.group1.btn_select.click();
  149. }
  150. function fGetDocuList() {
  151. var oParam = {};
  152. oParam.id = "TRPIJ04400";
  153. oParam.service = "bfjudgapp.DRGCdIF";
  154. oParam.method = "reqGetKDrgAList";
  155. oParam.inds = "req=ds_send";
  156. oParam.outds = "ds_main_drgalist=rslt";
  157. oParam.async = false;
  158. //oParam.callback = "cf_TRPIJ04400";
  159. tranf_submit(oParam);
  160. }
  161. function grp_biz_group1_btn_select_onclick(obj:Button, e:ClickEventInfo) {
  162. fGetDocuList();
  163. }
  164. function grp_biz_group1_ipt_drgno_onkeydown(obj:Edit, e:KeyEventInfo) {
  165. if (e.keycode == 13) {
  166. obj.updateToDataset();
  167. fGetDocuList();
  168. }
  169. }
  170. function grp_biz_group1_ipt_hngnm_onkeydown(obj:Edit, e:KeyEventInfo) {
  171. if (e.keycode == 13) {
  172. obj.updateToDataset();
  173. fGetDocuList();
  174. }
  175. }
  176. function grp_biz_group1_cmb_drgtype_onkeydown(obj:Combo, e:KeyEventInfo) {
  177. if (e.keycode == 13) {
  178. obj.updateToDataset();
  179. fGetDocuList();
  180. }
  181. }
  182. function grp_biz_btn_excelsave_onclick(obj:Button, e:ClickEventInfo) {
  183. if (ds_main_drgalist.rowcount > 0) {
  184. grdf_exportExcel(grp_biz.grd_drgalist, "exportExcel", "see");
  185. } else {
  186. sysf_messageBox("엑셀저장할 내역이", "I004"); ///엑셀저장할 내역이 없습니다.
  187. }
  188. }
  189. ]]></Script>
  190. </Form>
  191. </FDL>