SMLBP00310_부서혈액반납폐기율.xfdl 67 KB

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