SMLBS00800_수혈부작용건수.xrw 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLBS00800_수혈부작용건수.xrw
  4. * 설 명 : 수혈환자수
  5. * 설 계 자 : (주)에이씨케이 - 유은자
  6. * 작 성 자 : (주)에이씨케이 -
  7. * 작 성 일 : 2010.03.11
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  12. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  13. <xhtml:head>
  14. <xhtml:title>수혈부작용건수</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <days>
  20. <rowdata>
  21. <itemnm1/>
  22. <a00/>
  23. <a01/>
  24. <a02/>
  25. <a03/>
  26. <a04/>
  27. <a05/>
  28. <a06/>
  29. <a07/>
  30. <a08/>
  31. <a09/>
  32. <a10/>
  33. <a11/>
  34. <a12/>
  35. <a13/>
  36. <a14/>
  37. <a15/>
  38. <a16/>
  39. <a17/>
  40. <a18/>
  41. <a19/>
  42. <a20/>
  43. <a21/>
  44. <a22/>
  45. <a23/>
  46. <a24/>
  47. <a25/>
  48. <a26/>
  49. <a27/>
  50. <a28/>
  51. <a29/>
  52. <a30/>
  53. <a31/>
  54. <out/>
  55. <pre/>
  56. </rowdata>
  57. </days>
  58. <month>
  59. <rowdata>
  60. <itemnm1/>
  61. <o01/>
  62. <o02/>
  63. <o03/>
  64. <o04/>
  65. <o05/>
  66. <o06/>
  67. <o07/>
  68. <o08/>
  69. <o09/>
  70. <o10/>
  71. <o11/>
  72. <o12/>
  73. <p01/>
  74. <p02/>
  75. <p03/>
  76. <p04/>
  77. <p05/>
  78. <p06/>
  79. <p07/>
  80. <p08/>
  81. <p09/>
  82. <p10/>
  83. <p11/>
  84. <p12/>
  85. <a01/>
  86. <a02/>
  87. <a03/>
  88. <a04/>
  89. <a05/>
  90. <a06/>
  91. <a07/>
  92. <a08/>
  93. <a09/>
  94. <a10/>
  95. <a11/>
  96. <a12/>
  97. </rowdata>
  98. </month>
  99. <year>
  100. <rowdata>
  101. <itemnm1/>
  102. <o01/>
  103. <o02/>
  104. <o03/>
  105. <o04/>
  106. <o05/>
  107. <o06/>
  108. <o07/>
  109. <o08/>
  110. <o09/>
  111. <o10/>
  112. <p01/>
  113. <p02/>
  114. <p03/>
  115. <p04/>
  116. <p05/>
  117. <p06/>
  118. <p07/>
  119. <p08/>
  120. <p09/>
  121. <p10/>
  122. <a01/>
  123. <a02/>
  124. <a03/>
  125. <a04/>
  126. <a05/>
  127. <a06/>
  128. <a07/>
  129. <a08/>
  130. <a09/>
  131. <a10/>
  132. </rowdata>
  133. </year>
  134. <month_cm>
  135. <rowdata>
  136. <itemnm1/>
  137. <itemnm2/>
  138. <a01/>
  139. <a02/>
  140. <a03/>
  141. <a04/>
  142. <a05/>
  143. <a06/>
  144. <a07/>
  145. <a08/>
  146. <a09/>
  147. <a10/>
  148. <a11/>
  149. <a12/>
  150. <a00/>
  151. <per/>
  152. </rowdata>
  153. </month_cm>
  154. <year_cm>
  155. <rowdata>
  156. <itemnm1/>
  157. <itemnm2/>
  158. <o01/>
  159. <o02/>
  160. <o03/>
  161. <o04/>
  162. <o05/>
  163. <o06/>
  164. <o07/>
  165. <o08/>
  166. <o09/>
  167. <o10/>
  168. <p01/>
  169. <p02/>
  170. <p03/>
  171. <p04/>
  172. <p05/>
  173. <p06/>
  174. <p07/>
  175. <p08/>
  176. <p09/>
  177. <p10/>
  178. <a01/>
  179. <a02/>
  180. <a03/>
  181. <a04/>
  182. <a05/>
  183. <a06/>
  184. <a07/>
  185. <a08/>
  186. <a09/>
  187. <a10/>
  188. </rowdata>
  189. </year_cm>
  190. </main>
  191. <send>
  192. <fromdd/>
  193. <todd/>
  194. <iogbn/>
  195. <qrygbn/>
  196. <viewgbn/>
  197. </send>
  198. <init>
  199. </init>
  200. <hidden>
  201. <ref>
  202. <fromdd/>
  203. <todd/>
  204. <iogbn>1</iogbn>
  205. <qrygbn>1</qrygbn>
  206. <viewgbn>2</viewgbn>
  207. </ref>
  208. <report>
  209. <month/>
  210. <quarter/>
  211. <year/>
  212. </report>
  213. </hidden>
  214. </root>
  215. </instance>
  216. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  217. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  218. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  219. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  220. <script type="javascript" ev:event="xforms-ready">
  221. <![CDATA[
  222. model.toggle("dd");
  223. btn_ddstat.selected = true;
  224. var toDay = getCurrentDate();
  225. ipt_workfromdd.attribute("format") = "yyyy-mm";
  226. model.setValue("/root/hidden/ref/fromdd", toDay.substr(0, 6));
  227. fSetInit();
  228. ]]>
  229. </script>
  230. <submission id="TRLBS00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/days/rowdata"/>
  231. <submission id="TRLBS00802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/month/rowdata"/>
  232. <submission id="TRLBS00803" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/year/rowdata"/>
  233. <submission id="TRLBS00804" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/month_cm/rowdata"/>
  234. <submission id="TRLBS00805" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/year_cm/rowdata"/>
  235. </model>
  236. <script type="javascript">
  237. <![CDATA[
  238. function fSetInit(){
  239. model.removeNodeset("/root/main/days/rowdata");
  240. model.removeNodeset("/root/main/month/rowdata");
  241. model.removeNodeset("/root/main/year/rowdata");
  242. model.removeNodeset("/root/main/month_cm/rowdata");
  243. model.removeNodeset("/root/main/year_cm/rowdata");
  244. model.refresh();
  245. }
  246. function fchgQrygbn(qrygbn) {
  247. var toDay = getCurrentDate();
  248. model.setValue("/root/hidden/ref/qrygbn", qrygbn);
  249. if (qrygbn == "1") {
  250. model.toggle("case0");
  251. ipt_workfromdd.attribute("format") = "yyyy-mm";
  252. ipt_worktodd.visible = false;
  253. caption9.visible = false;
  254. model.setValue("/root/hidden/ref/fromdd", toDay.substr(0, 6));
  255. }
  256. else if (qrygbn == "2") {
  257. // 월별
  258. model.toggle("case1");
  259. ipt_workfromdd.attribute("format") = "yyyy";
  260. ipt_worktodd.visible = false;
  261. caption9.visible = false;
  262. model.setValue("/root/hidden/ref/fromdd", toDay.substr(0, 4));
  263. }
  264. else if (qrygbn == "3") {
  265. //년별
  266. model.toggle("case2");
  267. caption9.visible = true;
  268. ipt_workfromdd.attribute("format") = "yyyy";
  269. ipt_worktodd.attribute("format") = "yyyy";
  270. ipt_worktodd.visible = true;
  271. model.setValue("/root/hidden/ref/fromdd", toDay.substr(0, 4));
  272. model.setValue("/root/hidden/ref/todd", toDay.substr(0, 4));
  273. fYearCaption("");
  274. }
  275. else if (qrygbn == "4") {
  276. // 월별
  277. model.toggle("case3");
  278. ipt_workfromdd.attribute("format") = "yyyy";
  279. ipt_worktodd.visible = false;
  280. caption9.visible = false;
  281. model.setValue("/root/hidden/ref/fromdd", toDay.substr(0, 4));
  282. }
  283. else if (qrygbn == "5") {
  284. //년별
  285. model.toggle("case4");
  286. ipt_workfromdd.attribute("format") = "yyyy";
  287. ipt_worktodd.attribute("format") = "yyyy";
  288. ipt_worktodd.visible = true;
  289. caption9.visible = true;
  290. model.setValue("/root/hidden/ref/fromdd", toDay.substr(0, 4));
  291. model.setValue("/root/hidden/ref/todd", toDay.substr(0, 4));
  292. fYearCaption("cm");
  293. }
  294. model.refresh();
  295. }
  296. // 수혈환자수 조회
  297. function fGetTnsSideEffectCnt(){
  298. model.setValue("/root/send/fromdd", model.getValue("/root/hidden/ref/fromdd"));
  299. model.setValue("/root/send/todd", model.getValue("/root/hidden/ref/todd"));
  300. model.setValue("/root/send/iogbn", model.getValue("/root/hidden/ref/iogbn")); // 1=전체, 2= 입원, 3=외래
  301. model.setValue("/root/send/qrygbn", model.getValue("/root/hidden/ref/qrygbn")); // 1=일별, 2=월별, 3=연별,
  302. model.setValue("/root/send/viewgbn", model.getValue("/root/hidden/ref/viewgbn")); //1:진료과별, 2:혈액종류별
  303. model.removeNodeset("/root/main/days/rowdata");
  304. model.removeNodeset("/root/main/month/rowdata");
  305. model.removeNodeset("/root/main/year/rowdata");
  306. model.removeNodeset("/root/main/month_cm/rowdata");
  307. model.removeNodeset("/root/main/year_cm/rowdata");
  308. if(model.getValue("/root/hidden/ref/qrygbn") == "1"){
  309. submit("TRLBS00801");
  310. }
  311. else if(model.getValue("/root/hidden/ref/qrygbn") == "2"){
  312. submit("TRLBS00802");
  313. }
  314. else if(model.getValue("/root/hidden/ref/qrygbn") == "3"){
  315. fYearCaption("");
  316. submit("TRLBS00803");
  317. }
  318. else if(model.getValue("/root/hidden/ref/qrygbn") == "4"){
  319. submit("TRLBS00804");
  320. }
  321. else if(model.getValue("/root/hidden/ref/qrygbn") == "5"){
  322. fYearCaption("cm");
  323. submit("TRLBS00805");
  324. //model.alert("AAA");
  325. }
  326. }
  327. // 엑셀저장
  328. function fSaveExcel(){
  329. var filename = window.fileDialog("save", ",", false, "Excel", "xls", "All Files(*.*)|*.*|Excel File(*.xls)|*.xls");
  330. if(model.getValue("/root/hidden/ref/qrygbn")=="1"){ //일별
  331. if(filename != "") {
  332. grd_days.saveExcel(filename);
  333. }
  334. }else if(model.getValue("/root/hidden/ref/qrygbn")=="2"){ //월별
  335. if(filename != "") {
  336. grd_month.saveExcel(filename);
  337. }
  338. }else if(model.getValue("/root/hidden/ref/qrygbn")=="3"){//연별
  339. if(filename != "") {
  340. grd_year.saveExcel(filename);
  341. }
  342. }else if(model.getValue("/root/hidden/ref/qrygbn")=="4"){//유형(월별)
  343. if(filename != "") {
  344. grd_month_cm.saveExcel(filename);
  345. }
  346. }else if(model.getValue("/root/hidden/ref/qrygbn")=="5"){//유형(연별)
  347. if(filename != "") {
  348. grd_year_cm.saveExcel(filename);
  349. }
  350. }
  351. }
  352. // 연별 캡션 변경
  353. function fYearCaption(flag){
  354. var viewgbn = model.getValue("/root/hidden/ref/viewgbn" );
  355. var fromyy = model.getValue("/root/hidden/ref/fromdd").substr(0,4);
  356. var toyy = model.getValue("/root/hidden/ref/todd").substr(0,4);
  357. var newCap = "";
  358. var newCap2 = "";
  359. var temp = "";
  360. var cnt = "0";
  361. if (viewgbn == "1" ) {
  362. viewgbn = "진료과";
  363. }
  364. else {
  365. viewgbn = "혈액종류";
  366. }
  367. if (flag == "cm") {
  368. for(q=2; q<=10*3 +1; q++){
  369. grd_year_cm.colHidden(q) = true;
  370. }
  371. newCap = viewgbn + "^사유";
  372. newCap2 = viewgbn + "^사유";
  373. for(i=fromyy; i<=toyy; i++){
  374. newCap += "^" + i + "년" + "^" + i + "년" + "^" + i + "년";
  375. newCap2 += "^총건수^건수^%"
  376. cnt ++;
  377. }
  378. if(cnt > 10){
  379. alert("10년이상 조회하면 마비되요");
  380. }
  381. for(z=2; z<=cnt*3 + 1; z++){
  382. grd_year_cm.colHidden(z) = false;
  383. }
  384. grd_year_cm.caption = newCap + "|" + newCap2;
  385. }
  386. else {
  387. for(q=1; q<= 10 * 3 + 1 ; q++){
  388. grd_year.colHidden(q) = true;
  389. }
  390. newCap = viewgbn;
  391. newCap2 = viewgbn;
  392. for(i=fromyy; i<=toyy; i++){
  393. temp = "^" + i + "년";
  394. newCap += temp + temp + temp ;
  395. newCap2 += "^총출고^건수^%"
  396. cnt ++;
  397. }
  398. if(cnt > 10){
  399. alert("10년이상 조회하면 마비되요");
  400. }
  401. for(z=1; z<=cnt*3; z++){
  402. grd_year.colHidden(z) = false;
  403. }
  404. grd_year.caption = newCap + "|" + newCap2;
  405. }
  406. }
  407. ]]>
  408. </script>
  409. </xhtml:head>
  410. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  411. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744; ">
  412. <group id="group1" style="left:0px; top:10px; width:1195px; height:35px; ">
  413. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1195px; height:35px; "/>
  414. <button id="btn_ref" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  415. <caption>조회</caption>
  416. <script type="javascript" ev:event="DOMActivate">
  417. <![CDATA[
  418. fGetTnsSideEffectCnt();
  419. ]]>
  420. </script>
  421. </button>
  422. <line id="line3" class="line_4" style="x1:1108px; y1:6px; x2:1108px; y2:28px; "/>
  423. <caption id="caption5" class="search_name" style="left:380px; top:9px; width:92px; height:17px; ">입외구분 :</caption>
  424. <input id="ipt_workfromdd" ref="/root/hidden/ref/fromdd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:80px; top:8px; width:90px; height:19px; "/>
  425. <input id="ipt_worktodd" ref="/root/hidden/ref/todd" class="input_search" visibility="hidden" inputtype="date" format="yyyy-mm-dd" style="left:193px; top:8px; width:90px; height:19px; "/>
  426. <caption id="caption4" class="search_name" style="left:15px; top:9px; width:65px; height:17px; ">일자 :</caption>
  427. <caption id="caption9" class="search_no_b" visibility="hidden" style="left:177px; top:10px; width:13px; height:17px; ">~</caption>
  428. <select1 id="cmb_rtnabnflag" ref="/root/hidden/ref/iogbn" appearance="minimal" style="left:470px; top:8px; width:102px; height:19px; ">
  429. <choices>
  430. <item>
  431. <label>전체</label>
  432. <value>1</value>
  433. </item>
  434. <item>
  435. <label>입원환자</label>
  436. <value>2</value>
  437. </item>
  438. <item>
  439. <label>외래환자</label>
  440. <value>3</value>
  441. </item>
  442. </choices>
  443. </select1>
  444. <caption id="caption7" class="search_name" style="left:650px; top:9px; width:65px; height:17px; ">분류 :</caption>
  445. <select1 id="cmb_viewgbn" ref="/root/hidden/ref/viewgbn" appearance="minimal" style="left:715px; top:8px; width:145px; height:19px; ">
  446. <choices>
  447. <item>
  448. <label>진료과별</label>
  449. <value>1</value>
  450. </item>
  451. <item>
  452. <label>혈액종류별</label>
  453. <value>2</value>
  454. </item>
  455. <item>
  456. <label>전체유형</label>
  457. <value>00</value>
  458. </item>
  459. </choices>
  460. <script type="javascript" ev:event="onclick">
  461. <![CDATA[
  462. fSetInit();
  463. //fchgQrygbn();
  464. ]]>
  465. </script>
  466. </select1>
  467. </group>
  468. <switch id="switch1" style="left:0px; top:75px; width:1195px; height:665px; ">
  469. <case id="dd">
  470. <caption id="caption32" class="tit_2" style="left:10px; top:5px; width:180px; height:13px; ">일별 수혈부작용 건수</caption>
  471. <line id="line19" class="line_1" style="x1:5px; y1:20px; x2:1188px; y2:20px; "/>
  472. <datagrid id="grd_days" nodeset="/root/main/days/rowdata" caption="구분^총출고^건수^%^1일^2일^3일^4일^5일^6일^7일^8일^9일^10일^11일^12일^13일^14일^15일^16일^17일^18일^19일^20일^21일^22일^23일^24일^25일^26일^27일^28일^29일^30일^31일" colsep="^" colwidth="120, 80, 55, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45 ,45, 45, 45, 45, 45, 45 ,45" fixedcols="1" mergecellsfixedcols="byrestriccol" mergecellsfixedrows="never" rowsep="|" style="left:5px; top:25px; width:1183px; height:625px; ">
  473. <col ref="itemnm1" style="text-align:left; "/>
  474. <col ref="out" format="#,###" style="text-align:right; "/>
  475. <col ref="a00" format="#,###" style="text-align:right; "/>
  476. <col ref="per" format="#,###.##" style="text-align:right; "/>
  477. <col ref="a01" format="#,###" style="text-align:right; "/>
  478. <col ref="a02" format="#,###" style="text-align:right; "/>
  479. <col ref="a03" format="#,###" style="text-align:right; "/>
  480. <col ref="a04" format="#,###" style="text-align:right; "/>
  481. <col ref="a05" format="#,###" style="text-align:right; "/>
  482. <col ref="a06" format="#,###" style="text-align:right; "/>
  483. <col ref="a07" format="#,###" style="text-align:right; "/>
  484. <col ref="a08" format="#,###" style="text-align:right; "/>
  485. <col ref="a09" format="#,###" style="text-align:right; "/>
  486. <col ref="a10" format="#,###" style="text-align:right; "/>
  487. <col ref="a11" format="#,###" style="text-align:right; "/>
  488. <col ref="a12" format="#,###" style="text-align:right; "/>
  489. <col ref="a13" format="#,###" style="text-align:right; "/>
  490. <col ref="a14" format="#,###" style="text-align:right; "/>
  491. <col ref="a15" format="#,###" style="text-align:right; "/>
  492. <col ref="a16" format="#,###" style="text-align:right; "/>
  493. <col ref="a17" format="#,###" style="text-align:right; "/>
  494. <col ref="a18" format="#,###" style="text-align:right; "/>
  495. <col ref="a19" format="#,###" style="text-align:right; "/>
  496. <col ref="a20" format="#,###" style="text-align:right; "/>
  497. <col ref="a21" format="#,###" style="text-align:right; "/>
  498. <col ref="a22" format="#,###" style="text-align:right; "/>
  499. <col ref="a23" format="#,###" style="text-align:right; "/>
  500. <col ref="a24" format="#,###" style="text-align:right; "/>
  501. <col ref="a25" format="#,###" style="text-align:right; "/>
  502. <col ref="a26" format="#,###" style="text-align:right; "/>
  503. <col ref="a27" format="#,###" style="text-align:right; "/>
  504. <col ref="a28" format="#,###" style="text-align:right; "/>
  505. <col ref="a29" format="#,###" style="text-align:right; "/>
  506. <col ref="a30" format="#,###" style="text-align:right; "/>
  507. <col ref="a31" format="#,###" style="text-align:right; "/>
  508. </datagrid>
  509. </case>
  510. <case id="case1">
  511. <caption id="caption1" class="tit_2" style="left:10px; top:5px; width:131px; height:14px; ">월별 수혈부작용 건수</caption>
  512. <line id="line1" class="line_1" style="x1:5px; y1:20px; x2:1188px; y2:20px; "/>
  513. <datagrid id="grd_month" nodeset="/root/main/month/rowdata" caption="구분^1월^1월^1월^2월^2월^2월^3월^3월^3월^4월^4월^4월^5월^5월^5월^6월^6월^6월^7월^7월^7월^8월^8월^8월^9월^9월^9월^10월^10월^10월^11월^11월^11월^12월^12월^12월|구분^총출고^건수^%^총출고^건수^%^총출고^건수^%^총출고^건수^%^총출고^건수^%^총출고^건수^%^총출고^건수^%^총출고^건수^%^총출고^건수^%^총출고^건수^%^총출고^건수^%^총출고^건수^%" colsep="^" colwidth="120, 50, 45, 40, 50, 45, 40, 50, 45, 40, 50, 45, 40, 50, 45, 40, 50, 45, 40, 50, 45, 40, 50, 45, 40, 50, 45, 40, 50, 45, 40, 50, 45, 40, 50, 45, 40" fixedcols="1" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:25px; width:1183px; height:625px; ">
  514. <col ref="itemnm1" style="text-align:left; "/>
  515. <col ref="o01" format="#,###" style="text-align:right; "/>
  516. <col ref="a01" format="#,###" style="text-align:right; "/>
  517. <col ref="p01" format="#,###.##" style="text-align:right; "/>
  518. <col ref="o02" format="#,###" style="text-align:right; "/>
  519. <col ref="a02" format="#,###" style="text-align:right; "/>
  520. <col ref="p02" format="#,###.##" style="text-align:right; "/>
  521. <col ref="o03" format="#,###" style="text-align:right; "/>
  522. <col ref="a03" format="#,###" style="text-align:right; "/>
  523. <col ref="p03" format="#,###.##" style="text-align:right; "/>
  524. <col ref="o04" format="#,###" style="text-align:right; "/>
  525. <col ref="a04" format="#,###" style="text-align:right; "/>
  526. <col ref="p04" format="#,###.##" style="text-align:right; "/>
  527. <col ref="o05" format="#,###" style="text-align:right; "/>
  528. <col ref="a05" format="#,###" style="text-align:right; "/>
  529. <col ref="p05" format="#,###.##" style="text-align:right; "/>
  530. <col ref="o06" format="#,###" style="text-align:right; "/>
  531. <col ref="a06" format="#,###" style="text-align:right; "/>
  532. <col ref="p06" format="#,###.##" style="text-align:right; "/>
  533. <col ref="o07" format="#,###" style="text-align:right; "/>
  534. <col ref="a07" format="#,###" style="text-align:right; "/>
  535. <col ref="p07" format="#,###.##" style="text-align:right; "/>
  536. <col ref="o08" format="#,###" style="text-align:right; "/>
  537. <col ref="a08" format="#,###" style="text-align:right; "/>
  538. <col ref="p08" format="#,###.##" style="text-align:right; "/>
  539. <col ref="o09" format="#,###" style="text-align:right; "/>
  540. <col ref="a09" format="#,###" style="text-align:right; "/>
  541. <col ref="p09" format="#,###.##" style="text-align:right; "/>
  542. <col ref="o10" format="#,###" style="text-align:right; "/>
  543. <col ref="a10" format="#,###" style="text-align:right; "/>
  544. <col ref="p10" format="#,###.##" style="text-align:right; "/>
  545. <col ref="o11" format="#,###" style="text-align:right; "/>
  546. <col ref="a11" format="#,###" style="text-align:right; "/>
  547. <col ref="p11" format="#,###.##" style="text-align:right; "/>
  548. <col ref="o12" format="#,###" style="text-align:right; "/>
  549. <col ref="a12" format="#,###" style="text-align:right; "/>
  550. <col ref="p12" format="#,###.##" style="text-align:right; "/>
  551. </datagrid>
  552. <col ref="p12" format="#,###" style="text-align:right; "/>
  553. </case>
  554. <case id="case2">
  555. <caption id="caption2" class="tit_2" style="left:10px; top:5px; width:131px; height:14px; ">연별 수혈부작용 건수</caption>
  556. <line id="line2" class="line_1" style="x1:5px; y1:20px; x2:1188px; y2:20px; "/>
  557. <datagrid id="grd_year" nodeset="/root/main/year/rowdata" caption="구분^1년^1년^1년^2년^2년^2년^3년^3년^3년^4년^4년^4년^5년^5년^5년^6년^6년^6년^7년^7년^7년^8년^8년^8년^9년^9년^9년^10년^10년|구분^총출고^건수^%^총출고^건수^%^총출고^건수^%^총출고^건수^%^총출고^건수^%^총출고^건수^%^총출고^건수^%^총출고^건수^%^총출고^건수^%^총출고^건수^%" colsep="^" colwidth="120, 60, 50, 45, 60, 50, 45, 60, 50, 45, 60, 50, 45, 60, 50, 45, 60, 50, 45, 60, 50, 45, 60, 50, 45, 60, 50, 45, 60, 50, 45" fixedcols="1" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:25px; width:1183px; height:625px; ">
  558. <col ref="itemnm1" style="text-align:left; "/>
  559. <col ref="o01" format="#,###" style="text-align:right; "/>
  560. <col ref="a01" format="#,###" style="text-align:right; "/>
  561. <col ref="p01" format="#,###.##" style="text-align:right; "/>
  562. <col ref="o02" format="#,###" style="text-align:right; "/>
  563. <col ref="a02" format="#,###" style="text-align:right; "/>
  564. <col ref="p02" format="#,###.##" style="text-align:right; "/>
  565. <col ref="o03" format="#,###" style="text-align:right; "/>
  566. <col ref="a03" format="#,###" style="text-align:right; "/>
  567. <col ref="p03" format="#,###.##" style="text-align:right; "/>
  568. <col ref="o04" format="#,###" style="text-align:right; "/>
  569. <col ref="a04" format="#,###" style="text-align:right; "/>
  570. <col ref="p04" format="#,###.##" style="text-align:right; "/>
  571. <col ref="o05" format="#,###" style="text-align:right; "/>
  572. <col ref="a05" format="#,###" style="text-align:right; "/>
  573. <col ref="p05" format="#,###.##" style="text-align:right; "/>
  574. <col ref="o06" format="#,###" style="text-align:right; "/>
  575. <col ref="a06" format="#,###" style="text-align:right; "/>
  576. <col ref="p06" format="#,###.##" style="text-align:right; "/>
  577. <col ref="o07" format="#,###" style="text-align:right; "/>
  578. <col ref="a07" format="#,###" style="text-align:right; "/>
  579. <col ref="p07" format="#,###.##" style="text-align:right; "/>
  580. <col ref="o08" format="#,###" style="text-align:right; "/>
  581. <col ref="a08" format="#,###" style="text-align:right; "/>
  582. <col ref="p08" format="#,###.##" style="text-align:right; "/>
  583. <col ref="o09" format="#,###" style="text-align:right; "/>
  584. <col ref="a09" format="#,###" style="text-align:right; "/>
  585. <col ref="p09" format="#,###.##" style="text-align:right; "/>
  586. <col ref="o10" format="#,###" style="text-align:right; "/>
  587. <col ref="a10" format="#,###" style="text-align:right; "/>
  588. <col ref="p10" format="#,###.##" style="text-align:right; "/>
  589. </datagrid>
  590. </case>
  591. <case id="case3">
  592. <caption id="caption3" class="tit_2" style="left:10px; top:5px; width:131px; height:14px; ">유형(월별) 수혈부작용 건수</caption>
  593. <line id="line4" class="line_1" style="x1:5px; y1:20px; x2:1188px; y2:20px; "/>
  594. <datagrid id="grd_month_cm" nodeset="/root/main/month_cm/rowdata" caption="구분^사유^건수^%^1월^2월^3월^4월^5월^6월^7월^8월^9월^10월^11월^12월" colsep="^" colwidth="120, 200, 70, 60, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45" fixedcols="2" mergecellsfixedcols="bycolrec" mergecellsfixedrows="byrowrec" rowsep="|" style="left:5px; top:25px; width:1183px; height:625px; ">
  595. <col ref="itemnm1" style="text-align:center; "/>
  596. <col ref="itemnm2" style="text-align:left; "/>
  597. <col ref="a00" format="#,###" style="text-align:right; "/>
  598. <col ref="per" format="#,###.##" style="text-align:right; "/>
  599. <col ref="a01" format="#,###" style="text-align:right; "/>
  600. <col ref="a02" format="#,###" style="text-align:right; "/>
  601. <col ref="a03" format="#,###" style="text-align:right; "/>
  602. <col ref="a04" format="#,###" style="text-align:right; "/>
  603. <col ref="a05" format="#,###" style="text-align:right; "/>
  604. <col ref="a06" format="#,###" style="text-align:right; "/>
  605. <col ref="a07" format="#,###" style="text-align:right; "/>
  606. <col ref="a08" format="#,###" style="text-align:right; "/>
  607. <col ref="a09" format="#,###" style="text-align:right; "/>
  608. <col ref="a10" format="#,###" style="text-align:right; "/>
  609. <col ref="a11" format="#,###" style="text-align:right; "/>
  610. <col ref="a12" format="#,###" style="text-align:right; "/>
  611. </datagrid>
  612. </case>
  613. <case id="case4" selected="true">
  614. <caption id="caption6" class="tit_2" style="left:10px; top:5px; width:131px; height:14px; ">유형(연별) 수혈부작용 건수</caption>
  615. <line id="line5" class="line_1" style="x1:5px; y1:20px; x2:1188px; y2:20px; "/>
  616. <datagrid id="grd_year_cm" nodeset="/root/main/year_cm/rowdata" caption="구분^사유^1년^1년^1년^2년^2년^2년^3년^3년^3년^4년^4년^4년^5년^5년^5년^6년^6년^6년^7년^7년^7년^8년^8년^8년^9년^9년^9년^10년^10년^10년|구분^사유^총건수^건수^%^총건수^건수^%^총건수^건수^%^총건수^건수^%^총건수^건수^%^6년^6년^6년^6년^6년^6년^6년^6년^6년^6년^6년^6년^6년^6년^6년" colsep="^" colwidth="120, 200, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50" fixedcols="2" mergecellsfixedcols="bycolrec" mergecellsfixedrows="byrowrec" rowsep="|" style="left:5px; top:25px; width:1183px; height:625px; ">
  617. <col ref="itemnm1" style="text-align:center; "/>
  618. <col ref="itemnm2" style="text-align:left; "/>
  619. <col ref="o01" format="#,###" style="text-align:right; "/>
  620. <col ref="a01" format="#,###" style="text-align:right; "/>
  621. <col ref="p01" format="#,###.##" style="text-align:right; "/>
  622. <col ref="o02" format="#,###" style="text-align:right; "/>
  623. <col ref="a02" format="#,###" style="text-align:right; "/>
  624. <col ref="p02" format="#,###.##" style="text-align:right; "/>
  625. <col ref="o03" format="#,###" style="text-align:right; "/>
  626. <col ref="a03" format="#,###" style="text-align:right; "/>
  627. <col ref="p03" format="#,###.##" style="text-align:right; "/>
  628. <col ref="o04" format="#,###" style="text-align:right; "/>
  629. <col ref="a04" format="#,###" style="text-align:right; "/>
  630. <col ref="p04" format="#,###.##" style="text-align:right; "/>
  631. <col ref="o05" format="#,###" style="text-align:right; "/>
  632. <col ref="a05" format="#,###" style="text-align:right; "/>
  633. <col ref="p05" format="#,###.##" style="text-align:right; "/>
  634. <col ref="o06" format="#,###" style="text-align:right; "/>
  635. <col ref="a06" format="#,###" style="text-align:right; "/>
  636. <col ref="p06" format="#,###.##" style="text-align:right; "/>
  637. <col ref="o07" format="#,###" style="text-align:right; "/>
  638. <col ref="a07" format="#,###" style="text-align:right; "/>
  639. <col ref="p07" format="#,###.##" style="text-align:right; "/>
  640. <col ref="o08" format="#,###" style="text-align:right; "/>
  641. <col ref="a08" format="#,###" style="text-align:right; "/>
  642. <col ref="p08" format="#,###.##" style="text-align:right; "/>
  643. <col ref="o09" format="#,###" style="text-align:right; "/>
  644. <col ref="a09" format="#,###" style="text-align:right; "/>
  645. <col ref="p09" format="#,###.##" style="text-align:right; "/>
  646. <col ref="o10" format="#,###" style="text-align:right; "/>
  647. <col ref="a10" format="#,###" style="text-align:right; "/>
  648. <col ref="p10" format="#,###.##" style="text-align:right; "/>
  649. </datagrid>
  650. </case>
  651. </switch>
  652. <button id="btn_excel" class="btn2_letter2" style="left:1152px; top:53px; width:42px; height:19px; ">
  653. <caption>엑셀</caption>
  654. <script type="javascript" ev:event="DOMActivate">
  655. <![CDATA[
  656. fSaveExcel();
  657. ]]>
  658. </script>
  659. </button>
  660. <button id="btn_ccstat" class="btn_sw" group="tab" style="left:222px; top:55px; width:75px; height:22px; ">
  661. <caption>유형(월별)</caption>
  662. <toggle case="cm" ev:event="DOMActivate"/>
  663. <script type="javascript" ev:event="DOMActivate">
  664. <![CDATA[
  665. fchgQrygbn("4");
  666. ]]>
  667. </script>
  668. </button>
  669. <button id="btn_yystat" class="btn_sw" group="tab" style="left:148px; top:55px; width:75px; height:22px; ">
  670. <caption>연별 통계</caption>
  671. <toggle case="yy" ev:event="DOMActivate"/>
  672. <script type="javascript" ev:event="DOMActivate">
  673. <![CDATA[
  674. fchgQrygbn("3");
  675. ]]>
  676. </script>
  677. </button>
  678. <button id="btn_mmstat" class="btn_sw" group="tab" style="left:74px; top:55px; width:75px; height:22px; ">
  679. <caption>월별 통계</caption>
  680. <toggle case="mm" ev:event="DOMActivate"/>
  681. <script type="javascript" ev:event="DOMActivate">
  682. <![CDATA[
  683. fchgQrygbn("2");
  684. ]]>
  685. </script>
  686. </button>
  687. <button id="btn_ddstat" class="btn_sw" group="tab" style="left:0px; top:55px; width:75px; height:22px; ">
  688. <caption>일별 통계</caption>
  689. <toggle case="dd" ev:event="DOMActivate"/>
  690. <script type="javascript" ev:event="DOMActivate">
  691. <![CDATA[
  692. fchgQrygbn("1");
  693. ]]>
  694. </script>
  695. </button>
  696. <button id="btn_cystat" class="btn_sw" group="tab" style="left:296px; top:55px; width:75px; height:22px; ">
  697. <caption>유형(연별)</caption>
  698. <toggle case="cy" ev:event="DOMActivate"/>
  699. <script type="javascript" ev:event="DOMActivate">
  700. <![CDATA[
  701. fchgQrygbn("5");;
  702. ]]>
  703. </script>
  704. </button>
  705. </group>
  706. <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
  707. <button id="btn_reset" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
  708. <caption>초기화</caption>
  709. <script type="javascript" ev:event="DOMActivate">
  710. <![CDATA[
  711. fSetInit();
  712. ]]>
  713. </script>
  714. </button>
  715. <line id="line6" class="line_2" style="x1:0px; y1:25px; x2:1195px; y2:25px; "/>
  716. </group>
  717. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  718. <caption id="caption10" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">수혈부작용 건수</caption>
  719. </group>
  720. </xhtml:body>
  721. </xhtml:html>