SMAES02000_핵의학체내시간대별 통계(일일).xfdl 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAES02000" position="absolute 0 0 1201 761" titletext="핵의학체내 시간대별 통계(일일)" oninit="SMAES02000_oninit" onload="SMAES02000_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="핵의학체내 시간대별 통계(일일)" class="tit_1" position="absolute 0 0 270 23"/>
  8. <Div id="grp_sea" taborder="1" class="div_SA" position="absolute 0 24 1195 64" anchor="left top right">
  9. <Layouts>
  10. <Layout>
  11. <Static id="caption2" text="구분 :" class="search_name" position="absolute 15 11 101 28"/>
  12. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1107 7 1113 31" anchor="top right"/>
  13. <Button id="btn_sea" taborder="5" text="조회" class="btn1" position="absolute 1120 8 1176 30" anchor="top right" onclick="grp_sea_btn_sea_onclick"/>
  14. <Static id="caption3" text="일자 :" class="search_name" position="absolute 260 11 346 28"/>
  15. <Calendar id="input2" taborder="6" class="input_default" position="absolute 329 9 429 28" dateformat="yyyy-MM-dd" value="null" autoselect="true"/>
  16. <Combo id="cmb_excuroomgrp" taborder="7" innerdataset="@ds_init_initexcuroomgrp" codecolumn="basecdcnts" datacolumn="basecdcnts2" class="combo_default" position="absolute 84 9 202 28"/>
  17. </Layout>
  18. </Layouts>
  19. </Div>
  20. <Shape id="line1" class="line_10" position="absolute 0 87 1195 93" anchor="left top right"/>
  21. <Static id="caption1" text="핵의학체내 시간대별 통계(일일)" class="tit_2" position="absolute 0 71 224 93"/>
  22. <Grid id="grd_list" taborder="2" binddataset="ds_main_list_item" useinputpanel="false" position="absolute 0 92 1195 755" anchor="all">
  23. <Formats>
  24. <Format id="default">
  25. <Columns>
  26. <Column size="172"/>
  27. <Column size="65"/>
  28. <Column size="60"/>
  29. <Column size="60"/>
  30. <Column size="60"/>
  31. <Column size="60"/>
  32. <Column size="60"/>
  33. <Column size="60"/>
  34. <Column size="60"/>
  35. <Column size="60"/>
  36. <Column size="60"/>
  37. <Column size="60"/>
  38. <Column size="60"/>
  39. <Column size="60"/>
  40. <Column size="60"/>
  41. <Column size="60"/>
  42. <Column size="60"/>
  43. <Column size="60"/>
  44. <Column size="60"/>
  45. <Column size="60"/>
  46. <Column size="60"/>
  47. </Columns>
  48. <Rows>
  49. <Row size="24" band="head"/>
  50. <Row size="24"/>
  51. </Rows>
  52. <Band id="head">
  53. <Cell colspan="2" text="촬영실" taborder="undefined"/>
  54. <Cell col="2" text="0007"/>
  55. <Cell col="3" text="0708"/>
  56. <Cell col="4" text="0809"/>
  57. <Cell col="5" text="0910"/>
  58. <Cell col="6" text="1011"/>
  59. <Cell col="7" text="1112"/>
  60. <Cell col="8" text="1213"/>
  61. <Cell col="9" text="1314"/>
  62. <Cell col="10" text="1415"/>
  63. <Cell col="11" text="1516"/>
  64. <Cell col="12" text="1617"/>
  65. <Cell col="13" text="1718"/>
  66. <Cell col="14" text="1819"/>
  67. <Cell col="15" text="1920"/>
  68. <Cell col="16" text="2021"/>
  69. <Cell col="17" text="2122"/>
  70. <Cell col="18" text="2223"/>
  71. <Cell col="19" text="2300"/>
  72. <Cell col="20" text="합계"/>
  73. </Band>
  74. <Band id="body">
  75. <Cell style="align:left middle;" text="bind:excuroomnm" suppress="1" suppressalign="middle,over"/>
  76. <Cell col="1" style="align:left middle;" text="bind:nm"/>
  77. <Cell col="2" displaytype="number" text="bind:cnt01"/>
  78. <Cell col="3" displaytype="number" text="bind:cnt02"/>
  79. <Cell col="4" displaytype="number" text="bind:cnt03"/>
  80. <Cell col="5" displaytype="number" text="bind:cnt04"/>
  81. <Cell col="6" displaytype="number" text="bind:cnt05"/>
  82. <Cell col="7" displaytype="number" text="bind:cnt06"/>
  83. <Cell col="8" displaytype="number" text="bind:cnt07"/>
  84. <Cell col="9" displaytype="number" text="bind:cnt08"/>
  85. <Cell col="10" displaytype="number" text="bind:cnt09"/>
  86. <Cell col="11" displaytype="number" text="bind:cnt10"/>
  87. <Cell col="12" displaytype="number" text="bind:cnt11"/>
  88. <Cell col="13" displaytype="number" text="bind:cnt12"/>
  89. <Cell col="14" displaytype="number" text="bind:cnt13"/>
  90. <Cell col="15" displaytype="number" text="bind:cnt14"/>
  91. <Cell col="16" displaytype="number" text="bind:cnt15"/>
  92. <Cell col="17" displaytype="number" text="bind:cnt16"/>
  93. <Cell col="18" displaytype="number" text="bind:cnt17"/>
  94. <Cell col="19" displaytype="number" text="bind:cnt18"/>
  95. <Cell col="20" displaytype="number" text="bind:total"/>
  96. </Band>
  97. </Format>
  98. </Formats>
  99. </Grid>
  100. <Button id="btn_excsave" taborder="3" text="엑셀저장" class="btn7" position="absolute 1115 68 1195 87" anchor="top right" onclick="btn_excsave_onclick"/>
  101. </Layout>
  102. </Layouts>
  103. <Objects>
  104. <Dataset id="ds_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  105. <ColumnInfo>
  106. <Column id="excuroomgrpcdid" type="STRING" size="256" sumtext="검사실그룹코드"/>
  107. <Column id="basesuppdeptcd" type="STRING" size="256" sumtext="부서코드"/>
  108. <Column id="rbasecdflag" type="STRING" size="256" sumtext="검사실기본코드구분,검사실"/>
  109. <Column id="kbasecdflag" type="STRING" size="256" sumtext="검사실기본코드구분,장비코드"/>
  110. <Column id="nbasecdflag" type="STRING" size="256" sumtext="핵종코드"/>
  111. <Column id="initflag" type="STRING" size="256" sumtext="astlib,병동병실코드구분,1:병동조회"/>
  112. <Column id="alladdyn" type="STRING" size="256" sumtext="검사살전체선택"/>
  113. <Column id="flag" type="STRING" size="256" sumtext="검사살전체선택"/>
  114. <Column id="baseroomflag" type="STRING" size="256" sumtext="검사실구분코드"/>
  115. <Column id="srchflag" type="STRING" size="256" sumtext="조회구분"/>
  116. <Column id="basecdcnts" type="STRING" size="256" sumtext="검사실그룹코드"/>
  117. <Column id="ebasecdflag" type="STRING" size="256" sumtext="실시자기본코드구분"/>
  118. </ColumnInfo>
  119. <Rows>
  120. <Row/>
  121. </Rows>
  122. </Dataset>
  123. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  124. <ColumnInfo>
  125. <Column id="srchdate" type="STRING" size="256"/>
  126. <Column id="suppdeptcd" type="STRING" size="256"/>
  127. <Column id="initexcuroomgrp" type="STRING" size="256"/>
  128. </ColumnInfo>
  129. <Rows>
  130. <Row>
  131. <Col id="srchdate"/>
  132. <Col id="suppdeptcd"/>
  133. <Col id="initexcuroomgrp"/>
  134. </Row>
  135. </Rows>
  136. </Dataset>
  137. <Dataset id="ds_init_initexcuroomgrp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  138. <ColumnInfo>
  139. <Column id="basecdcnts" type="STRING" size="256" sumtext="검사그룹코드"/>
  140. <Column id="basecdcnts2" type="STRING" size="256" sumtext="검사그룹코드명"/>
  141. </ColumnInfo>
  142. </Dataset>
  143. <Dataset id="ds_main_list_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  144. <ColumnInfo>
  145. <Column id="excuroomcd" type="STRING" size="256" sumtext="촬영실코드"/>
  146. <Column id="excuroomnm" type="STRING" size="256" sumtext="촬영실"/>
  147. <Column id="nm" type="STRING" size="256" sumtext="환자/검사"/>
  148. <Column id="cnt01" type="STRING" size="256" sumtext="cnt01"/>
  149. <Column id="cnt02" type="STRING" size="256" sumtext="cnt02"/>
  150. <Column id="cnt03" type="STRING" size="256" sumtext="cnt03"/>
  151. <Column id="cnt04" type="STRING" size="256" sumtext="cnt04"/>
  152. <Column id="cnt05" type="STRING" size="256" sumtext="cnt05"/>
  153. <Column id="cnt06" type="STRING" size="256" sumtext="cnt06"/>
  154. <Column id="cnt07" type="STRING" size="256" sumtext="cnt07"/>
  155. <Column id="cnt08" type="STRING" size="256" sumtext="cnt08"/>
  156. <Column id="cnt09" type="STRING" size="256" sumtext="cnt09"/>
  157. <Column id="cnt10" type="STRING" size="256" sumtext="cnt10"/>
  158. <Column id="cnt11" type="STRING" size="256" sumtext="cnt11"/>
  159. <Column id="cnt12" type="STRING" size="256" sumtext="cnt12"/>
  160. <Column id="cnt13" type="STRING" size="256" sumtext="cnt13"/>
  161. <Column id="cnt14" type="STRING" size="256" sumtext="cnt14"/>
  162. <Column id="cnt15" type="STRING" size="256" sumtext="cnt15"/>
  163. <Column id="cnt16" type="STRING" size="256" sumtext="cnt16"/>
  164. <Column id="cnt17" type="STRING" size="256" sumtext="cnt17"/>
  165. <Column id="cnt18" type="STRING" size="256" sumtext="cnt18"/>
  166. <Column id="total" type="STRING" size="256" sumtext="total"/>
  167. </ColumnInfo>
  168. </Dataset>
  169. </Objects>
  170. <Bind>
  171. <BindItem id="item0" compid="grp_sea.cmb_excuroomgrp" propid="value" datasetid="ds_send" columnid="initexcuroomgrp"/>
  172. <BindItem id="item1" compid="grp_sea.input2" propid="value" datasetid="ds_send" columnid="srchdate"/>
  173. </Bind>
  174. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  175. * System Name :
  176. * Job Name :
  177. * Creator :
  178. * Make Date : 2015-11-13
  179. * Description :
  180. *---------------------------------------------------------------------------------------
  181. * Modify Date Modifier Modify Description
  182. *---------------------------------------------------------------------------------------
  183. * 2015-11-13 Live Converter TF->XP
  184. *
  185. *---------------------------------------------------------------------------------------
  186. ****************************************************************************************/
  187. include "com_commonxp::comm_main.xjs";
  188. include "ast_examcurexp::AEZ0001.xjs";
  189. var vSuppdeptcd;
  190. function SMAES02000_oninit(obj:Form, e:InitEventInfo)
  191. {
  192. frmf_initForm(obj);
  193. }
  194. function SMAES02000_onload(obj:Form, e:LoadEventInfo)
  195. {
  196. grdf_initGrid(grd_list);
  197. lf_aezfSetSuppDeptcd();
  198. vSuppdeptcd = frmf_getPrestDeptCd();
  199. ds_req.setColumn(0, "basesuppdeptcd", vSuppdeptcd);
  200. dsf_setFixVal(ds_req, "rbasecdflag:R,kbasecdflag:J,nbasecdflag:N,initflag:1,alladdyn:Y,baseroomflag:1,srchflag:A");
  201. var oParam = {};
  202. oParam.id = "TRAES09001";
  203. oParam.service = "examcurestatsapp.NmedStats";
  204. oParam.method = "reqGetCode";
  205. oParam.inds = "req=ds_req";
  206. oParam.outds = "ds_init_initexcuroomgrp=initexcuroomgrp";
  207. oParam.async = false;
  208. //oParam.callback = "cf_TRAES09001";
  209. tranf_submit(oParam);
  210. ds_send.setColumn(0, "suppdeptcd", vSuppdeptcd);
  211. ds_send.setColumn(0, "srchdate", utlf_getCurrentDate());
  212. frmf_addComboItem("grp_sea.cmb_excuroomgrp","--전체--","","above");
  213. grp_sea.cmb_excuroomgrp.index = 0;
  214. }
  215. function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  216. {
  217. var oParam = {};
  218. oParam.id = "TRAES02000";
  219. oParam.service = "examcurestatsapp.NmedStats";
  220. oParam.method = "reqGetNmedStatsTmList";
  221. oParam.inds = "req=ds_send";
  222. oParam.outds = "ds_main_list_item=item";
  223. oParam.async = false;
  224. //oParam.callback = "cf_TRAES02000";
  225. tranf_submit(oParam);
  226. }
  227. function btn_excsave_onclick(obj:Button, e:ClickEventInfo)
  228. {
  229. grdf_exportExcel(grd_list, "", "");
  230. }
  231. ]]></Script>
  232. </Form>
  233. </FDL>