SMLBP00300_혈액반납폐기율.xfdl 68 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMLBP00300" position="absolute 0 0 1256 805" titletext="혈액반납폐기율" onload="SMLBP00300_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group3" position="absolute 0 77 1256 782" anchor="all" positiontype="position" scrollbars="autoboth">
  8. <Layouts>
  9. <Layout>
  10. <Tab id="swt_statflag" class="sw_box" position="absolute 0 0 1256 705" anchor="all" positiontype="position" onchanged="group3_swt_statflag_onchanged">
  11. <Tabpages>
  12. <Tabpage id="dd" text="일별 통계">
  13. <Layouts>
  14. <Layout>
  15. <Grid id="grd_dd" position="absolute 0 20 1256 678" style="align:center middle;" anchor="all" positiontype="position" binddataset="ds_grid_grd_dd">
  16. <Formats>
  17. <Format id="default">
  18. <Columns>
  19. <Column size="30" band="left"/>
  20. <Column size="25" band="left"/>
  21. <Column size="120" band="left"/>
  22. <Column size="50" band="left"/>
  23. <Column size="35" band="left"/>
  24. <Column size="35" band="left"/>
  25. <Column size="35"/>
  26. <Column size="35"/>
  27. <Column size="35"/>
  28. <Column size="35"/>
  29. <Column size="35"/>
  30. <Column size="35"/>
  31. <Column size="35"/>
  32. <Column size="35"/>
  33. <Column size="35"/>
  34. <Column size="35"/>
  35. <Column size="35"/>
  36. <Column size="35"/>
  37. <Column size="35"/>
  38. <Column size="35"/>
  39. <Column size="35"/>
  40. <Column size="35"/>
  41. <Column size="35"/>
  42. <Column size="35"/>
  43. <Column size="35"/>
  44. <Column size="35"/>
  45. <Column size="35"/>
  46. <Column size="35"/>
  47. <Column size="35"/>
  48. <Column size="35"/>
  49. <Column size="35"/>
  50. <Column size="35"/>
  51. <Column size="35"/>
  52. <Column size="35"/>
  53. <Column size="35"/>
  54. <Column size="35"/>
  55. <Column size="35"/>
  56. </Columns>
  57. <Rows>
  58. <Row size="24" band="head"/>
  59. <Row size="24"/>
  60. </Rows>
  61. <Band id="head">
  62. <Cell/>
  63. <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
  64. <Cell col="2" text="구분"/>
  65. <Cell col="3" displaytype="number" style="align:middle;" text="총출고"/>
  66. <Cell col="4" text="건수"/>
  67. <Cell col="5" text="%"/>
  68. <Cell col="6" text="01"/>
  69. <Cell col="7" text="02"/>
  70. <Cell col="8" text="03"/>
  71. <Cell col="9" text="04"/>
  72. <Cell col="10" text="05"/>
  73. <Cell col="11" text="06"/>
  74. <Cell col="12" text="07"/>
  75. <Cell col="13" text="08"/>
  76. <Cell col="14" text="09"/>
  77. <Cell col="15" text="10"/>
  78. <Cell col="16" text="11"/>
  79. <Cell col="17" text="12"/>
  80. <Cell col="18" text="13"/>
  81. <Cell col="19" text="14"/>
  82. <Cell col="20" text="15"/>
  83. <Cell col="21" text="16"/>
  84. <Cell col="22" text="17"/>
  85. <Cell col="23" text="18"/>
  86. <Cell col="24" text="19"/>
  87. <Cell col="25" text="20"/>
  88. <Cell col="26" text="21"/>
  89. <Cell col="27" text="22"/>
  90. <Cell col="28" text="23"/>
  91. <Cell col="29" text="24"/>
  92. <Cell col="30" text="25"/>
  93. <Cell col="31" text="26"/>
  94. <Cell col="32" text="27"/>
  95. <Cell col="33" text="28"/>
  96. <Cell col="34" text="29"/>
  97. <Cell col="35" text="30"/>
  98. <Cell col="36" text="31"/>
  99. </Band>
  100. <Band id="body">
  101. <Cell celltype="head" expr="currow+1"/>
  102. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chk"/>
  103. <Cell col="2" style="align:left middle;" text="bind:blodcomcd"/>
  104. <Cell col="3" displaytype="number" text="bind:delive"/>
  105. <Cell col="4" displaytype="number" text="bind:rtn"/>
  106. <Cell col="5" text="bind:perc"/>
  107. <Cell col="6" displaytype="number" text="bind:d01"/>
  108. <Cell col="7" displaytype="number" text="bind:d02"/>
  109. <Cell col="8" displaytype="number" text="bind:d03"/>
  110. <Cell col="9" displaytype="number" text="bind:d04"/>
  111. <Cell col="10" displaytype="number" text="bind:d05"/>
  112. <Cell col="11" displaytype="number" text="bind:d06"/>
  113. <Cell col="12" displaytype="number" text="bind:d07"/>
  114. <Cell col="13" displaytype="number" text="bind:d08"/>
  115. <Cell col="14" displaytype="number" text="bind:d09"/>
  116. <Cell col="15" displaytype="number" text="bind:d10"/>
  117. <Cell col="16" displaytype="number" text="bind:d11"/>
  118. <Cell col="17" displaytype="number" text="bind:d12"/>
  119. <Cell col="18" displaytype="number" text="bind:d13"/>
  120. <Cell col="19" displaytype="number" text="bind:d14"/>
  121. <Cell col="20" displaytype="number" text="bind:d15"/>
  122. <Cell col="21" displaytype="number" text="bind:d16"/>
  123. <Cell col="22" displaytype="number" text="bind:d17"/>
  124. <Cell col="23" displaytype="number" text="bind:d18"/>
  125. <Cell col="24" displaytype="number" text="bind:d19"/>
  126. <Cell col="25" displaytype="number" text="bind:d20"/>
  127. <Cell col="26" displaytype="number" text="bind:d21"/>
  128. <Cell col="27" displaytype="number" text="bind:d22"/>
  129. <Cell col="28" displaytype="number" text="bind:d23"/>
  130. <Cell col="29" displaytype="number" text="bind:d24"/>
  131. <Cell col="30" displaytype="number" text="bind:d25"/>
  132. <Cell col="31" displaytype="number" text="bind:d26"/>
  133. <Cell col="32" displaytype="number" text="bind:d27"/>
  134. <Cell col="33" displaytype="number" text="bind:d28"/>
  135. <Cell col="34" displaytype="number" text="bind:d29"/>
  136. <Cell col="35" displaytype="number" text="bind:d30"/>
  137. <Cell col="36" displaytype="number" text="bind:d31"/>
  138. </Band>
  139. </Format>
  140. </Formats>
  141. </Grid>
  142. <Static id="caption7" class="tit_2" position="absolute 1 0 83 16" anchor="default" text="일별 통계" positiontype="position"/>
  143. <Shape id="line12" class="line_1" position="absolute 0 16 1256 22" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
  144. </Layout>
  145. </Layouts>
  146. </Tabpage>
  147. <Tabpage id="mm" text="월별 통계">
  148. <Layouts>
  149. <Layout>
  150. <Grid id="grd_mm" position="absolute 0 20 1256 678" anchor="all" positiontype="position" autofittype="none" binddataset="ds_grid_grd_mm">
  151. <Formats>
  152. <Format id="default">
  153. <Columns>
  154. <Column size="30" band="left"/>
  155. <Column size="25" band="left"/>
  156. <Column size="120" band="left"/>
  157. <Column size="50"/>
  158. <Column size="40"/>
  159. <Column size="35"/>
  160. <Column size="50"/>
  161. <Column size="40"/>
  162. <Column size="35"/>
  163. <Column size="50"/>
  164. <Column size="40"/>
  165. <Column size="35"/>
  166. <Column size="50"/>
  167. <Column size="40"/>
  168. <Column size="35"/>
  169. <Column size="50"/>
  170. <Column size="40"/>
  171. <Column size="35"/>
  172. <Column size="50"/>
  173. <Column size="45"/>
  174. <Column size="35"/>
  175. <Column size="50"/>
  176. <Column size="40"/>
  177. <Column size="35"/>
  178. <Column size="50"/>
  179. <Column size="40"/>
  180. <Column size="35"/>
  181. <Column size="50"/>
  182. <Column size="40"/>
  183. <Column size="35"/>
  184. <Column size="50"/>
  185. <Column size="40"/>
  186. <Column size="35"/>
  187. <Column size="50"/>
  188. <Column size="40"/>
  189. <Column size="35"/>
  190. <Column size="50"/>
  191. <Column size="40"/>
  192. <Column size="50"/>
  193. </Columns>
  194. <Rows>
  195. <Row size="22" band="head"/>
  196. <Row size="22" band="head"/>
  197. <Row size="24"/>
  198. </Rows>
  199. <Band id="head">
  200. <Cell rowspan="2"/>
  201. <Cell col="1" rowspan="2" displaytype="checkbox" edittype="checkbox"/>
  202. <Cell col="2" rowspan="2" text="구분"/>
  203. <Cell col="3" colspan="3" text="1월"/>
  204. <Cell col="6" colspan="3" text="2월"/>
  205. <Cell col="9" colspan="3" text="3월"/>
  206. <Cell col="12" colspan="3" text="4월"/>
  207. <Cell col="15" colspan="3" text="5월"/>
  208. <Cell col="18" colspan="3" text="6월"/>
  209. <Cell col="21" colspan="3" text="7월"/>
  210. <Cell col="24" colspan="3" text="8월"/>
  211. <Cell col="27" colspan="3" text="9월"/>
  212. <Cell col="30" colspan="3" text="10월"/>
  213. <Cell col="33" colspan="3" text="11월"/>
  214. <Cell col="36" colspan="3" text="12월"/>
  215. <Cell row="1" col="3" text="총출고"/>
  216. <Cell row="1" col="4" text="건수"/>
  217. <Cell row="1" col="5" text="%"/>
  218. <Cell row="1" col="6" text="총출고"/>
  219. <Cell row="1" col="7" text="건수"/>
  220. <Cell row="1" col="8" text="%"/>
  221. <Cell row="1" col="9" text="총출고"/>
  222. <Cell row="1" col="10" text="건수"/>
  223. <Cell row="1" col="11" text="%"/>
  224. <Cell row="1" col="12" text="총출고"/>
  225. <Cell row="1" col="13" text="건수"/>
  226. <Cell row="1" col="14" text="%"/>
  227. <Cell row="1" col="15" text="총출고"/>
  228. <Cell row="1" col="16" text="건수"/>
  229. <Cell row="1" col="17" text="%"/>
  230. <Cell row="1" col="18" text="총출고"/>
  231. <Cell row="1" col="19" text="건수"/>
  232. <Cell row="1" col="20" text="%"/>
  233. <Cell row="1" col="21" text="총출고"/>
  234. <Cell row="1" col="22" text="건수"/>
  235. <Cell row="1" col="23" text="%"/>
  236. <Cell row="1" col="24" text="총출고"/>
  237. <Cell row="1" col="25" text="건수"/>
  238. <Cell row="1" col="26" text="%"/>
  239. <Cell row="1" col="27" text="총출고"/>
  240. <Cell row="1" col="28" text="건수"/>
  241. <Cell row="1" col="29" text="%"/>
  242. <Cell row="1" col="30" text="총출고"/>
  243. <Cell row="1" col="31" text="건수"/>
  244. <Cell row="1" col="32" text="%"/>
  245. <Cell row="1" col="33" text="총출고"/>
  246. <Cell row="1" col="34" text="건수"/>
  247. <Cell row="1" col="35" text="%"/>
  248. <Cell row="1" col="36" text="총출고"/>
  249. <Cell row="1" col="37" text="건수"/>
  250. <Cell row="1" col="38" text="%"/>
  251. </Band>
  252. <Band id="body">
  253. <Cell celltype="head" expr="currow+1"/>
  254. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chk"/>
  255. <Cell col="2" style="align:left middle;" text="bind:blodcomcd"/>
  256. <Cell col="3" displaytype="number" text="bind:t1"/>
  257. <Cell col="4" displaytype="number" text="bind:m1"/>
  258. <Cell col="5" text="bind:p1"/>
  259. <Cell col="6" displaytype="number" text="bind:t2"/>
  260. <Cell col="7" displaytype="number" text="bind:m2"/>
  261. <Cell col="8" text="bind:p2"/>
  262. <Cell col="9" displaytype="number" text="bind:t3"/>
  263. <Cell col="10" displaytype="number" text="bind:m3"/>
  264. <Cell col="11" text="bind:p3"/>
  265. <Cell col="12" displaytype="number" text="bind:t4"/>
  266. <Cell col="13" displaytype="number" text="bind:m4"/>
  267. <Cell col="14" text="bind:p4"/>
  268. <Cell col="15" displaytype="number" text="bind:t5"/>
  269. <Cell col="16" displaytype="number" text="bind:m5"/>
  270. <Cell col="17" text="bind:p5"/>
  271. <Cell col="18" displaytype="number" text="bind:t6"/>
  272. <Cell col="19" displaytype="number" text="bind:m6"/>
  273. <Cell col="20" text="bind:p6"/>
  274. <Cell col="21" displaytype="number" text="bind:t7"/>
  275. <Cell col="22" displaytype="number" text="bind:m7"/>
  276. <Cell col="23" text="bind:p7"/>
  277. <Cell col="24" displaytype="number" text="bind:t8"/>
  278. <Cell col="25" displaytype="number" text="bind:m8"/>
  279. <Cell col="26" text="bind:p8"/>
  280. <Cell col="27" displaytype="number" text="bind:t9"/>
  281. <Cell col="28" displaytype="number" text="bind:m9"/>
  282. <Cell col="29" text="bind:p9"/>
  283. <Cell col="30" displaytype="number" text="bind:t10"/>
  284. <Cell col="31" displaytype="number" text="bind:m10"/>
  285. <Cell col="32" text="bind:p10"/>
  286. <Cell col="33" displaytype="number" text="bind:t11"/>
  287. <Cell col="34" displaytype="number" text="bind:m11"/>
  288. <Cell col="35" text="bind:p11"/>
  289. <Cell col="36" displaytype="number" text="bind:t12"/>
  290. <Cell col="37" displaytype="number" text="bind:m12"/>
  291. <Cell col="38" text="bind:p12"/>
  292. </Band>
  293. </Format>
  294. </Formats>
  295. </Grid>
  296. <Static id="caption8" class="tit_2" position="absolute 1 0 76 20" anchor="default" text="월별통계" positiontype="position"/>
  297. <Shape id="line12" class="line_1" position="absolute 0 16 1256 22" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
  298. </Layout>
  299. </Layouts>
  300. </Tabpage>
  301. <Tabpage id="yy" text="연별 통계">
  302. <Layouts>
  303. <Layout>
  304. <Grid id="grd_yy" position="absolute 0 20 1256 678" anchor="all" positiontype="position" autofittype="none" binddataset="ds_grid_grd_yy">
  305. <Formats>
  306. <Format id="default">
  307. <Columns>
  308. <Column size="30" band="left"/>
  309. <Column size="25" band="left"/>
  310. <Column size="120" band="left"/>
  311. <Column size="80"/>
  312. <Column size="80"/>
  313. <Column size="80"/>
  314. <Column size="80"/>
  315. <Column size="80"/>
  316. <Column size="80"/>
  317. <Column size="80"/>
  318. <Column size="80"/>
  319. <Column size="80"/>
  320. </Columns>
  321. <Rows>
  322. <Row size="22" band="head"/>
  323. <Row size="22" band="head"/>
  324. <Row size="24"/>
  325. </Rows>
  326. <Band id="head">
  327. <Cell rowspan="2"/>
  328. <Cell col="1" rowspan="2" displaytype="checkbox" edittype="checkbox"/>
  329. <Cell col="2" rowspan="2" text="구분"/>
  330. <Cell col="3" colspan="3" expr="expr:lf_column()"/>
  331. <Cell col="6" colspan="3" expr="expr:lf_column()+1"/>
  332. <Cell col="9" colspan="3" expr="expr:lf_column()+2"/>
  333. <Cell row="1" col="3" text="총출고"/>
  334. <Cell row="1" col="4" text="건수"/>
  335. <Cell row="1" col="5" text="%"/>
  336. <Cell row="1" col="6" text="총출고"/>
  337. <Cell row="1" col="7" text="건수"/>
  338. <Cell row="1" col="8" text="%"/>
  339. <Cell row="1" col="9" text="총출고"/>
  340. <Cell row="1" col="10" text="건수"/>
  341. <Cell row="1" col="11" text="%"/>
  342. </Band>
  343. <Band id="body">
  344. <Cell celltype="head" expr="currow+1"/>
  345. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chk"/>
  346. <Cell col="2" style="align:left middle;" text="bind:blodtest"/>
  347. <Cell col="3" displaytype="number" text="bind:d1"/>
  348. <Cell col="4" displaytype="number" text="bind:d2"/>
  349. <Cell col="5" displaytype="number" text="bind:d3"/>
  350. <Cell col="6" displaytype="number" text="bind:d4"/>
  351. <Cell col="7" displaytype="number" text="bind:d5"/>
  352. <Cell col="8" displaytype="number" text="bind:d6"/>
  353. <Cell col="9" displaytype="number" text="bind:d7"/>
  354. <Cell col="10" displaytype="number" text="bind:d8"/>
  355. <Cell col="11" displaytype="number" text="bind:d9"/>
  356. </Band>
  357. </Format>
  358. </Formats>
  359. </Grid>
  360. <Static id="caption10" class="tit_2" position="absolute 1 0 83 16" anchor="default" text="년별 통계" positiontype="position" style="align:left top;"/>
  361. <Shape id="line12" class="line_1" position="absolute 0 16 1256 22" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
  362. </Layout>
  363. </Layouts>
  364. </Tabpage>
  365. <Tabpage id="cc" text="유형(월별)">
  366. <Layouts>
  367. <Layout>
  368. <Static id="caption11" class="tit_2" position="absolute 1 0 132 20" anchor="default" text="사유별 통계(월별)" positiontype="position"/>
  369. <Grid id="grd_cm" position="absolute 0 20 1256 678" style="align:center middle;" anchor="all" positiontype="position" autofittype="col" binddataset="ds_grid_grd_cm">
  370. <Formats>
  371. <Format id="default">
  372. <Columns>
  373. <Column size="30" band="left"/>
  374. <Column size="25" band="left"/>
  375. <Column size="120" band="left"/>
  376. <Column size="160" band="left"/>
  377. <Column size="60" band="left"/>
  378. <Column size="50" band="left"/>
  379. <Column size="50"/>
  380. <Column size="50"/>
  381. <Column size="50"/>
  382. <Column size="50"/>
  383. <Column size="50"/>
  384. <Column size="50"/>
  385. <Column size="50"/>
  386. <Column size="50"/>
  387. <Column size="50"/>
  388. <Column size="50"/>
  389. <Column size="50"/>
  390. <Column size="50"/>
  391. </Columns>
  392. <Rows>
  393. <Row size="24" band="head"/>
  394. <Row size="24"/>
  395. </Rows>
  396. <Band id="head">
  397. <Cell/>
  398. <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
  399. <Cell col="2" text="구분"/>
  400. <Cell col="3" text="사유"/>
  401. <Cell col="4" text="총건수"/>
  402. <Cell col="5" text="%"/>
  403. <Cell col="6" text="1월"/>
  404. <Cell col="7" text="2월"/>
  405. <Cell col="8" text="3월"/>
  406. <Cell col="9" text="4월"/>
  407. <Cell col="10" text="5월"/>
  408. <Cell col="11" text="6월"/>
  409. <Cell col="12" text="7월"/>
  410. <Cell col="13" text="8월"/>
  411. <Cell col="14" text="9월"/>
  412. <Cell col="15" text="10월"/>
  413. <Cell col="16" text="11월"/>
  414. <Cell col="17" text="12월"/>
  415. </Band>
  416. <Band id="body">
  417. <Cell celltype="head" expr="currow+1"/>
  418. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chk"/>
  419. <Cell col="2" style="align:left middle;" text="bind:blod"/>
  420. <Cell col="3" text="bind:resndesc"/>
  421. <Cell col="4" displaytype="number" text="bind:hap"/>
  422. <Cell col="5" text="bind:pa"/>
  423. <Cell col="6" displaytype="number" text="bind:m1"/>
  424. <Cell col="7" displaytype="number" text="bind:m2"/>
  425. <Cell col="8" displaytype="number" text="bind:m3"/>
  426. <Cell col="9" displaytype="number" text="bind:m4"/>
  427. <Cell col="10" displaytype="number" text="bind:m5"/>
  428. <Cell col="11" displaytype="number" text="bind:m6"/>
  429. <Cell col="12" displaytype="number" text="bind:m7"/>
  430. <Cell col="13" displaytype="number" text="bind:m8"/>
  431. <Cell col="14" displaytype="number" text="bind:m9"/>
  432. <Cell col="15" displaytype="number" text="bind:m10"/>
  433. <Cell col="16" displaytype="number" text="bind:m11"/>
  434. <Cell col="17" displaytype="number" text="bind:m12"/>
  435. </Band>
  436. </Format>
  437. </Formats>
  438. </Grid>
  439. <Shape id="line12" class="line_1" position="absolute 0 16 1256 22" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
  440. </Layout>
  441. </Layouts>
  442. </Tabpage>
  443. <Tabpage id="cy" text="유형(연별)">
  444. <Layouts>
  445. <Layout>
  446. <Static id="caption6" class="tit_2" position="absolute 1 0 137 20" anchor="default" text="사유별 통계(연별)" positiontype="position"/>
  447. <Grid id="grd_cy" position="absolute 0 20 1256 678" anchor="all" positiontype="position" autofittype="none" binddataset="ds_grid_grd_cy">
  448. <Formats>
  449. <Format id="default">
  450. <Columns>
  451. <Column size="30"/>
  452. <Column size="25"/>
  453. <Column size="120"/>
  454. <Column size="100"/>
  455. <Column size="80"/>
  456. <Column size="80"/>
  457. <Column size="80"/>
  458. <Column size="80"/>
  459. <Column size="80"/>
  460. </Columns>
  461. <Rows>
  462. <Row size="24" band="head"/>
  463. <Row size="24"/>
  464. </Rows>
  465. <Band id="head">
  466. <Cell/>
  467. <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
  468. <Cell col="2" text="구분"/>
  469. <Cell col="3" text="사유"/>
  470. <Cell col="4" text="총건수"/>
  471. <Cell col="5" text="%"/>
  472. <Cell col="6" expr="expr:lf_column()"/>
  473. <Cell col="7" expr="expr:lf_column()+1"/>
  474. <Cell col="8" expr="expr:lf_column()+2"/>
  475. </Band>
  476. <Band id="body">
  477. <Cell celltype="head" expr="currow+1"/>
  478. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chk"/>
  479. <Cell col="2" style="align:left middle;" text="bind:blod"/>
  480. <Cell col="3" text="bind:resndesc"/>
  481. <Cell col="4" displaytype="number" text="bind:hap"/>
  482. <Cell col="5" text="bind:pa"/>
  483. <Cell col="6" displaytype="number" text="bind:d1"/>
  484. <Cell col="7" displaytype="number" text="bind:d2"/>
  485. <Cell col="8" displaytype="number" text="bind:d3"/>
  486. </Band>
  487. </Format>
  488. </Formats>
  489. </Grid>
  490. <Shape id="line12" class="line_1" position="absolute 0 16 1256 22" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
  491. </Layout>
  492. </Layouts>
  493. </Tabpage>
  494. </Tabpages>
  495. </Tab>
  496. <Button id="btn_excel" class="btn7" position="absolute 1201 0 1254 20" anchor="top right" text="엑셀" positiontype="position" onclick="group3_btn_excel_onclick"/>
  497. </Layout>
  498. </Layouts>
  499. </Div>
  500. <Static id="caption12" class="tit_1" position="absolute 0 0 137 25" anchor="default" positiontype="position" text="혈액반납폐기율"/>
  501. <Button id="btn_reset" taborder="2" text="초기화" class="btn4" position="absolute 1188 785 1256 805" anchor="right bottom" positiontype="position" onclick="btn_reset_onclick"/>
  502. <Div id="group1" taborder="3" position="absolute 0 25 1256 67" anchor="left top right" positiontype="position" class="div_SA">
  503. <Layouts>
  504. <Layout>
  505. <Button id="btn_ref" taborder="1" text="조회" class="btn1" position="absolute 1188 10 1244 30" anchor="top right" positiontype="position" onclick="group1_btn_ref_onclick"/>
  506. <Static id="caption5" text="반납폐기구분" class="search_name" position="absolute 403 10 503 30" anchor="default" positiontype="position"/>
  507. <Static id="caption2" text="분류" class="search_name" position="absolute 629 10 677 30" anchor="default" positiontype="position"/>
  508. <CheckBox id="chx_perc" taborder="2" truevalue="1" position="absolute 862 10 882 30" anchor="default" positiontype="position" falsevalue="null"/>
  509. <Static id="caption1" text="마취과" class="search_name" position="absolute 801 10 862 30" anchor="default" positiontype="position"/>
  510. <Static id="caption4" text="통계희망일" class="search_name" position="absolute 8 10 95 30" anchor="default" positiontype="position"/>
  511. <Combo id="cmb_rtnabnflag" taborder="5" position="absolute 504 10 606 30" anchor="default" positiontype="position" codecolumn="codecolumn" datacolumn="datacolumn" index="0" value="1" text="반납">
  512. <Dataset id="innerdataset">
  513. <ColumnInfo>
  514. <Column id="codecolumn" size="256"/>
  515. <Column id="datacolumn" size="256"/>
  516. </ColumnInfo>
  517. <Rows>
  518. <Row>
  519. <Col id="codecolumn">1</Col>
  520. <Col id="datacolumn">반납</Col>
  521. </Row>
  522. <Row>
  523. <Col id="codecolumn">2</Col>
  524. <Col id="datacolumn">폐기</Col>
  525. </Row>
  526. <Row>
  527. <Col id="codecolumn">3</Col>
  528. <Col id="datacolumn">잔여혈액폐기</Col>
  529. </Row>
  530. </Rows>
  531. </Dataset>
  532. </Combo>
  533. <Combo id="cmb_cls" taborder="6" position="absolute 677 10 777 30" anchor="default" positiontype="position" codecolumn="codecolumn" datacolumn="datacolumn" index="0" value="1" text="진료과별">
  534. <Dataset id="innerdataset">
  535. <ColumnInfo>
  536. <Column id="codecolumn" size="256"/>
  537. <Column id="datacolumn" size="256"/>
  538. </ColumnInfo>
  539. <Rows>
  540. <Row>
  541. <Col id="codecolumn">1</Col>
  542. <Col id="datacolumn">진료과별</Col>
  543. </Row>
  544. <Row>
  545. <Col id="codecolumn">2</Col>
  546. <Col id="datacolumn">혈액종류별</Col>
  547. </Row>
  548. </Rows>
  549. </Dataset>
  550. </Combo>
  551. <Edit id="input1" taborder="7" position="absolute 961 10 1061 30" anchor="default" imemode="alpha" positiontype="position"/>
  552. <Static id="caption3" text="혈액명" class="search_name" position="absolute 900 10 961 30" anchor="default" positiontype="position"/>
  553. <Combo id="combo2" taborder="8" visible="true" position="absolute 503 10 605 30" anchor="default" positiontype="position" codecolumn="codecolumn" datacolumn="datacolumn" index="0" value="1" text="반납">
  554. <Dataset id="innerdataset">
  555. <ColumnInfo>
  556. <Column id="codecolumn" size="256"/>
  557. <Column id="datacolumn" size="256"/>
  558. </ColumnInfo>
  559. <Rows>
  560. <Row>
  561. <Col id="codecolumn">1</Col>
  562. <Col id="datacolumn">반납</Col>
  563. </Row>
  564. <Row>
  565. <Col id="codecolumn">2</Col>
  566. <Col id="datacolumn">폐기</Col>
  567. </Row>
  568. </Rows>
  569. </Dataset>
  570. </Combo>
  571. <Combo id="combo1" taborder="10" position="absolute 95 10 160 30" anchor="default" positiontype="position" codecolumn="codecolumn" datacolumn="datacolumn" index="1" value="2" text="불출일">
  572. <Dataset id="innerdataset">
  573. <ColumnInfo>
  574. <Column id="codecolumn" size="256"/>
  575. <Column id="datacolumn" size="256"/>
  576. </ColumnInfo>
  577. <Rows>
  578. <Row>
  579. <Col id="codecolumn">1</Col>
  580. <Col id="datacolumn">준비일</Col>
  581. </Row>
  582. <Row>
  583. <Col id="codecolumn">2</Col>
  584. <Col id="datacolumn">불출일</Col>
  585. </Row>
  586. </Rows>
  587. </Dataset>
  588. </Combo>
  589. <Calendar id="ipt_workfromdd" taborder="11" dateformat="yyyy-MM" editformat="yyyy-MM" class="input_search" position="absolute 163 10 263 30" mask="yyyy-mm" value="null"/>
  590. <Static id="caption9" text="~" class="search_no_b" visible="false" position="absolute 263 10 279 30" style="align:center;"/>
  591. <Calendar id="ipt_worktodd" taborder="12" dateformat="yyyy-MM" editformat="yyyy-MM" class="input_search" visible="false" position="absolute 279 10 379 30" mask="yyyy-mm" value="null"/>
  592. </Layout>
  593. </Layouts>
  594. </Div>
  595. <Button id="btn_print" taborder="4" text="정리" onclick="btn_print_onclick" class="btn2" position="absolute 1149 77 1195 97" anchor="top right"/>
  596. </Layout>
  597. </Layouts>
  598. <Objects>
  599. <Dataset id="ds_grid_grd_dd" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  600. <ColumnInfo>
  601. <Column id="chk" type="STRING"/>
  602. <Column id="blodcomcd" type="STRING"/>
  603. <Column id="delive" type="INT"/>
  604. <Column id="rtn" type="INT"/>
  605. <Column id="perc" type="FLOAT"/>
  606. <Column id="d01" type="INT"/>
  607. <Column id="d02" type="INT"/>
  608. <Column id="d03" type="INT"/>
  609. <Column id="d04" type="INT"/>
  610. <Column id="d05" type="INT"/>
  611. <Column id="d06" type="INT"/>
  612. <Column id="d07" type="INT"/>
  613. <Column id="d08" type="INT"/>
  614. <Column id="d09" type="INT"/>
  615. <Column id="d10" type="INT"/>
  616. <Column id="d11" type="INT"/>
  617. <Column id="d12" type="INT"/>
  618. <Column id="d13" type="INT"/>
  619. <Column id="d14" type="INT"/>
  620. <Column id="d15" type="INT"/>
  621. <Column id="d16" type="INT"/>
  622. <Column id="d17" type="INT"/>
  623. <Column id="d18" type="INT"/>
  624. <Column id="d19" type="INT"/>
  625. <Column id="d20" type="INT"/>
  626. <Column id="d21" type="INT"/>
  627. <Column id="d22" type="INT"/>
  628. <Column id="d23" type="INT"/>
  629. <Column id="d24" type="INT"/>
  630. <Column id="d25" type="INT"/>
  631. <Column id="d26" type="INT"/>
  632. <Column id="d27" type="INT"/>
  633. <Column id="d28" type="INT"/>
  634. <Column id="d29" type="INT"/>
  635. <Column id="d30" type="INT"/>
  636. <Column id="d31" type="INT"/>
  637. </ColumnInfo>
  638. </Dataset>
  639. <Dataset id="ds_grid_grd_mm" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  640. <ColumnInfo>
  641. <Column id="chk" type="STRING"/>
  642. <Column id="blodcomcd" type="STRING"/>
  643. <Column id="t1" type="INT"/>
  644. <Column id="m1" type="INT"/>
  645. <Column id="p1" type="FLOAT"/>
  646. <Column id="t2" type="INT"/>
  647. <Column id="m2" type="INT"/>
  648. <Column id="p2" type="FLOAT"/>
  649. <Column id="t3" type="INT"/>
  650. <Column id="m3" type="INT"/>
  651. <Column id="p3" type="FLOAT"/>
  652. <Column id="t4" type="INT"/>
  653. <Column id="m4" type="INT"/>
  654. <Column id="p4" type="FLOAT"/>
  655. <Column id="t5" type="INT"/>
  656. <Column id="m5" type="INT"/>
  657. <Column id="p5" type="FLOAT"/>
  658. <Column id="t6" type="INT"/>
  659. <Column id="m6" type="INT"/>
  660. <Column id="p6" type="FLOAT"/>
  661. <Column id="t7" type="INT"/>
  662. <Column id="m7" type="INT"/>
  663. <Column id="p7" type="FLOAT"/>
  664. <Column id="t8" type="INT"/>
  665. <Column id="m8" type="INT"/>
  666. <Column id="p8" type="FLOAT"/>
  667. <Column id="t9" type="INT"/>
  668. <Column id="m9" type="INT"/>
  669. <Column id="p9" type="FLOAT"/>
  670. <Column id="t10" type="INT"/>
  671. <Column id="m10" type="INT"/>
  672. <Column id="p10" type="FLOAT"/>
  673. <Column id="t11" type="INT"/>
  674. <Column id="m11" type="INT"/>
  675. <Column id="p11" type="FLOAT"/>
  676. <Column id="t12" type="INT"/>
  677. <Column id="m12" type="INT"/>
  678. <Column id="p12" type="FLOAT"/>
  679. </ColumnInfo>
  680. </Dataset>
  681. <Dataset id="ds_grid_grd_yy" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  682. <ColumnInfo>
  683. <Column id="chk" type="STRING"/>
  684. <Column id="blodtest" type="STRING"/>
  685. <Column id="d1" type="INT"/>
  686. <Column id="d2" type="INT"/>
  687. <Column id="d3" type="FLOAT"/>
  688. <Column id="d4" type="INT"/>
  689. <Column id="d5" type="INT"/>
  690. <Column id="d6" type="FLOAT"/>
  691. <Column id="d7" type="INT"/>
  692. <Column id="d8" type="INT"/>
  693. <Column id="d9" type="FLOAT"/>
  694. </ColumnInfo>
  695. </Dataset>
  696. <Dataset id="ds_grid_grd_cm" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  697. <ColumnInfo>
  698. <Column id="chk" type="STRING"/>
  699. <Column id="blod" type="STRING"/>
  700. <Column id="resndesc" type="STRING"/>
  701. <Column id="hap" type="INT"/>
  702. <Column id="pa" type="FLOAT"/>
  703. <Column id="m1" type="INT"/>
  704. <Column id="m2" type="INT"/>
  705. <Column id="m3" type="INT"/>
  706. <Column id="m4" type="INT"/>
  707. <Column id="m5" type="INT"/>
  708. <Column id="m6" type="INT"/>
  709. <Column id="m7" type="INT"/>
  710. <Column id="m8" type="INT"/>
  711. <Column id="m9" type="INT"/>
  712. <Column id="m10" type="INT"/>
  713. <Column id="m11" type="INT"/>
  714. <Column id="m12" type="INT"/>
  715. </ColumnInfo>
  716. </Dataset>
  717. <Dataset id="ds_grid_grd_cy" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  718. <ColumnInfo>
  719. <Column id="chk" type="STRING"/>
  720. <Column id="blod" type="STRING"/>
  721. <Column id="resndesc" type="STRING"/>
  722. <Column id="hap" type="INT"/>
  723. <Column id="pa" type="FLOAT"/>
  724. <Column id="d1" type="STRING"/>
  725. <Column id="d2" type="STRING"/>
  726. <Column id="d3" type="STRING"/>
  727. </ColumnInfo>
  728. </Dataset>
  729. <Dataset id="ds_send_data_dd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  730. <ColumnInfo>
  731. <Column id="rtnabnflag" type="STRING" size="256"/>
  732. <Column id="cls" type="STRING" size="256"/>
  733. <Column id="stathopefromdd" type="STRING" size="256"/>
  734. <Column id="stathopetodd" type="STRING" size="256"/>
  735. <Column id="mon" type="STRING" size="256"/>
  736. <Column id="code" type="STRING" size="256"/>
  737. <Column id="bloodnm" type="STRING" size="256"/>
  738. <Column id="dept" type="STRING" size="256"/>
  739. <Column id="refflag" type="STRING" size="256"/>
  740. <Column id="list" type="STRING" size="256"/>
  741. <Column id="perc" type="STRING" size="256"/>
  742. </ColumnInfo>
  743. </Dataset>
  744. <Dataset id="ds_send_data_mm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  745. <ColumnInfo>
  746. <Column id="rtnabnflag" type="STRING" size="256"/>
  747. <Column id="cls" type="STRING" size="256"/>
  748. <Column id="stathopefromdd" type="STRING" size="256"/>
  749. <Column id="stathopetodd" type="STRING" size="256"/>
  750. <Column id="code" type="STRING" size="256"/>
  751. <Column id="perc" type="STRING" size="256"/>
  752. <Column id="dept" type="STRING" size="256"/>
  753. <Column id="refflag" type="STRING" size="256"/>
  754. <Column id="list" type="STRING" size="256"/>
  755. <Column id="bloodnm" type="STRING" size="256"/>
  756. </ColumnInfo>
  757. </Dataset>
  758. <Dataset id="ds_send_data_yy" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  759. <ColumnInfo>
  760. <Column id="rtnabnflag" type="STRING" size="256"/>
  761. <Column id="cls" type="STRING" size="256"/>
  762. <Column id="stathopefromdd" type="STRING" size="256"/>
  763. <Column id="stathopetodd" type="STRING" size="256"/>
  764. <Column id="code" type="STRING" size="256"/>
  765. <Column id="perc" type="STRING" size="256"/>
  766. <Column id="refflag" type="STRING" size="256"/>
  767. <Column id="dept" type="STRING" size="256"/>
  768. <Column id="list" type="STRING" size="256"/>
  769. <Column id="bloodnm" type="STRING" size="256"/>
  770. </ColumnInfo>
  771. </Dataset>
  772. <Dataset id="ds_send_data_cm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  773. <ColumnInfo>
  774. <Column id="rtnabnflag" type="STRING" size="256"/>
  775. <Column id="cls" type="STRING" size="256"/>
  776. <Column id="stathopefromdd" type="STRING" size="256"/>
  777. <Column id="stathopetodd" type="STRING" size="256"/>
  778. <Column id="mon" type="STRING" size="256"/>
  779. <Column id="code" type="STRING" size="256"/>
  780. <Column id="perc" type="STRING" size="256"/>
  781. <Column id="refflag" type="STRING" size="256"/>
  782. <Column id="dept" type="STRING" size="256"/>
  783. <Column id="list" type="STRING" size="256"/>
  784. <Column id="bloodnm" type="STRING" size="256"/>
  785. </ColumnInfo>
  786. </Dataset>
  787. <Dataset id="ds_send_data_cy" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  788. <ColumnInfo>
  789. <Column id="rtnabnflag" type="STRING" size="256"/>
  790. <Column id="cls" type="STRING" size="256"/>
  791. <Column id="stathopefromdd" type="STRING" size="256"/>
  792. <Column id="stathopetodd" type="STRING" size="256"/>
  793. <Column id="code" type="STRING" size="256"/>
  794. <Column id="perc" type="STRING" size="256"/>
  795. <Column id="dept" type="STRING" size="256"/>
  796. <Column id="refflag" type="STRING" size="256"/>
  797. <Column id="list" type="STRING" size="256"/>
  798. <Column id="bloodnm" type="STRING" size="256"/>
  799. </ColumnInfo>
  800. </Dataset>
  801. </Objects>
  802. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  803. * System Name :
  804. * Job Name :
  805. * Creator :
  806. * Make Date : 2015-05-01
  807. * Description :
  808. *---------------------------------------------------------------------------------------
  809. * Modify Date Modifier Modify Description
  810. *---------------------------------------------------------------------------------------
  811. * 2015-05-01 Live Converter TF->XP
  812. *
  813. *---------------------------------------------------------------------------------------
  814. ****************************************************************************************/
  815. include "com_commonxp::comm_main.xjs";
  816. include "lis_commonxp::LLZ001.xjs";
  817. function SMLBP00300_onload(obj:Form, e:LoadEventInfo)
  818. {
  819. frmf_initForm(obj); // 화면공통
  820. lf_setInit();
  821. // 그리드정렬, 전체 체크박스
  822. grdf_initGrid(group3.swt_statflag.dd.grd_dd);
  823. grdf_initGrid(group3.swt_statflag.mm.grd_mm);
  824. grdf_initGrid(group3.swt_statflag.yy.grd_yy);
  825. grdf_initGrid(group3.swt_statflag.cc.grd_cm);
  826. grdf_initGrid(group3.swt_statflag.cy.grd_cy);
  827. }
  828. function lf_setInit() {
  829. group1.combo1.value="2";
  830. group1.ipt_workfromdd.value = utlf_getCurrentDate();
  831. group1.ipt_worktodd.value = utlf_getCurrentDate();
  832. group1.combo2.value="1";
  833. group1.cmb_rtnabnflag.value="1";
  834. group1.cmb_cls.value="1";
  835. group1.chx_perc.value="0";
  836. group1.input1.value="";
  837. group3.swt_statflag.tabindex = "0";
  838. group1.caption9.visible=false;
  839. group1.ipt_worktodd.visible =false;
  840. group1.combo2.visible=false;
  841. group1.cmb_rtnabnflag.visible=true;
  842. }
  843. function lf_set() {
  844. group1.combo1.value="2";
  845. group1.ipt_workfromdd.value = utlf_getCurrentDate();
  846. group1.ipt_worktodd.value = utlf_getCurrentDate();
  847. group1.combo2.value="1";
  848. group1.cmb_rtnabnflag.value="1";
  849. group1.cmb_cls.value="1";
  850. group1.chx_perc.value="0";
  851. group1.input1.value="";
  852. group1.caption9.visible=false;
  853. group1.ipt_worktodd.visible =false;
  854. group1.combo2.visible=false;
  855. group1.cmb_rtnabnflag.visible=true;
  856. }
  857. //조회
  858. function lf_setStat() {
  859. var mons = new String(group1.ipt_workfromdd.value);
  860. var mon = mons.substring(4,6);
  861. var stathopefromdd = new String(group1.ipt_workfromdd.value);
  862. stathopefromdd = stathopefromdd.substring(0,6);
  863. var stathopetodd = new String(group1.ipt_worktodd.value);
  864. stathopetodd = stathopetodd.substring(0,6);
  865. if(group3.swt_statflag.tabindex =="0"){ //일별
  866. var perc = "";
  867. if(group1.chx_perc.value != "1"){
  868. perc = "";
  869. }else{
  870. perc = "1";
  871. }
  872. ds_send_data_dd.setColumn(0,"rtnabnflag",group1.cmb_rtnabnflag.value);
  873. ds_send_data_dd.setColumn(0,"cls",group1.cmb_cls.value);
  874. ds_send_data_dd.setColumn(0,"stathopefromdd",stathopefromdd);
  875. ds_send_data_dd.setColumn(0,"stathopetodd",stathopetodd);
  876. ds_send_data_dd.setColumn(0,"mon", mon);
  877. ds_send_data_dd.setColumn(0,"code",group1.combo1.value);
  878. ds_send_data_dd.setColumn(0,"bloodnm",group1.input1.value);
  879. ds_send_data_dd.setColumn(0,"perc",perc);
  880. ds_send_data_dd.setColumn(0,"refflag","1");
  881. ds_grid_grd_dd.clearData();
  882. var oParam = {};
  883. oParam.id = "TRLBP00301";
  884. oParam.service = "refprintmngtapp.BloodBankRefPrintMngt";
  885. oParam.method = "reqGetRtnAbnList";
  886. oParam.inds = "cond=ds_send_data_dd";
  887. oParam.outds = "ds_grid_grd_dd=getDDStatList ds_grid_grd_yy=getYYStatList";
  888. oParam.async = false;
  889. tranf_submit(oParam);
  890. ds_grid_grd_dd.addColumn("checkcolor","String");
  891. ds_grid_grd_dd.setColumn(0,"checkcolor","#f7a08b");
  892. var sExpr = "EXPR(checkcolor)";
  893. for (i=1; i < group3.swt_statflag.dd.grd_dd.getCellCount('Head'); i++ ) {
  894. group3.swt_statflag.dd.grd_dd.setCellProperty("Body",i,"background", sExpr);
  895. group3.swt_statflag.dd.grd_dd.setCellProperty("Body",i,"background2", sExpr);
  896. }
  897. ds_grid_grd_dd.rowposition = -1;
  898. }else if(group3.swt_statflag.tabindex =="1"){ // 월별 통계
  899. lf_getMMStat();
  900. }else if(group3.swt_statflag.tabindex =="2"){ // 연별 통계
  901. lf_getYYStat();
  902. }else if(group3.swt_statflag.tabindex =="3"){ // 유형(월별) 통계
  903. lf_getCCStat();
  904. }else if(group3.swt_statflag.tabindex =="4"){ // 유형(연별) 통계
  905. lf_getCYStat();
  906. }
  907. }
  908. //월별통계
  909. function lf_getMMStat(){
  910. var stathopefromdd = new String(group1.ipt_workfromdd.value);
  911. stathopefromdd = stathopefromdd.substring(0,4);
  912. var stathopetodd = new String(group1.ipt_worktodd.value);
  913. stathopetodd = stathopetodd.substring(0,4);
  914. var perc = "";
  915. if(group1.chx_perc.value != "1"){
  916. perc = "";
  917. }else{
  918. perc = "1";
  919. }
  920. ds_send_data_mm.setColumn(0,"rtnabnflag",group1.cmb_rtnabnflag.value);
  921. ds_send_data_mm.setColumn(0,"cls",group1.cmb_cls.value);
  922. ds_send_data_mm.setColumn(0,"stathopefromdd",stathopefromdd);
  923. ds_send_data_mm.setColumn(0,"stathopetodd",stathopetodd);
  924. ds_send_data_mm.setColumn(0,"code",group1.combo1.value);
  925. ds_send_data_mm.setColumn(0,"perc",perc);
  926. ds_send_data_mm.setColumn(0,"bloodnm",group1.input1.value);
  927. ds_send_data_mm.setColumn(0,"refflag","2");
  928. ds_grid_grd_mm.clearData();
  929. var oParam = {};
  930. oParam.id = "TRLBP00302";
  931. oParam.service = "refprintmngtapp.BloodBankRefPrintMngt";
  932. oParam.method = "reqGetRtnAbnList";
  933. oParam.inds = "cond=ds_send_data_mm";
  934. oParam.outds = "ds_grid_grd_mm=getMMStatList";
  935. oParam.async = false;
  936. tranf_submit(oParam);
  937. ds_grid_grd_mm.addColumn("checkcolor","String");
  938. ds_grid_grd_mm.setColumn(0,"checkcolor","#f7a08b");
  939. var sExpr = "EXPR(checkcolor)";
  940. for (i=1; i < group3.swt_statflag.mm.grd_mm.getCellCount('body'); i++ ) {
  941. group3.swt_statflag.mm.grd_mm.setCellProperty("Body",i,"background", sExpr);
  942. group3.swt_statflag.mm.grd_mm.setCellProperty("Body",i,"background2", sExpr);
  943. }
  944. ds_grid_grd_mm.rowposition = -1;
  945. }
  946. //년별통계
  947. function lf_getYYStat(){
  948. var sFromdd = new String(group1.ipt_workfromdd.value);
  949. var sTodd = new String(group1.ipt_worktodd.value);
  950. var fromdd = sFromdd.substring(0,4);
  951. var todd = sTodd.substring(0,4);
  952. //연별 조회시 3년 이내로 조회
  953. if(todd - fromdd >= 3){
  954. sysf_messageBox("조회는 3년까지만 제공합니다.\n조회기간을 다시 선택하세요", "I");
  955. return;
  956. }
  957. if(sFromdd > sTodd){
  958. sysf_messageBox("종료일이 시작일보다 작습니다 ", "I");
  959. return;
  960. }
  961. lf_hidden();
  962. var j = 3;
  963. for(var i = 0; i <=todd - fromdd ; i++ ){
  964. group3.swt_statflag.yy.grd_yy.setFormatColProperty(j++,"size",80);
  965. group3.swt_statflag.yy.grd_yy.setFormatColProperty(j++,"size",80);
  966. group3.swt_statflag.yy.grd_yy.setFormatColProperty(j++,"size",80);
  967. }
  968. var perc = "";
  969. if(group1.chx_perc.value != "1"){
  970. perc = "";
  971. }else{
  972. perc = "1";
  973. }
  974. ds_send_data_yy.setColumn(0,"rtnabnflag",group1.cmb_rtnabnflag.value);
  975. ds_send_data_yy.setColumn(0,"cls",group1.cmb_cls.value);
  976. ds_send_data_yy.setColumn(0,"stathopefromdd",fromdd);
  977. ds_send_data_yy.setColumn(0,"stathopetodd",todd);
  978. ds_send_data_yy.setColumn(0,"code",group1.combo1.value);
  979. ds_send_data_yy.setColumn(0,"perc",perc);
  980. ds_send_data_yy.setColumn(0,"bloodnm",group1.input1.value);
  981. ds_send_data_yy.setColumn(0,"refflag","3");
  982. ds_grid_grd_yy.clearData();
  983. var oParam = {};
  984. oParam.id = "TRLBP00301";
  985. oParam.service = "refprintmngtapp.BloodBankRefPrintMngt";
  986. oParam.method = "reqGetRtnAbnList";
  987. oParam.inds = "cond=ds_send_data_yy";
  988. oParam.outds = "ds_grid_grd_dd=getDDStatList ds_grid_grd_yy=getYYStatList";
  989. oParam.async = false;
  990. tranf_submit(oParam);
  991. ds_grid_grd_yy.addColumn("checkcolor","String");
  992. ds_grid_grd_yy.setColumn(0,"checkcolor","#f7a08b");
  993. var sExpr = "EXPR(checkcolor)";
  994. for (i=1; i < group3.swt_statflag.yy.grd_yy.getCellCount('body'); i++ ) { //헤더
  995. group3.swt_statflag.yy.grd_yy.setCellProperty("Body",i,"background", sExpr);
  996. group3.swt_statflag.yy.grd_yy.setCellProperty("Body",i,"background2", sExpr);
  997. }
  998. ds_grid_grd_yy.rowposition = -1;
  999. }
  1000. //유형(월별)
  1001. function lf_getCCStat(dept) {
  1002. var stathopefromdd = new String(group1.ipt_workfromdd.value);
  1003. stathopefromdd = stathopefromdd.substring(0,4);
  1004. var stathopetodd = new String(group1.ipt_worktodd.value);
  1005. stathopetodd = stathopetodd.substring(0,4);
  1006. var perc = "";
  1007. if(group1.chx_perc.value != "1"){
  1008. perc = "";
  1009. }else{
  1010. perc = "1";
  1011. }
  1012. ds_send_data_cm.setColumn(0,"rtnabnflag",group1.combo2.value);
  1013. ds_send_data_cm.setColumn(0,"cls",group1.cmb_cls.value);
  1014. ds_send_data_cm.setColumn(0,"stathopefromdd",stathopefromdd);
  1015. ds_send_data_cm.setColumn(0,"stathopetodd",stathopetodd);
  1016. ds_send_data_cm.setColumn(0,"mon",stathopefromdd);
  1017. ds_send_data_cm.setColumn(0,"code",group1.combo1.value);
  1018. ds_send_data_cm.setColumn(0,"perc",perc);
  1019. ds_send_data_cm.setColumn(0,"bloodnm",group1.input1.value);
  1020. ds_send_data_cm.setColumn(0,"refflag","4");
  1021. ds_grid_grd_cm.clearData();
  1022. var oParam = {};
  1023. oParam.id = "TRLBP00303";
  1024. oParam.service = "refprintmngtapp.BloodBankRefPrintMngt";
  1025. oParam.method = "reqGetRtnAbnList";
  1026. oParam.inds = "cond=ds_send_data_cm";
  1027. oParam.outds = "ds_grid_grd_cm=getCCStatList";
  1028. oParam.async = false;
  1029. tranf_submit(oParam);
  1030. ds_grid_grd_cm.addColumn("checkcolor","String");
  1031. ds_grid_grd_cm.setColumn(0,"checkcolor","#f7a08b");
  1032. var sExpr = "EXPR(checkcolor)";
  1033. for(var j=0; j<ds_grid_grd_cm.rowcount; j++){
  1034. if(ds_grid_grd_cm.getColumn(j,"resndesc")=="[소계]"){
  1035. ds_grid_grd_cm.setColumn(j,"checkcolor","#C0C0C0");
  1036. }
  1037. }
  1038. for (i=1; i < group3.swt_statflag.cc.grd_cm.getCellCount('Head'); i++ ) {
  1039. group3.swt_statflag.cc.grd_cm.setCellProperty("Body",i,"background", sExpr);
  1040. group3.swt_statflag.cc.grd_cm.setCellProperty("Body",i,"background2", sExpr);
  1041. }
  1042. ds_grid_grd_cm.rowposition = -1;
  1043. }
  1044. //유형별(년별)
  1045. function lf_getCYStat(dept) {
  1046. var sFromdd = new String(group1.ipt_workfromdd.value);
  1047. var sTodd = new String(group1.ipt_worktodd.value);
  1048. var fromdd = sFromdd.substring(0,4);
  1049. var todd = sTodd.substring(0,4);
  1050. //연별 조회시 3년 이내로 조회
  1051. if(todd - fromdd >= 3){
  1052. sysf_messageBox("조회는 3년까지만 제공합니다.\n조회기간을 다시 선택하세요", "I");
  1053. return;
  1054. }
  1055. if(sFromdd > sTodd){
  1056. sysf_messageBox("종료일이 시작일보다 작습니다 ", "I");
  1057. return;
  1058. }
  1059. lf_hidden();
  1060. var j = 6;
  1061. for(var i = 0; i <=todd - fromdd ; i++ ){
  1062. group3.swt_statflag.cy.grd_cy.setFormatColProperty(j++,"size",80);
  1063. }
  1064. var perc = "";
  1065. if(group1.chx_perc.value != "1"){
  1066. perc = "";
  1067. }else{
  1068. perc = "1";
  1069. }
  1070. ds_send_data_cy.setColumn(0,"rtnabnflag",group1.combo2.value);
  1071. ds_send_data_cy.setColumn(0,"cls",group1.cmb_cls.value);
  1072. ds_send_data_cy.setColumn(0,"stathopefromdd",fromdd);
  1073. ds_send_data_cy.setColumn(0,"stathopetodd",todd);
  1074. ds_send_data_cy.setColumn(0,"code",group1.combo1.value);
  1075. ds_send_data_cy.setColumn(0,"perc",perc);
  1076. ds_send_data_cy.setColumn(0,"bloodnm",group1.input1.value);
  1077. ds_send_data_cy.setColumn(0,"refflag","5");
  1078. ds_grid_grd_cy.clearData();
  1079. var oParam = {};
  1080. oParam.id = "TRLBP00304";
  1081. oParam.service = "refprintmngtapp.BloodBankRefPrintMngt";
  1082. oParam.method = "reqGetRtnAbnList";
  1083. oParam.inds = "cond=ds_send_data_cy";
  1084. oParam.outds = "ds_grid_grd_cy=getCYStatList";
  1085. oParam.async = false;
  1086. tranf_submit(oParam);
  1087. ds_grid_grd_cy.addColumn("checkcolor","String");
  1088. ds_grid_grd_cy.setColumn(0,"checkcolor","#f7a08b");
  1089. var sExpr = "EXPR(checkcolor)";
  1090. for(var j=0; j<ds_grid_grd_cy.rowcount; j++){
  1091. if(ds_grid_grd_cy.getColumn(j,"resndesc")=="[소계]"){
  1092. ds_grid_grd_cy.setColumn(j,"checkcolor","#C0C0C0");
  1093. }
  1094. }
  1095. for (i=1; i < group3.swt_statflag.cy.grd_cy.getCellCount('Head'); i++ ) {
  1096. group3.swt_statflag.cy.grd_cy.setCellProperty("Body",i,"background", sExpr);
  1097. group3.swt_statflag.cy.grd_cy.setCellProperty("Body",i,"background2", sExpr);
  1098. }
  1099. ds_grid_grd_cy.rowposition = -1;
  1100. }
  1101. //일별
  1102. function lf_dvisible() {
  1103. lf_set();
  1104. group3.swt_statflag.tabindex = "0";
  1105. var toDay = new String(utlf_getCurrentDate());
  1106. var toDays = toDay.substring(0,6)
  1107. group1.ipt_workfromdd.dateformat= "yyyy-MM";
  1108. group1.ipt_workfromdd.editformat= "yyyy-MM";
  1109. group1.ipt_worktodd.dateformat= "yyyy-MM";
  1110. group1.ipt_worktodd.editformat= "yyyy-MM";
  1111. group1.ipt_workfromdd.value= toDays;
  1112. group1.ipt_worktodd.value= toDays;
  1113. group1.caption9.visible = false;
  1114. group1.ipt_worktodd.visible =false;
  1115. group1.combo2.visible = false;
  1116. group1.cmb_rtnabnflag.visible = true;
  1117. }
  1118. //월별
  1119. function lf_mvisible() {
  1120. lf_set();
  1121. group3.swt_statflag.tabindex = "1";
  1122. var toDay = new String(utlf_getCurrentDate());
  1123. var toDays = toDay.substring(0,4)
  1124. group1.ipt_workfromdd.dateformat= "yyyy";
  1125. group1.ipt_workfromdd.editformat= "yyyy";
  1126. group1.ipt_worktodd.dateformat= "yyyy";
  1127. group1.ipt_worktodd.editformat= "yyyy";
  1128. group1.ipt_workfromdd.value= toDays;
  1129. group1.ipt_worktodd.value= toDays;
  1130. group1.caption9.visible = false;
  1131. group1.ipt_worktodd.visible =false;
  1132. group1.combo2.visible = false;
  1133. group1.cmb_rtnabnflag.visible = true;
  1134. }
  1135. //년별
  1136. function lf_yvisible() {
  1137. lf_set();
  1138. group3.swt_statflag.tabindex = "2";
  1139. var toDay = new String(utlf_getCurrentDate());
  1140. var toDays = toDay.substring(0,4)
  1141. group1.ipt_workfromdd.dateformat= "yyyy";
  1142. group1.ipt_workfromdd.editformat= "yyyy";
  1143. group1.ipt_worktodd.dateformat= "yyyy";
  1144. group1.ipt_worktodd.editformat= "yyyy";
  1145. group1.ipt_workfromdd.value= toDays;
  1146. group1.ipt_worktodd.value= toDays;
  1147. group1.caption9.visible = true;
  1148. group1.ipt_worktodd.visible =true;
  1149. group1.combo2.visible = false;
  1150. group1.cmb_rtnabnflag.visible = true;
  1151. lf_hidden();
  1152. }
  1153. //사유월별
  1154. function lf_cvisible() {
  1155. lf_set();
  1156. group3.swt_statflag.tabindex = "3";
  1157. var toDay = new String(utlf_getCurrentDate());
  1158. var toDays = toDay.substring(0,4)
  1159. group1.ipt_workfromdd.dateformat= "yyyy";
  1160. group1.ipt_workfromdd.editformat= "yyyy";
  1161. group1.ipt_worktodd.dateformat= "yyyy";
  1162. group1.ipt_worktodd.editformat= "yyyy";
  1163. group1.ipt_workfromdd.value= toDays;
  1164. group1.ipt_worktodd.value= toDays;
  1165. group1.caption9.visible = false;
  1166. group1.ipt_worktodd.visible =false;
  1167. group1.combo2.visible = true;
  1168. group1.cmb_rtnabnflag.visible = false;
  1169. }
  1170. //사유년별
  1171. function lf_cyvisible() {
  1172. lf_set();
  1173. group3.swt_statflag.tabindex = "4";
  1174. var toDay = new String(utlf_getCurrentDate());
  1175. var toDays = toDay.substring(0,4)
  1176. group1.ipt_workfromdd.dateformat= "yyyy";
  1177. group1.ipt_workfromdd.editformat= "yyyy";
  1178. group1.ipt_worktodd.dateformat= "yyyy";
  1179. group1.ipt_worktodd.editformat= "yyyy";
  1180. group1.ipt_workfromdd.value= toDays;
  1181. group1.ipt_worktodd.value= toDays;
  1182. group1.caption9.visible = true;
  1183. group1.ipt_worktodd.visible =true;
  1184. group1.combo2.visible = true;
  1185. group1.cmb_rtnabnflag.visible = false;
  1186. lf_hidden();
  1187. }
  1188. // 연별통계, 유형(연별)조회시 그리드 숨기기
  1189. function lf_hidden(){
  1190. if(group3.swt_statflag.tabindex =="2"){ //연별 통계
  1191. if(ds_grid_grd_yy.rowcount < 1){
  1192. for(var i=11; i>2; i--){
  1193. group3.swt_statflag.yy.grd_yy.setFormatColProperty(i,"size",0);
  1194. }
  1195. }
  1196. }
  1197. if(group3.swt_statflag.tabindex =="4"){ // 유형 연별
  1198. if(ds_grid_grd_cy.rowcount < 1){
  1199. for(var i=8; i>5; i--){
  1200. group3.swt_statflag.cy.grd_cy.setFormatColProperty(i,"size",0);
  1201. }
  1202. }
  1203. }
  1204. }
  1205. // 연별 통계 조회시 그리드 컬럼명 변경
  1206. function lf_column(){
  1207. var sFrom = new String(group1.ipt_workfromdd.value);
  1208. var fromdd = parseInt(sFrom.substring(0,4));
  1209. return fromdd;
  1210. }
  1211. //엑셀저장
  1212. function lf_saveExcel() {
  1213. if(group3.swt_statflag.tabindex == "0"){
  1214. grdf_exportExcel(group3.swt_statflag.dd.grd_dd, lf_lisGetTitle(this) + "_" + "일별통계", "sheet1", false);
  1215. }else if(group3.swt_statflag.tabindex == "1"){
  1216. grdf_exportExcel(group3.swt_statflag.mm.grd_mm, lf_lisGetTitle(this) + "_" + "월별통계", "sheet1", false);
  1217. }else if(group3.swt_statflag.tabindex == "2"){
  1218. grdf_exportExcel(group3.swt_statflag.yy.grd_yy, lf_lisGetTitle(this) + "_" + "연별통계", "sheet1", false);
  1219. }else if(group3.swt_statflag.tabindex == "3"){
  1220. grdf_exportExcel(group3.swt_statflag.cc.grd_cm, lf_lisGetTitle(this) + "_" + "유형(월별)", "sheet1", false);
  1221. }else if(group3.swt_statflag.tabindex == "4"){
  1222. grdf_exportExcel(group3.swt_statflag.cy.grd_cy, lf_lisGetTitle(this) + "_" + "유형(연별)", "sheet1", false);
  1223. }
  1224. }
  1225. //정리
  1226. function lf_list(){
  1227. // 일별 통계
  1228. if(group3.swt_statflag.tabindex == "0"){
  1229. if(group1.cmb_cls.value == "1"){ // 진료과별
  1230. var dept = "";
  1231. for(var i=1; i<ds_grid_grd_dd.rowcount; i++){
  1232. if(ds_grid_grd_dd.getColumn(i,"chk")=="1"){
  1233. dept = dept + ","+ds_grid_grd_dd.getColumn(i,"blodcomcd");
  1234. }
  1235. }
  1236. ds_send_data_dd.setColumn(0,"dept",dept);
  1237. }else if(group1.cmb_cls.value == "2"){ // 혈액종류별
  1238. var list = "";
  1239. for(var i=1; i<ds_grid_grd_dd.rowcount; i++){
  1240. if(ds_grid_grd_dd.getColumn(i,"chk")=="1"){
  1241. list = list + ","+ds_grid_grd_dd.getColumn(i,"blodcomcd");
  1242. }
  1243. }
  1244. ds_send_data_dd.setColumn(0,"list",list);
  1245. }
  1246. lf_setStat();
  1247. // 월별 통계
  1248. }else if(group3.swt_statflag.tabindex == "1"){
  1249. if(group1.cmb_cls.value == "1"){ // 진료과별
  1250. var dept = "";
  1251. for(var i=1; i<ds_grid_grd_mm.rowcount; i++){
  1252. if(ds_grid_grd_mm.getColumn(i,"chk")=="1"){
  1253. dept = dept + ","+ds_grid_grd_mm.getColumn(i,"blodcomcd");
  1254. }
  1255. }
  1256. ds_send_data_mm.setColumn(0,"dept",dept);
  1257. }else if(group1.cmb_cls.value == "2"){ // 혈액종류별
  1258. var list = "";
  1259. for(var i=1; i<ds_grid_grd_mm.rowcount; i++){
  1260. if(ds_grid_grd_mm.getColumn(i,"chk")=="1"){
  1261. list = list + ","+ds_grid_grd_mm.getColumn(i,"blodcomcd");
  1262. }
  1263. }
  1264. ds_send_data_mm.setColumn(0,"list",list);
  1265. }
  1266. lf_getMMStat();
  1267. // 연별 통계
  1268. }else if(group3.swt_statflag.tabindex == "2"){
  1269. if(group1.cmb_cls.value == "1"){ // 진료과별
  1270. var dept = "";
  1271. for(var i=1; i<ds_grid_grd_yy.rowcount; i++){
  1272. if(ds_grid_grd_yy.getColumn(i,"chk")=="1"){
  1273. dept = dept + ","+ds_grid_grd_yy.getColumn(i,"blodtest");
  1274. }
  1275. }
  1276. ds_send_data_yy.setColumn(0,"dept",dept);
  1277. }else if(group1.cmb_cls.value == "2"){ // 혈액종류별
  1278. var list = "";
  1279. for(var i=1; i<ds_grid_grd_yy.rowcount; i++){
  1280. if(ds_grid_grd_yy.getColumn(i,"chk")=="1"){
  1281. list = list + ","+ds_grid_grd_yy.getColumn(i,"blodtest");
  1282. }
  1283. }
  1284. ds_send_data_yy.setColumn(0,"list",list);
  1285. }
  1286. lf_getYYStat();
  1287. // 유형(월별)
  1288. }else if(group3.swt_statflag.tabindex == "3"){
  1289. if(group1.cmb_cls.value == "1"){ // 진료과별
  1290. var dept = "";
  1291. for(var i=1; i<ds_grid_grd_cm.rowcount; i++){
  1292. if(ds_grid_grd_cm.getColumn(i,"chk")=="1"){
  1293. dept = dept + ","+ds_grid_grd_cm.getColumn(i,"blod")+ds_grid_grd_cm.getColumn(i,"resndesc");
  1294. }
  1295. }
  1296. ds_send_data_cm.setColumn(0,"dept",dept);
  1297. }else if(group1.cmb_cls.value == "2"){ // 혈액종류별
  1298. var list = "";
  1299. for(var i=1; i<ds_grid_grd_cm.rowcount; i++){
  1300. if(ds_grid_grd_cm.getColumn(i,"chk")=="1"){
  1301. list = list + ","+ds_grid_grd_cm.getColumn(i,"blod")+ds_grid_grd_cm.getColumn(i,"resndesc");
  1302. }
  1303. }
  1304. ds_send_data_cm.setColumn(0,"list",list);
  1305. }
  1306. lf_getCCStat();
  1307. // 유형(연별)
  1308. }else if(group3.swt_statflag.tabindex == "4"){
  1309. if(group1.cmb_cls.value == "1"){ // 진료과별
  1310. var dept = "";
  1311. for(var i=1; i<ds_grid_grd_cy.rowcount; i++){
  1312. if(ds_grid_grd_cy.getColumn(i,"chk")=="1"){
  1313. dept = dept + ","+ds_grid_grd_cy.getColumn(i,"blod")+ds_grid_grd_cy.getColumn(i,"resndesc");
  1314. }
  1315. }
  1316. ds_send_data_cy.setColumn(0,"dept",dept);
  1317. }else if(group1.cmb_cls.value == "2"){ // 혈액종류별
  1318. var list = "";
  1319. for(var i=1; i<ds_grid_grd_cy.rowcount; i++){
  1320. if(ds_grid_grd_cy.getColumn(i,"chk")=="1"){
  1321. list = list + ","+ds_grid_grd_cy.getColumn(i,"blod")+ds_grid_grd_cy.getColumn(i,"resndesc");
  1322. }
  1323. }
  1324. ds_send_data_cy.setColumn(0,"list",list);
  1325. }
  1326. lf_getCYStat();
  1327. }
  1328. }
  1329. //조회
  1330. function group1_btn_ref_onclick(obj:Button, e:ClickEventInfo)
  1331. {
  1332. ds_send_data_dd.clearData();
  1333. ds_send_data_dd.addRow();
  1334. ds_send_data_mm.clearData();
  1335. ds_send_data_mm.addRow();
  1336. ds_send_data_yy.clearData();
  1337. ds_send_data_yy.addRow();
  1338. ds_send_data_cm.clearData();
  1339. ds_send_data_cm.addRow();
  1340. ds_send_data_cy.clearData();
  1341. ds_send_data_cy.addRow();
  1342. lf_setStat();
  1343. }
  1344. // 탭 선택시 조회구분 visible
  1345. function group3_swt_statflag_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  1346. {
  1347. if(obj.tabindex =="0"){ // 일별
  1348. lf_dvisible();
  1349. }else if(obj.tabindex =="1"){ // 월별
  1350. lf_mvisible();
  1351. }else if(obj.tabindex =="2"){ // 연별
  1352. lf_yvisible();
  1353. }else if(obj.tabindex =="3"){ // 유형 월별
  1354. lf_cvisible();
  1355. }else if(obj.tabindex =="4"){ // 유형 연별
  1356. lf_cyvisible();
  1357. }
  1358. }
  1359. // 엑셀
  1360. function group3_btn_excel_onclick(obj:Button, e:ClickEventInfo)
  1361. {
  1362. lf_saveExcel();
  1363. }
  1364. // 정리
  1365. function btn_print_onclick(obj:Button, e:ClickEventInfo)
  1366. {
  1367. lf_list();
  1368. }
  1369. // 초기화
  1370. function btn_reset_onclick(obj:Button, e:ClickEventInfo)
  1371. {
  1372. lf_setInit();
  1373. }
  1374. ]]></Script>
  1375. </Form>
  1376. </FDL>