SMLBS00600_혈액방사선조사건수.xfdl 57 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMLBS00600" position="absolute 0 0 1256 805" titletext="혈액 방사선조사 건수" onload="SMLBS00600_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group3" position="absolute 0 25 1256 805" anchor="all" positiontype="position">
  8. <Layouts>
  9. <Layout>
  10. <Div id="group1" position="absolute 0 0 1256 42" anchor="left top right" class="div_SA" positiontype="position">
  11. <Layouts>
  12. <Layout>
  13. <Static id="caption5" class="search_name" position="absolute 339 10 400 30" anchor="default" text="진료과" positiontype="position"/>
  14. <Static id="caption4" class="search_name" position="absolute 8 12 95 29" anchor="default" text="통계 희망일" positiontype="position"/>
  15. <Combo id="cmb_rtnabnflag" position="absolute 400 10 502 30" anchor="default" positiontype="position" innerdataset="@ds_init_lb0002" codecolumn="cd" datacolumn="nm"/>
  16. <CheckBox id="checkbox1" visible="false" position="absolute 587 10 621 30" anchor="default" text="%" truevalue="1" falsevalue="" positiontype="position"/>
  17. <Static id="caption3" class="search_name" visible="false" position="absolute 526 10 587 30" anchor="default" text="퍼센트" positiontype="position"/>
  18. <Button id="btn_ref" class="btn1" position="absolute 1188 10 1244 30" anchor="top right" text="조회" positiontype="position" onclick="group3_group1_btn_ref_onclick"/>
  19. <Static id="caption8" text="~" position="absolute 189 10 205 30" style="align:center middle;" visible="true"/>
  20. <Calendar id="ipt_todd_bf" taborder="2" dateformat="yyyy-MM-dd" class="input_search" position="absolute 205 10 295 30" onchanged="lf_chkDate" visible="true"/>
  21. <Calendar id="ipt_fromdd_bf" taborder="6" dateformat="yyyy-MM-dd" onchanged="lf_chkDate" class="input_search" visible="true" position="absolute 99 10 189 30"/>
  22. </Layout>
  23. </Layouts>
  24. </Div>
  25. <Tab id="switch1" position="absolute 0 52 1256 780" anchor="all" style="align:left;" positiontype="position" onchanged="group3_switch1_onchanged" visible="true">
  26. <Tabpages>
  27. <Tabpage id="case1" text="일별">
  28. <Layouts>
  29. <Layout>
  30. <Static id="caption32" class="tit_2" position="absolute 0 0 131 20" anchor="default" text="일별 수혈환자수" style="align:left top;" positiontype="position"/>
  31. <Grid id="grd_day" position="absolute 0 20 1256 701" anchor="all" tooltip="true" mergecellsfixedrows="bycolrec" rowsep="|" positiontype="position" binddataset="ds_grid_grd_day" readonly="true">
  32. <Formats>
  33. <Format id="default">
  34. <Columns>
  35. <Column size="60"/>
  36. <Column size="25"/>
  37. <Column size="40"/>
  38. <Column size="25"/>
  39. <Column size="40"/>
  40. <Column size="25"/>
  41. <Column size="40"/>
  42. <Column size="25"/>
  43. <Column size="40"/>
  44. <Column size="25"/>
  45. <Column size="40"/>
  46. <Column size="25"/>
  47. <Column size="40"/>
  48. <Column size="25"/>
  49. <Column size="40"/>
  50. <Column size="25"/>
  51. <Column size="40"/>
  52. <Column size="25"/>
  53. <Column size="40"/>
  54. <Column size="25"/>
  55. <Column size="40"/>
  56. <Column size="25"/>
  57. <Column size="40"/>
  58. <Column size="25"/>
  59. <Column size="40"/>
  60. <Column size="25"/>
  61. <Column size="40"/>
  62. <Column size="25"/>
  63. <Column size="40"/>
  64. <Column size="25"/>
  65. <Column size="40"/>
  66. <Column size="25"/>
  67. <Column size="40"/>
  68. <Column size="25"/>
  69. <Column size="40"/>
  70. <Column size="25"/>
  71. <Column size="40"/>
  72. <Column size="25"/>
  73. <Column size="40"/>
  74. <Column size="25"/>
  75. <Column size="40"/>
  76. <Column size="25"/>
  77. <Column size="40"/>
  78. <Column size="25"/>
  79. <Column size="40"/>
  80. <Column size="25"/>
  81. <Column size="40"/>
  82. <Column size="25"/>
  83. <Column size="40"/>
  84. <Column size="25"/>
  85. <Column size="40"/>
  86. <Column size="25"/>
  87. <Column size="40"/>
  88. <Column size="25"/>
  89. <Column size="40"/>
  90. <Column size="25"/>
  91. <Column size="40"/>
  92. <Column size="25"/>
  93. <Column size="40"/>
  94. <Column size="25"/>
  95. <Column size="40"/>
  96. <Column size="25"/>
  97. <Column size="40"/>
  98. <Column size="39"/>
  99. <Column size="40"/>
  100. </Columns>
  101. <Rows>
  102. <Row size="22" band="head"/>
  103. <Row size="22" band="head"/>
  104. <Row size="26"/>
  105. </Rows>
  106. <Band id="head">
  107. <Cell rowspan="2" text="성분제제"/>
  108. <Cell col="1" colspan="2" text="1"/>
  109. <Cell col="3" colspan="2" text="2"/>
  110. <Cell col="5" colspan="2" text="3"/>
  111. <Cell col="7" colspan="2" text="4"/>
  112. <Cell col="9" colspan="2" text="5"/>
  113. <Cell col="11" colspan="2" text="6"/>
  114. <Cell col="13" colspan="2" text="7"/>
  115. <Cell col="15" colspan="2" text="8"/>
  116. <Cell col="17" colspan="2" text="9"/>
  117. <Cell col="19" colspan="2" text="10"/>
  118. <Cell col="21" colspan="2" text="11"/>
  119. <Cell col="23" colspan="2" text="12"/>
  120. <Cell col="25" colspan="2" text="13"/>
  121. <Cell col="27" colspan="2" text="14"/>
  122. <Cell col="29" colspan="2" text="15"/>
  123. <Cell col="31" colspan="2" text="16"/>
  124. <Cell col="33" colspan="2" text="17"/>
  125. <Cell col="35" colspan="2" text="18"/>
  126. <Cell col="37" colspan="2" text="19"/>
  127. <Cell col="39" colspan="2" text="20"/>
  128. <Cell col="41" colspan="2" text="21"/>
  129. <Cell col="43" colspan="2" text="22"/>
  130. <Cell col="45" colspan="2" text="23"/>
  131. <Cell col="47" colspan="2" text="24"/>
  132. <Cell col="49" colspan="2" text="25"/>
  133. <Cell col="51" colspan="2" text="26"/>
  134. <Cell col="53" colspan="2" text="27"/>
  135. <Cell col="55" colspan="2" text="28"/>
  136. <Cell col="57" colspan="2" text="29"/>
  137. <Cell col="59" colspan="2" text="30"/>
  138. <Cell col="61" colspan="2" text="31"/>
  139. <Cell col="63" colspan="2" text="Total"/>
  140. <Cell row="1" col="1" text="출고"/>
  141. <Cell row="1" col="2" text="방사선"/>
  142. <Cell row="1" col="3" text="출고"/>
  143. <Cell row="1" col="4" text="방사선"/>
  144. <Cell row="1" col="5" text="출고"/>
  145. <Cell row="1" col="6" text="방사선"/>
  146. <Cell row="1" col="7" text="출고"/>
  147. <Cell row="1" col="8" text="방사선"/>
  148. <Cell row="1" col="9" text="출고"/>
  149. <Cell row="1" col="10" text="방사선"/>
  150. <Cell row="1" col="11" text="출고"/>
  151. <Cell row="1" col="12" text="방사선"/>
  152. <Cell row="1" col="13" text="출고"/>
  153. <Cell row="1" col="14" text="방사선"/>
  154. <Cell row="1" col="15" text="출고"/>
  155. <Cell row="1" col="16" text="방사선"/>
  156. <Cell row="1" col="17" text="출고"/>
  157. <Cell row="1" col="18" text="방사선"/>
  158. <Cell row="1" col="19" text="출고"/>
  159. <Cell row="1" col="20" text="방사선"/>
  160. <Cell row="1" col="21" text="출고"/>
  161. <Cell row="1" col="22" text="방사선"/>
  162. <Cell row="1" col="23" text="출고"/>
  163. <Cell row="1" col="24" text="방사선"/>
  164. <Cell row="1" col="25" text="출고"/>
  165. <Cell row="1" col="26" text="방사선"/>
  166. <Cell row="1" col="27" text="출고"/>
  167. <Cell row="1" col="28" text="방사선"/>
  168. <Cell row="1" col="29" text="출고"/>
  169. <Cell row="1" col="30" text="방사선"/>
  170. <Cell row="1" col="31" text="출고"/>
  171. <Cell row="1" col="32" text="방사선"/>
  172. <Cell row="1" col="33" text="출고"/>
  173. <Cell row="1" col="34" text="방사선"/>
  174. <Cell row="1" col="35" text="출고"/>
  175. <Cell row="1" col="36" text="방사선"/>
  176. <Cell row="1" col="37" text="출고"/>
  177. <Cell row="1" col="38" text="방사선"/>
  178. <Cell row="1" col="39" text="출고"/>
  179. <Cell row="1" col="40" text="방사선"/>
  180. <Cell row="1" col="41" text="출고"/>
  181. <Cell row="1" col="42" text="방사선"/>
  182. <Cell row="1" col="43" text="출고"/>
  183. <Cell row="1" col="44" text="방사선"/>
  184. <Cell row="1" col="45" text="출고"/>
  185. <Cell row="1" col="46" text="방사선"/>
  186. <Cell row="1" col="47" text="출고"/>
  187. <Cell row="1" col="48" text="방사선"/>
  188. <Cell row="1" col="49" text="출고"/>
  189. <Cell row="1" col="50" text="방사선"/>
  190. <Cell row="1" col="51" text="출고"/>
  191. <Cell row="1" col="52" text="방사선"/>
  192. <Cell row="1" col="53" text="출고"/>
  193. <Cell row="1" col="54" text="방사선"/>
  194. <Cell row="1" col="55" text="출고"/>
  195. <Cell row="1" col="56" text="방사선"/>
  196. <Cell row="1" col="57" text="출고"/>
  197. <Cell row="1" col="58" text="방사선"/>
  198. <Cell row="1" col="59" text="출고"/>
  199. <Cell row="1" col="60" text="방사선"/>
  200. <Cell row="1" col="61" text="출고"/>
  201. <Cell row="1" col="62" text="방사선"/>
  202. <Cell row="1" col="63" text="출고"/>
  203. <Cell row="1" col="64" text="방사선"/>
  204. </Band>
  205. <Band id="body">
  206. <Cell style="align:left middle;" text="bind:blodcomnm"/>
  207. <Cell col="1" displaytype="number" style="align:right middle;" text="bind:bm01"/>
  208. <Cell col="2" displaytype="number" style="align:right middle;" text="bind:bm01i"/>
  209. <Cell col="3" displaytype="number" style="align:right middle;" text="bind:bm02"/>
  210. <Cell col="4" displaytype="number" style="align:right middle;" text="bind:bm02i"/>
  211. <Cell col="5" displaytype="number" style="align:right middle;" text="bind:bm03"/>
  212. <Cell col="6" displaytype="number" style="align:right middle;" text="bind:bm03i"/>
  213. <Cell col="7" displaytype="number" style="align:right middle;" text="bind:bm04"/>
  214. <Cell col="8" displaytype="number" style="align:right middle;" text="bind:bm04i"/>
  215. <Cell col="9" displaytype="number" style="align:right middle;" text="bind:bm05"/>
  216. <Cell col="10" displaytype="number" style="align:right middle;" text="bind:bm05i"/>
  217. <Cell col="11" displaytype="number" style="align:right middle;" text="bind:bm06"/>
  218. <Cell col="12" displaytype="number" style="align:right middle;" text="bind:bm06i"/>
  219. <Cell col="13" displaytype="number" style="align:right middle;" text="bind:bm07"/>
  220. <Cell col="14" displaytype="number" style="align:right middle;" text="bind:bm07i"/>
  221. <Cell col="15" displaytype="number" style="align:right middle;" text="bind:bm08"/>
  222. <Cell col="16" displaytype="number" style="align:right middle;" text="bind:bm08i"/>
  223. <Cell col="17" displaytype="number" style="align:right middle;" text="bind:bm09"/>
  224. <Cell col="18" displaytype="number" style="align:right middle;" text="bind:bm09i"/>
  225. <Cell col="19" displaytype="number" style="align:right middle;" text="bind:bm10"/>
  226. <Cell col="20" displaytype="number" style="align:right middle;" text="bind:bm10i"/>
  227. <Cell col="21" displaytype="number" style="align:right middle;" text="bind:bm11"/>
  228. <Cell col="22" displaytype="number" style="align:right middle;" text="bind:bm11i"/>
  229. <Cell col="23" displaytype="number" style="align:right middle;" text="bind:bm12"/>
  230. <Cell col="24" displaytype="number" style="align:right middle;" text="bind:bm12i"/>
  231. <Cell col="25" displaytype="number" style="align:right middle;" text="bind:bm13"/>
  232. <Cell col="26" displaytype="number" style="align:right middle;" text="bind:bm13i"/>
  233. <Cell col="27" displaytype="number" style="align:right middle;" text="bind:bm14"/>
  234. <Cell col="28" displaytype="number" style="align:right middle;" text="bind:bm14i"/>
  235. <Cell col="29" displaytype="number" style="align:right middle;" text="bind:bm15"/>
  236. <Cell col="30" displaytype="number" style="align:right middle;" text="bind:bm15i"/>
  237. <Cell col="31" displaytype="number" style="align:right middle;" text="bind:bm16"/>
  238. <Cell col="32" displaytype="number" style="align:right middle;" text="bind:bm16i"/>
  239. <Cell col="33" displaytype="number" style="align:right middle;" text="bind:bm17"/>
  240. <Cell col="34" displaytype="number" style="align:right middle;" text="bind:bm17i"/>
  241. <Cell col="35" displaytype="number" style="align:right middle;" text="bind:bm18"/>
  242. <Cell col="36" displaytype="number" style="align:right middle;" text="bind:bm18i"/>
  243. <Cell col="37" displaytype="number" style="align:right middle;" text="bind:bm19"/>
  244. <Cell col="38" displaytype="number" style="align:right middle;" text="bind:bm19i"/>
  245. <Cell col="39" displaytype="number" style="align:right middle;" text="bind:bm20"/>
  246. <Cell col="40" displaytype="number" style="align:right middle;" text="bind:bm20i"/>
  247. <Cell col="41" displaytype="number" style="align:right middle;" text="bind:bm21"/>
  248. <Cell col="42" displaytype="number" style="align:right middle;" text="bind:bm21i"/>
  249. <Cell col="43" displaytype="number" style="align:right middle;" text="bind:bm22"/>
  250. <Cell col="44" displaytype="number" style="align:right middle;" text="bind:bm22i"/>
  251. <Cell col="45" displaytype="number" style="align:right middle;" text="bind:bm23"/>
  252. <Cell col="46" displaytype="number" style="align:right middle;" text="bind:bm23i"/>
  253. <Cell col="47" displaytype="number" style="align:right middle;" text="bind:bm24"/>
  254. <Cell col="48" displaytype="number" style="align:right middle;" text="bind:bm24i"/>
  255. <Cell col="49" displaytype="number" style="align:right middle;" text="bind:bm25"/>
  256. <Cell col="50" displaytype="number" style="align:right middle;" text="bind:bm25i"/>
  257. <Cell col="51" displaytype="number" style="align:right middle;" text="bind:bm26"/>
  258. <Cell col="52" displaytype="number" style="align:right middle;" text="bind:bm26i"/>
  259. <Cell col="53" displaytype="number" style="align:right middle;" text="bind:bm27"/>
  260. <Cell col="54" displaytype="number" style="align:right middle;" text="bind:bm27i"/>
  261. <Cell col="55" displaytype="number" style="align:right middle;" text="bind:bm28"/>
  262. <Cell col="56" displaytype="number" style="align:right middle;" text="bind:bm28i"/>
  263. <Cell col="57" displaytype="number" style="align:right middle;" text="bind:bm29"/>
  264. <Cell col="58" displaytype="number" style="align:right middle;" text="bind:bm29i"/>
  265. <Cell col="59" displaytype="number" style="align:right middle;" text="bind:bm30"/>
  266. <Cell col="60" displaytype="number" style="align:right middle;" text="bind:bm30i"/>
  267. <Cell col="61" displaytype="number" style="align:right middle;" text="bind:bm31"/>
  268. <Cell col="62" displaytype="number" style="align:right middle;" text="bind:bm31i"/>
  269. <Cell col="63" displaytype="number" style="align:right middle;" text="bind:hap"/>
  270. <Cell col="64" displaytype="number" style="align:right middle;" text="bind:hapi"/>
  271. </Band>
  272. </Format>
  273. </Formats>
  274. </Grid>
  275. </Layout>
  276. </Layouts>
  277. </Tabpage>
  278. <Tabpage id="case2" text="월별">
  279. <Layouts>
  280. <Layout>
  281. <Static id="caption2" class="tit_2" position="absolute 0 0 157 20" anchor="default" text="월별 방사선조사 건수" style="align:left top;" positiontype="position"/>
  282. <Grid id="grd_month" position="absolute 0 20 1256 701" anchor="all" autofittype="col" positiontype="position" binddataset="ds_grid_grd_month" visible="true">
  283. <Formats>
  284. <Format id="default">
  285. <Columns>
  286. <Column size="80"/>
  287. <Column size="40"/>
  288. <Column size="40"/>
  289. <Column size="40"/>
  290. <Column size="40"/>
  291. <Column size="40"/>
  292. <Column size="40"/>
  293. <Column size="40"/>
  294. <Column size="40"/>
  295. <Column size="40"/>
  296. <Column size="40"/>
  297. <Column size="40"/>
  298. <Column size="40"/>
  299. <Column size="40"/>
  300. <Column size="40"/>
  301. <Column size="40"/>
  302. <Column size="40"/>
  303. <Column size="40"/>
  304. <Column size="40"/>
  305. <Column size="40"/>
  306. <Column size="40"/>
  307. <Column size="40"/>
  308. <Column size="40"/>
  309. <Column size="40"/>
  310. <Column size="40"/>
  311. <Column size="46"/>
  312. <Column size="46"/>
  313. <Column size="46"/>
  314. </Columns>
  315. <Rows>
  316. <Row size="22" band="head"/>
  317. <Row size="22" band="head"/>
  318. <Row size="20"/>
  319. </Rows>
  320. <Band id="head">
  321. <Cell rowspan="2" text="성분제제"/>
  322. <Cell col="1" colspan="2" text="1월"/>
  323. <Cell col="3" colspan="2" text="2월"/>
  324. <Cell col="5" colspan="2" text="3월"/>
  325. <Cell col="7" colspan="2" text="4월"/>
  326. <Cell col="9" colspan="2" text="5월"/>
  327. <Cell col="11" colspan="2" text="6월"/>
  328. <Cell col="13" colspan="2" text="7월"/>
  329. <Cell col="15" colspan="2" text="8월"/>
  330. <Cell col="17" colspan="2" text="9월"/>
  331. <Cell col="19" colspan="2" text="10월"/>
  332. <Cell col="21" colspan="2" text="11월"/>
  333. <Cell col="23" colspan="2" text="12월"/>
  334. <Cell col="25" colspan="3" text="Total"/>
  335. <Cell row="1" col="1" text="출고"/>
  336. <Cell row="1" col="2" text="방사선"/>
  337. <Cell row="1" col="3" text="출고"/>
  338. <Cell row="1" col="4" text="방사선"/>
  339. <Cell row="1" col="5" text="출고"/>
  340. <Cell row="1" col="6" text="방사선"/>
  341. <Cell row="1" col="7" text="출고"/>
  342. <Cell row="1" col="8" text="방사선"/>
  343. <Cell row="1" col="9" text="출고"/>
  344. <Cell row="1" col="10" text="방사선"/>
  345. <Cell row="1" col="11" text="출고"/>
  346. <Cell row="1" col="12" text="방사선"/>
  347. <Cell row="1" col="13" text="출고"/>
  348. <Cell row="1" col="14" text="방사선"/>
  349. <Cell row="1" col="15" text="출고"/>
  350. <Cell row="1" col="16" text="방사선"/>
  351. <Cell row="1" col="17" text="출고"/>
  352. <Cell row="1" col="18" text="방사선"/>
  353. <Cell row="1" col="19" text="출고"/>
  354. <Cell row="1" col="20" text="방사선"/>
  355. <Cell row="1" col="21" text="출고"/>
  356. <Cell row="1" col="22" text="방사선"/>
  357. <Cell row="1" col="23" text="출고"/>
  358. <Cell row="1" col="24" text="방사선"/>
  359. <Cell row="1" col="25" text="출고"/>
  360. <Cell row="1" col="26" text="방사선"/>
  361. <Cell row="1" col="27" text="%"/>
  362. </Band>
  363. <Band id="body">
  364. <Cell style="align:left middle;" text="bind:blodcomnm"/>
  365. <Cell col="1" displaytype="number" style="align:right middle;" text="bind:bm01"/>
  366. <Cell col="2" displaytype="number" style="align:right middle;" text="bind:bm01i"/>
  367. <Cell col="3" displaytype="number" style="align:right middle;" text="bind:bm02"/>
  368. <Cell col="4" displaytype="number" style="align:right middle;" text="bind:bm02i"/>
  369. <Cell col="5" displaytype="number" style="align:right middle;" text="bind:bm03"/>
  370. <Cell col="6" displaytype="number" style="align:right middle;" text="bind:bm03i"/>
  371. <Cell col="7" displaytype="number" style="align:right middle;" text="bind:bm04"/>
  372. <Cell col="8" displaytype="number" style="align:right middle;" text="bind:bm04i"/>
  373. <Cell col="9" displaytype="number" style="align:right middle;" text="bind:bm05"/>
  374. <Cell col="10" displaytype="number" style="align:right middle;" text="bind:bm05i"/>
  375. <Cell col="11" displaytype="number" style="align:right middle;" text="bind:bm06"/>
  376. <Cell col="12" displaytype="number" style="align:right middle;" text="bind:bm06i"/>
  377. <Cell col="13" displaytype="number" style="align:right middle;" text="bind:bm07"/>
  378. <Cell col="14" displaytype="number" style="align:right middle;" text="bind:bm07i"/>
  379. <Cell col="15" displaytype="number" style="align:right middle;" text="bind:bm08"/>
  380. <Cell col="16" displaytype="number" style="align:right middle;" text="bind:bm08i"/>
  381. <Cell col="17" displaytype="number" style="align:right middle;" text="bind:bm09"/>
  382. <Cell col="18" displaytype="number" style="align:right middle;" text="bind:bm09i"/>
  383. <Cell col="19" displaytype="number" style="align:right middle;" text="bind:bm10"/>
  384. <Cell col="20" displaytype="number" style="align:right middle;" text="bind:bm10i"/>
  385. <Cell col="21" displaytype="number" style="align:right middle;" text="bind:bm11"/>
  386. <Cell col="22" displaytype="number" style="align:right middle;" text="bind:bm11i"/>
  387. <Cell col="23" displaytype="number" style="align:right middle;" text="bind:bm12"/>
  388. <Cell col="24" displaytype="number" style="align:right middle;" text="bind:bm12i"/>
  389. <Cell col="25" displaytype="number" style="align:right middle;" text="bind:hap"/>
  390. <Cell col="26" displaytype="number" style="align:right middle;" text="bind:hapi"/>
  391. <Cell col="27" text="bind:happer"/>
  392. </Band>
  393. </Format>
  394. </Formats>
  395. </Grid>
  396. </Layout>
  397. </Layouts>
  398. </Tabpage>
  399. <Tabpage id="case3" text="연별">
  400. <Layouts>
  401. <Layout>
  402. <Grid id="grd_year" position="absolute 0 20 1256 701" anchor="all" positiontype="position" binddataset="ds_grid_grd_year">
  403. <Formats>
  404. <Format id="default">
  405. <Columns>
  406. <Column size="90"/>
  407. <Column size="50"/>
  408. <Column size="50"/>
  409. <Column size="50"/>
  410. <Column size="50"/>
  411. <Column size="50"/>
  412. <Column size="50"/>
  413. <Column size="50"/>
  414. <Column size="50"/>
  415. <Column size="50"/>
  416. <Column size="50"/>
  417. <Column size="50"/>
  418. <Column size="50"/>
  419. <Column size="50"/>
  420. <Column size="50"/>
  421. <Column size="50"/>
  422. <Column size="50"/>
  423. <Column size="50"/>
  424. <Column size="50"/>
  425. <Column size="50"/>
  426. <Column size="50"/>
  427. <Column size="50"/>
  428. <Column size="50"/>
  429. <Column size="50"/>
  430. <Column size="50"/>
  431. <Column size="50"/>
  432. <Column size="50"/>
  433. <Column size="50"/>
  434. <Column size="50"/>
  435. <Column size="50"/>
  436. <Column size="50"/>
  437. </Columns>
  438. <Rows>
  439. <Row size="22" band="head"/>
  440. <Row size="22" band="head"/>
  441. <Row size="20"/>
  442. </Rows>
  443. <Band id="head">
  444. <Cell rowspan="2" text="성분제제"/>
  445. <Cell col="1"/>
  446. <Cell col="2"/>
  447. <Cell col="3"/>
  448. <Cell col="4"/>
  449. <Cell col="5"/>
  450. <Cell col="6"/>
  451. <Cell col="7"/>
  452. <Cell col="8"/>
  453. <Cell col="9"/>
  454. <Cell col="10"/>
  455. <Cell col="11"/>
  456. <Cell col="12"/>
  457. <Cell col="13"/>
  458. <Cell col="14"/>
  459. <Cell col="15"/>
  460. <Cell col="16"/>
  461. <Cell col="17"/>
  462. <Cell col="18"/>
  463. <Cell col="19"/>
  464. <Cell col="20"/>
  465. <Cell col="21"/>
  466. <Cell col="22"/>
  467. <Cell col="23"/>
  468. <Cell col="24"/>
  469. <Cell col="25"/>
  470. <Cell col="26"/>
  471. <Cell col="27"/>
  472. <Cell col="28"/>
  473. <Cell col="29"/>
  474. <Cell col="30"/>
  475. <Cell row="1" col="1" text="출고"/>
  476. <Cell row="1" col="2" text="방사선"/>
  477. <Cell row="1" col="3" text="%"/>
  478. <Cell row="1" col="4" text="출고"/>
  479. <Cell row="1" col="5" text="방사선"/>
  480. <Cell row="1" col="6" text="%"/>
  481. <Cell row="1" col="7" text="출고"/>
  482. <Cell row="1" col="8" text="방사선"/>
  483. <Cell row="1" col="9" text="%"/>
  484. <Cell row="1" col="10" text="출고"/>
  485. <Cell row="1" col="11" text="방사선"/>
  486. <Cell row="1" col="12" text="%"/>
  487. <Cell row="1" col="13" text="출고"/>
  488. <Cell row="1" col="14" text="방사선"/>
  489. <Cell row="1" col="15" text="%"/>
  490. <Cell row="1" col="16" text="출고"/>
  491. <Cell row="1" col="17" text="방사선"/>
  492. <Cell row="1" col="18" text="%"/>
  493. <Cell row="1" col="19" text="출고"/>
  494. <Cell row="1" col="20" text="방사선"/>
  495. <Cell row="1" col="21" text="%"/>
  496. <Cell row="1" col="22" text="출고"/>
  497. <Cell row="1" col="23" text="방사선"/>
  498. <Cell row="1" col="24" text="%"/>
  499. <Cell row="1" col="25" text="출고"/>
  500. <Cell row="1" col="26" text="방사선"/>
  501. <Cell row="1" col="27" text="%"/>
  502. <Cell row="1" col="28" text="출고"/>
  503. <Cell row="1" col="29" text="방사선"/>
  504. <Cell row="1" col="30" text="%"/>
  505. </Band>
  506. <Band id="body">
  507. <Cell style="align:left middle;" text="bind:blodcomnm"/>
  508. <Cell col="1" displaytype="number" style="align:right middle;" text="bind:bm01"/>
  509. <Cell col="2" displaytype="number" style="align:right middle;" text="bind:bm01i"/>
  510. <Cell col="3" style="align:right middle;" text="bind:bm01per"/>
  511. <Cell col="4" displaytype="number" style="align:right middle;" text="bind:bm02"/>
  512. <Cell col="5" displaytype="number" style="align:right middle;" text="bind:bm02i"/>
  513. <Cell col="6" style="align:right middle;" text="bind:bm02per"/>
  514. <Cell col="7" displaytype="number" style="align:right middle;" text="bind:bm03"/>
  515. <Cell col="8" displaytype="number" style="align:right middle;" text="bind:bm03i"/>
  516. <Cell col="9" style="align:right middle;" text="bind:bm03per"/>
  517. <Cell col="10" displaytype="number" style="align:right middle;" text="bind:bm04"/>
  518. <Cell col="11" displaytype="number" style="align:right middle;" text="bind:bm04i"/>
  519. <Cell col="12" style="align:right middle;" text="bind:bm04per"/>
  520. <Cell col="13" displaytype="number" style="align:right middle;" text="bind:bm05"/>
  521. <Cell col="14" displaytype="number" style="align:right middle;" text="bind:bm05i"/>
  522. <Cell col="15" style="align:right middle;" text="bind:bm05per"/>
  523. <Cell col="16" displaytype="number" style="align:right middle;" text="bind:bm06"/>
  524. <Cell col="17" displaytype="number" style="align:right middle;" text="bind:bm06i"/>
  525. <Cell col="18" style="align:right middle;" text="bind:bm06per"/>
  526. <Cell col="19" displaytype="number" style="align:right middle;" text="bind:bm07"/>
  527. <Cell col="20" displaytype="number" style="align:right middle;" text="bind:bm07i"/>
  528. <Cell col="21" style="align:right middle;" text="bind:bm07per"/>
  529. <Cell col="22" displaytype="number" style="align:right middle;" text="bind:bm08"/>
  530. <Cell col="23" displaytype="number" style="align:right middle;" text="bind:bm08i"/>
  531. <Cell col="24" style="align:right middle;" text="bind:bm08per"/>
  532. <Cell col="25" displaytype="number" style="align:right middle;" text="bind:bm09"/>
  533. <Cell col="26" displaytype="number" style="align:right middle;" text="bind:bm09i"/>
  534. <Cell col="27" style="align:right middle;" text="bind:bm09per"/>
  535. <Cell col="28" displaytype="number" style="align:right middle;" text="bind:bm10"/>
  536. <Cell col="29" displaytype="number" style="align:right middle;" text="bind:bm10i"/>
  537. <Cell col="30" style="align:right middle;" text="bind:bm10per"/>
  538. </Band>
  539. </Format>
  540. </Formats>
  541. </Grid>
  542. <Static id="caption6" class="tit_2" position="absolute 0 0 131 20" anchor="default" text="연별 수혈환자수" style="align:left top;" positiontype="position"/>
  543. </Layout>
  544. </Layouts>
  545. </Tabpage>
  546. </Tabpages>
  547. </Tab>
  548. <Button id="btn_excel" class="btn2" position="absolute 1212 50 1256 70" anchor="top right" text="엑셀" onlbuttonup="btn_excel_onlbuttonup" positiontype="position" onclick="group3_btn_excel_onclick"/>
  549. </Layout>
  550. </Layouts>
  551. <InitValue>
  552. <Tab id="switch1" visible="true"/>
  553. </InitValue>
  554. </Div>
  555. <Button id="btn_reset" taborder="1" text="초기화" onlbuttonup="btn_reset_onlbuttonup" class="btn4" position="absolute 1188 0 1256 20" anchor="top right"/>
  556. <Button id="btn_print" taborder="2" text="출력" onlbuttonup="btn_print_onlbuttonup" class="btn6" position="absolute 1129 0 1185 20" anchor="top right"/>
  557. <Static id="caption1" text="혈액 방사선조사 건수" onclick="grp_tle_caption1_onclick" class="tit_1" position="absolute 0 0 160 25"/>
  558. </Layout>
  559. </Layouts>
  560. <Objects>
  561. <Dataset id="ds_init_lb0002" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  562. <ColumnInfo>
  563. <Column id="cd" type="STRING" size="256"/>
  564. <Column id="nm" type="STRING" size="256"/>
  565. <Column id="etc01" type="STRING" size="256"/>
  566. </ColumnInfo>
  567. </Dataset>
  568. <Dataset id="ds_grid_grd_day" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" onrowposchanged="ds_grid_grd_rsltregst_onrowposchanged">
  569. <ColumnInfo>
  570. <column id="blodcomnm" type="STRING" size="256"/>
  571. <column id="bm01" type="STRING" size="256"/>
  572. <column id="bm01i" type="STRING" size="256"/>
  573. <column id="bm02" type="STRING" size="256"/>
  574. <column id="bm02i" type="STRING" size="256"/>
  575. <column id="bm03" type="STRING" size="256"/>
  576. <column id="bm03i" type="STRING" size="256"/>
  577. <column id="bm04" type="STRING" size="256"/>
  578. <column id="bm04i" type="STRING" size="256"/>
  579. <column id="bm05" type="STRING" size="256"/>
  580. <column id="bm05i" type="STRING" size="256"/>
  581. <column id="bm06" type="STRING" size="256"/>
  582. <column id="bm06i" type="STRING" size="256"/>
  583. <column id="bm07" type="STRING" size="256"/>
  584. <column id="bm07i" type="STRING" size="256"/>
  585. <column id="bm08" type="STRING" size="256"/>
  586. <column id="bm08i" type="STRING" size="256"/>
  587. <column id="bm09" type="STRING" size="256"/>
  588. <column id="bm09i" type="STRING" size="256"/>
  589. <column id="bm10" type="STRING" size="256"/>
  590. <column id="bm10i" type="STRING" size="256"/>
  591. <column id="bm11" type="STRING" size="256"/>
  592. <column id="bm11i" type="STRING" size="256"/>
  593. <column id="bm12" type="STRING" size="256"/>
  594. <column id="bm12i" type="STRING" size="256"/>
  595. <column id="bm13" type="STRING" size="256"/>
  596. <column id="bm13i" type="STRING" size="256"/>
  597. <column id="bm14" type="STRING" size="256"/>
  598. <column id="bm14i" type="STRING" size="256"/>
  599. <column id="bm15" type="STRING" size="256"/>
  600. <column id="bm15i" type="STRING" size="256"/>
  601. <column id="bm16" type="STRING" size="256"/>
  602. <column id="bm16i" type="STRING" size="256"/>
  603. <column id="bm17" type="STRING" size="256"/>
  604. <column id="bm17i" type="STRING" size="256"/>
  605. <column id="bm18" type="STRING" size="256"/>
  606. <column id="bm18i" type="STRING" size="256"/>
  607. <column id="bm19" type="STRING" size="256"/>
  608. <column id="bm19i" type="STRING" size="256"/>
  609. <column id="bm20" type="STRING" size="256"/>
  610. <column id="bm20i" type="STRING" size="256"/>
  611. <column id="bm21" type="STRING" size="256"/>
  612. <column id="bm21i" type="STRING" size="256"/>
  613. <column id="bm22" type="STRING" size="256"/>
  614. <column id="bm22i" type="STRING" size="256"/>
  615. <column id="bm23" type="STRING" size="256"/>
  616. <column id="bm23i" type="STRING" size="256"/>
  617. <column id="bm24" type="STRING" size="256"/>
  618. <column id="bm24i" type="STRING" size="256"/>
  619. <column id="bm25" type="STRING" size="256"/>
  620. <column id="bm25i" type="STRING" size="256"/>
  621. <column id="bm26" type="STRING" size="256"/>
  622. <column id="bm26i" type="STRING" size="256"/>
  623. <column id="bm27" type="STRING" size="256"/>
  624. <column id="bm27i" type="STRING" size="256"/>
  625. <column id="bm28" type="STRING" size="256"/>
  626. <column id="bm28i" type="STRING" size="256"/>
  627. <column id="bm29" type="STRING" size="256"/>
  628. <column id="bm29i" type="STRING" size="256"/>
  629. <column id="bm30" type="STRING" size="256"/>
  630. <column id="bm30i" type="STRING" size="256"/>
  631. <column id="bm31" type="STRING" size="256"/>
  632. <column id="bm31i" type="STRING" size="256"/>
  633. <column id="hap" type="STRING" size="256"/>
  634. <column id="hapi" type="STRING" size="256"/>
  635. <Column id="happer" type="STRING" size="256"/>
  636. </ColumnInfo>
  637. </Dataset>
  638. <Dataset id="ds_grid_grd_month" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" onrowposchanged="ds_grid_grd_rsltregst_onrowposchanged">
  639. <ColumnInfo>
  640. <column id="blodcomnm" type="STRING" size="256"/>
  641. <column id="bm01" type="STRING" size="256"/>
  642. <column id="bm01i" type="STRING" size="256"/>
  643. <column id="bm02" type="STRING" size="256"/>
  644. <column id="bm02i" type="STRING" size="256"/>
  645. <column id="bm03" type="STRING" size="256"/>
  646. <column id="bm03i" type="STRING" size="256"/>
  647. <column id="bm04" type="STRING" size="256"/>
  648. <column id="bm04i" type="STRING" size="256"/>
  649. <column id="bm05" type="STRING" size="256"/>
  650. <column id="bm05i" type="STRING" size="256"/>
  651. <column id="bm06" type="STRING" size="256"/>
  652. <column id="bm06i" type="STRING" size="256"/>
  653. <column id="bm07" type="STRING" size="256"/>
  654. <column id="bm07i" type="STRING" size="256"/>
  655. <column id="bm08" type="STRING" size="256"/>
  656. <column id="bm08i" type="STRING" size="256"/>
  657. <column id="bm09" type="STRING" size="256"/>
  658. <column id="bm09i" type="STRING" size="256"/>
  659. <column id="bm10" type="STRING" size="256"/>
  660. <column id="bm10i" type="STRING" size="256"/>
  661. <column id="bm11" type="STRING" size="256"/>
  662. <column id="bm11i" type="STRING" size="256"/>
  663. <column id="bm12" type="STRING" size="256"/>
  664. <column id="bm12i" type="STRING" size="256"/>
  665. <column id="hap" type="STRING" size="256"/>
  666. <column id="hapi" type="STRING" size="256"/>
  667. <column id="happer" type="STRING" size="256"/>
  668. </ColumnInfo>
  669. </Dataset>
  670. <Dataset id="ds_grid_grd_year" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" onrowposchanged="ds_grid_grd_rsltregst_onrowposchanged">
  671. <ColumnInfo>
  672. <column id="blodcomnm" type="STRING" size="256"/>
  673. <column id="bm01" type="STRING" size="256"/>
  674. <column id="bm01i" type="STRING" size="256"/>
  675. <column id="bm01per" type="STRING" size="256"/>
  676. <column id="bm02" type="STRING" size="256"/>
  677. <column id="bm02i" type="STRING" size="256"/>
  678. <column id="bm02per" type="STRING" size="256"/>
  679. <column id="bm03" type="STRING" size="256"/>
  680. <column id="bm03i" type="STRING" size="256"/>
  681. <column id="bm03per" type="STRING" size="256"/>
  682. <column id="bm04" type="STRING" size="256"/>
  683. <column id="bm04i" type="STRING" size="256"/>
  684. <column id="bm04per" type="STRING" size="256"/>
  685. <column id="bm05" type="STRING" size="256"/>
  686. <column id="bm05i" type="STRING" size="256"/>
  687. <column id="bm05per" type="STRING" size="256"/>
  688. <column id="bm06" type="STRING" size="256"/>
  689. <column id="bm06i" type="STRING" size="256"/>
  690. <column id="bm06per" type="STRING" size="256"/>
  691. <column id="bm07" type="STRING" size="256"/>
  692. <column id="bm07i" type="STRING" size="256"/>
  693. <column id="bm07per" type="STRING" size="256"/>
  694. <column id="bm08" type="STRING" size="256"/>
  695. <column id="bm08i" type="STRING" size="256"/>
  696. <column id="bm08per" type="STRING" size="256"/>
  697. <column id="bm09" type="STRING" size="256"/>
  698. <column id="bm09i" type="STRING" size="256"/>
  699. <column id="bm09per" type="STRING" size="256"/>
  700. <column id="bm10" type="STRING" size="256"/>
  701. <column id="bm10i" type="STRING" size="256"/>
  702. <column id="bm10per" type="STRING" size="256"/>
  703. <column id="hap" type="STRING" size="256"/>
  704. <column id="hapi" type="STRING" size="256"/>
  705. </ColumnInfo>
  706. </Dataset>
  707. </Objects>
  708. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  709. * System Name :
  710. * Job Name :
  711. * Creator :
  712. * Make Date : 2015-11-13
  713. * Description :
  714. *---------------------------------------------------------------------------------------
  715. * Modify Date Modifier Modify Description
  716. *---------------------------------------------------------------------------------------
  717. * 2015-11-13 Live Converter TF->XP
  718. *
  719. *---------------------------------------------------------------------------------------
  720. ****************************************************************************************/
  721. include "com_commonxp::comm_main.xjs";
  722. include "lis_commonxp::LZZ001.xjs";
  723. include "lis_commonxp::LLZ001.xjs";
  724. var refflag = "2";
  725. function SMLBS00600_onload(obj:Form, e:LoadEventInfo)
  726. {
  727. //폼 초기화 함수
  728. frmf_initForm(obj);
  729. lf_setInit();
  730. }
  731. function lf_setInit() {
  732. group3.group1.ipt_fromdd_bf.value = utlf_getCurrentDate();
  733. group3.group1.ipt_todd_bf.value = group3.group1.ipt_fromdd_bf.value;
  734. //0002 : 진료과
  735. lf_getDbDeptcd("0000|0002|","cbf_SMLBS00600");
  736. }
  737. function lf_getIrrCnt() {
  738. var fromdd = group3.group1.ipt_fromdd_bf.value;
  739. fromdd_d = fromdd.toFormatString("%Y%m%d");
  740. var todd = group3.group1.ipt_fromdd_bf.value;
  741. todd_d = todd.toFormatString("%Y%m%d");
  742. var fromYr = toNumber(fromdd_d.substr(0, 4));
  743. var toYr = toNumber(todd_d.substr(0, 4));
  744. var gbn = group3.group1.cmb_rtnabnflag.value; // 진료과
  745. var diffDt = 0; // 일수 차이
  746. var diffYr = 0; // 년수 차이
  747. // 일별
  748. if(group3.switch1.tabindex == 0) {
  749. // fromdd = toNumber(fromdd_d.substr(0, 6))+"01";
  750. // todd = toNumber(todd_d.substr(0, 6))+"31";
  751. diffDt = utlf_diffDate(fromdd, todd);
  752. if(diffDt>31) {
  753. sysf_messageBox("한달이내로 조회하세요 ","E");
  754. return;
  755. }
  756. var sInDsName = dsf_createDsRow("ds_temp_search"
  757. , [{col: "fromdd", val:fromdd }
  758. , {col: "todd", val:todd }
  759. , {col: "gbn", val:gbn }
  760. ]);
  761. var oParam = {};
  762. oParam.id = "TRLBS00601";
  763. oParam.service = "statsmngtapp.BloodBankStatsRefMngt";
  764. oParam.method = "reqGetIrrCntDay";
  765. oParam.inds = "cond="+sInDsName;
  766. oParam.outds = "ds_grid_grd_day=getIrrCntDay";
  767. oParam.async = false;
  768. oParam.callback = "cbf_SMLBS00600";
  769. tranf_submit(oParam);
  770. // 월별
  771. }else if(group3.switch1.tabindex == 1) {
  772. // fromdd = fromYr+"01";
  773. // todd = toYr+"12";
  774. var sInDsName = dsf_createDsRow("ds_temp_search"
  775. , [{col: "fromdd", val:fromdd_d }
  776. , {col: "todd", val:todd_d }
  777. , {col: "gbn", val:gbn }
  778. ]);
  779. var oParam = {};
  780. oParam.id = "TRLBS00602";
  781. oParam.service = "statsmngtapp.BloodBankStatsRefMngt";
  782. oParam.method = "reqGetIrrCntMonth";
  783. oParam.inds = "cond="+sInDsName;
  784. oParam.outds = "ds_grid_grd_month=getIrrCntMonth";
  785. oParam.async = false;
  786. oParam.callback = "cbf_SMLBS00600";
  787. tranf_submit(oParam);
  788. // 연별
  789. }else if(group3.switch1.tabindex == 2) {
  790. group3.switch1.case3.grd_year.binddataset = "";
  791. lf_yearCaption();
  792. diffYr = toYr - fromYr;
  793. if(diffYr > 9){
  794. sysf_messageBox("10년이내로 조회하세요.","E");
  795. return;
  796. }
  797. var sInDsName = dsf_createDsRow("ds_temp_search"
  798. , [{col: "fromdd", val:fromdd }
  799. , {col: "todd", val:todd }
  800. , {col: "gbn", val:gbn }
  801. ]);
  802. var oParam = {};
  803. oParam.id = "TRLBS00603";
  804. oParam.service = "statsmngtapp.BloodBankStatsRefMngt";
  805. oParam.method = "reqGetIrrCntYear";
  806. oParam.inds = "cond="+sInDsName;
  807. oParam.outds = "ds_grid_grd_year=getIrrCntYear";
  808. oParam.async = false;
  809. oParam.callback = "cbf_SMLBS00600";
  810. tranf_submit(oParam);
  811. }
  812. }
  813. // 엑셀 저장
  814. function lf_saveExcel() {
  815. // 일별
  816. if(group3.switch1.tabindex == 0) {
  817. grdf_exportExcel(group3.switch1.case1.grd_day, lf_lisGetTitle(this), "sheet1", false);
  818. // 월별
  819. }else if(group3.switch1.tabindex == 1) {
  820. grdf_exportExcel(group3.switch1.case2.grd_month, lf_lisGetTitle(this), "sheet1", false);
  821. // 연별
  822. }else if(group3.switch1.tabindex == 2) {
  823. grdf_exportExcel(group3.switch1.case3.grd_year, lf_lisGetTitle(this), "sheet1", false);
  824. }
  825. }
  826. // 일별 캡션 변경
  827. function lf_dayCaption() {
  828. }
  829. // 연별 캡션 변경
  830. function lf_yearCaption() {
  831. for(var i=1; i<group3.switch1.case3.grd_year.getFormatColCount(); i++){
  832. group3.switch1.case3.grd_year.setFormatColProperty(i, "size", 0);
  833. }
  834. var fromdd = group3.group1.ipt_fromdd_bf.value;
  835. var todd = group3.group1.ipt_todd_bf.value;
  836. var fromyy = fromdd.toFormatString("%Y%m%d");
  837. fromyy = toNumber(fromyy.substr(0, 4));
  838. var toyy = todd.toFormatString("%Y%m%d");
  839. toyy = toNumber(toyy.substr(0, 4));
  840. var newCap = "성분제제";
  841. var cnt = 0;
  842. var newCap1 = ""; // 상단 Header text
  843. var newCap2 = ""; // 하단 Header text
  844. for(var j=fromyy; j<=toyy; j++) {
  845. newCap1 += "^" + j + "^" + j+ "^" + j;
  846. cnt ++;
  847. }
  848. for(var z=1; z<=cnt*3; z++) {
  849. group3.switch1.case3.grd_year.setFormatColProperty(z, "size", 50);
  850. }
  851. var upHeadArr = newCap1.split("^");
  852. var tempCnt = 1; // 출력 cell index count
  853. for(var k=2; k<group3.switch1.case3.grd_year.getFormatColCount(); k+=3) {
  854. if(!utlf_isNull(upHeadArr[tempCnt])) {
  855. group3.switch1.case3.grd_year.setCellProperty("Head", k, "text", ""+upHeadArr[tempCnt]);
  856. tempCnt = tempCnt + 3;
  857. }
  858. }
  859. }
  860. // callback 함수
  861. function cbf_SMLBS00600(strSvcID, nErrorCode, strErrorMag) {
  862. if(nErrorCode != 0) {
  863. sysf_messageBox("ID: "+ strSvcID + " Error: " + strErrorMag, "E009", "");
  864. }else{
  865. switch(strSvcID){
  866. case "TRLZZ00101":
  867. group3.group1.cmb_rtnabnflag.value = "00"; // 00=전체
  868. group3.switch1.tabindex = 1;
  869. ds_grid_grd_day.clearData();
  870. ds_grid_grd_month.clearData();
  871. ds_grid_grd_year.clearData();
  872. break;
  873. case "TRLBS00301":
  874. break;
  875. case "TRLBS00303":
  876. break;
  877. case "TRLBS00601":
  878. break;
  879. case "TRLBS00602":
  880. break;
  881. case "TRLBS00603":
  882. group3.switch1.case3.grd_year.binddataset = "ds_grid_grd_year";
  883. break;
  884. default:
  885. break;
  886. }
  887. }
  888. }
  889. function group3_group1_btn_ref_onclick(obj:Button, e:ClickEventInfo)
  890. {
  891. lf_getIrrCnt();
  892. }
  893. function group3_switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  894. {
  895. // 일별
  896. if(e.postindex == 0) {
  897. refflag = "1";
  898. group3.group1.ipt_fromdd_bf.value = group3.group1.ipt_fromdd_bf.dateformat = "yyyy-MM-dd";
  899. group3.group1.ipt_todd_bf.value = group3.group1.ipt_todd_bf.dateformat = "yyyy-MM-dd";
  900. // 월별
  901. }else if(e.postindex == 1) {
  902. refflag = "2";
  903. group3.group1.ipt_fromdd_bf.value = group3.group1.ipt_fromdd_bf.dateformat = "yyyy-MM";
  904. group3.group1.ipt_todd_bf.value = group3.group1.ipt_todd_bf.dateformat = "yyyy-MM";
  905. // 연별
  906. }else if(e.postindex == 2) {
  907. refflag = "3";
  908. group3.group1.ipt_fromdd_bf.value = group3.group1.ipt_fromdd_bf.dateformat = "yyyy";
  909. group3.group1.ipt_todd_bf.value = group3.group1.ipt_todd_bf.dateformat = "yyyy";
  910. // group3.group1.ipt_todd.visible = "true";
  911. // group3.group1.caption8.visible = "true";
  912. lf_yearCaption(); // 연별캡션 변경
  913. }
  914. }
  915. function btn_excel_onlbuttonup(obj:Button, e:MouseEventInfo)
  916. {
  917. lf_saveExcel();
  918. }
  919. function btn_reset_onlbuttonup(obj:Button, e:MouseEventInfo)
  920. {
  921. lf_setInit();
  922. }
  923. function btn_print_onlbuttonup(obj:Button, e:MouseEventInfo)
  924. {
  925. sysf_messageBox("개발중");
  926. }
  927. //날짜 체크
  928. function lf_chkDate(obj:Calendar, e:ChangeEventInfo)
  929. {
  930. if( utlf_diffDate(group3.group1.ipt_fromdd_bf.value, group3.group1.ipt_todd_bf.value) < 0 ) {
  931. sysf_messageBox("시작일을 종료일보다 작게","C002");
  932. group3.group1.ipt_todd.value = group3.group1.ipt_fromdd.value;
  933. return;
  934. }
  935. }
  936. function group3_btn_excel_onclick(obj:Button, e:ClickEventInfo)
  937. {
  938. switch(group3.switch1.tabindex) {
  939. case 0 : //일별
  940. grdf_exportExcel(group3.switch1.case1.grd_day, "일별_" + utlf_getCurrentDate() , "sheet1", true);
  941. break;
  942. case 1 : //월별
  943. grdf_exportExcel(group3.switch1.case2.grd_month, "월별_" + utlf_getCurrentDate() , "sheet1", true);
  944. break;
  945. case 2 : //연별
  946. grdf_exportExcel(group3.switch1.case3.grd_year, "연별_" + utlf_getCurrentDate() , "sheet1", true);
  947. break;
  948. default :
  949. break;
  950. }
  951. }
  952. function grp_tle_caption1_onclick(obj:Static, e:ClickEventInfo)
  953. {
  954. }
  955. ]]></Script>
  956. </Form>
  957. </FDL>