SSMNF00100_가정간호방문통계.xfdl 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SSMNF00100" position="absolute 0 0 1196 762" titletext="가정간호 방문통계" onload="SSMNF00100_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="grp_biz" scrollbars="autoboth" position="absolute 0 26 1195 756" style="">
  8. <Layouts>
  9. <Layout>
  10. <Div id="group1" position="absolute 0 0 1194 35" style="align: top;" class="div_SA" anchor="left top right">
  11. <Layouts>
  12. <Layout>
  13. <Shape id="line3" class="line_4" linetype="vertical" position="absolute 1056 6 1059 28" style="" anchor="top right"/>
  14. <Button id="button1" class="btn7" position="absolute 1134 7 1190 29" style="" text="엑셀" onclick="grp_biz_group1_button1_onclick" anchor="top right"/>
  15. <Button id="btn_select" class="btn1" position="absolute 1069 7 1125 29" style="" text="조회" onclick="grp_biz_group1_btn_select_onclick" anchor="top right"/>
  16. <Static id="caption30" class="search_name" position="absolute 16 9 140 26" style="" text="기 간 :" anchor="left top"/>
  17. <Calendar id="input1" class="input_search" taborder="2" visible="true" mask="yyyy-mm-dd" position="absolute 244 8 334 27" style="align:center ;" anchor="left top"/>
  18. <Calendar id="ipt_procdd" class="input_search" taborder="1" visible="true" mask="yyyy-mm-dd" position="absolute 119 8 209 27" style="align:center ;" anchor="left top"/>
  19. <Static id="cpt_dash" class="search_no_b" position="absolute 220 9 237 26" style="" text="~" anchor="left top"/>
  20. </Layout>
  21. </Layouts>
  22. </Div>
  23. <Static id="caption26" class="tit_2" position="absolute 0 39 200 55" style="" text="가정간호 방문통계 리스트" anchor="default"/>
  24. <Grid id="dgrd_rpt" binddataset="ds_main_homecarevisitinfo" class="grd_first" visible="true" position="absolute 0 57 1194 727" style="" anchor="all" cellsizingtype="both" cellmovingtype="col">
  25. <Formats>
  26. <Format id="default">
  27. <Columns>
  28. <Column size="100"/>
  29. <Column size="100"/>
  30. <Column size="100"/>
  31. <Column size="100"/>
  32. <Column size="100"/>
  33. </Columns>
  34. <Rows>
  35. <Row size="25" band="head"/>
  36. <Row size="25" band="head"/>
  37. <Row size="25"/>
  38. </Rows>
  39. <Band id="head">
  40. <Cell text="구분"/>
  41. <Cell col="1" colspan="4" text="등록환자" taborder="undefined"/>
  42. <Cell col="5"/>
  43. <Cell col="6" text="첫방문(신환자수)"/>
  44. <Cell col="7" text="진행환자수"/>
  45. <Cell col="8" text="방문건수"/>
  46. <Cell col="9" text="종결자수"/>
  47. <Cell col="10" text="첫방문(신환자수)"/>
  48. <Cell col="11" text="진행환자수"/>
  49. <Cell col="12" text="방문건수"/>
  50. <Cell col="13" text="종결자수"/>
  51. <Cell row="1"/>
  52. <Cell row="1" col="1" text="첫방문(신환자수)"/>
  53. <Cell row="1" col="2" text="진행환자수"/>
  54. <Cell row="1" col="3" text="방문건수"/>
  55. <Cell row="1" col="4" text="종결자수"/>
  56. </Band>
  57. <Band id="body">
  58. <Cell text="bind:churchnm"/>
  59. <Cell col="1" displaytype="number" style="align:right middle;" text="bind:rgstfstpatcnt"/>
  60. <Cell col="2" displaytype="number" style="align:right middle;" text="bind:rgstingpatcnt"/>
  61. <Cell col="3" displaytype="number" style="align:right middle;" text="bind:rgstvisitcnt"/>
  62. <Cell col="4" displaytype="number" style="align:right middle;" text="bind:rgstendpatcnt"/>
  63. </Band>
  64. </Format>
  65. </Formats>
  66. </Grid>
  67. </Layout>
  68. </Layouts>
  69. </Div>
  70. <Static id="caption6" text="가정간호 방문통계" class="tit_1" position="absolute 0 0 160 26"/>
  71. </Layout>
  72. </Layouts>
  73. <Objects>
  74. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  75. <ColumnInfo>
  76. <Column id="hidden" type="STRING" size="256"/>
  77. </ColumnInfo>
  78. </Dataset>
  79. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  80. <ColumnInfo>
  81. <Column id="init" type="STRING" size="256"/>
  82. </ColumnInfo>
  83. <Rows>
  84. <Row>
  85. <Col id="init"/>
  86. </Row>
  87. </Rows>
  88. </Dataset>
  89. <Dataset id="ds_main_homecarevisitinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  90. <ColumnInfo>
  91. <Column id="homecarevisitlist" type="STRING" size="256"/>
  92. </ColumnInfo>
  93. <Rows>
  94. <Row>
  95. <Col id="homecarevisitlist"/>
  96. </Row>
  97. </Rows>
  98. </Dataset>
  99. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  100. <ColumnInfo>
  101. <Column id="grd_nurselist" type="STRING" size="256"/>
  102. </ColumnInfo>
  103. </Dataset>
  104. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  105. <ColumnInfo>
  106. <Column id="fromdd" type="STRING" size="256"/>
  107. <Column id="todd" type="STRING" size="256"/>
  108. <Column id="visitnursid" type="STRING" size="256"/>
  109. </ColumnInfo>
  110. <Rows>
  111. <Row>
  112. <Col id="fromdd"/>
  113. <Col id="todd"/>
  114. <Col id="visitnursid"/>
  115. </Row>
  116. </Rows>
  117. </Dataset>
  118. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  119. <ColumnInfo>
  120. <Column id="send" type="STRING" size="256"/>
  121. </ColumnInfo>
  122. <Rows>
  123. <Row>
  124. <Col id="send"/>
  125. </Row>
  126. </Rows>
  127. </Dataset>
  128. </Objects>
  129. <Bind>
  130. <BindItem id="item0" compid="grp_biz.group1.input1" propid="value" datasetid="ds_main_cond" columnid="todd"/>
  131. <BindItem id="item1" compid="grp_biz.group1.ipt_procdd" propid="value" datasetid="ds_main_cond" columnid="fromdd"/>
  132. </Bind>
  133. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  134. * System Name :
  135. * Job Name :
  136. * Creator :
  137. * Make Date : 2016-05-24
  138. * Description :
  139. *---------------------------------------------------------------------------------------
  140. * Modify Date Modifier Modify Description
  141. *---------------------------------------------------------------------------------------
  142. * 2016-05-24 Live Converter TF->XP
  143. *
  144. *---------------------------------------------------------------------------------------
  145. ****************************************************************************************/
  146. include "com_commonxp::comm_main.xjs";
  147. function fGetHomeCareVisitList(){
  148. ds_main_homecarevisitinfo.clearData();
  149. ds_send.clearData();
  150. dsf_makeValue( ds_send, "fromdd", "string", ds_main_cond.getColumn(0, "fromdd"));
  151. dsf_makeValue( ds_send, "todd", "string", ds_main_cond.getColumn(0, "todd"));
  152. var oParam = {};
  153. oParam.id = "TRSNF00101";
  154. oParam.service = "stsenrapp.InjRoomMngt";
  155. oParam.method = "reqGeHomeCareVisitlist";
  156. oParam.inds = "reqdata=ds_send";
  157. oParam.outds = "ds_main_homecarevisitinfo=homecarevisitlist";
  158. oParam.async = false;
  159. //oParam.callback = "cf_TRSNF00101";
  160. tranf_submit(oParam);
  161. }
  162. //스크립트 끝
  163. function SSMNF00100_onload(obj:Form, e:LoadEventInfo) {
  164. frmf_initForm(obj);
  165. grdf_initGrid(grp_biz.dgrd_rpt);
  166. //grdf_setGridSort(grd_XXX);
  167. //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
  168. ds_main_homecarevisitinfo.clearData();
  169. ds_main_cond.setColumn( 0, "fromdd", utlf_getCurrentDate());
  170. ds_main_cond.setColumn( 0, "todd", utlf_getCurrentDate());
  171. fGetHomeCareVisitList();
  172. }
  173. function grp_biz_group1_button1_onclick(obj:Button, e:ClickEventInfo) {
  174. if (ds_main_homecarevisitinfo.rowcount > 0) {
  175. grdf_exportExcel(grp_biz.dgrd_rpt, grp_biz.caption26.text , "see");
  176. }else{
  177. sysf_messageBox("엑셀저장할 내역이", "I004");
  178. }
  179. }
  180. function grp_biz_group1_btn_select_onclick(obj:Button, e:ClickEventInfo) {
  181. fGetHomeCareVisitList();
  182. }
  183. ]]></Script>
  184. </Form>
  185. </FDL>