SMLPS01310_육안의별검사보고시간.xfdl 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMLPS01310" position="absolute 0 0 1256 805" titletext="판독의별 검사건수/보고시간" oninit="SMLPS01310_oninit" onload="SMLPS01310_onload">
  5. <Layouts>
  6. <Layout>
  7. <Button id="button13" taborder="2" text="EXCEL저장" class="btn7" position="absolute 1102 69 1194 91" anchor="top right" onclick="button13_onclick"/>
  8. <Static id="caption6" text="육안의별 검사건수/보고시간(시간기준)" class="tit_1" position="absolute 0 0 268 25" anchor="left top"/>
  9. <Div id="grp_sea" taborder="3" class="div_SA" position="absolute 0 25 1195 60" anchor="left top right">
  10. <Layouts>
  11. <Layout>
  12. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1105 7 1111 29" anchor="top right"/>
  13. <Static id="caption2" text="보고일자 :" class="search_name" position="absolute 15 9 101 26" anchor="left top"/>
  14. <Static id="caption5" text="~" class="search_no_b" position="absolute 207 8 219 25" anchor="left top"/>
  15. <Button id="btn_sea" taborder="18" text="조회" class="btn1" position="absolute 1123 7 1179 29" onclick="grp_sea_btn_sea_onclick" anchor="top right"/>
  16. <Calendar id="ipt_cnclfromdd" taborder="19" class="input_s_essential" position="absolute 104 8 204 27" mask="yyyy-mm-dd" anchor="left top"/>
  17. <Calendar id="ipt_cncltodd" taborder="20" class="input_s_essential" position="absolute 223 8 323 27" mask="yyyy-mm-dd" onkeyup="grp_sea_ipt_cncltodd_onkeyup" anchor="left top"/>
  18. <Static id="caption1" text="검색방법 :" class="search_name" position="absolute 391 9 477 26" anchor="left top"/>
  19. <Combo id="cbo_refmthdcd" taborder="21" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 480 8 550 27" onitemchanged="grp_sea_cbo_refmthdcd_onitemchanged" anchor="left top">
  20. <Dataset id="innerdataset">
  21. <ColumnInfo>
  22. <Column id="codecolumn"/>
  23. <Column id="datacolumn"/>
  24. </ColumnInfo>
  25. <Rows>
  26. <Row>
  27. <Col id="codecolumn">0</Col>
  28. <Col id="datacolumn">일별</Col>
  29. </Row>
  30. <Row>
  31. <Col id="codecolumn">1</Col>
  32. <Col id="datacolumn">월별</Col>
  33. </Row>
  34. </Rows>
  35. </Dataset>
  36. </Combo>
  37. <Static id="caption8" text="통계구분 :" class="search_name" position="absolute 856 9 942 26" anchor="top right"/>
  38. <Combo id="cbo_statsflagcd" taborder="22" innerdataset="ds_init_cbo_statsflagcd" codecolumn="resncd" datacolumn="resncnts" position="absolute 945 8 1093 27" anchor="top right"/>
  39. <Combo id="combo1" taborder="23" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 705 8 800 27" onitemchanged="grp_sea_combo1_onitemchanged" anchor="left top">
  40. <Dataset id="innerdataset">
  41. <ColumnInfo>
  42. <Column id="codecolumn"/>
  43. <Column id="datacolumn"/>
  44. </ColumnInfo>
  45. <Rows>
  46. <Row>
  47. <Col id="codecolumn">0</Col>
  48. <Col id="datacolumn">검사건수</Col>
  49. </Row>
  50. <Row>
  51. <Col id="codecolumn">1</Col>
  52. <Col id="datacolumn">보고시간</Col>
  53. </Row>
  54. </Rows>
  55. </Dataset>
  56. </Combo>
  57. <Static id="caption3" text="검색구분 :" class="search_name" position="absolute 616 9 702 26" anchor="left top"/>
  58. </Layout>
  59. </Layouts>
  60. </Div>
  61. <Shape id="line1" linetype="horizontal" class="line_1" position="absolute 0 99 1194 105" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
  62. <Static id="caption4" text="접수검사목록" class="tit_2" position="absolute 5 83 105 96" anchor="left top"/>
  63. <Grid id="grd_statsinfolist" class="datagrid2" taborder="4" binddataset="ds_grd_statsinfolist" useinputpanel="false" position="absolute 0 103 1194 756" autofittype="col" autosizingtype="row" cellsizingtype="row" anchor="all">
  64. <Formats>
  65. <Format id="default">
  66. <Columns>
  67. <Column size="0"/>
  68. <Column size="40"/>
  69. <Column size="70"/>
  70. <Column size="0"/>
  71. <Column size="100"/>
  72. <Column size="31"/>
  73. <Column size="31"/>
  74. <Column size="31"/>
  75. <Column size="31"/>
  76. <Column size="31"/>
  77. <Column size="31"/>
  78. <Column size="31"/>
  79. <Column size="31"/>
  80. <Column size="31"/>
  81. <Column size="31"/>
  82. <Column size="31"/>
  83. <Column size="31"/>
  84. <Column size="31"/>
  85. <Column size="31"/>
  86. <Column size="31"/>
  87. <Column size="31"/>
  88. <Column size="31"/>
  89. <Column size="31"/>
  90. <Column size="31"/>
  91. <Column size="31"/>
  92. <Column size="31"/>
  93. <Column size="31"/>
  94. <Column size="31"/>
  95. <Column size="31"/>
  96. <Column size="31"/>
  97. <Column size="31"/>
  98. <Column size="31"/>
  99. <Column size="31"/>
  100. <Column size="31"/>
  101. <Column size="31"/>
  102. <Column size="31"/>
  103. <Column size="60"/>
  104. <Column size="40"/>
  105. <Column size="31"/>
  106. <Column size="31"/>
  107. </Columns>
  108. <Rows>
  109. <Row size="24" band="head"/>
  110. <Row size="24"/>
  111. </Rows>
  112. <Band id="head">
  113. <Cell text="기관코드"/>
  114. <Cell col="1"/>
  115. <Cell col="2" text="육안의"/>
  116. <Cell col="3" text="검사코드"/>
  117. <Cell col="4" text="검사명"/>
  118. <Cell col="5" text="01"/>
  119. <Cell col="6" text="02"/>
  120. <Cell col="7" text="03"/>
  121. <Cell col="8" text="04"/>
  122. <Cell col="9" text="05"/>
  123. <Cell col="10" text="06"/>
  124. <Cell col="11" text="07"/>
  125. <Cell col="12" text="08"/>
  126. <Cell col="13" text="09"/>
  127. <Cell col="14" text="10"/>
  128. <Cell col="15" text="11"/>
  129. <Cell col="16" text="12"/>
  130. <Cell col="17" text="13"/>
  131. <Cell col="18" text="14"/>
  132. <Cell col="19" text="15"/>
  133. <Cell col="20" text="16"/>
  134. <Cell col="21" text="17"/>
  135. <Cell col="22" text="18"/>
  136. <Cell col="23" text="19"/>
  137. <Cell col="24" text="20"/>
  138. <Cell col="25" text="21"/>
  139. <Cell col="26" text="22"/>
  140. <Cell col="27" text="23"/>
  141. <Cell col="28" text="24"/>
  142. <Cell col="29" text="25"/>
  143. <Cell col="30" text="26"/>
  144. <Cell col="31" text="27"/>
  145. <Cell col="32" text="28"/>
  146. <Cell col="33" text="29"/>
  147. <Cell col="34" text="30"/>
  148. <Cell col="35" text="31"/>
  149. <Cell col="36" text="총&#10;시간"/>
  150. <Cell col="37" text="총&#10;일자"/>
  151. <Cell col="38" text="평균&#10;시간"/>
  152. <Cell col="39" text="평균&#10;일자"/>
  153. </Band>
  154. <Band id="body">
  155. <Cell text="bind:instcd"/>
  156. <Cell col="1" text="expr:currow+1"/>
  157. <Cell col="2" text="bind:readnm"/>
  158. <Cell col="3" class="text_center" text="bind:testcd"/>
  159. <Cell col="4" style="padding:5 5 5 5;" class="text_center" text="bind:testnm" wordwrap="char" autosizerow="limitmin"/>
  160. <Cell col="5" class="text_right" text="bind:day01"/>
  161. <Cell col="6" class="text_right" text="bind:day02"/>
  162. <Cell col="7" class="text_right" text="bind:day03"/>
  163. <Cell col="8" class="text_right" text="bind:day04"/>
  164. <Cell col="9" class="text_right" text="bind:day05"/>
  165. <Cell col="10" class="text_right" text="bind:day06"/>
  166. <Cell col="11" class="text_right" text="bind:day07"/>
  167. <Cell col="12" class="text_right" text="bind:day08"/>
  168. <Cell col="13" class="text_right" text="bind:day09"/>
  169. <Cell col="14" class="text_right" text="bind:day10"/>
  170. <Cell col="15" class="text_right" text="bind:day11"/>
  171. <Cell col="16" class="text_right" text="bind:day12"/>
  172. <Cell col="17" class="text_right" text="bind:day13"/>
  173. <Cell col="18" class="text_right" text="bind:day14"/>
  174. <Cell col="19" class="text_right" text="bind:day15"/>
  175. <Cell col="20" class="text_right" text="bind:day16"/>
  176. <Cell col="21" class="text_right" text="bind:day17"/>
  177. <Cell col="22" class="text_right" text="bind:day18"/>
  178. <Cell col="23" class="text_right" text="bind:day19"/>
  179. <Cell col="24" class="text_right" text="bind:day20"/>
  180. <Cell col="25" class="text_right" text="bind:day21"/>
  181. <Cell col="26" class="text_right" text="bind:day22"/>
  182. <Cell col="27" class="text_right" text="bind:day23"/>
  183. <Cell col="28" class="text_right" text="bind:day24"/>
  184. <Cell col="29" class="text_right" text="bind:day25"/>
  185. <Cell col="30" class="text_right" text="bind:day26"/>
  186. <Cell col="31" class="text_right" text="bind:day27"/>
  187. <Cell col="32" class="text_right" text="bind:day28"/>
  188. <Cell col="33" class="text_right" text="bind:day29"/>
  189. <Cell col="34" class="text_right" text="bind:day30"/>
  190. <Cell col="35" class="text_right" text="bind:day31"/>
  191. <Cell col="36" class="text_right" text="bind:daytot"/>
  192. <Cell col="37" class="text_right" text="bind:daytotdd"/>
  193. <Cell col="38" class="text_right" text="bind:dayavg"/>
  194. <Cell col="39" class="text_right" text="bind:dayavgdd"/>
  195. </Band>
  196. </Format>
  197. </Formats>
  198. </Grid>
  199. </Layout>
  200. </Layouts>
  201. <Objects>
  202. <Dataset id="ds_grd_statsinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  203. <ColumnInfo>
  204. <Column id="instcd" type="STRING"/>
  205. <Column id="readnm" type="STRING"/>
  206. <Column id="testcd" type="STRING"/>
  207. <Column id="testnm" type="STRING"/>
  208. <Column id="day01" type="STRING"/>
  209. <Column id="day02" type="STRING"/>
  210. <Column id="day03" type="STRING"/>
  211. <Column id="day04" type="STRING"/>
  212. <Column id="day05" type="STRING"/>
  213. <Column id="day06" type="STRING"/>
  214. <Column id="day07" type="STRING"/>
  215. <Column id="day08" type="STRING"/>
  216. <Column id="day09" type="STRING"/>
  217. <Column id="day10" type="STRING"/>
  218. <Column id="day11" type="STRING"/>
  219. <Column id="day12" type="STRING"/>
  220. <Column id="day13" type="STRING"/>
  221. <Column id="day14" type="STRING"/>
  222. <Column id="day15" type="STRING"/>
  223. <Column id="day16" type="STRING"/>
  224. <Column id="day17" type="STRING"/>
  225. <Column id="day18" type="STRING"/>
  226. <Column id="day19" type="STRING"/>
  227. <Column id="day20" type="STRING"/>
  228. <Column id="day21" type="STRING"/>
  229. <Column id="day22" type="STRING"/>
  230. <Column id="day23" type="STRING"/>
  231. <Column id="day24" type="STRING"/>
  232. <Column id="day25" type="STRING"/>
  233. <Column id="day26" type="STRING"/>
  234. <Column id="day27" type="STRING"/>
  235. <Column id="day28" type="STRING"/>
  236. <Column id="day29" type="STRING"/>
  237. <Column id="day30" type="STRING"/>
  238. <Column id="day31" type="STRING"/>
  239. <Column id="daytot" type="STRING"/>
  240. <Column id="daytotdd" type="STRING"/>
  241. <Column id="dayavg" type="STRING"/>
  242. <Column id="dayavgdd" type="STRING"/>
  243. </ColumnInfo>
  244. </Dataset>
  245. <Dataset id="ds_init_cbo_statsflagcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  246. <ColumnInfo>
  247. <Column id="resncnts" type="STRING"/>
  248. <Column id="resncd" type="STRING"/>
  249. </ColumnInfo>
  250. </Dataset>
  251. <Dataset id="ds_mdlcdinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  252. <ColumnInfo>
  253. <Column id="choi" type="STRING" size="256"/>
  254. <Column id="instcd" type="STRING" size="256"/>
  255. <Column id="baseflagcd" type="STRING" size="256"/>
  256. <Column id="resncd" type="STRING" size="256"/>
  257. <Column id="resncnts" type="STRING" size="256"/>
  258. <Column id="mdlflagcd" type="STRING" size="256"/>
  259. </ColumnInfo>
  260. <Rows>
  261. <Row>
  262. <Col id="mdlflagcd"/>
  263. <Col id="baseflagcd">84</Col>
  264. </Row>
  265. </Rows>
  266. </Dataset>
  267. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  268. <ColumnInfo>
  269. <Column id="sysdt" type="STRING" size="256"/>
  270. <Column id="resncd" type="STRING" size="256"/>
  271. <Column id="statsfromdd" type="STRING" size="256"/>
  272. <Column id="statstodd" type="STRING" size="256"/>
  273. <Column id="refmthdcd" type="STRING" size="256"/>
  274. <Column id="statsworkflagcd" type="STRING" size="256"/>
  275. <Column id="refflagcd" type="STRING" size="256"/>
  276. <Column id="mdlcdlist" type="STRING" size="256"/>
  277. </ColumnInfo>
  278. <Rows>
  279. <Row/>
  280. </Rows>
  281. </Dataset>
  282. </Objects>
  283. <Bind>
  284. <BindItem id="item0" compid="grp_sea.ipt_cnclfromdd" propid="value" datasetid="ds_init" columnid="statsfromdd"/>
  285. <BindItem id="item1" compid="grp_sea.ipt_cncltodd" propid="value" datasetid="ds_init" columnid="statstodd"/>
  286. <BindItem id="item2" compid="grp_sea.cbo_refmthdcd" propid="value" datasetid="ds_init" columnid="refmthdcd"/>
  287. <BindItem id="item3" compid="grp_sea.combo1" propid="value" datasetid="ds_init" columnid="refflagcd"/>
  288. <BindItem id="item4" compid="grp_sea.cbo_statsflagcd" propid="value" datasetid="ds_init" columnid="statsworkflagcd"/>
  289. </Bind>
  290. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  291. * System Name :
  292. * Job Name :
  293. * Creator :
  294. * Make Date : 2015-11-13
  295. * Description :
  296. *---------------------------------------------------------------------------------------
  297. * Modify Date Modifier Modify Description
  298. *---------------------------------------------------------------------------------------
  299. * 2015-11-13 Live Converter TF->XP
  300. *
  301. *---------------------------------------------------------------------------------------
  302. ****************************************************************************************/
  303. include "com_commonxp::comm_main.xjs";
  304. function SMLPS01310_oninit(obj:Form, e:InitEventInfo)
  305. {
  306. frmf_initForm(obj);
  307. }
  308. function SMLPS01310_onload(obj:Form, e:LoadEventInfo)
  309. {
  310. grdf_initGrid(grd_statsinfolist);
  311. fExeInitialize();
  312. }
  313. function fExeInitialize()
  314. {
  315. dsf_createDsRow("ds_send", [{col: "instcd", val: sysf_getUserInfo("dutplceinstcd")}]);
  316. var oParam = {};
  317. oParam.id = "TRLPZ00102";
  318. oParam.service = "plgycomnusemngtapp.BaseInfoCode";
  319. oParam.method = "reqGetSystemDateTimeInformation";
  320. oParam.inds = "refData=ds_send";
  321. oParam.outds = "ds_data_sysdtinfo=sysdtinfo";
  322. oParam.async = false;
  323. //oParam.callback = "cf_TRLPZ00102";
  324. tranf_submit(oParam);
  325. dsf_createDsRow("ds_send", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}
  326. ,{col : "delflagcd", val : "0"}
  327. ,{col : "baseflagcd", val : "ZA"}
  328. ,{col : "resncd", val : "01"}]);
  329. var oParam = {};
  330. oParam.id = "TRLPC02802";
  331. oParam.service = "plgybaseinfomngtapp.BaseFlagCode";
  332. oParam.method = "reqGetMdlCdList";
  333. oParam.inds = "refData=ds_send";
  334. oParam.outds = "ds_init_cbo_statsflagcd=baseflagcdinfo";
  335. oParam.async = false;
  336. //oParam.callback = "cf_TRLPC02802";
  337. tranf_submit(oParam);
  338. iNodeCnt = Number(ds_mdlcdinfo.rowcount + 1);
  339. ds_mdlcdinfo.setColumn(iNodeCnt, "resncd", "ZZZZ");
  340. ds_mdlcdinfo.setColumn(iNodeCnt, "resncnts", "전체");
  341. ds_mdlcdinfo.setColumn(iNodeCnt, "baseflagcd", "ZA");
  342. // 초기값 설정
  343. ds_init.setColumn(0, "statsfromdd", utlf_getCurrentDate());
  344. ds_init.setColumn(0, "statstodd", utlf_getCurrentDate());
  345. ds_init.setColumn(0, "refmthdcd", "0");
  346. ds_init.setColumn(0, "refflagcd", "0");
  347. ds_init.setColumn(0, "statsworkflagcd", "0101");
  348. fExeRadioChange();
  349. }
  350. function fExeRadioChange()
  351. {
  352. for(var i = 17; i <= 35; i++)
  353. {
  354. grd_statsinfolist.setFormatColProperty(i, "size", 31);
  355. }
  356. var iFromNo = 0;
  357. var iToNo = 0;
  358. var iWidth = 0;
  359. var bState = false;
  360. var k = 0;
  361. var iYear = 0;
  362. var sFromDD = grp_sea.ipt_cnclfromdd.value;
  363. sFromDD_d = sFromDD.toFormatString("%Y%m%d");
  364. var sToDD = grp_sea.ipt_cnclfromdd.value;
  365. sToDD_d = sToDD.toFormatString("%Y%m%d");
  366. if(grp_sea.cbo_refmthdcd.value == "0")
  367. {
  368. iFromNo = 5;
  369. iToNo = ds_grd_statsinfolist.colcount;
  370. iWidth = 31;
  371. bState = false;
  372. if(grp_sea.combo1.value == "0")
  373. {
  374. for(var i = 1; i <= 31; i++)
  375. {
  376. grd_statsinfolist.setCellProperty("head", 4+i, "text", i);
  377. }
  378. if(i>31)
  379. {
  380. for(i = 37; i<=39; i++)
  381. {
  382. grd_statsinfolist.setFormatColProperty(i, "size", 0);
  383. }
  384. grd_statsinfolist.setFormatColProperty(36, "size", 60);
  385. grd_statsinfolist.setCellProperty("head", 36, "text", "총\n건수");
  386. }
  387. }
  388. else
  389. {
  390. grd_statsinfolist.setCellProperty("head", 36, "text", "총\n시간");
  391. for(var i = 37; i <= 39; i++)
  392. {
  393. grd_statsinfolist.setFormatColProperty(i, "size", 31);
  394. }
  395. }
  396. }
  397. else if(grp_sea.cbo_refmthdcd.value == "1")
  398. {
  399. iFromNo = 17;
  400. iToNo = 35;
  401. iWidth = 75;
  402. bState = true;
  403. if(grp_sea.combo1.value == "0")
  404. {
  405. sText = "기관코드^판독의^검사코드^검사명^01^02^03^04^05^06^07^08^09^10^11^12^13^14^15^16^17^18^19^20^21^22^23^24^25^26^27^28^29^30^31^총\n건수^";
  406. for(var i = 1; i <= 31; i++)
  407. {
  408. grd_statsinfolist.setCellProperty("head", 4+i, "text", i);
  409. }
  410. if(i>12)
  411. {
  412. for(i=17; i <= 39; i++)
  413. {
  414. grd_statsinfolist.setFormatColProperty(i, "size", 0);
  415. }
  416. grd_statsinfolist.setFormatColProperty(36, "size", 60);
  417. grd_statsinfolist.setCellProperty("head", 36, "text", "총\n건수");
  418. }
  419. }
  420. else
  421. {
  422. for(i=17; i <= 39; i++)
  423. {
  424. grd_statsinfolist.setFormatColProperty(i, "size", 0);
  425. }
  426. grd_statsinfolist.setFormatColProperty(36, "size", 60);
  427. grd_statsinfolist.setCellProperty("head", 36, "text", "총\n시간");
  428. for(i=37; i <= 39; i++)
  429. {
  430. grd_statsinfolist.setFormatColProperty(i, "size", 31);
  431. }
  432. }
  433. }
  434. ds_grd_statsinfolist.clearData();
  435. }
  436. function fGetStatsInfoList()
  437. {
  438. dsf_createDsRow("ds_send", [{col: "instcd", val: sysf_getUserInfo("dutplceinstcd")}
  439. ,{col: "statsfromdd", val: ds_init.getColumn(0,"statsfromdd")}
  440. ,{col: "statstodd", val: ds_init.getColumn(0,"statstodd")}
  441. ,{col: "refmthdcd", val: ds_init.getColumn(0,"refmthdcd")}
  442. ,{col: "refflagcd", val: ds_init.getColumn(0,"refflagcd")}
  443. ,{col: "statsworkflagcd", val: ds_init.getColumn(0,"statsworkflagcd")}]);
  444. var oParam = {};
  445. oParam.id = "TRLPS01302";
  446. oParam.service = "plgystatsmngtapp.StatsMngtRef";
  447. oParam.method = "reqGetGrossDRReadTMStats";
  448. oParam.inds = "refData=ds_send";
  449. oParam.outds = "ds_grd_statsinfolist=reflist";
  450. oParam.async = false;
  451. //oParam.callback = "cf_TRLPS01302";
  452. tranf_submit(oParam);
  453. }
  454. //엑셀저장
  455. function fExeSaveToExcel()
  456. {
  457. var sTitle = "육안의별검사보고시간";
  458. if(ds_init.getColumn(0, "refflagcd") == "0")
  459. {
  460. switch (ds_init.getColumn(0,"refmthdcd"))
  461. {
  462. case "0" : sTitle += "검사건수(일별)";
  463. break;
  464. case "1" : sTitle += "검사건수(월별)";
  465. break;
  466. }
  467. }
  468. else
  469. {
  470. switch (ds_init.getColumn(0,"refmthdcd"))
  471. {
  472. case "0" : sTitle += "보고시간(일별)";
  473. break;
  474. case "1" : sTitle += "보고시간(월별)";
  475. break;
  476. }
  477. }
  478. grdf_exportExcel(grd_statsinfolist, sTitle, "sheet1", false);
  479. }
  480. function grp_sea_cbo_refmthdcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  481. {
  482. fExeRadioChange();
  483. }
  484. function grp_sea_combo1_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  485. {
  486. fExeRadioChange();
  487. }
  488. //조회
  489. function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  490. {
  491. fGetStatsInfoList();
  492. }
  493. //조회
  494. function grp_sea_ipt_cncltodd_onkeyup(obj:Calendar, e:KeyEventInfo)
  495. {
  496. if(e.keycode == 13)
  497. {
  498. fGetStatsInfoList();
  499. }
  500. }
  501. //엑셀저장
  502. function button13_onclick(obj:Button, e:ClickEventInfo)
  503. {
  504. fExeSaveToExcel()
  505. }
  506. ]]></Script>
  507. </Form>
  508. </FDL>