SMAES01700_영상의학검사장비별 현황.xfdl 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAES01700" position="absolute 0 0 1198 776" titletext="기간별통계" oninit="SMAES01700_oninit" onload="SMAES01700_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption1" text="기간별통계" class="tit_2" position="absolute 0 81 86 98"/>
  8. <Shape id="line1" linetype="horizontal" class="line_1" position="absolute 0 97 1195 103" anchor="left top right"/>
  9. <Button id="btn_excsave" taborder="1" text="엑셀저장" class="btn7" position="absolute 1115 74 1195 96" onclick="btn_excsave_onclick" anchor="top right"/>
  10. <Grid id="grd_list" taborder="2" binddataset="ds_main_list" useinputpanel="false" position="absolute 0 102 1195 772" autofittype="col" cellsizingtype="col" anchor="all">
  11. <Formats>
  12. <Format id="default">
  13. <Columns>
  14. <Column size="25"/>
  15. <Column size="142"/>
  16. <Column size="0"/>
  17. <Column size="80"/>
  18. <Column size="80"/>
  19. <Column size="80"/>
  20. <Column size="80"/>
  21. <Column size="80"/>
  22. <Column size="80"/>
  23. <Column size="70"/>
  24. <Column size="70"/>
  25. <Column size="70"/>
  26. <Column size="70"/>
  27. <Column size="80"/>
  28. <Column size="80"/>
  29. <Column size="80"/>
  30. </Columns>
  31. <Rows>
  32. <Row size="24" band="head"/>
  33. <Row size="24" band="head"/>
  34. <Row size="24"/>
  35. </Rows>
  36. <Band id="head">
  37. <Cell rowspan="2" taborder="undefined"/>
  38. <Cell col="1" rowspan="2" text="검사실" taborder="undefined"/>
  39. <Cell col="2" text="검사장비명"/>
  40. <Cell col="3" colspan="2" text="환자수" taborder="undefined"/>
  41. <Cell col="5" colspan="2" text="부위건수" taborder="undefined"/>
  42. <Cell col="7" colspan="2" text="검사건수" taborder="undefined"/>
  43. <Cell col="9" colspan="2" text="건진환자수" taborder="undefined"/>
  44. <Cell col="11" colspan="2" text="건진검사건수" taborder="undefined"/>
  45. <Cell col="13" rowspan="2" text="합계환자" taborder="undefined"/>
  46. <Cell col="14" rowspan="2" text="합계부위" taborder="undefined"/>
  47. <Cell col="15" rowspan="2" text="합계검사" taborder="undefined"/>
  48. <Cell row="1" col="2" text="검사장비명"/>
  49. <Cell row="1" col="3" text="입원"/>
  50. <Cell row="1" col="4" text="외래"/>
  51. <Cell row="1" col="5" text="입원"/>
  52. <Cell row="1" col="6" text="외래"/>
  53. <Cell row="1" col="7" text="입원"/>
  54. <Cell row="1" col="8" text="외래"/>
  55. <Cell row="1" col="9" text="종검"/>
  56. <Cell row="1" col="10" text="일반"/>
  57. <Cell row="1" col="11" text="종검"/>
  58. <Cell row="1" col="12" text="일반"/>
  59. </Band>
  60. <Band id="body">
  61. <Cell celltype="head" text="expr:currow + 1"/>
  62. <Cell col="1" style="align:left middle;" text="bind:excuroomnm"/>
  63. <Cell col="2" text="bind:excuroomcd"/>
  64. <Cell col="3" displaytype="number" text="bind:inpatcnt"/>
  65. <Cell col="4" displaytype="number" text="bind:outpatcnt"/>
  66. <Cell col="5" displaytype="number" text="bind:inprcpcnt"/>
  67. <Cell col="6" displaytype="number" text="bind:outprcpcnt"/>
  68. <Cell col="7" displaytype="number" text="bind:intestexeccnt"/>
  69. <Cell col="8" displaytype="number" text="bind:outtestexeccnt"/>
  70. <Cell col="9" displaytype="number" text="bind:colghealpatcnt"/>
  71. <Cell col="10" displaytype="number" text="bind:gnrlhealpatcnt"/>
  72. <Cell col="11" displaytype="number" text="bind:colghealexamcnt"/>
  73. <Cell col="12" displaytype="number" text="bind:gnrlhealexamcnt"/>
  74. <Cell col="13" displaytype="number" text="bind:totpatcnt"/>
  75. <Cell col="14" displaytype="number" text="bind:totprcpcnt"/>
  76. <Cell col="15" displaytype="number" text="bind:tottestexeccnt"/>
  77. </Band>
  78. </Format>
  79. </Formats>
  80. </Grid>
  81. <Div id="group1" taborder="3" class="div_SA" position="absolute 0 25 1195 65" anchor="left top right">
  82. <Layouts>
  83. <Layout>
  84. <Shape id="line2" linetype="vertical" class="line_4" position="absolute 1107 10 1113 30" anchor="top right"/>
  85. <Button id="button1" taborder="3" text="조회" class="btn1" position="absolute 1125 9 1181 31" anchor="top right" onclick="group1_button1_onclick"/>
  86. <Static id="caption2" text="조회기간 :" class="search_name" position="absolute 26 13 97 30" anchor="default"/>
  87. <Calendar id="ipt_todd" taborder="4" class="input_default" position="absolute 209 10 299 31" mask="yyyy-mm-dd" anchor="default"/>
  88. <Static id="caption5" text="~" class="search_no_b" position="absolute 195 13 207 30" anchor="default"/>
  89. <Calendar id="ipt_fromdd" taborder="5" class="input_default" position="absolute 101 10 191 31" mask="yyyy-mm-dd" anchor="default"/>
  90. <Static id="caption7" text="대분류 :" class="search_name" position="absolute 352 13 410 31" anchor="default"/>
  91. <Combo id="cmb_lrgcd" taborder="6" innerdataset="ds_init_cmb_lrgcd" codecolumn="cdid" datacolumn="cdnm" position="absolute 415 11 515 32" anchor="default"/>
  92. <Static id="caption3" text="분류 :" class="search_name" position="absolute 576 13 621 30" anchor="default"/>
  93. <Radio id="rdo_partflag" taborder="7" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 625 12 797 28" anchor="default">
  94. <Dataset id="innerdataset">
  95. <ColumnInfo>
  96. <Column id="codecolumn"/>
  97. <Column id="datacolumn"/>
  98. </ColumnInfo>
  99. <Rows>
  100. <Row>
  101. <Col id="codecolumn"/>
  102. <Col id="datacolumn">전체</Col>
  103. </Row>
  104. <Row>
  105. <Col id="codecolumn">R</Col>
  106. <Col id="datacolumn">영상</Col>
  107. </Row>
  108. <Row>
  109. <Col id="codecolumn">S</Col>
  110. <Col id="datacolumn">건진</Col>
  111. </Row>
  112. </Rows>
  113. </Dataset>
  114. </Radio>
  115. </Layout>
  116. </Layouts>
  117. </Div>
  118. <Static id="caption6" text="기간별통계" class="tit_1" position="absolute 0 0 200 25"/>
  119. <Shape id="line00" class="line_1" position="absolute 0 98 1195 104" anchor="left top right"/>
  120. <Shape id="line02" class="line_1" position="absolute 0 96 1195 102" anchor="left top right"/>
  121. </Layout>
  122. </Layouts>
  123. <Objects>
  124. <Dataset id="ds_main_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  125. <ColumnInfo>
  126. <Column id="excuroomnm" type="STRING"/>
  127. <Column id="excuroomcd" type="STRING"/>
  128. <Column id="inpatcnt" type="STRING"/>
  129. <Column id="outpatcnt" type="STRING"/>
  130. <Column id="inprcpcnt" type="STRING"/>
  131. <Column id="outprcpcnt" type="STRING"/>
  132. <Column id="intestexeccnt" type="STRING"/>
  133. <Column id="outtestexeccnt" type="STRING"/>
  134. <Column id="colghealpatcnt" type="STRING"/>
  135. <Column id="gnrlhealpatcnt" type="STRING"/>
  136. <Column id="colghealexamcnt" type="STRING"/>
  137. <Column id="gnrlhealexamcnt" type="STRING"/>
  138. <Column id="totpatcnt" type="STRING"/>
  139. <Column id="totprcpcnt" type="STRING"/>
  140. <Column id="tottestexeccnt" type="STRING"/>
  141. </ColumnInfo>
  142. </Dataset>
  143. <Dataset id="ds_init_cmb_lrgcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  144. <ColumnInfo>
  145. <Column id="cdnm" type="STRING"/>
  146. <Column id="cdid" type="STRING"/>
  147. </ColumnInfo>
  148. </Dataset>
  149. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  150. <ColumnInfo>
  151. <Column id="execfromdd" type="STRING" size="256"/>
  152. <Column id="exectodd" type="STRING" size="256"/>
  153. <Column id="instance1" type="STRING" size="256"/>
  154. <Column id="suppdeptcd" type="STRING" size="256"/>
  155. <Column id="cdgrupid" type="STRING" size="256"/>
  156. <Column id="lrgcd" type="STRING" size="256"/>
  157. <Column id="mdlcd" type="STRING" size="256"/>
  158. <Column id="flag" type="STRING" size="256"/>
  159. <Column id="partflag" type="STRING" size="256"/>
  160. <Column id="basecdflag" type="STRING" size="256"/>
  161. </ColumnInfo>
  162. <Rows>
  163. <Row>
  164. <Col id="execfromdd"/>
  165. <Col id="exectodd"/>
  166. <Col id="instance1"/>
  167. <Col id="suppdeptcd"/>
  168. <Col id="cdgrupid"/>
  169. <Col id="lrgcd"/>
  170. <Col id="mdlcd"/>
  171. <Col id="flag"/>
  172. <Col id="partflag"/>
  173. <Col id="basecdflag"/>
  174. </Row>
  175. </Rows>
  176. </Dataset>
  177. <Dataset id="ds_send_globalinstance" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  178. <ColumnInfo>
  179. <Column id="instance1" type="STRING" size="256"/>
  180. </ColumnInfo>
  181. <Rows>
  182. <Row/>
  183. </Rows>
  184. </Dataset>
  185. </Objects>
  186. <Bind>
  187. <BindItem id="item0" compid="group1.ipt_fromdd" propid="value" datasetid="ds_send" columnid="execfromdd"/>
  188. <BindItem id="item1" compid="group1.ipt_todd" propid="value" datasetid="ds_send" columnid="exectodd"/>
  189. <BindItem id="item2" compid="group1.cmb_lrgcd" propid="value" datasetid="ds_send" columnid="lrgcd"/>
  190. <BindItem id="item3" compid="group1.rdo_partflag" propid="value" datasetid="ds_send" columnid="partflag"/>
  191. </Bind>
  192. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  193. * System Name :
  194. * Job Name :
  195. * Creator :
  196. * Make Date : 2015-11-13
  197. * Description :
  198. *---------------------------------------------------------------------------------------
  199. * Modify Date Modifier Modify Description
  200. *---------------------------------------------------------------------------------------
  201. * 2015-11-13 Live Converter TF->XP
  202. *
  203. *---------------------------------------------------------------------------------------
  204. ****************************************************************************************/
  205. include "com_commonxp::comm_main.xjs";
  206. include "com_basiccodexp::ZBC001.xjs";
  207. include "ast_examcurexp::AEZ0001.xjs";
  208. var arErrorCode = new HashArray();
  209. /******************************************************************
  210. * Argument :
  211. * Description : 초기화
  212. ******************************************************************/
  213. function SMAES01700_oninit(obj:Form, e:InitEventInfo)
  214. {
  215. frmf_initForm(obj);
  216. }
  217. function SMAES01700_onload(obj:Form, e:LoadEventInfo)
  218. {
  219. lf_aezfSetSuppDeptcd();
  220. ds_send_globalinstance.setColumn(0, "instance1", frmf_getParameter("AST_DEPTCD"));
  221. var fromdd = utlf_getCurrentDate().substr(0,6) + "01";
  222. var todd = utlf_getCurrentDate();
  223. ds_send.setColumn(0, "suppdeptcd", ds_send_globalinstance.getColumn(0, "instance1"));
  224. ds_send.setColumn(0, "execfromdd", fromdd);
  225. ds_send.setColumn(0, "exectodd", todd);
  226. ds_send.setColumn(0, "flag", "E");
  227. ds_send.setColumn(0, "cdgrupid", "A0463");
  228. ds_send.setColumn(0, "basecdflag", "R");
  229. dsf_createDsRow("ds_temp_send",
  230. [{col:"basesuppdeptcd", type:"string", size:256, val:ds_send_globalinstance.getColumn(0, "instance1")}
  231. ,{col:"flag", type:"string", size:256, val:ds_send.getColumn(0, "basecdflag")}], true);
  232. var oParam = {};
  233. oParam.id = "TRAES01502";
  234. oParam.service = "examcurestatsapp.ImgMediSc";
  235. oParam.method = "reqGetBodyGrpPartComCdList";
  236. oParam.inds = "req=ds_temp_send";
  237. oParam.outds = "ds_init_cmb_lrgcd=item";
  238. oParam.async = false;
  239. //oParam.callback = "cf_TRAES01502";
  240. tranf_submit(oParam);
  241. dsf_addDsItem(ds_init_cmb_lrgcd, "cdid", "cdnm", "전체", "", "above");
  242. }
  243. /******************************************************************
  244. * Argument :
  245. * Description : 조회 button event
  246. ******************************************************************/
  247. function group1_button1_onclick(obj:Button, e:ClickEventInfo)
  248. {
  249. frmf_openLoadingBar("검사장비별 현황을 조회 중입니다....");
  250. var oParam = {};
  251. oParam.id = "TRAES01701";
  252. oParam.service = "examcurestatsapp.ImgMediSc";
  253. oParam.method = "reqGetEqmtResultList";
  254. oParam.inds = "req=ds_send";
  255. oParam.outds = "ds_main_list=item";
  256. oParam.async = false;
  257. //oParam.callback = "cf_TRAES01701";
  258. tranf_submit(oParam);
  259. frmf_closeLoadingBar() ;//처리중 화면을 close한다.
  260. }
  261. /******************************************************************
  262. * Argument :
  263. * Description : excel 저장
  264. ******************************************************************/
  265. function btn_excsave_onclick(obj:Button, e:ClickEventInfo)
  266. {
  267. if( ds_main_list.rowcount > 1 ){
  268. grdf_exportExcel(grd_list, "기간별통계", "기간별통계", false, "", "user", false);
  269. } else {
  270. sysf_messageBox("조회된 데이터가 ", "I004");
  271. }
  272. }
  273. ]]></Script>
  274. </Form>
  275. </FDL>