SMAES00400_기능검사실통계(일별).xfdl 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAES00400" position="absolute 0 0 1193 805" titletext="기능검사실 통계(기본)" oninit="model1_oninit" onload="SMAES00400_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption1" text="기능검사실 통계(일별)" class="tit_2" position="absolute 0 77 200 97" positiontype="position"/>
  8. <Shape id="line1" class="line_10" position="absolute 0 95 1192 99" linetype="horizontal" positiontype="position"/>
  9. <Div id="grp_sea" taborder="1" style="align:center top;" position="absolute 0 25 1192 65" class="div_SA" anchor="left top right" positiontype="position">
  10. <Layouts>
  11. <Layout>
  12. <Static id="caption2" text="조회기간년" class="search_name" position="absolute 8 10 95 30" anchor="default" positiontype="position"/>
  13. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1110 5 1110 25" anchor="default" positiontype="position"/>
  14. <Button id="btn_sea" taborder="6" text="조회" onlbuttonup="btn_sea_onlbuttonup" class="btn1" position="absolute 1124 10 1180 30" anchor="top right" onclick="btn_sea_onclick" positiontype="position"/>
  15. <Static id="caption7" text="검사실" class="search_name" position="absolute 346 10 407 30" anchor="default" positiontype="position"/>
  16. <Combo id="cmb_excuroom" taborder="7" position="absolute 407 10 522 30" anchor="default" innerdataset="@ds_init_cmb_initexcuroom" codecolumn="basecd" datacolumn="basecdflagdesc" positiontype="position"/>
  17. <Combo id="ipt_tomonth" taborder="8" position="absolute 271 10 338 30" anchor="default" codecolumn="value" datacolumn="label" innerdataset="@ds_cmb_month" onitemchanged="grp_sea_ipt_tomonth_onitemchanged" positiontype="position"/>
  18. <Static id="caption3" text="조회기간월" class="search_name" position="absolute 184 10 271 30" anchor="default" positiontype="position"/>
  19. <Static id="caption4" text="구분" class="search_name" position="absolute 546 10 594 30" anchor="default" positiontype="position"/>
  20. <Radio id="ioflag" taborder="10" columncount="3" rowcount="0" codecolumn="value" datacolumn="label" position="absolute 594 10 739 30" anchor="default" index="0" value="A" innerdataset="@ds_ioflag" positiontype="position"/>
  21. <Spin id="ipt_toyear" taborder="13" position="absolute 95 10 181 30" anchor="default" class="combo_essential"/>
  22. </Layout>
  23. </Layouts>
  24. </Div>
  25. <Button id="btn_excsave" taborder="2" text="엑셀저장" onlbuttonup="btn_excsave_onlbuttonup" class="btn7" position="absolute 1116 74 1192 94" anchor="top right" positiontype="position" onclick="btn_excsave_onclick"/>
  26. <Grid id="grd_list" taborder="3" useinputpanel="false" position="absolute 0 99 1192 805" anchor="all" binddataset="ds_grid_grd_list" positiontype="position" cellsizingtype="col" oncolresized="grd_list_oncolresized">
  27. <Formats>
  28. <Format id="default">
  29. <Columns>
  30. <Column size="30" band="left"/>
  31. <Column size="100" band="left"/>
  32. <Column size="257" band="left"/>
  33. <Column size="40" band="left"/>
  34. <Column size="40"/>
  35. <Column size="40"/>
  36. <Column size="40"/>
  37. <Column size="40"/>
  38. <Column size="40"/>
  39. <Column size="40"/>
  40. <Column size="40"/>
  41. <Column size="40"/>
  42. <Column size="40"/>
  43. <Column size="40"/>
  44. <Column size="40"/>
  45. <Column size="40"/>
  46. <Column size="40"/>
  47. <Column size="40"/>
  48. <Column size="40"/>
  49. <Column size="40"/>
  50. <Column size="40"/>
  51. <Column size="40"/>
  52. <Column size="40"/>
  53. <Column size="40"/>
  54. <Column size="40"/>
  55. <Column size="40"/>
  56. <Column size="40"/>
  57. <Column size="40"/>
  58. <Column size="40"/>
  59. <Column size="40"/>
  60. <Column size="40"/>
  61. <Column size="40"/>
  62. <Column size="40"/>
  63. <Column size="40"/>
  64. <Column size="40"/>
  65. </Columns>
  66. <Rows>
  67. <Row size="24" band="head"/>
  68. <Row size="24"/>
  69. <Row size="24" band="summ"/>
  70. </Rows>
  71. <Band id="head">
  72. <Cell/>
  73. <Cell col="1" text="검사코드"/>
  74. <Cell col="2" text="검사명"/>
  75. <Cell col="3" text="1일"/>
  76. <Cell col="4" text="2일"/>
  77. <Cell col="5" text="3일"/>
  78. <Cell col="6" text="4일"/>
  79. <Cell col="7" text="5일"/>
  80. <Cell col="8" text="6일"/>
  81. <Cell col="9" text="7일"/>
  82. <Cell col="10" text="8일"/>
  83. <Cell col="11" text="9일"/>
  84. <Cell col="12" text="10일"/>
  85. <Cell col="13" text="11일"/>
  86. <Cell col="14" text="12일"/>
  87. <Cell col="15" text="13일"/>
  88. <Cell col="16" text="14일"/>
  89. <Cell col="17" text="15일"/>
  90. <Cell col="18" text="16일"/>
  91. <Cell col="19" text="17일"/>
  92. <Cell col="20" text="18일"/>
  93. <Cell col="21" text="19일"/>
  94. <Cell col="22" text="20일"/>
  95. <Cell col="23" text="21일"/>
  96. <Cell col="24" text="22일"/>
  97. <Cell col="25" text="23일"/>
  98. <Cell col="26" text="24일"/>
  99. <Cell col="27" text="25일"/>
  100. <Cell col="28" text="26일"/>
  101. <Cell col="29" text="27일"/>
  102. <Cell col="30" text="28일"/>
  103. <Cell col="31" text="29일"/>
  104. <Cell col="32" text="30일"/>
  105. <Cell col="33" text="31일"/>
  106. <Cell col="34" text="합계"/>
  107. </Band>
  108. <Band id="body">
  109. <Cell expr="expr:currow + 1"/>
  110. <Cell col="1" style="align:left;" text="bind:prcpcd"/>
  111. <Cell col="2" style="align:left middle;" text="bind:prcpnm" wordwrap="char"/>
  112. <Cell col="3" displaytype="number" text="bind:day01" mask="#,##0"/>
  113. <Cell col="4" displaytype="number" text="bind:day02" mask="#,##0"/>
  114. <Cell col="5" displaytype="number" text="bind:day03" mask="#,##0"/>
  115. <Cell col="6" displaytype="number" text="bind:day04" mask="#,##0"/>
  116. <Cell col="7" displaytype="number" text="bind:day05" mask="#,##0"/>
  117. <Cell col="8" displaytype="number" text="bind:day06" mask="#,##0"/>
  118. <Cell col="9" displaytype="number" text="bind:day07" mask="#,##0"/>
  119. <Cell col="10" displaytype="number" text="bind:day08" mask="#,##0"/>
  120. <Cell col="11" displaytype="number" text="bind:day09" mask="#,##0"/>
  121. <Cell col="12" displaytype="number" text="bind:day10" mask="#,##0"/>
  122. <Cell col="13" displaytype="number" text="bind:day11" mask="#,##0"/>
  123. <Cell col="14" displaytype="number" text="bind:day12" mask="#,##0"/>
  124. <Cell col="15" displaytype="number" text="bind:day13" mask="#,##0"/>
  125. <Cell col="16" displaytype="number" text="bind:day14" mask="#,##0"/>
  126. <Cell col="17" displaytype="number" text="bind:day15" mask="#,##0"/>
  127. <Cell col="18" displaytype="number" text="bind:day16" mask="#,##0"/>
  128. <Cell col="19" displaytype="number" text="bind:day17" mask="#,##0"/>
  129. <Cell col="20" displaytype="number" text="bind:day18" mask="#,##0"/>
  130. <Cell col="21" displaytype="number" text="bind:day19" mask="#,##0"/>
  131. <Cell col="22" displaytype="number" text="bind:day20" mask="#,##0"/>
  132. <Cell col="23" displaytype="number" text="bind:day21" mask="#,##0"/>
  133. <Cell col="24" displaytype="number" text="bind:day22" mask="#,##0"/>
  134. <Cell col="25" displaytype="number" text="bind:day23" mask="#,##0"/>
  135. <Cell col="26" displaytype="number" text="bind:day24" mask="#,##0"/>
  136. <Cell col="27" displaytype="number" text="bind:day25" mask="#,##0"/>
  137. <Cell col="28" displaytype="number" text="bind:day26" mask="#,##0"/>
  138. <Cell col="29" displaytype="number" text="bind:day27" mask="#,##0"/>
  139. <Cell col="30" displaytype="number" text="bind:day28" mask="#,##0"/>
  140. <Cell col="31" displaytype="number" text="bind:day29" mask="#,##0"/>
  141. <Cell col="32" displaytype="number" text="bind:day30" mask="#,##0"/>
  142. <Cell col="33" displaytype="number" text="bind:day31" mask="#,##0"/>
  143. <Cell col="34" displaytype="number" text="bind:daysum" mask="#,##0"/>
  144. </Band>
  145. <Band id="summary">
  146. <Cell/>
  147. <Cell col="1" colspan="2" text="합계"/>
  148. <Cell col="3" displaytype="number" style="padding:0 3 0 0;" text="expr:getSum(&quot;day01&quot;)" mask="#,##0"/>
  149. <Cell col="4" displaytype="number" style="padding:0 3 0 0;" text="expr:getSum(&quot;day02&quot;)" mask="#,##0"/>
  150. <Cell col="5" displaytype="number" style="padding:0 3 0 0;" text="expr:getSum(&quot;day03&quot;)" mask="#,##0"/>
  151. <Cell col="6" displaytype="number" style="padding:0 3 0 0;" text="expr:getSum(&quot;day04&quot;)" mask="#,##0"/>
  152. <Cell col="7" displaytype="number" style="padding:0 3 0 0;" text="expr:getSum(&quot;day05&quot;)" mask="#,##0"/>
  153. <Cell col="8" displaytype="number" style="padding:0 3 0 0;" text="expr:getSum(&quot;day06&quot;)" mask="#,##0"/>
  154. <Cell col="9" displaytype="number" style="padding:0 3 0 0;" text="expr:getSum(&quot;day07&quot;)" mask="#,##0"/>
  155. <Cell col="10" displaytype="number" style="padding:0 3 0 0;" text="expr:getSum(&quot;day08&quot;)" mask="#,##0"/>
  156. <Cell col="11" displaytype="number" style="padding:0 3 0 0;" text="expr:getSum(&quot;day09&quot;)" mask="#,##0"/>
  157. <Cell col="12" displaytype="number" style="padding:0 3 0 0;" text="expr:getSum(&quot;day10&quot;)" mask="#,##0"/>
  158. <Cell col="13" displaytype="number" style="padding:0 3 0 0;" text="expr:getSum(&quot;day11&quot;)" mask="#,##0"/>
  159. <Cell col="14" displaytype="number" style="padding:0 3 0 0;" text="expr:getSum(&quot;day12&quot;)" mask="#,##0"/>
  160. <Cell col="15" displaytype="number" style="padding:0 3 0 0;" text="expr:getSum(&quot;day13&quot;)" mask="#,##0"/>
  161. <Cell col="16" displaytype="number" style="padding:0 3 0 0;" text="expr:getSum(&quot;day14&quot;)" mask="#,##0"/>
  162. <Cell col="17" displaytype="number" style="padding:0 3 0 0;" text="expr:getSum(&quot;day15&quot;)" mask="#,##0"/>
  163. <Cell col="18" displaytype="number" style="padding:0 3 0 0;" text="expr:getSum(&quot;day16&quot;)" mask="#,##0"/>
  164. <Cell col="19" displaytype="number" style="padding:0 3 0 0;" text="expr:getSum(&quot;day17&quot;)" mask="#,##0"/>
  165. <Cell col="20" displaytype="number" style="padding:0 3 0 0;" text="expr:getSum(&quot;day18&quot;)" mask="#,##0"/>
  166. <Cell col="21" displaytype="number" style="padding:0 3 0 0;" text="expr:getSum(&quot;day19&quot;)" mask="#,##0"/>
  167. <Cell col="22" displaytype="number" style="padding:0 3 0 0;" text="expr:getSum(&quot;day20&quot;)" mask="#,##0"/>
  168. <Cell col="23" displaytype="number" style="padding:0 3 0 0;" text="expr:getSum(&quot;day21&quot;)" mask="#,##0"/>
  169. <Cell col="24" displaytype="number" style="padding:0 3 0 0;" text="expr:getSum(&quot;day22&quot;)" mask="#,##0"/>
  170. <Cell col="25" displaytype="number" style="padding:0 3 0 0;" text="expr:getSum(&quot;day23&quot;)" mask="#,##0"/>
  171. <Cell col="26" displaytype="number" style="padding:0 3 0 0;" text="expr:getSum(&quot;day24&quot;)" mask="#,##0"/>
  172. <Cell col="27" displaytype="number" style="padding:0 3 0 0;" text="expr:getSum(&quot;day25&quot;)" mask="#,##0"/>
  173. <Cell col="28" displaytype="number" style="padding:0 3 0 0;" text="expr:getSum(&quot;day26&quot;)" mask="#,##0"/>
  174. <Cell col="29" displaytype="number" style="padding:0 3 0 0;" text="expr:getSum(&quot;day27&quot;)" mask="#,##0"/>
  175. <Cell col="30" displaytype="number" style="padding:0 3 0 0;" text="expr:getSum(&quot;day28&quot;)" mask="#,##0"/>
  176. <Cell col="31" displaytype="number" style="padding:0 3 0 0;" text="expr:getSum(&quot;day29&quot;)" mask="#,##0"/>
  177. <Cell col="32" displaytype="number" style="padding:0 3 0 0;" text="expr:getSum(&quot;day30&quot;)" mask="#,##0"/>
  178. <Cell col="33" displaytype="number" style="padding:0 3 0 0;" text="expr:getSum(&quot;day31&quot;)" mask="#,##0"/>
  179. <Cell col="34" displaytype="number" style="padding:0 3 0 0;" text="expr:getSum(&quot;daysum&quot;)" mask="#,##0"/>
  180. </Band>
  181. </Format>
  182. </Formats>
  183. </Grid>
  184. <Static id="caption6" text="기능검사실 통계(일별)" class="tit_1" position="absolute 0 0 200 25" positiontype="position"/>
  185. </Layout>
  186. </Layouts>
  187. <Objects>
  188. <Dataset id="ds_grid_grd_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  189. <ColumnInfo>
  190. <Column id="prcpcd" type="STRING"/>
  191. <Column id="prcpnm" type="STRING"/>
  192. <Column id="day01" type="STRING"/>
  193. <Column id="day02" type="STRING"/>
  194. <Column id="day03" type="STRING"/>
  195. <Column id="day04" type="STRING"/>
  196. <Column id="day05" type="STRING"/>
  197. <Column id="day06" type="STRING"/>
  198. <Column id="day07" type="STRING"/>
  199. <Column id="day08" type="STRING"/>
  200. <Column id="day09" type="STRING"/>
  201. <Column id="day10" type="STRING"/>
  202. <Column id="day11" type="STRING"/>
  203. <Column id="day12" type="STRING"/>
  204. <Column id="day13" type="STRING"/>
  205. <Column id="day14" type="STRING"/>
  206. <Column id="day15" type="STRING"/>
  207. <Column id="day16" type="STRING"/>
  208. <Column id="day17" type="STRING"/>
  209. <Column id="day18" type="STRING"/>
  210. <Column id="day19" type="STRING"/>
  211. <Column id="day20" type="STRING"/>
  212. <Column id="day21" type="STRING"/>
  213. <Column id="day22" type="STRING"/>
  214. <Column id="day23" type="STRING"/>
  215. <Column id="day24" type="STRING"/>
  216. <Column id="day25" type="STRING"/>
  217. <Column id="day26" type="STRING"/>
  218. <Column id="day27" type="STRING"/>
  219. <Column id="day28" type="STRING"/>
  220. <Column id="day29" type="STRING"/>
  221. <Column id="day30" type="STRING"/>
  222. <Column id="day31" type="STRING"/>
  223. <Column id="daysum" type="STRING"/>
  224. </ColumnInfo>
  225. </Dataset>
  226. <Dataset id="ds_ioflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  227. <ColumnInfo>
  228. <Column id="label" type="STRING" size="256"/>
  229. <Column id="value" type="STRING" size="256"/>
  230. </ColumnInfo>
  231. <Rows>
  232. <Row>
  233. <Col id="label">전체</Col>
  234. <Col id="value">A</Col>
  235. </Row>
  236. <Row>
  237. <Col id="label">입원</Col>
  238. <Col id="value">I</Col>
  239. </Row>
  240. <Row>
  241. <Col id="label">외래</Col>
  242. <Col id="value">O</Col>
  243. </Row>
  244. </Rows>
  245. </Dataset>
  246. <Dataset id="ds_init_cmb_initexcuroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  247. <ColumnInfo>
  248. <Column id="basecd" type="STRING" size="256"/>
  249. <Column id="basecdflagdesc" type="STRING" size="256"/>
  250. </ColumnInfo>
  251. </Dataset>
  252. <Dataset id="ds_cmb_reqparam" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  253. <ColumnInfo>
  254. <Column id="basesuppdeptcd" type="STRING" size="256"/>
  255. <Column id="rbasecdflag" type="STRING" size="256"/>
  256. <Column id="ebasecdflag" type="STRING" size="256"/>
  257. <Column id="largeclass" type="STRING" size="256"/>
  258. <Column id="cdgrupid" type="STRING" size="256"/>
  259. <Column id="centflag" type="STRING" size="256"/>
  260. <Column id="basecdcnts" type="STRING" size="256"/>
  261. <Column id="suppflag" type="STRING" size="256"/>
  262. <Column id="baseroomopenyn" type="STRING" size="256"/>
  263. <Column id="screenflag" type="STRING" size="256"/>
  264. </ColumnInfo>
  265. <Rows>
  266. <Row/>
  267. </Rows>
  268. </Dataset>
  269. <Dataset id="ds_cmb_month" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  270. <ColumnInfo>
  271. <Column id="label" type="STRING" size="256"/>
  272. <Column id="value" type="STRING" size="256"/>
  273. </ColumnInfo>
  274. <Rows>
  275. <Row>
  276. <Col id="label">1월</Col>
  277. <Col id="value">01</Col>
  278. </Row>
  279. <Row>
  280. <Col id="label">2월</Col>
  281. <Col id="value">02</Col>
  282. </Row>
  283. <Row>
  284. <Col id="label">3월</Col>
  285. <Col id="value">03</Col>
  286. </Row>
  287. <Row>
  288. <Col id="label">4월</Col>
  289. <Col id="value">04</Col>
  290. </Row>
  291. <Row>
  292. <Col id="label">5월</Col>
  293. <Col id="value">05</Col>
  294. </Row>
  295. <Row>
  296. <Col id="label">6월</Col>
  297. <Col id="value">06</Col>
  298. </Row>
  299. <Row>
  300. <Col id="label">7월</Col>
  301. <Col id="value">07</Col>
  302. </Row>
  303. <Row>
  304. <Col id="label">8월</Col>
  305. <Col id="value">08</Col>
  306. </Row>
  307. <Row>
  308. <Col id="label">9월</Col>
  309. <Col id="value">09</Col>
  310. </Row>
  311. <Row>
  312. <Col id="label">10월</Col>
  313. <Col id="value">10</Col>
  314. </Row>
  315. <Row>
  316. <Col id="label">11월</Col>
  317. <Col id="value">11</Col>
  318. </Row>
  319. <Row>
  320. <Col id="label">12월</Col>
  321. <Col id="value">12</Col>
  322. </Row>
  323. </Rows>
  324. </Dataset>
  325. </Objects>
  326. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  327. * System Name : KU2.0
  328. * Job Name :
  329. * File Name :
  330. * Creator :
  331. * Make Date : 2016-03-25
  332. *
  333. * Description :
  334. *
  335. *---------------------------------------------------------------------------------------
  336. ****************************************************************************************/
  337. //=======================================================================================
  338. // xjs Include
  339. //---------------------------------------------------------------------------------------
  340. include "com_commonxp::comm_main.xjs";
  341. include "com_basiccodexp::ZBC001.xjs";
  342. include "ast_examcurexp::AEZ0001.xjs";
  343. //=======================================================================================
  344. // Function
  345. //---------------------------------------------------------------------------------------
  346. function f_TRAEA01115(){//검사실combo
  347. ds_cmb_reqparam.setColumn(0, "basesuppdeptcd", suppdeptcd);
  348. ds_cmb_reqparam.setColumn(0, "rbasecdflag", "R");
  349. ds_cmb_reqparam.setColumn(0, "ebasecdflag", "E");
  350. ds_cmb_reqparam.setColumn(0, "largeclass", "M4");
  351. ds_cmb_reqparam.setColumn(0, "cdgrupid", "A0486");
  352. ds_cmb_reqparam.setColumn(0, "centflag", "");
  353. ds_cmb_reqparam.setColumn(0, "baseroomopenyn", "N");
  354. var oParam = new Object();
  355. oParam.id = "TRAEA01115";
  356. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  357. oParam.method = "reqGetInitFuncExamCureRoomList";
  358. oParam.inds = "reqparam=ds_cmb_reqparam";
  359. oParam.outds ="ds_init_cmb_initexcuroom=initexcuroom";
  360. oParam.callback = "cbf_TRAEA01115";
  361. tranf_submit(oParam);
  362. }
  363. function cbf_TRAEA01115(sSvcId, objErrorCode, objErrorMsg){
  364. frmf_addComboItem("grp_sea.cmb_excuroom", "--전체--", "", ""); //검사실
  365. grp_sea.cmb_excuroom.index = 0;
  366. }
  367. function f_TRAES00401(){//조회
  368. dsf_createDsRow("ds_req",
  369. [{col:"srchyyyy", val:grp_sea.ipt_toyear.value}
  370. ,{col:"srchmm", val:grp_sea.ipt_tomonth.value}
  371. ,{col:"excuroomcd", val:grp_sea.cmb_excuroom.value}
  372. ,{col:"suppdeptcd", val:suppdeptcd}
  373. ,{col:"ioflag", val:grp_sea.ioflag.value}
  374. ,{col:"screenflag", val:ds_cmb_reqparam.getColumn(0, "screenflag")}
  375. ]);
  376. var oParam = new Object();
  377. oParam.id = "TRAES00401";
  378. oParam.service = "examcurestatsapp.FuntExam";
  379. oParam.method = "reqGetFuntExamStatsDDList";
  380. oParam.inds = "req=ds_req";
  381. oParam.outds ="ds_grid_grd_list=item";
  382. oParam.callback = "cbf_TRAES00401";
  383. tranf_submit(oParam);
  384. }
  385. function cbf_TRAES00401(sSvcId, objErrorCode, objErrorMsg){
  386. }
  387. //=======================================================================================
  388. // Event
  389. //---------------------------------------------------------------------------------------
  390. /****************************************************************************************
  391. * Components :
  392. * Components ID : SMAES00400
  393. * Event : onload
  394. * Argument : 01.obj : Object Event has occurred
  395. * : 02.e : Event Object
  396. * Description :
  397. ****************************************************************************************/
  398. function SMAES00400_onload(obj:Form, e:LoadEventInfo)
  399. {
  400. frmf_initForm(obj); // 화면공통
  401. lf_aezfSetSuppDeptcd();
  402. // 검사실
  403. f_TRAEA01115();
  404. var tempto1 = utlf_getCurrentDate().substr(0,4);
  405. grp_sea.ipt_toyear.value = tempto1;
  406. var tempto2 = utlf_getCurrentDate().substr(4,2);
  407. grp_sea.ipt_tomonth.index = tempto2 -1;
  408. }
  409. /****************************************************************************************
  410. * Components :
  411. * Components ID : btn_sea
  412. * Event : onclick
  413. * Argument : 01.obj : Object Event has occurred
  414. * : 02.e : Event Object
  415. * Description :
  416. ****************************************************************************************/
  417. function btn_sea_onclick(obj:Button, e:ClickEventInfo)
  418. {
  419. f_TRAES00401();
  420. }
  421. /****************************************************************************************
  422. * Components :
  423. * Components ID : btn_excsave
  424. * Event : onclick
  425. * Argument : 01.obj : Object Event has occurred
  426. * : 02.e : Event Object
  427. * Description :
  428. ****************************************************************************************/
  429. function btn_excsave_onclick(obj:Button, e:ClickEventInfo)
  430. {
  431. if(ds_grid_grd_list.rowcount <= 0){
  432. sysf_messageBox("엑셀파일로 저장할 리스트 내역이", "I004");
  433. return;
  434. }else{
  435. grdf_exportExcel(grd_list, "기능검사실통계(일별)", "sheet1");
  436. }
  437. }
  438. function grp_sea_ipt_tomonth_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  439. {
  440. var temp3 = grp_sea.ipt_tomonth.value;
  441. grd_list.setFormatColProperty(31, "size", 30);
  442. grd_list.setFormatColProperty(32, "size", 30);
  443. grd_list.setFormatColProperty(33, "size", 30);
  444. if(temp3 == "02"){
  445. grd_list.setFormatColProperty(31, "size", 0);
  446. grd_list.setFormatColProperty(32, "size", 0);
  447. grd_list.setFormatColProperty(33, "size", 0);
  448. }else if(temp3 == "04"){
  449. grd_list.setFormatColProperty(33, "size", 0);
  450. }else if(temp3 == "06"){
  451. grd_list.setFormatColProperty(33, "size", 0);
  452. }else if(temp3 == "09"){
  453. grd_list.setFormatColProperty(33, "size", 0);
  454. }else if(temp3 == "11"){
  455. grd_list.setFormatColProperty(33, "size", 0);
  456. }
  457. }
  458. function grd_list_oncolresized(obj:Grid, e:GridSizeChangedEventInfo)
  459. {
  460. if(e.newvalue == 0){
  461. obj.setRealColSize(e.subindex, 1);
  462. }
  463. }
  464. ]]></Script>
  465. </Form>
  466. </FDL>