SMLBS00600_혈액방사선조사건수.xrw 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLBS00600_혈액방사선조사건수.xrw
  4. * 설 명 : 혈액방사선조사건수
  5. * 설 계 자 : (주)에이씨케이 - 박정은
  6. * 작 성 자 : (주)에이씨케이 - 박정은
  7. * 작 성 일 : 2008.07.15
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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. <day>
  20. <blodcomnm/>
  21. <bm01/>
  22. <bm01i/>
  23. <bm02/>
  24. <bm02i/>
  25. <bm03/>
  26. <bm03i/>
  27. <bm04/>
  28. <bm04i/>
  29. <bm05/>
  30. <bm05i/>
  31. <bm06/>
  32. <bm06i/>
  33. <bm07/>
  34. <bm07i/>
  35. <bm08/>
  36. <bm08i/>
  37. <bm09/>
  38. <bm09i/>
  39. <bm10/>
  40. <bm10i/>
  41. <bm11/>
  42. <bm11i/>
  43. <bm12/>
  44. <bm12i/>
  45. <bm13/>
  46. <bm13i/>
  47. <bm14/>
  48. <bm14i/>
  49. <bm15/>
  50. <bm15i/>
  51. <bm16/>
  52. <bm16i/>
  53. <bm17/>
  54. <bm17i/>
  55. <bm18/>
  56. <bm18i/>
  57. <bm19/>
  58. <bm19i/>
  59. <bm20/>
  60. <bm20i/>
  61. <bm21/>
  62. <bm21i/>
  63. <bm22/>
  64. <bm22i/>
  65. <bm23/>
  66. <bm23i/>
  67. <bm24/>
  68. <bm24i/>
  69. <bm25/>
  70. <bm25i/>
  71. <bm26/>
  72. <bm26i/>
  73. <bm27/>
  74. <bm27i/>
  75. <bm28/>
  76. <bm28i/>
  77. <bm29/>
  78. <bm29i/>
  79. <bm30/>
  80. <bm30i/>
  81. <bm31/>
  82. <bm31i/>
  83. <hap/>
  84. <hapi/>
  85. </day>
  86. <month>
  87. <blodcomnm/>
  88. <bm01/>
  89. <bm01i/>
  90. <bm02/>
  91. <bm02i/>
  92. <bm03/>
  93. <bm03i/>
  94. <bm04/>
  95. <bm04i/>
  96. <bm05/>
  97. <bm05i/>
  98. <bm06/>
  99. <bm06i/>
  100. <bm07/>
  101. <bm07i/>
  102. <bm08/>
  103. <bm08i/>
  104. <bm09/>
  105. <bm09i/>
  106. <bm10/>
  107. <bm10i/>
  108. <bm11/>
  109. <bm11i/>
  110. <bm12/>
  111. <bm12i/>
  112. <hap/>
  113. <hapi/>
  114. </month>
  115. <year>
  116. <blodcomnm/>
  117. <bm01/>
  118. <bm01i/>
  119. <bm02/>
  120. <bm02i/>
  121. <bm03/>
  122. <bm03i/>
  123. <bm04/>
  124. <bm04i/>
  125. <bm05/>
  126. <bm05i/>
  127. <bm06/>
  128. <bm06i/>
  129. <bm07/>
  130. <bm07i/>
  131. <bm08/>
  132. <bm08i/>
  133. <bm09/>
  134. <bm09i/>
  135. <hap/>
  136. <hapi/>
  137. </year>
  138. </main>
  139. <send>
  140. <fromdd/>
  141. <todd/>
  142. <gbn/>
  143. <flag/>
  144. </send>
  145. <init>
  146. </init>
  147. <hidden>
  148. <ref>
  149. <fromdd/>
  150. <todd/>
  151. <gbn/>
  152. <flag/>
  153. <yy/>
  154. </ref>
  155. <report>
  156. <month/>
  157. <quarter/>
  158. <year/>
  159. </report>
  160. </hidden>
  161. </root>
  162. </instance>
  163. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  164. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  165. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  166. <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
  167. <script type="javascript" ev:event="xforms-ready">
  168. <![CDATA[
  169. fSetInit();
  170. ]]>
  171. </script>
  172. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init"/>
  173. <submission id="TRLBS00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/month"/>
  174. <submission id="TRLBS00303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/year"/>
  175. <submission id="TRLBS00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/month"/>
  176. <submission id="TRLBS00603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/year"/>
  177. <submission id="TRLBS00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/day"/>
  178. </model>
  179. <script type="javascript">
  180. <![CDATA[
  181. //초기화
  182. function fSetInit(){
  183. model.setValue("/root/hidden/ref/fromdd", getCurrentDate());
  184. model.setValue("/root/hidden/ref/todd" , getCurrentDate());
  185. fBaseInfoRef("0002|"); //0002 : 진료과
  186. model.removeNodeset("/root/main/day");
  187. model.removeNodeset("/root/main/month");
  188. model.removeNodeset("/root/main/year");
  189. model.setValue("/root/hidden/ref/gbn", "00"); // 00=전체
  190. btn_1.selected = false;
  191. btn_2.selected = true;
  192. btn_3.selected = false;
  193. model.setValue("/root/hidden/ref/flag", "2"); // 1=일별 2=월별 3=연별
  194. model.toggle("case2");
  195. model.refresh();
  196. }
  197. // 수혈환자수 조회
  198. function fGetIrrCnt(){
  199. model.setValue("/root/send/fromdd", model.getValue("/root/hidden/ref/fromdd"));
  200. model.setValue("/root/send/todd", model.getValue("/root/hidden/ref/todd"));
  201. model.setValue("/root/send/gbn", model.getValue("/root/hidden/ref/gbn")); // 진료과
  202. if(model.getValue("/root/hidden/ref/flag")=="1"){ // 일별
  203. //fDayCaption();
  204. submit("TRLBS00601");
  205. }else if(model.getValue("/root/hidden/ref/flag")=="2"){ //월별
  206. submit("TRLBS00602");
  207. }else if(model.getValue("/root/hidden/ref/flag")=="3"){ //연별
  208. fYearCaption();
  209. submit("TRLBS00603");
  210. }
  211. }
  212. // 엑셀저장
  213. function fSaveExcel(){
  214. var filename = window.fileDialog("save", ",", false, "Excel", "xls", "All Files(*.*)|*.*|Excel File(*.xls)|*.xls");
  215. if(model.getValue("/root/hidden/ref/flag")=="1"){//일별
  216. if(filename != "") {
  217. grd_day.saveExcel(filename);
  218. }
  219. }else if(model.getValue("/root/hidden/ref/flag")=="2"){//월별
  220. if(filename != "") {
  221. grd_month.saveExcel(filename);
  222. }
  223. }else if(model.getValue("/root/hidden/ref/flag")=="3"){//연별
  224. if(filename != "") {
  225. grd_year.saveExcel(filename);
  226. }
  227. }
  228. }
  229. // 출력
  230. function fExePrint(){
  231. if(model.getValue("/root/hidden/ref/flag")=="1"){ //월별
  232. model.removeNodeset("/root/hidden/report/month");
  233. for(i=1; i<grd_month.rows; i++){
  234. copyNodeListType("/root/hidden/report", "/root/main/month["+i+"]", "arter");
  235. }
  236. model.makeValue("/root/hidden/report/fromdd", model.getValue("/root/hidden/ref/fromdd"));
  237. model.makeValue("/root/hidden/report/todd", model.getValue("/root/hidden/ref/todd"));
  238. exeReportPreview("RPLBS00300", "XMLSTR", "/root/hidden/report");
  239. }else if(model.getValue("/root/hidden/ref/flag")=="2"){ //분기별
  240. model.removeNodeset("/root/hidden/report/quarter");
  241. for(i=1; i<grd_quarter.rows; i++){
  242. copyNodeListType("/root/hidden/report", "/root/main/quarter["+i+"]", "after");
  243. }
  244. model.makeValue("/root/hidden/report/fromdd", model.getValue("/root/hidden/ref/fromdd"));
  245. model.makeValue("/root/hidden/report/todd", model.getValue("/root/hidden/ref/todd"));
  246. exeReportPreview("RPLBS00400", "XMLSTR", "/root/hidden/report");
  247. }else if(model.getValue("/root/hidden/ref/flag")=="3"){ //연별
  248. model.removeNodeset("/root/hidden/report/year");
  249. for(i=1; i<grd_year.rows; i++){
  250. copyNodeListType("/root/hidden/report", "/root/main/year["+i+"]", "after");
  251. }
  252. model.makeValue("/root/hidden/report/fromdd", model.getValue("/root/hidden/ref/fromdd"));
  253. model.makeValue("/root/hidden/report/todd", model.getValue("/root/hidden/ref/todd"));
  254. var sdd = parseInt(model.getValue("/root/hidden/ref/fromdd").substr(0,4));
  255. model.makeValue("/root/hidden/report/title/title1", sdd);
  256. model.makeValue("/root/hidden/report/title/title2", (sdd+1));
  257. model.makeValue("/root/hidden/report/title/title3", (sdd+2));
  258. model.makeValue("/root/hidden/report/title/title4", (sdd+3));
  259. model.makeValue("/root/hidden/report/title/title5", (sdd+4));
  260. model.makeValue("/root/hidden/report/title/title6", (sdd+5));
  261. model.makeValue("/root/hidden/report/title/title7", (sdd+6));
  262. model.makeValue("/root/hidden/report/title/title8", (sdd+7));
  263. model.makeValue("/root/hidden/report/title/title9", (sdd+8));
  264. model.makeValue("/root/hidden/report/title/title10", (sdd+9));
  265. exeReportPreview("RPLBS00500", "XMLSTR", "/root/hidden/report");
  266. }
  267. }
  268. // 일별 캡션 변경
  269. function fDayCaption(){
  270. for(q=1; q<=22; q++){ // 그리드 col -2 Total 빼기
  271. grd_day.colHidden(q) = true;
  272. }
  273. var fromdd = model.getValue("/root/hidden/ref/fromdd");
  274. var todd = model.getValue("/root/hidden/ref/todd");
  275. var newCap = "성분제제";
  276. var cnt = "0";
  277. var newCap1 = "";
  278. var newCap2 = "";
  279. // 성분제제^^^^^^^^^^^^^^^^^^^Total^Total|성분제제^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선
  280. for(i=fromdd; i<=todd; i++){
  281. newCap1 += "^" + i + "^" + i;
  282. newCap2 += "^출고^방사선";
  283. cnt ++;
  284. }
  285. newCap += newCap1 + "^Total^Total|" + newCap + newCap2;
  286. if(cnt > 31){
  287. alert("한달이내로 조회하세요 ");
  288. }
  289. for(z=1; z<=cnt*2; z++){ // 출고, 방사선 2칸씩 추가로 보여야됨
  290. grd_day.colHidden(z) = false;
  291. }
  292. //grd_day.caption = newCap;
  293. }
  294. // 연별 캡션 변경
  295. function fYearCaption(){
  296. for(q=1; q<=30; q++){
  297. grd_year.colHidden(q) = true;
  298. }
  299. var fromyy = model.getValue("/root/hidden/ref/fromdd").substr(0,4);
  300. var toyy = model.getValue("/root/hidden/ref/todd").substr(0,4);
  301. var newCap = "성분제제";
  302. var cnt = "0";
  303. var newCap1 = "";
  304. var newCap2 = "";
  305. // 성분제제^^^^^^^^^^^^^^^^^^^Total^Total|성분제제^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선
  306. for(i=fromyy; i<=toyy; i++){
  307. newCap1 += "^" + i + "^" + i+ "^" + i;
  308. newCap2 += "^출고^방사선^%";
  309. cnt ++;
  310. }
  311. //newCap += newCap1 + "^Total^Total|" + newCap + newCap2;
  312. newCap += newCap1 + "|" + newCap + newCap2;
  313. if(cnt > 9){
  314. alert("9년이상 조회하면 마비되요");
  315. }
  316. for(z=1; z<=cnt*3; z++){ // 출고, 방사선 2칸씩 추가로 보여야됨
  317. grd_year.colHidden(z) = false;
  318. }
  319. grd_year.caption = newCap;
  320. }
  321. ]]>
  322. </script>
  323. </xhtml:head>
  324. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  325. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744; ">
  326. <group id="group1" style="left:0px; top:10px; width:1195px; height:35px; ">
  327. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1195px; height:35px; "/>
  328. <button id="btn_ref" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  329. <caption>조회</caption>
  330. <script type="javascript" ev:event="DOMActivate">
  331. <![CDATA[
  332. fGetIrrCnt();
  333. ]]>
  334. </script>
  335. </button>
  336. <line id="line3" class="line_4" style="x1:1108px; y1:6px; x2:1108px; y2:28px; "/>
  337. <caption id="caption5" class="search_name" style="left:383px; top:9px; width:73px; height:17px; ">진료과 :</caption>
  338. <input id="ipt_workfromdd" ref="/root/hidden/ref/fromdd" class="input_search" inputtype="date" style="left:128px; top:8px; width:90px; height:19px; "/>
  339. <input id="ipt_worktodd" ref="/root/hidden/ref/todd" class="input_search" inputtype="date" style="left:233px; top:8px; width:90px; height:19px; "/>
  340. <caption id="caption4" class="search_name" style="left:15px; top:9px; width:110px; height:17px; ">통계 희망일 :</caption>
  341. <caption id="caption9" class="search_no_b" style="left:220px; top:10px; width:13px; height:17px; ">~</caption>
  342. <select1 id="cmb_rtnabnflag" ref="/root/hidden/ref/gbn" appearance="minimal" itemcount="20" style="left:463px; top:8px; width:102px; height:19px; ">
  343. <choices>
  344. <itemset nodeset="/root/init/LB0002">
  345. <label ref="etc01"/>
  346. <value ref="cd"/>
  347. </itemset>
  348. </choices>
  349. </select1>
  350. <select id="checkbox1" visibility="hidden" overflow="visible" appearance="full" style="left:672px; top:9px; width:45px; height:20px; border-style:none; ">
  351. <choices>
  352. <item>
  353. <label>%</label>
  354. <value>1</value>
  355. </item>
  356. </choices>
  357. </select>
  358. <caption id="caption3" class="search_name" visibility="hidden" style="left:595px; top:9px; width:73px; height:17px; ">퍼센트 :</caption>
  359. </group>
  360. <switch id="switch1" style="left:0px; top:75px; width:1195px; height:665px; ">
  361. <case id="case1">
  362. <caption id="caption32" class="tit_2" style="left:5px; top:5px; width:131px; height:13px; ">일별 수혈환자수</caption>
  363. <line id="line19" class="line_1" style="x1:0px; y1:20px; x2:1188px; y2:20px; "/>
  364. <datagrid id="grd_day" nodeset="/root/main/day" caption="성분제제^1^1^2^2^3^3^4^4^5^5^6^6^7^7^8^8^9^9^10^10^11^11^12^12^13^13^14^14^15^15^16^16^17^17^18^18^19^19^20^20^21^21^22^22^23^23^24^24^25^25^26^26^27^27^28^28^29^29^30^30^31^31^Total^Total|성분제제^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선" colsep="^" colwidth="60, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 40, 40" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:0px; top:25px; width:1188px; height:630px; font-size:10pt; ">
  365. <col ref="blodcomnm"/>
  366. <col ref="bm01" style="text-align:right; "/>
  367. <col ref="bm01i" style="text-align:right; "/>
  368. <col ref="bm02" style="text-align:right; "/>
  369. <col ref="bm02i" style="text-align:right; "/>
  370. <col ref="bm03" style="text-align:right; "/>
  371. <col ref="bm03i" style="text-align:right; "/>
  372. <col ref="bm04" style="text-align:right; "/>
  373. <col ref="bm04i" style="text-align:right; "/>
  374. <col ref="bm05" style="text-align:right; "/>
  375. <col ref="bm05i" style="text-align:right; "/>
  376. <col ref="bm06" style="text-align:right; "/>
  377. <col ref="bm06i" style="text-align:right; "/>
  378. <col ref="bm07" style="text-align:right; "/>
  379. <col ref="bm07i" style="text-align:right; "/>
  380. <col ref="bm08" style="text-align:right; "/>
  381. <col ref="bm08i" style="text-align:right; "/>
  382. <col ref="bm09" style="text-align:right; "/>
  383. <col ref="bm09i" style="text-align:right; "/>
  384. <col ref="bm10" style="text-align:right; "/>
  385. <col ref="bm10i" style="text-align:right; "/>
  386. <col ref="bm11" style="text-align:right; "/>
  387. <col ref="bm11i" style="text-align:right; "/>
  388. <col ref="bm12" style="text-align:right; "/>
  389. <col ref="bm12i" style="text-align:right; "/>
  390. <col ref="bm13" style="text-align:right; "/>
  391. <col ref="bm13i" style="text-align:right; "/>
  392. <col ref="bm14" style="text-align:right; "/>
  393. <col ref="bm14i" style="text-align:right; "/>
  394. <col ref="bm15" style="text-align:right; "/>
  395. <col ref="bm15i" style="text-align:right; "/>
  396. <col ref="bm16" style="text-align:right; "/>
  397. <col ref="bm16i" style="text-align:right; "/>
  398. <col ref="bm17" style="text-align:right; "/>
  399. <col ref="bm17i" style="text-align:right; "/>
  400. <col ref="bm18" style="text-align:right; "/>
  401. <col ref="bm18i" style="text-align:right; "/>
  402. <col ref="bm19" style="text-align:right; "/>
  403. <col ref="bm19i" style="text-align:right; "/>
  404. <col ref="bm20" style="text-align:right; "/>
  405. <col ref="bm20i" style="text-align:right; "/>
  406. <col ref="bm21" style="text-align:right; "/>
  407. <col ref="bm21i" style="text-align:right; "/>
  408. <col ref="bm22" style="text-align:right; "/>
  409. <col ref="bm22i" style="text-align:right; "/>
  410. <col ref="bm23" style="text-align:right; "/>
  411. <col ref="bm23i" style="text-align:right; "/>
  412. <col ref="bm24" style="text-align:right; "/>
  413. <col ref="bm24i" style="text-align:right; "/>
  414. <col ref="bm25" style="text-align:right; "/>
  415. <col ref="bm25i" style="text-align:right; "/>
  416. <col ref="bm26" style="text-align:right; "/>
  417. <col ref="bm26i" style="text-align:right; "/>
  418. <col ref="bm27" style="text-align:right; "/>
  419. <col ref="bm27i" style="text-align:right; "/>
  420. <col ref="bm28" style="text-align:right; "/>
  421. <col ref="bm28i" style="text-align:right; "/>
  422. <col ref="bm29" style="text-align:right; "/>
  423. <col ref="bm29i" style="text-align:right; "/>
  424. <col ref="bm30" style="text-align:right; "/>
  425. <col ref="bm30i" style="text-align:right; "/>
  426. <col ref="bm31" style="text-align:right; "/>
  427. <col ref="bm31i" style="text-align:right; "/>
  428. <col ref="hap" style="text-align:right; "/>
  429. <col ref="hapi" style="text-align:right; "/>
  430. </datagrid>
  431. </case>
  432. <case id="case2">
  433. <caption id="caption2" class="tit_2" style="left:5px; top:5px; width:157px; height:13px; ">월별 방사선조사 건수</caption>
  434. <line id="line1" class="line_1" style="x1:0px; y1:20px; x2:1191px; y2:20px; "/>
  435. <datagrid id="grd_month" nodeset="/root/main/month" caption="성분제제^1월^1월^2월^2월^3월^3월^4월^4월^5월^5월^6월^6월^7월^7월^8월^8월^9월^9월^10월^10월^11월^11월^12월^12월^Total^Total^Total|성분제제^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^출고^방사선^%" colsep="^" colwidth="80, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 46, 46, 46" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:25px; width:1191px; height:635px; ">
  436. <col ref="blodcomnm"/>
  437. <col ref="bm01" style="text-align:right; "/>
  438. <col ref="bm01i" style="text-align:right; "/>
  439. <col ref="bm02" style="text-align:right; "/>
  440. <col ref="bm02i" style="text-align:right; "/>
  441. <col ref="bm03" style="text-align:right; "/>
  442. <col ref="bm03i" style="text-align:right; "/>
  443. <col ref="bm04" style="text-align:right; "/>
  444. <col ref="bm04i" style="text-align:right; "/>
  445. <col ref="bm05" style="text-align:right; "/>
  446. <col ref="bm05i" style="text-align:right; "/>
  447. <col ref="bm06" style="text-align:right; "/>
  448. <col ref="bm06i" style="text-align:right; "/>
  449. <col ref="bm07" style="text-align:right; "/>
  450. <col ref="bm07i" style="text-align:right; "/>
  451. <col ref="bm08" style="text-align:right; "/>
  452. <col ref="bm08i" style="text-align:right; "/>
  453. <col ref="bm09" style="text-align:right; "/>
  454. <col ref="bm09i" style="text-align:right; "/>
  455. <col ref="bm10" style="text-align:right; "/>
  456. <col ref="bm10i" style="text-align:right; "/>
  457. <col ref="bm11" style="text-align:right; "/>
  458. <col ref="bm11i" style="text-align:right; "/>
  459. <col ref="bm12" style="text-align:right; "/>
  460. <col ref="bm12i" style="text-align:right; "/>
  461. <col ref="hap" style="text-align:right; "/>
  462. <col ref="hapi" style="text-align:right; "/>
  463. <col ref="happer"/>
  464. </datagrid>
  465. </case>
  466. <case id="case3" selected="true">
  467. <datagrid id="grd_year" nodeset="/root/main/year" caption="성분제제^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^|성분제제^출고^방사선^%^출고^방사선^%^출고^방사선^%^출고^방사선^%^출고^방사선^%^출고^방사선^%^출고^방사선^%^출고^방사선^%^출고^방사선^%^출고^방사선^%" colsep="^" colwidth="90, 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" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:25px; width:1188px; height:630px; ">
  468. <col ref="blodcomnm"/>
  469. <col ref="bm01" style="text-align:right; "/>
  470. <col ref="bm01i" style="text-align:right; "/>
  471. <col ref="bm01per" style="text-align:right; "/>
  472. <col ref="bm02" style="text-align:right; "/>
  473. <col ref="bm02i" style="text-align:right; "/>
  474. <col ref="bm02per" style="text-align:right; "/>
  475. <col ref="bm03" style="text-align:right; "/>
  476. <col ref="bm03i" style="text-align:right; "/>
  477. <col ref="bm03per" style="text-align:right; "/>
  478. <col ref="bm04" style="text-align:right; "/>
  479. <col ref="bm04i" style="text-align:right; "/>
  480. <col ref="bm04per" style="text-align:right; "/>
  481. <col ref="bm05" style="text-align:right; "/>
  482. <col ref="bm05i" style="text-align:right; "/>
  483. <col ref="bm05per" style="text-align:right; "/>
  484. <col ref="bm06" style="text-align:right; "/>
  485. <col ref="bm06i" style="text-align:right; "/>
  486. <col ref="bm06per" style="text-align:right; "/>
  487. <col ref="bm07" style="text-align:right; "/>
  488. <col ref="bm07i" style="text-align:right; "/>
  489. <col ref="bm07per" style="text-align:right; "/>
  490. <col ref="bm08" style="text-align:right; "/>
  491. <col ref="bm08i" style="text-align:right; "/>
  492. <col ref="bm08per" style="text-align:right; "/>
  493. <col ref="bm09" style="text-align:right; "/>
  494. <col ref="bm09i" style="text-align:right; "/>
  495. <col ref="bm09per" style="text-align:right; "/>
  496. <col ref="bm10" style="text-align:right; "/>
  497. <col ref="bm10i" style="text-align:right; "/>
  498. <col ref="bm10per" style="text-align:right; "/>
  499. </datagrid>
  500. <caption id="caption6" class="tit_2" style="left:5px; top:5px; width:131px; height:13px; ">연별 수혈환자수</caption>
  501. <line id="line5" class="line_1" style="x1:0px; y1:20px; x2:1188px; y2:20px; "/>
  502. </case>
  503. </switch>
  504. <button id="btn_1" class="btn_sw" group="tab" selected="true" style="left:0px; top:54px; width:70px; height:22px; ">
  505. <caption>일별</caption>
  506. <script type="javascript" ev:event="DOMActivate">
  507. <![CDATA[
  508. model.toggle("case1");
  509. model.setValue("/root/hidden/ref/flag", "1"); // 일별
  510. //fDayCaption();
  511. ]]>
  512. </script>
  513. </button>
  514. <button id="btn_2" class="btn_sw" group="tab" selected="true" style="left:70px; top:54px; width:70px; height:22px; ">
  515. <caption>월별</caption>
  516. <script type="javascript" ev:event="DOMActivate">
  517. <![CDATA[
  518. model.toggle("case2");
  519. model.setValue("/root/hidden/ref/flag", "2"); // 월별
  520. ]]>
  521. </script>
  522. </button>
  523. <button id="btn_3" class="btn_sw" group="tab" selected="true" style="left:140px; top:54px; width:70px; height:22px; ">
  524. <caption>연별</caption>
  525. <script type="javascript" ev:event="DOMActivate">
  526. <![CDATA[
  527. model.toggle("case3");
  528. model.setValue("/root/hidden/ref/flag", "3"); // 연별
  529. //연별캡션 변경
  530. fYearCaption();
  531. ]]>
  532. </script>
  533. </button>
  534. <button id="btn_excel" class="btn2_letter2" style="left:1152px; top:53px; width:42px; height:19px; ">
  535. <caption>엑셀</caption>
  536. <script type="javascript" ev:event="DOMActivate">
  537. <![CDATA[
  538. fSaveExcel();
  539. ]]>
  540. </script>
  541. </button>
  542. </group>
  543. <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
  544. <button id="btn_reset" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
  545. <caption>초기화</caption>
  546. <script type="javascript" ev:event="DOMActivate">
  547. <![CDATA[
  548. fSetInit();
  549. ]]>
  550. </script>
  551. </button>
  552. <line id="line2" class="line_2" style="x1:0px; y1:25px; x2:1195px; y2:25px; "/>
  553. <button id="btn_print" class="btn6_letter2" style="left:0px; top:3px; width:96px; height:22px; ">
  554. <caption>출력</caption>
  555. <script type="javascript" ev:event="DOMActivate">
  556. <![CDATA[
  557. alert("개발중");
  558. //fExePrint();
  559. ]]>
  560. </script>
  561. </button>
  562. </group>
  563. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  564. <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">혈액 방사선조사 건수</caption>
  565. </group>
  566. </xhtml:body>
  567. </xhtml:html>