SMAVT01300_이식진료과분류.xfdl 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAVT01300" position="absolute 0 0 1197 788" titletext="조직은행 이식진료과별" onload="SMAVT01300_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="grp_tle" position="absolute 0 0 1192 25" style="">
  8. <Layouts>
  9. <Layout>
  10. <Static id="caption6" class="tit_1" position="absolute 0 0 210 23" style="" text="조직은행 이식 진료과별 통계" anchor="default"/>
  11. </Layout>
  12. </Layouts>
  13. </Div>
  14. <Div id="grp_biz" scrollbars="autoboth" position="absolute 0 13 1194 757" style="">
  15. <Layouts>
  16. <Layout>
  17. <Static id="caption1" class="tit_2" position="absolute 5 55 241 72" style="" text="조직은행 이식 진료과별 통계 리스트" anchor="default"/>
  18. <Shape id="line1" class="line_10" linetype="horizontal" position="absolute 0 72 1194 76" style="" anchor="default"/>
  19. <Grid id="dtg_opdeptnm_list" binddataset="ds_main_opdeptnm_list_item" position="absolute 0 75 1194 739" style="align:center ;" anchor="default">
  20. <Formats>
  21. <Format id="default">
  22. <Columns>
  23. <Column size="24"/>
  24. <Column size="172"/>
  25. <Column size="98"/>
  26. <Column size="100"/>
  27. </Columns>
  28. <Rows>
  29. <Row size="23" band="head"/>
  30. <Row size="23"/>
  31. </Rows>
  32. <Band id="head">
  33. <Cell/>
  34. <Cell col="1" text="이식진료과"/>
  35. <Cell col="2" text="건수"/>
  36. <Cell col="3" text="비율(%)"/>
  37. </Band>
  38. <Band id="body">
  39. <Cell celltype="head" expr="currow + 1"/>
  40. <Cell col="1" text="bind:opdeptnm"/>
  41. <Cell col="2" text="bind:cnt"/>
  42. <Cell col="3" text="bind:ratio"/>
  43. </Band>
  44. </Format>
  45. </Formats>
  46. </Grid>
  47. <Div id="grp_sea" position="absolute 0 10 1194 45" style="align: top;" class="div_SA" anchor="default">
  48. <Layouts>
  49. <Layout>
  50. <Static id="caption2" class="search_name" position="absolute 15 9 86 26" style="" text="수술일자 :" anchor="default"/>
  51. <Static id="caption5" class="search_no_b" position="absolute 202 10 212 27" style="" text="~" anchor="default"/>
  52. <Shape id="line13" class="line_4" linetype="vertical" position="absolute 1107 7 1110 29" style="" anchor="default"/>
  53. <Calendar id="ipt_fromdd" class="input_essential" position="absolute 96 9 196 28" style="" anchor="default" dateformat="yyyy-MM-dd" value="null" autoselect="true"/>
  54. <Calendar id="ipt_todd" class="input_essential" position="absolute 218 10 318 29" style="" anchor="default" dateformat="yyyy-MM-dd" autoselect="true"/>
  55. <Button id="btn_sea" class="btn1" position="absolute 1123 7 1179 29" style="" text="조회" onclick="grp_biz_grp_sea_btn_sea_onclick" anchor="default"/>
  56. </Layout>
  57. </Layouts>
  58. </Div>
  59. <Button id="btn_excsave" class="btn7" position="absolute 1119 50 1192 69" style="" text="엑셀저장" onclick="grp_biz_btn_excsave_onclick" anchor="default"/>
  60. </Layout>
  61. </Layouts>
  62. </Div>
  63. <Div id="grp_btn" position="absolute 0 757 1192 784" style="">
  64. <Layouts>
  65. <Layout>
  66. <Button id="btn_prt" class="btn6" visible="false" position="absolute 0 5 56 27" style="" text="출력" onclick="grp_btn_btn_prt_onclick" anchor="default"/>
  67. </Layout>
  68. </Layouts>
  69. </Div>
  70. </Layout>
  71. </Layouts>
  72. <Objects>
  73. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  74. <ColumnInfo>
  75. <Column id="hidden" type="STRING" size="256"/>
  76. </ColumnInfo>
  77. <Rows>
  78. <Row>
  79. <Col id="hidden"/>
  80. </Row>
  81. </Rows>
  82. </Dataset>
  83. <Dataset id="ds_main_opdeptnm_list_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  84. <ColumnInfo>
  85. <Column id="opdeptnm" type="STRING" size="256"/>
  86. <Column id="cnt" type="STRING" size="256"/>
  87. <Column id="ratio" type="STRING" size="256"/>
  88. </ColumnInfo>
  89. <Rows>
  90. <Row>
  91. <Col id="opdeptnm"/>
  92. <Col id="cnt"/>
  93. <Col id="ratio"/>
  94. </Row>
  95. </Rows>
  96. </Dataset>
  97. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  98. <ColumnInfo>
  99. <Column id="temp" type="STRING" size="256"/>
  100. </ColumnInfo>
  101. <Rows>
  102. <Row>
  103. <Col id="temp"/>
  104. </Row>
  105. </Rows>
  106. </Dataset>
  107. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  108. <ColumnInfo/>
  109. </Dataset>
  110. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  111. <ColumnInfo>
  112. <Column id="init" type="STRING" size="256"/>
  113. </ColumnInfo>
  114. <Rows>
  115. <Row>
  116. <Col id="init"/>
  117. </Row>
  118. </Rows>
  119. </Dataset>
  120. <Dataset id="ds_rexprnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  121. <ColumnInfo>
  122. <Column id="benflist" type="STRING" size="256"/>
  123. </ColumnInfo>
  124. <Rows>
  125. <Row>
  126. <Col id="benflist"/>
  127. </Row>
  128. </Rows>
  129. </Dataset>
  130. <Dataset id="ds_main_opdeptnm_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  131. <ColumnInfo/>
  132. </Dataset>
  133. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  134. <ColumnInfo>
  135. <Column id="srchtodd" type="STRING" size="256"/>
  136. <Column id="srchfromdd" type="STRING" size="256"/>
  137. </ColumnInfo>
  138. </Dataset>
  139. </Objects>
  140. <Bind>
  141. <BindItem id="item0" compid="grp_biz.grp_sea.ipt_fromdd" propid="value" datasetid="ds_send" columnid="srchfromdd"/>
  142. <BindItem id="item1" compid="grp_biz.grp_sea.ipt_todd" propid="value" datasetid="ds_send" columnid="srchtodd"/>
  143. </Bind>
  144. <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs";
  145. include "com_commodulexp::SSZFM00901.xjs";
  146. include "ast_tissuebankbasexp::tissuebankcombolist.xjs";
  147. //include "ast_healexamxp::AHA001.xjs";
  148. include "com_zipcodexp::ZBP001.xjs";
  149. //스크립트 시작 ***
  150. //전체에서 event와 src를 제외한 script 를 모두포함.
  151. // 화면 초기화
  152. function fGetScreenInit(){
  153. ds_send.clearData();
  154. ds_send.addRow();
  155. ds_send.setColumn( 0, "srchfromdd", utlf_getCurrentDate());
  156. ds_send.setColumn( 0, "srchtodd", utlf_getCurrentDate());
  157. //model.refresh();
  158. }
  159. //스크립트 끝
  160. function SMAVT01300_onload(obj:Form, e:LoadEventInfo) {
  161. frmf_initForm(obj);
  162. grdf_initGrid(grp_biz.dtg_opdeptnm_list);
  163. //grdf_setGridSort(grd_XXX);
  164. //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
  165. fGetScreenInit();
  166. }
  167. function grp_biz_grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo) {
  168. if( ds_send.getColumn(0, "srchfromdd") == ""){
  169. sysf_messageBox("조회기간", "E013", "입력 후 다시 조회하세요.");
  170. return;
  171. }
  172. if( ds_send.getColumn(0, "srchtodd") == "" ){
  173. sysf_messageBox("조회기간", "E013", "입력 후 다시 조회하세요.");
  174. return;
  175. }
  176. //submit("TRAVT01300");
  177. var oParam = {};
  178. oParam.id = "TRAVT01300";
  179. oParam.service = "tissuebankapp.TissueBankProcess";
  180. oParam.method = "reqGetStatistics030";
  181. oParam.inds = "req=ds_send";
  182. oParam.outds = "ds_main_opdeptnm_list_item=item";
  183. oParam.async = false;
  184. tranf_submit(oParam);
  185. //model.refresh();
  186. }
  187. function grp_biz_btn_excsave_onclick(obj:Button, e:ClickEventInfo) {
  188. grdf_exportExcel(grp_biz.dtg_opdeptnm_list, "excel", "Sheet1", true, "" , 'user' , true);
  189. }
  190. ]]></Script>
  191. </Form>
  192. </FDL>