SMAES03000_영상의학일일시간대별현황.xfdl 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAES03000" position="absolute 0 0 1198 765" titletext="일일시간대별통계" oninit="SMAES03000_oninit" onload="SMAES03000_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="grp_sea" taborder="2" class="div_SA" position="absolute 0 25 1195 65" anchor="left top right">
  8. <Layouts>
  9. <Layout>
  10. <Static id="caption2" text="대분류 :" class="search_name" position="absolute 259 12 317 29" anchor="default"/>
  11. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1035 8 1041 32" anchor="top right"/>
  12. <Button id="btn_sea" taborder="2" text="조회" class="btn1" position="absolute 1045 9 1101 31" anchor="top right" onclick="grp_sea_btn_sea_onclick"/>
  13. <Static id="caption3" text="조회일자 :" class="search_name" position="absolute 16 12 87 29" anchor="default"/>
  14. <Calendar id="input2" taborder="3" class="input_default" position="absolute 90 10 190 31" anchor="default" onchanged="grp_sea_input2_onchanged"/>
  15. <Combo id="cmb_lrgcd" taborder="4" innerdataset="ds_init_cmb_lrgcd" codecolumn="cdid" datacolumn="cdnm" class="combo_default" position="absolute 320 10 438 31" anchor="default"/>
  16. <Static id="caption11" text="구분 :" class="search_name" position="absolute 488 12 533 29" anchor="default"/>
  17. <Radio id="rdo_ioflag" taborder="5" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 537 12 688 28" anchor="default">
  18. <Dataset id="innerdataset">
  19. <ColumnInfo>
  20. <Column id="codecolumn"/>
  21. <Column id="datacolumn"/>
  22. </ColumnInfo>
  23. <Rows>
  24. <Row>
  25. <Col id="codecolumn"/>
  26. <Col id="datacolumn">전체</Col>
  27. </Row>
  28. <Row>
  29. <Col id="codecolumn">I</Col>
  30. <Col id="datacolumn">입원</Col>
  31. </Row>
  32. <Row>
  33. <Col id="codecolumn">O</Col>
  34. <Col id="datacolumn">외래</Col>
  35. </Row>
  36. </Rows>
  37. </Dataset>
  38. </Radio>
  39. <Static id="caption4" text="분류 :" class="search_name" position="absolute 731 12 776 29" anchor="default"/>
  40. <Radio id="rdo_partflag" taborder="6" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 780 12 933 28" anchor="default">
  41. <Dataset id="innerdataset">
  42. <ColumnInfo>
  43. <Column id="codecolumn"/>
  44. <Column id="datacolumn"/>
  45. </ColumnInfo>
  46. <Rows>
  47. <Row>
  48. <Col id="codecolumn"/>
  49. <Col id="datacolumn">전체</Col>
  50. </Row>
  51. <Row>
  52. <Col id="codecolumn">R</Col>
  53. <Col id="datacolumn">영상</Col>
  54. </Row>
  55. <Row>
  56. <Col id="codecolumn">S</Col>
  57. <Col id="datacolumn">건진</Col>
  58. </Row>
  59. </Rows>
  60. </Dataset>
  61. </Radio>
  62. <Button id="btn_excsave" taborder="7" text="엑셀저장" onclick="btn_excsave_onclick" class="btn7" position="absolute 1110 9 1187 31" anchor="top right"/>
  63. </Layout>
  64. </Layouts>
  65. </Div>
  66. <Static id="caption6" text="일일시간대별통계" class="tit_1" position="absolute 0 0 206 25"/>
  67. <Tab id="switch1" taborder="4" tabindex="0" scrollbars="autoboth" position="absolute 1 69 1195 744">
  68. <Tabpages>
  69. <Tabpage id="case1" text="일일시간대별통계">
  70. <Layouts>
  71. <Layout>
  72. <Grid id="grd_list" taborder="0" binddataset="ds_main_list" useinputpanel="false" autofittype="col" position="absolute 0 1 1194 613">
  73. <Formats>
  74. <Format id="default">
  75. <Columns>
  76. <Column size="112"/>
  77. <Column size="40"/>
  78. <Column size="40"/>
  79. <Column size="40"/>
  80. <Column size="40"/>
  81. <Column size="40"/>
  82. <Column size="40"/>
  83. <Column size="40"/>
  84. <Column size="40"/>
  85. <Column size="40"/>
  86. <Column size="40"/>
  87. <Column size="40"/>
  88. <Column size="40"/>
  89. <Column size="40"/>
  90. <Column size="40"/>
  91. <Column size="40"/>
  92. <Column size="40"/>
  93. <Column size="40"/>
  94. <Column size="40"/>
  95. <Column size="40"/>
  96. <Column size="40"/>
  97. <Column size="40"/>
  98. <Column size="40"/>
  99. <Column size="40"/>
  100. <Column size="40"/>
  101. <Column size="40"/>
  102. <Column size="60"/>
  103. </Columns>
  104. <Rows>
  105. <Row size="24" band="head"/>
  106. <Row size="24"/>
  107. </Rows>
  108. <Band id="head">
  109. <Cell text="촬영실"/>
  110. <Cell col="1" text="촬영실"/>
  111. <Cell col="2" text="0809"/>
  112. <Cell col="3" text="0910"/>
  113. <Cell col="4" text="1011"/>
  114. <Cell col="5" text="1112"/>
  115. <Cell col="6" text="1213"/>
  116. <Cell col="7" text="1314"/>
  117. <Cell col="8" text="1415"/>
  118. <Cell col="9" text="1516"/>
  119. <Cell col="10" text="1617"/>
  120. <Cell col="11" text="1718"/>
  121. <Cell col="12" text="1819"/>
  122. <Cell col="13" text="1920"/>
  123. <Cell col="14" text="2021"/>
  124. <Cell col="15" text="2122"/>
  125. <Cell col="16" text="2223"/>
  126. <Cell col="17" text="2324"/>
  127. <Cell col="18" text="2401"/>
  128. <Cell col="19" text="0102"/>
  129. <Cell col="20" text="0203"/>
  130. <Cell col="21" text="0304"/>
  131. <Cell col="22" text="0405"/>
  132. <Cell col="23" text="0506"/>
  133. <Cell col="24" text="0607"/>
  134. <Cell col="25" text="0708"/>
  135. <Cell col="26" text="합계"/>
  136. </Band>
  137. <Band id="body">
  138. <Cell style="align:left middle;" text="bind:excuroomnm" wordwrap="word" suppress="1" suppressalign="middle,over"/>
  139. <Cell col="1" text="bind:nm"/>
  140. <Cell col="2" displaytype="number" text="bind:cnt01" suppress="0"/>
  141. <Cell col="3" displaytype="number" text="bind:cnt02" suppress="0"/>
  142. <Cell col="4" displaytype="number" text="bind:cnt03" suppress="0"/>
  143. <Cell col="5" displaytype="number" text="bind:cnt04" suppress="0"/>
  144. <Cell col="6" displaytype="number" text="bind:cnt05" suppress="0"/>
  145. <Cell col="7" displaytype="number" text="bind:cnt06" suppress="0"/>
  146. <Cell col="8" displaytype="number" text="bind:cnt07" suppress="0"/>
  147. <Cell col="9" displaytype="number" text="bind:cnt08" suppress="0"/>
  148. <Cell col="10" displaytype="number" text="bind:cnt09" suppress="0"/>
  149. <Cell col="11" displaytype="number" text="bind:cnt10" suppress="0"/>
  150. <Cell col="12" displaytype="number" text="bind:cnt11" suppress="0"/>
  151. <Cell col="13" displaytype="number" text="bind:cnt12" suppress="0"/>
  152. <Cell col="14" displaytype="number" text="bind:cnt13" suppress="0"/>
  153. <Cell col="15" displaytype="number" text="bind:cnt14" suppress="0"/>
  154. <Cell col="16" displaytype="number" text="bind:cnt15" suppress="0"/>
  155. <Cell col="17" displaytype="number" text="bind:cnt16" suppress="0"/>
  156. <Cell col="18" displaytype="number" text="bind:cnt17" suppress="0"/>
  157. <Cell col="19" displaytype="number" text="bind:cnt18" suppress="0"/>
  158. <Cell col="20" displaytype="number" text="bind:cnt19" suppress="0"/>
  159. <Cell col="21" displaytype="number" text="bind:cnt20" suppress="0"/>
  160. <Cell col="22" displaytype="number" text="bind:cnt21" suppress="0"/>
  161. <Cell col="23" displaytype="number" text="bind:cnt22" suppress="0"/>
  162. <Cell col="24" displaytype="number" text="bind:cnt23" suppress="0"/>
  163. <Cell col="25" displaytype="number" text="bind:cnt24" suppress="0"/>
  164. <Cell col="26" displaytype="number" text="bind:total" suppress="0"/>
  165. </Band>
  166. </Format>
  167. </Formats>
  168. </Grid>
  169. </Layout>
  170. </Layouts>
  171. </Tabpage>
  172. <Tabpage id="case2" text="검사시간대별통계">
  173. <Layouts>
  174. <Layout>
  175. <Grid id="grd_excunm_list" taborder="0" binddataset="ds_excunm_list" useinputpanel="false" autofittype="col" position="absolute 0 1 1194 621">
  176. <Formats>
  177. <Format id="default">
  178. <Columns>
  179. <Column size="98"/>
  180. <Column size="246"/>
  181. <Column size="0"/>
  182. <Column size="40"/>
  183. <Column size="40"/>
  184. <Column size="40"/>
  185. <Column size="40"/>
  186. <Column size="40"/>
  187. <Column size="40"/>
  188. <Column size="40"/>
  189. <Column size="40"/>
  190. <Column size="40"/>
  191. <Column size="40"/>
  192. <Column size="40"/>
  193. <Column size="40"/>
  194. <Column size="40"/>
  195. <Column size="40"/>
  196. <Column size="40"/>
  197. <Column size="40"/>
  198. <Column size="40"/>
  199. <Column size="40"/>
  200. <Column size="40"/>
  201. <Column size="40"/>
  202. <Column size="40"/>
  203. <Column size="40"/>
  204. <Column size="40"/>
  205. <Column size="40"/>
  206. <Column size="60"/>
  207. </Columns>
  208. <Rows>
  209. <Row size="24" band="head"/>
  210. <Row size="24"/>
  211. </Rows>
  212. <Band id="head">
  213. <Cell text="검사코드"/>
  214. <Cell col="1" text="검사명"/>
  215. <Cell col="2" text="촬영실"/>
  216. <Cell col="3" text="0809"/>
  217. <Cell col="4" text="0910"/>
  218. <Cell col="5" text="1011"/>
  219. <Cell col="6" text="1112"/>
  220. <Cell col="7" text="1213"/>
  221. <Cell col="8" text="1314"/>
  222. <Cell col="9" text="1415"/>
  223. <Cell col="10" text="1516"/>
  224. <Cell col="11" text="1617"/>
  225. <Cell col="12" text="1718"/>
  226. <Cell col="13" text="1819"/>
  227. <Cell col="14" text="1920"/>
  228. <Cell col="15" text="2021"/>
  229. <Cell col="16" text="2122"/>
  230. <Cell col="17" text="2223"/>
  231. <Cell col="18" text="2324"/>
  232. <Cell col="19" text="2401"/>
  233. <Cell col="20" text="0102"/>
  234. <Cell col="21" text="0203"/>
  235. <Cell col="22" text="0304"/>
  236. <Cell col="23" text="0405"/>
  237. <Cell col="24" text="0506"/>
  238. <Cell col="25" text="0607"/>
  239. <Cell col="26" text="0708"/>
  240. <Cell col="27" text="합계"/>
  241. </Band>
  242. <Band id="body">
  243. <Cell style="align:left;" text="bind:calcscorcd" wordwrap="word" suppress="1" suppressalign="middle,over"/>
  244. <Cell col="1" style="align:left middle;" text="bind:excucdnm" wordwrap="word" suppress="1" suppressalign="middle,over"/>
  245. <Cell col="2" text="bind:nm"/>
  246. <Cell col="3" displaytype="number" text="bind:cnt01" suppress="0"/>
  247. <Cell col="4" displaytype="number" text="bind:cnt02" suppress="0"/>
  248. <Cell col="5" displaytype="number" text="bind:cnt03" suppress="0"/>
  249. <Cell col="6" displaytype="number" text="bind:cnt04" suppress="0"/>
  250. <Cell col="7" displaytype="number" text="bind:cnt05" suppress="0"/>
  251. <Cell col="8" displaytype="number" text="bind:cnt06" suppress="0"/>
  252. <Cell col="9" displaytype="number" text="bind:cnt07" suppress="0"/>
  253. <Cell col="10" displaytype="number" text="bind:cnt08" suppress="0"/>
  254. <Cell col="11" displaytype="number" text="bind:cnt09" suppress="0"/>
  255. <Cell col="12" displaytype="number" text="bind:cnt10" suppress="0"/>
  256. <Cell col="13" displaytype="number" text="bind:cnt11" suppress="0"/>
  257. <Cell col="14" displaytype="number" text="bind:cnt12" suppress="0"/>
  258. <Cell col="15" displaytype="number" text="bind:cnt13" suppress="0"/>
  259. <Cell col="16" displaytype="number" text="bind:cnt14" suppress="0"/>
  260. <Cell col="17" displaytype="number" text="bind:cnt15" suppress="0"/>
  261. <Cell col="18" displaytype="number" text="bind:cnt16" suppress="0"/>
  262. <Cell col="19" displaytype="number" text="bind:cnt17" suppress="0"/>
  263. <Cell col="20" displaytype="number" text="bind:cnt18" suppress="0"/>
  264. <Cell col="21" displaytype="number" text="bind:cnt19" suppress="0"/>
  265. <Cell col="22" displaytype="number" text="bind:cnt20" suppress="0"/>
  266. <Cell col="23" displaytype="number" text="bind:cnt21" suppress="0"/>
  267. <Cell col="24" displaytype="number" text="bind:cnt22" suppress="0"/>
  268. <Cell col="25" displaytype="number" text="bind:cnt23" suppress="0"/>
  269. <Cell col="26" displaytype="number" text="bind:cnt24" suppress="0"/>
  270. <Cell col="27" displaytype="number" text="bind:total" suppress="0"/>
  271. </Band>
  272. </Format>
  273. </Formats>
  274. </Grid>
  275. </Layout>
  276. </Layouts>
  277. </Tabpage>
  278. </Tabpages>
  279. </Tab>
  280. </Layout>
  281. </Layouts>
  282. <Objects>
  283. <Dataset id="ds_init_cmb_lrgcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  284. <ColumnInfo>
  285. <Column id="cdnm" type="STRING"/>
  286. <Column id="cdid" type="STRING"/>
  287. </ColumnInfo>
  288. </Dataset>
  289. <Dataset id="ds_main_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  290. <ColumnInfo>
  291. <Column id="excuroomnm" type="STRING"/>
  292. <Column id="nm" type="STRING"/>
  293. <Column id="cnt01" type="STRING"/>
  294. <Column id="cnt02" type="STRING"/>
  295. <Column id="cnt03" type="STRING"/>
  296. <Column id="cnt04" type="STRING"/>
  297. <Column id="cnt05" type="STRING"/>
  298. <Column id="cnt06" type="STRING"/>
  299. <Column id="cnt07" type="STRING"/>
  300. <Column id="cnt08" type="STRING"/>
  301. <Column id="cnt09" type="STRING"/>
  302. <Column id="cnt10" type="STRING"/>
  303. <Column id="cnt11" type="STRING"/>
  304. <Column id="cnt12" type="STRING"/>
  305. <Column id="cnt13" type="STRING"/>
  306. <Column id="cnt14" type="STRING"/>
  307. <Column id="cnt15" type="STRING"/>
  308. <Column id="cnt16" type="STRING"/>
  309. <Column id="cnt17" type="STRING"/>
  310. <Column id="cnt18" type="STRING"/>
  311. <Column id="cnt19" type="STRING"/>
  312. <Column id="cnt20" type="STRING"/>
  313. <Column id="cnt21" type="STRING"/>
  314. <Column id="cnt22" type="STRING"/>
  315. <Column id="cnt23" type="STRING"/>
  316. <Column id="cnt24" type="STRING"/>
  317. <Column id="total" type="STRING"/>
  318. </ColumnInfo>
  319. </Dataset>
  320. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  321. <ColumnInfo>
  322. <Column id="srchfromdate" type="STRING" size="256"/>
  323. <Column id="srchtodate" type="STRING" size="256"/>
  324. <Column id="instance1" type="STRING" size="256"/>
  325. <Column id="suppdeptcd" type="STRING" size="256"/>
  326. <Column id="ioflag" type="STRING" size="256"/>
  327. <Column id="partflag" type="STRING" size="256"/>
  328. <Column id="lrgcd" type="STRING" size="256"/>
  329. <Column id="basecdflag" type="STRING" size="256"/>
  330. </ColumnInfo>
  331. <Rows>
  332. <Row>
  333. <Col id="srchfromdate"/>
  334. <Col id="srchtodate"/>
  335. <Col id="instance1"/>
  336. <Col id="suppdeptcd"/>
  337. <Col id="ioflag"/>
  338. <Col id="partflag"/>
  339. <Col id="lrgcd"/>
  340. <Col id="basecdflag"/>
  341. </Row>
  342. </Rows>
  343. </Dataset>
  344. <Dataset id="ds_send_globalinstance" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  345. <ColumnInfo>
  346. <Column id="instance1" type="STRING" size="256"/>
  347. </ColumnInfo>
  348. <Rows>
  349. <Row/>
  350. </Rows>
  351. </Dataset>
  352. <Dataset id="ds_excunm_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  353. <ColumnInfo>
  354. <Column id="calcscorcd" type="STRING" size="256"/>
  355. <Column id="excucdnm" type="STRING"/>
  356. <Column id="nm" type="STRING"/>
  357. <Column id="cnt01" type="STRING"/>
  358. <Column id="cnt02" type="STRING"/>
  359. <Column id="cnt03" type="STRING"/>
  360. <Column id="cnt04" type="STRING"/>
  361. <Column id="cnt05" type="STRING"/>
  362. <Column id="cnt06" type="STRING"/>
  363. <Column id="cnt07" type="STRING"/>
  364. <Column id="cnt08" type="STRING"/>
  365. <Column id="cnt09" type="STRING"/>
  366. <Column id="cnt10" type="STRING"/>
  367. <Column id="cnt11" type="STRING"/>
  368. <Column id="cnt12" type="STRING"/>
  369. <Column id="cnt13" type="STRING"/>
  370. <Column id="cnt14" type="STRING"/>
  371. <Column id="cnt15" type="STRING"/>
  372. <Column id="cnt16" type="STRING"/>
  373. <Column id="cnt17" type="STRING"/>
  374. <Column id="cnt18" type="STRING"/>
  375. <Column id="cnt19" type="STRING"/>
  376. <Column id="cnt20" type="STRING"/>
  377. <Column id="cnt21" type="STRING"/>
  378. <Column id="cnt22" type="STRING"/>
  379. <Column id="cnt23" type="STRING"/>
  380. <Column id="cnt24" type="STRING"/>
  381. <Column id="total" type="STRING"/>
  382. </ColumnInfo>
  383. </Dataset>
  384. </Objects>
  385. <Bind>
  386. <BindItem id="item0" compid="grp_sea.input2" propid="value" datasetid="ds_send" columnid="srchfromdate"/>
  387. <BindItem id="item1" compid="grp_sea.cmb_lrgcd" propid="value" datasetid="ds_send" columnid="lrgcd"/>
  388. <BindItem id="item2" compid="grp_sea.rdo_ioflag" propid="value" datasetid="ds_send" columnid="ioflag"/>
  389. <BindItem id="item3" compid="grp_sea.rdo_partflag" propid="value" datasetid="ds_send" columnid="partflag"/>
  390. </Bind>
  391. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  392. * System Name :
  393. * Job Name :
  394. * Creator :
  395. * Make Date : 2015-11-13
  396. * Description :
  397. *---------------------------------------------------------------------------------------
  398. * Modify Date Modifier Modify Description
  399. *---------------------------------------------------------------------------------------
  400. * 2015-11-13 Live Converter TF->XP
  401. *
  402. *---------------------------------------------------------------------------------------
  403. ****************************************************************************************/
  404. include 'com_commonxp::comm_main.xjs';
  405. include "com_basiccodexp::ZBC001.xjs";
  406. include "ast_examcurexp::AEZ0001.xjs";
  407. var arErrorCode = new HashArray();
  408. /******************************************************************
  409. * Argument :
  410. * Description : 초기화
  411. ******************************************************************/
  412. function SMAES03000_oninit(obj:Form, e:InitEventInfo)
  413. {
  414. frmf_initForm(obj);
  415. }
  416. function SMAES03000_onload(obj:Form, e:LoadEventInfo)
  417. {
  418. lf_aezfSetSuppDeptcd();
  419. ds_send_globalinstance.setColumn(0, "instance1", frmf_getParameter("AST_DEPTCD"));
  420. ds_main_list.clearData();
  421. ds_send.setColumn(0, "suppdeptcd", ds_send_globalinstance.getColumn(0, "instance1"));
  422. ds_send.setColumn(0, "basecdflag", "R");
  423. ds_send.setColumn(0, "ioflag", "");
  424. ds_send.setColumn(0, "srchfromdate", utlf_getCurrentDate());
  425. ds_send.setColumn(0, "srchtodate", utlf_getCurrentDate().toDate().getAddDate(1,"D").getDateFormat("YYYYMMDD") );
  426. dsf_createDsRow("ds_temp_send",
  427. [{col:"basesuppdeptcd", type:"string", size:256, val:ds_send_globalinstance.getColumn(0, "instance1")}
  428. ,{col:"flag", type:"string", size:256, val:ds_send.getColumn(0, "basecdflag")}], true);
  429. var oParam = {};
  430. oParam.id = "TRAES01502";
  431. oParam.service = "examcurestatsapp.ImgMediSc";
  432. oParam.method = "reqGetBodyGrpPartComCdList";
  433. oParam.inds = "req=ds_temp_send";
  434. oParam.outds = "ds_init_cmb_lrgcd=item";
  435. oParam.async = false;
  436. //oParam.callback = "cf_TRAES01502";
  437. tranf_submit(oParam);
  438. dsf_addDsItem(ds_init_cmb_lrgcd, "cdid", "cdnm", "전체", "", "above");
  439. }
  440. /******************************************************************
  441. * Argument :
  442. * Description : 조회일자 event
  443. ******************************************************************/
  444. function grp_sea_input2_onchanged(obj:Calendar, e:ChangeEventInfo)
  445. {
  446. var srchfromdate = ds_send.getColumn(0, "srchfromdate");
  447. ds_send.setColumn(0, "srchtodate", srchfromdate.toDate().getAddDate(1,"D").getDateFormat("YYYYMMDD") );
  448. }
  449. /******************************************************************
  450. * Argument :
  451. * Description : 조회 button event
  452. ******************************************************************/
  453. function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  454. {
  455. //일일시간대별통계
  456. var oParam = {};
  457. oParam.id = "TRAES03001";
  458. oParam.service = "examcurestatsapp.ImgMediSc";
  459. oParam.method = "reqGetDyTmCaseList";
  460. oParam.inds = "req=ds_send";
  461. oParam.outds = "ds_main_list=item";
  462. oParam.async = false;
  463. //oParam.callback = "cf_TRAES03001";
  464. tranf_submit(oParam);
  465. //검사시간대별통계
  466. var oParam = {};
  467. oParam.id = "TRAES03002";
  468. oParam.service = "examcurestatsapp.ImgMediSc";
  469. oParam.method = "reqGetDyTmCaseList2";
  470. oParam.inds = "req=ds_send";
  471. oParam.outds = "ds_excunm_list=item";
  472. oParam.async = false;
  473. //oParam.callback = "cf_TRAES03001";
  474. tranf_submit(oParam);
  475. }
  476. /******************************************************************
  477. * Argument :
  478. * Description : excel 저장
  479. ******************************************************************/
  480. function btn_excsave_onclick(obj:Button, e:ClickEventInfo)
  481. {
  482. // if( ds_main_list.rowcount > 1 ){
  483. // grdf_exportExcel(switch1.case1.grd_list, "일일시간대별통계", "일일시간대별통계", false, "", "user", false);
  484. // } else {
  485. // sysf_messageBox("조회된 데이터가 ", "I004");
  486. // }
  487. if( ds_main_list.rowcount > 1 ){
  488. var sGrd = "switch1.case1.grd_list,switch1.case2.grd_excunm_list";
  489. var sSheet = "촬영실별,검사별";
  490. grdf_exportExcelMulti(sGrd, "일일시간대별통계", sSheet, false, "", "user"); //파일 다이얼로그로 저장위치 저장
  491. } else {
  492. sysf_messageBox("조회된 데이터가 ", "I004");
  493. }
  494. }
  495. ]]></Script>
  496. </Form>
  497. </FDL>