SMMNN02700_분만 현황 통계.xfdl 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNN02700" position="absolute 0 0 636 842" titletext="분만 현황 통계" oninit="SMMNN02700_oninit" onload="SMMNN02700_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="cpt_title" text="분만 현황 통계" class="tit_1" position="absolute 0 0 145 25"/>
  8. <Div id="grp_sea" taborder="1" class="div_SA" position="absolute 0 25 635 65">
  9. <Layouts>
  10. <Layout>
  11. <Button id="button2" taborder="9" text="조회" class="btn1" position="absolute 513 9 569 31" anchor="default" onclick="grp_sea_button2_onclick"/>
  12. <Shape id="line1" linetype="vertical" class="line_4" position="absolute 502 8 508 33" anchor="default"/>
  13. <Calendar id="ipt_searchy_bk" taborder="10" class="input_essential" position="absolute 104 11 170 30" mask="yyyy" anchor="default" visible="false"/>
  14. <Button id="button1" taborder="11" text="엑셀" class="btn7" position="absolute 570 9 626 31" anchor="default" onclick="grp_sea_button1_onclick"/>
  15. <Static id="caption25" text="조회년도 :" class="search_name" position="absolute 10 13 96 30" anchor="default"/>
  16. <Spin id="ipt_searchy" taborder="12" position="absolute 104 11 172 31" class="input_essential"/>
  17. </Layout>
  18. </Layouts>
  19. </Div>
  20. <Shape id="line4" class="line_10" position="absolute 0 88 635 94"/>
  21. <Grid id="grd_nbabystslist" taborder="2" binddataset="ds_main_nbabystsinfo_nbabystslist" useinputpanel="false" position="absolute 0 93 635 840">
  22. <Formats>
  23. <Format id="default">
  24. <Columns>
  25. <Column size="75"/>
  26. <Column size="80"/>
  27. <Column size="35"/>
  28. <Column size="35"/>
  29. <Column size="35"/>
  30. <Column size="36"/>
  31. <Column size="35"/>
  32. <Column size="35"/>
  33. <Column size="35"/>
  34. <Column size="35"/>
  35. <Column size="35"/>
  36. <Column size="35"/>
  37. <Column size="35"/>
  38. <Column size="35"/>
  39. <Column size="35"/>
  40. </Columns>
  41. <Rows>
  42. <Row size="24" band="head"/>
  43. <Row size="24"/>
  44. </Rows>
  45. <Band id="head">
  46. <Cell text="대분류"/>
  47. <Cell col="1" text="소분류"/>
  48. <Cell col="2" text="1월"/>
  49. <Cell col="3" text="2월"/>
  50. <Cell col="4" text="3월"/>
  51. <Cell col="5" text="4월"/>
  52. <Cell col="6" text="5월"/>
  53. <Cell col="7" text="6월"/>
  54. <Cell col="8" text="7월"/>
  55. <Cell col="9" text="8월"/>
  56. <Cell col="10" text="9월"/>
  57. <Cell col="11" text="10월"/>
  58. <Cell col="12" text="11월"/>
  59. <Cell col="13" text="12월"/>
  60. <Cell col="14" text="계"/>
  61. </Band>
  62. <Band id="body">
  63. <Cell text="bind:lgtitle" suppress="1" suppressalign="middle,over"/>
  64. <Cell col="1" text="bind:smtitle"/>
  65. <Cell col="2" text="bind:month01"/>
  66. <Cell col="3" text="bind:month02"/>
  67. <Cell col="4" text="bind:month03"/>
  68. <Cell col="5" text="bind:month04" mask="yyyy-mm-dd hh:nn"/>
  69. <Cell col="6" text="bind:month05"/>
  70. <Cell col="7" text="bind:month06"/>
  71. <Cell col="8" text="bind:month07"/>
  72. <Cell col="9" text="bind:month08"/>
  73. <Cell col="10" text="bind:month09"/>
  74. <Cell col="11" text="bind:month10"/>
  75. <Cell col="12" text="bind:month11"/>
  76. <Cell col="13" text="bind:month12"/>
  77. <Cell col="14" text="bind:monthsum"/>
  78. </Band>
  79. </Format>
  80. </Formats>
  81. </Grid>
  82. <Static id="caption1" text="분만 현황" class="tit_2" position="absolute 0 72 143 94"/>
  83. </Layout>
  84. </Layouts>
  85. <Objects>
  86. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  87. <ColumnInfo>
  88. <Column id="searchy" type="STRING" size="256"/>
  89. </ColumnInfo>
  90. <Rows>
  91. <Row/>
  92. </Rows>
  93. </Dataset>
  94. <Dataset id="ds_main_nbabystsinfo_nbabystslist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  95. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  96. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  97. </Objects>
  98. <Bind>
  99. <BindItem id="item0" compid="grp_sea.ipt_searchy" propid="value" datasetid="ds_main_cond" columnid="searchy"/>
  100. </Bind>
  101. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  102. * System Name :
  103. * Job Name :
  104. * Creator :
  105. * Make Date : 2017-02-15
  106. * Description :
  107. *---------------------------------------------------------------------------------------
  108. * Modify Date Modifier Modify Description
  109. *---------------------------------------------------------------------------------------
  110. * 2017-02-15 Live Converter TF->XP
  111. *
  112. *---------------------------------------------------------------------------------------
  113. ****************************************************************************************/
  114. //=======================================================================================
  115. // Lib Include
  116. //---------------------------------------------------------------------------------------
  117. include "com_commonxp::comm_main.xjs";
  118. include "emr_carecomxp::CareCom.xjs";
  119. var arErrorCode = new HashArray();
  120. //=======================================================================================
  121. // Function
  122. //---------------------------------------------------------------------------------------
  123. /****************************************************************************************
  124. * Argument : N/A
  125. * Description : 조회실행
  126. ****************************************************************************************/
  127. function fSearch() {
  128. ds_send_reqdata.copyData(ds_main_cond);
  129. var oParam = {};
  130. oParam.id = "TRMNN02700";
  131. oParam.service = "partrtnnbabyapp.PartrtnPatMngt";
  132. oParam.method = "reqGetNbabyStsList";
  133. oParam.inds = "req=ds_send_reqdata";
  134. oParam.outds = "ds_main_nbabystsinfo_nbabystslist=nbabystslist";
  135. oParam.async = false;
  136. //oParam.callback = "cf_TRMNN02700";
  137. tranf_submit(oParam);
  138. }
  139. //=======================================================================================
  140. // Event
  141. //---------------------------------------------------------------------------------------
  142. /****************************************************************************************
  143. * Components : Form
  144. * Description : 화면 처음 초기화시 폼초기화
  145. ****************************************************************************************/
  146. function SMMNN02700_oninit(obj:Form, e:InitEventInfo)
  147. {
  148. frmf_initForm(obj); // 폼 초기화
  149. }
  150. function SMMNN02700_onload(obj:Form, e:LoadEventInfo)
  151. {
  152. var fromdd = utlf_getCurrentDate();
  153. ds_main_cond.setColumn(0,"searchy",fromdd.substring(0, 4));
  154. // grd_nbabystslist.mergeCells = "bycol";
  155. // grd_nbabystslist.mergeCol(0) = true;
  156. // grd_nbabystslist.mergeCol(1) = false;
  157. // grd_nbabystslist.mergeCol(2) = false;
  158. // grd_nbabystslist.mergeCol(3) = false;
  159. // grd_nbabystslist.mergeCol(4) = false;
  160. // grd_nbabystslist.mergeCol(5) = false;
  161. // grd_nbabystslist.mergeCol(6) = false;
  162. // grd_nbabystslist.mergeCol(7) = false;
  163. // grd_nbabystslist.mergeCol(8) = false;
  164. // grd_nbabystslist.mergeCol(9) = false;
  165. // grd_nbabystslist.mergeCol(10) = false;
  166. // grd_nbabystslist.mergeCol(11) = false;
  167. // grd_nbabystslist.mergeCol(12) = false;
  168. // grd_nbabystslist.mergeCol(13) = false;
  169. // grd_nbabystslist.mergeCol(14) = false;
  170. fSearch();
  171. }
  172. /****************************************************************************************
  173. * Components : Button
  174. * Description : 조회
  175. ****************************************************************************************/
  176. function grp_sea_button2_onclick(obj:Button, e:ClickEventInfo)
  177. {
  178. fSearch();
  179. }
  180. /****************************************************************************************
  181. * Components : Button
  182. * Description : 엑셀저장
  183. ****************************************************************************************/
  184. function grp_sea_button1_onclick(obj:Button, e:ClickEventInfo)
  185. {
  186. if( ds_main_nbabystsinfo_nbabystslist.rowcount > 0 ){
  187. grdf_exportExcel(grd_nbabystslist, "SheetName", "SheetName", false, "", "user", false);
  188. } else {
  189. sysf_messageBox("조회된 데이터가 ", "I004");
  190. }
  191. }
  192. ]]></Script>
  193. </Form>
  194. </FDL>