SMSTP01500_진료예약통계.xfdl 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMSTP01500" position="absolute 0 0 1199 783" titletext="진료예약 월별 통계" onload="SMSTP01500_onload" oninit="SMSTP01500_oninit">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group4" position="absolute 0 25 1195 65" style="" class="div_SA">
  8. <Layouts>
  9. <Layout>
  10. <Button id="btn_search" class="btn1_letter2" position="absolute 1053 10 1109 32" style="border: solid transparent transparent;color:transparent;background:_gradation URL(../../.._com_commonweb_images_btn1_letter2.gif) ;" text="조회" onclick="group4_btn_search_onclick" anchor="top right"/>
  11. <Shape id="line2" class="line_4" linetype="vertical" position="absolute 1038 7 1041 33" style="border: solid #ffe4bb #ffe4bb;" anchor="top right"/>
  12. <Static id="caption1" class="search_name" position="absolute 10 12 108 29" style="" text="조회기간" anchor="default"/>
  13. <Static id="caption3" class="search_name" position="absolute 338 12 424 29" style="" text="조회구분" anchor="default"/>
  14. <Static id="caption2" position="absolute 195 11 215 31" style="" text="~" anchor="default"/>
  15. <Calendar id="ipt_fromdd" class="input_search" mask="yyyy-mm-dd" position="absolute 89 10 187 29" style="align:center ;" anchor="default" onkillfocus="group4_ipt_fromdd_onkillfocus" autoskip="true" autoselect="true"/>
  16. <Calendar id="ipt_todd" class="input_search" mask="yyyy-mm-dd" position="absolute 211 11 309 30" style="align:center ;" anchor="default" onkillfocus="group4_ipt_todd_onkillfocus"/>
  17. <Radio id="rdo_dataflag" taborder="1" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 425 10 640 30" style="align: middle;" anchor="default" columncount="-1" rowcount="-1">
  18. <Dataset id="innerdataset">
  19. <ColumnInfo>
  20. <Column id="codecolumn"/>
  21. <Column id="datacolumn"/>
  22. </ColumnInfo>
  23. <Rows>
  24. <Row>
  25. <Col id="codecolumn">1</Col>
  26. <Col id="datacolumn">진료과별</Col>
  27. </Row>
  28. <Row>
  29. <Col id="codecolumn">2</Col>
  30. <Col id="datacolumn">진료의사별</Col>
  31. </Row>
  32. </Rows>
  33. </Dataset>
  34. </Radio>
  35. </Layout>
  36. </Layouts>
  37. </Div>
  38. <Grid id="grd_monthlist" binddataset="ds_main_month_monthlist" class="datagrid4" position="absolute 0 93 1195 775" style="" autoenter="select" cellsizingtype="col" anchor="all">
  39. <Formats>
  40. <Format id="default">
  41. <Columns>
  42. <Column size="100"/>
  43. <Column size="80"/>
  44. <Column size="100"/>
  45. <Column size="80"/>
  46. <Column size="80"/>
  47. <Column size="80"/>
  48. <Column size="80"/>
  49. <Column size="80"/>
  50. </Columns>
  51. <Rows>
  52. <Row size="24" band="head"/>
  53. <Row size="24" band="head"/>
  54. <Row size="24"/>
  55. </Rows>
  56. <Band id="head">
  57. <Cell rowspan="2" text="진료과" taborder="undefined"/>
  58. <Cell col="1" rowspan="2" text="진료의사" taborder="undefined"/>
  59. <Cell col="2" rowspan="2" text="구분" taborder="undefined"/>
  60. <Cell col="3" rowspan="2" text="신환환자" taborder="undefined"/>
  61. <Cell col="4" rowspan="2" text="초진환자" taborder="undefined"/>
  62. <Cell col="5" rowspan="2" text="재진환자" taborder="undefined"/>
  63. <Cell col="6" rowspan="2" text="합계" taborder="undefined"/>
  64. <Cell col="7" text="진료예약율"/>
  65. <Cell col="8" text="진료의사"/>
  66. <Cell col="9" text="구분"/>
  67. <Cell col="10" text="신환환자"/>
  68. <Cell col="11" text="초진환자"/>
  69. <Cell col="12" text="재진환자"/>
  70. <Cell col="13" text="합계"/>
  71. <Cell col="14" text="부도율"/>
  72. <Cell row="1" col="7" text="부도율"/>
  73. <Cell row="1" col="8"/>
  74. <Cell row="1" col="9"/>
  75. <Cell row="1" col="10"/>
  76. <Cell row="1" col="11"/>
  77. <Cell row="1" col="12"/>
  78. <Cell row="1" col="13"/>
  79. <Cell row="1" col="14"/>
  80. </Band>
  81. <Band id="body">
  82. <Cell style="align:center middle;" text="bind:orddeptnm" wordwrap="word" suppress="1" suppressalign="middle,over"/>
  83. <Cell col="1" text="bind:orddrnm" suppress="2" suppressalign="middle,over"/>
  84. <Cell col="2" text="bind:lrgitem"/>
  85. <Cell col="3" displaytype="number" text="bind:new_cnt"/>
  86. <Cell col="4" displaytype="number" text="bind:first_cnt"/>
  87. <Cell col="5" displaytype="number" text="bind:re_cnt"/>
  88. <Cell col="6" displaytype="number" text="bind:tot_cnt"/>
  89. <Cell col="7" displaytype="number" text="bind:rsrv_rat"/>
  90. </Band>
  91. </Format>
  92. </Formats>
  93. </Grid>
  94. <Shape id="line3" class="line_10" linetype="horizontal" position="absolute 0 81 1195 101" style="" anchor="left top right"/>
  95. <Static id="caption46" class="tit_2" position="absolute 0 72 151 94" style="" text="진료예약 월별 통계"/>
  96. <Static id="caption6" text="진료예약 월별 통계" class="tit_1" position="absolute 0 0 216 25"/>
  97. <Button id="btn_search" taborder="1" text="조회" onclick="group4_button2_onclick" class="btn1" position="absolute 1051 35 1107 56" anchor="top right"/>
  98. <Button id="btn_excel" taborder="2" text="엑셀저장" onclick="btn_excel_onclick" class="btn7" position="absolute 1112 35 1192 56" anchor="top right"/>
  99. </Layout>
  100. </Layouts>
  101. <Objects>
  102. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  103. <ColumnInfo>
  104. <Column id="fromdd" type="STRING" size="256"/>
  105. <Column id="todd" type="STRING" size="256"/>
  106. <Column id="dataflag" type="STRING" size="256"/>
  107. </ColumnInfo>
  108. <Rows>
  109. <Row>
  110. <Col id="fromdd"/>
  111. <Col id="todd"/>
  112. <Col id="dataflag">1</Col>
  113. </Row>
  114. </Rows>
  115. </Dataset>
  116. <Dataset id="ds_main_month_monthlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  117. <ColumnInfo>
  118. <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과"/>
  119. <Column id="orddrnm" type="STRING" size="256" sumtext="진료의사"/>
  120. <Column id="lrgitem" type="STRING" size="256" sumtext="대분류"/>
  121. <Column id="new_cnt" type="STRING" size="256" sumtext="28일 오후 환자수"/>
  122. <Column id="first_cnt" type="STRING" size="256" sumtext="29일 오전 환자수"/>
  123. <Column id="re_cnt" type="STRING" size="256" sumtext="29일 오후 환자수"/>
  124. <Column id="tot_cnt" type="STRING" size="256" sumtext="30일 오전 환자수"/>
  125. <Column id="rsrv_rat" type="STRING" size="256" sumtext="30일 오후 환자수"/>
  126. </ColumnInfo>
  127. </Dataset>
  128. </Objects>
  129. <Bind>
  130. <BindItem id="item0" compid="group4.rdo_dataflag" propid="value" datasetid="ds_send" columnid="dataflag"/>
  131. <BindItem id="item1" compid="group4.ipt_fromdd" propid="value" datasetid="ds_send" columnid="fromdd"/>
  132. <BindItem id="item2" compid="group4.ipt_todd" propid="value" datasetid="ds_send" columnid="todd"/>
  133. </Bind>
  134. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  135. * System Name :
  136. * Job Name :
  137. * Creator :
  138. * Make Date : 2016-05-24
  139. * Description :
  140. *---------------------------------------------------------------------------------------
  141. * Modify Date Modifier Modify Description
  142. *---------------------------------------------------------------------------------------
  143. * 2016-05-24 Live Converter TF->XP
  144. *
  145. *---------------------------------------------------------------------------------------
  146. ****************************************************************************************/
  147. include "com_commonxp::comm_main.xjs";
  148. function SMSTP01500_oninit(obj:Form, e:InitEventInfo)
  149. {
  150. frmf_initForm(obj);
  151. }
  152. function SMSTP01500_onload(obj:Form, e:LoadEventInfo)
  153. {
  154. grdf_initGrid(grd_monthlist);
  155. ds_send.setColumn(0, "fromdd", utlf_getCurrentDate());
  156. ds_send.setColumn(0, "todd", utlf_getCurrentDate());
  157. }
  158. function group4_button2_onclick(obj:Button, e:ClickEventInfo)
  159. {
  160. var oParam = {};
  161. oParam.id = "TRSTP01501";
  162. oParam.service = "stspamapp.StsPam";
  163. oParam.method = "reqGetMonthRsrvSTS";
  164. oParam.inds = "req=ds_send";
  165. oParam.outds = "ds_main_month_monthlist=monthlist";
  166. oParam.async = false;
  167. //oParam.callback = "cf_TRSTP01501";
  168. tranf_submit(oParam);
  169. }
  170. function btn_excel_onclick(obj:Button, e:ClickEventInfo)
  171. {
  172. var xlsTitle = "진료예약 월별통계_" + group4.rdo_dataflag.text+"("+group4.ipt_fromdd.text+ "~" +group4.ipt_todd.text+")";
  173. grdf_exportExcel(grd_monthlist, xlsTitle, xlsTitle, "true", "", "");
  174. }
  175. ]]></Script>
  176. </Form>
  177. </FDL>