SMLPS01300_판독의별검사보고시간.xfdl 23 KB

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