SMLLS01600_진단검사통계.xrw 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLLS00900_진단검사부서별통계.xrw
  4. * 설 명 : 진단검사부서별통계
  5. * 설 계 자 : (주)에이씨케이 - 윤재한
  6. * 작 성 자 : (주)에이씨케이 -
  7. * 작 성 일 : 2008.04.21
  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. <ddstats/>
  20. <yystats/>
  21. </main>
  22. <send>
  23. <codeflag/>
  24. <fromdd/>
  25. <todd/>
  26. <stscd/>
  27. <dflag/>
  28. <gbn1val/>
  29. <gbn2val/>
  30. <gbn3val/>
  31. <head/>
  32. <item1/>
  33. <item2/>
  34. <item3/>
  35. <foot/>
  36. </send>
  37. <init>
  38. <menulist>
  39. <menu>
  40. <stsnm>그래그래통계</stsnm>
  41. <stsval>3</stsval>
  42. <dflag>1</dflag>
  43. <gbn1val/>
  44. <gbn2val/>
  45. <gbn3val/>
  46. <dflagItem>
  47. <item>
  48. <cd>1</cd>
  49. <nm>보고일</nm>
  50. </item>
  51. <item>
  52. <cd>2</cd>
  53. <nm>접수일</nm>
  54. </item>
  55. </dflagItem>
  56. <gbn1>
  57. <gbnnm>입원/외래 :</gbnnm>
  58. <item>
  59. <cd/>
  60. <nm/>
  61. </item>
  62. </gbn1>
  63. <gbn2>
  64. <gbnnm/>
  65. <item>
  66. <cd/>
  67. <nm/>
  68. </item>
  69. </gbn2>
  70. <gbn3>
  71. <gbnnm/>
  72. <item>
  73. <cd>1</cd>
  74. <nm>aa</nm>
  75. </item>
  76. <item>
  77. <cd>1</cd>
  78. <nm>aa</nm>
  79. </item>
  80. <item>
  81. <cd>1</cd>
  82. <nm>aa</nm>
  83. </item>
  84. <item>
  85. <cd>1</cd>
  86. <nm>aa</nm>
  87. </item>
  88. <item>
  89. <cd>1</cd>
  90. <nm>aa</nm>
  91. </item>
  92. </gbn3>
  93. <sqlstr>
  94. <head/>
  95. <item1/>
  96. <item2/>
  97. <item3/>
  98. <foot/>
  99. </sqlstr>
  100. <grdstr>
  101. <caption>코드^명^코드^명^코드^명^01^02^03^04^05^06^07^08^09^10^11^12^13^14^15^16^17^18^19^20^21^22^23^24^25^26^27^28^29^30^31^Total</caption>
  102. <colwidth>0^80^0^80^0^80^40^40^40^40^40^40^40^40^40^40^40^40^40^40^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0</colwidth>
  103. </grdstr>
  104. </menu>
  105. </menulist>
  106. </init>
  107. <hidden>
  108. <tabgbn/>
  109. <stsgbn>1</stsgbn>
  110. <fromdd/>
  111. <todd/>
  112. <menu>
  113. <stsnm/>
  114. <stsval/>
  115. <daytoyn/>
  116. <dflag/>
  117. <gbn1val/>
  118. <gbn2val/>
  119. <gbn3val/>
  120. <sectcd/>
  121. <tsectcd/>
  122. <dflagItem>
  123. <item>
  124. <cd/>
  125. <nm/>
  126. </item>
  127. </dflagItem>
  128. <gbn1>
  129. <gbnnm/>
  130. <item>
  131. <cd/>
  132. <nm/>
  133. </item>
  134. </gbn1>
  135. <gbn2>
  136. <gbnnm/>
  137. <item>
  138. <cd/>
  139. <nm/>
  140. </item>
  141. </gbn2>
  142. <gbn3>
  143. <gbnnm/>
  144. <item>
  145. <cd/>
  146. <nm/>
  147. </item>
  148. </gbn3>
  149. <sqlstr>
  150. <head/>
  151. <foot/>
  152. </sqlstr>
  153. <grdstr>
  154. <caption/>
  155. <colwidth/>
  156. </grdstr>
  157. </menu>
  158. </hidden>
  159. </root>
  160. </instance>
  161. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  162. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  163. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  164. <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
  165. <script type="javascript" ev:event="xforms-ready">
  166. <![CDATA[
  167. fSetInit(); //초기화 함수 호출
  168. ]]>
  169. </script>
  170. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/LB0102"/>
  171. <submission id="TRLLS01601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/menulist"/>
  172. <submission id="TRLLS01602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/ddstats"/>
  173. </model>
  174. <script type="javascript">
  175. <![CDATA[
  176. //화면 open시 초기화
  177. function fSetInit() {
  178. var toDay = getCurrentDate();
  179. model.setValue("/root/hidden/fromdd", toDay); //통계희망시작일 = 현재일자
  180. model.setValue("/root/hidden/todd", toDay); //통계희망종료일 = 현재일자
  181. //그리드초기화
  182. model.removeNodeset("/root/main/ddstats"); //일별, 월별, 분기별
  183. model.removeNodeset("/root/init/menulist"); //메뉴초기화
  184. // model.removeNodeset("/root/main/yystats"); //연별
  185. model.makeValue("/root/send/groupid", "GROUP01");
  186. submit("TRLLS01601");
  187. if(model.getXPathValue("count(/root/init/menulist)") < 1) return;
  188. model.removeNodeset("/root/send");
  189. model.makeValue("/root/send/codeflag", "0102|0106|0104|0111|0000|"); // 0102= 중분류 // 0106=시행부서(검사계) // 0104 대분류 // 0111 계(시행) // 0000 userdeptflag
  190. submit("TRLZZ00101");
  191. model.toggle("dd"); //초기시 일별그리드 표시
  192. btn_ddstats.selected = true; //일별switch 버튼 선택
  193. fchgSts();
  194. model.refresh();
  195. }
  196. //통계 선택
  197. function fchgSts(){
  198. model.copyNode("/root/hidden/menu","/root/init/menulist["+cmb_sts.value+"]/menu");
  199. grd_dd.caption = model.getValue("/root/hidden/menu/grdstr/caption");
  200. var colarr = model.getValue("/root/hidden/menu/grdstr/colwidth").split("^");
  201. for(i=0;i < colarr.length;i++){
  202. grd_dd.colWidth(i+1) = parseInt(colarr[i]);
  203. }
  204. model.removenode("/root/main/ddstats");
  205. if(model.getValue("/root/hidden/menu/sqlstr/item1") == ""){
  206. cap_item1.visible = false;
  207. cmb_item1.visible = false;
  208. }
  209. else{
  210. cap_item1.visible = true;
  211. cmb_item1.visible = true;
  212. }
  213. if(model.getValue("/root/hidden/menu/sqlstr/item2") == ""){
  214. cap_item2.visible = false;
  215. cmb_item2.visible = false;
  216. }
  217. else{
  218. cap_item2.visible = true;
  219. cmb_item2.visible = true;
  220. }
  221. if(model.getValue("/root/hidden/menu/daytoyn") == "Y"){
  222. cap_daygap.visible = true;
  223. ipt_worktodd.visible = true;
  224. }
  225. else{
  226. cap_daygap.visible = false;
  227. ipt_worktodd.visible = false;
  228. }
  229. model.refresh();
  230. }
  231. //switch 버튼 클릭시 그리드 초기화
  232. function fGridInit() {
  233. var cols = grd_yy.cols-grd_yy.fixedCols;
  234. for( var i = 0; i < cols; i++ ) {
  235. grd_yy.removeColumn(); //그리드 컬럼 다 지우기.. 지우지 않으면 그리드 형태가 유지되어 다른 통계 조회후 연별 통계시 그리드 옆에 이어져 조회됨.
  236. }
  237. model.removeNodeset("/root/main/ddstats"); //일별, 월별, 분기별
  238. model.removeNodeset("/root/main/yystats"); //연별
  239. model.refresh();
  240. }
  241. //통계희망일, 입원/외래구분, 조회구분(일,월,분기,연) 에 따른 조회
  242. function fGetStats() {
  243. /*
  244. if(btn_ddstats.selected == true) {
  245. model.makeValue("/root/send/refflag", "d");
  246. } else if(btn_mmstats.selected == true) {
  247. model.makeValue("/root/send/refflag", "m");
  248. } else if(btn_qurtyystats.selected == true) {
  249. model.makeValue("/root/send/refflag", "q");
  250. } else if(btn_yystats.selected == true) {
  251. fGetYYStats();
  252. return;
  253. }
  254. */
  255. model.copyNode("/root/send", "/root/hidden");
  256. submit("TRLLS01602");
  257. }
  258. //연별 통계 조회
  259. function fGetYYStats() {
  260. var cols = grd_yy.cols-grd_yy.fixedCols;
  261. var rows = grd_yy.rows-grd_yy.fixedRows;
  262. for( var i = 0; i < cols; i++ ) {
  263. grd_yy.removeColumn(false); //그리드 컬럼 다 지우기..지우지 않으면 그리드 형태가 유지되어 그리드 옆에 이어져 조회됨.
  264. }
  265. model.removeNodeset("/root/main/yystats"); //연별그리드 초기화
  266. model.makeNode("/root/main/yystats/row");
  267. model.makeValue("/root/send/statshopefromdd", model.getValue("/root/hidden/statshopefromdd")); //통계희망시작일
  268. model.makeValue("/root/send/statshopetodd", model.getValue("/root/hidden/statshopetodd")); //통계희망종료일
  269. submit("TRLLS00902"); //통계조회
  270. model.removeNodeset("/root/send");
  271. model.makeNode("/root/send");
  272. //caption 정보
  273. var gridCaption = model.getValue("/root/hidden/yystats/header/caption");
  274. if(gridCaption == "") return;
  275. //ref 정보
  276. var gridColRef = model.getValue("/root/hidden/yystats/header/colref");
  277. var gridColRefArray = gridColRef.split("^");
  278. //type 정보
  279. var gridColType = model.getValue("/root/hidden/yystats/header/type");
  280. var gridColTypeArray = gridColType.split("^");
  281. for( var i = 0; i < gridColRefArray.length; i++ ) {
  282. if(i == 0) {
  283. grd_yy.addColumn("ref:" + gridColRefArray[i] + "; type:"+gridColTypeArray[i]+"; style:text-align:left; ", false); //Grid 속성 지정
  284. } else {
  285. grd_yy.addColumn("ref:" + gridColRefArray[i] + "; type:"+gridColTypeArray[i]+"; format:#,###; ", false); //Grid 속성 지정
  286. }
  287. }
  288. grd_yy.colWidth(1) = 80; //부서 Column은 폭이 달라서 따로 지정.
  289. for( i = 2; i < grd_yy.cols; i++ ) {
  290. grd_yy.colWidth(i) = 60; //Column 폭 조정
  291. }
  292. grd_yy.caption = gridCaption; //Caption 지정
  293. var node = instance1.selectSingleNode("/root/main");
  294. node.replaceChild(instance1.root.hidden.yystats, instance1.root.main.yystats); //조회하고 수정한 사항을 main에 보냄
  295. grd_yy.rowheight(0) = 23; //Title 높이 조정
  296. model.refresh();
  297. fGetTotal(); //연도별 Total 계산
  298. }
  299. //연도별 통계 Total계산
  300. function fGetTotal() {
  301. //Column 합계
  302. for(r = 1; r < grd_yy.rows; r++) {
  303. colsum = 0;
  304. for(i = 2; i < grd_yy.cols - 1; i++) {
  305. if(grd_yy.textmatrix(r, i) != "") {
  306. colsum += parseInt(grd_yy.textmatrix(r, i));
  307. }
  308. }
  309. model.setValue("/root/main/yystats/row["+ r +"]/total", colsum);
  310. }
  311. //Row 합계
  312. grd_yy.addRow();
  313. model.refresh();
  314. grd_yy.textmatrix(grd_yy.rows-1, 1) = "Total";
  315. for(i = 2; i < grd_yy.cols; i++) {
  316. rowsum = 0;
  317. for(r = 1; r < grd_yy.rows-1; r++) {
  318. if(grd_yy.textmatrix(r, i) != "") {
  319. rowsum += parseInt(grd_yy.textmatrix(r, i));
  320. }
  321. }
  322. grd_yy.textmatrix(grd_yy.rows-1, i) = rowsum;
  323. }
  324. }
  325. //엑셀저장
  326. function fExeSaveToExcel() {
  327. if(btn_ddstats.selected == true) { //일별
  328. fSaveExcel("grd_dd");
  329. } else if(btn_mmstats.selected == true) { //월별
  330. fSaveExcel("grd_mm");
  331. } else if(btn_qurtyystats.selected == true) { //분기별
  332. fSaveExcel("grd_qurtyy");
  333. } else if(btn_yystats.selected == true) { //연별
  334. fSaveExcel("grd_yy");
  335. }
  336. }
  337. //통계그리드를 출력한다.
  338. function fPrint() {
  339. if(btn_ddstats.selected == true) { //일별
  340. exeReportPreview("RPLLS01800", "XMLSTR");
  341. } else if(btn_mmstats.selected == true) { //월별
  342. exeReportPreview("RPLLS01900", "XMLSTR");
  343. } else if(btn_qurtyystats.selected == true) { //분기별
  344. exeReportPreview("RPLLS02000", "XMLSTR");
  345. } else if(btn_yystats.selected == true) { //연별
  346. exeReportPreview("RPLLS02100", "XMLSTR");
  347. }
  348. }
  349. ]]>
  350. </script>
  351. </xhtml:head>
  352. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  353. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744; ">
  354. <group id="group1" style="left:0px; top:10px; width:1195px; height:65px; ">
  355. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1195px; height:65px; "/>
  356. <button id="btn_ref" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  357. <caption>조회</caption>
  358. <script type="javascript" ev:event="DOMActivate">
  359. <![CDATA[
  360. fGetStats();
  361. ]]>
  362. </script>
  363. </button>
  364. <line id="line3" class="line_4" style="x1:1108px; y1:6px; x2:1108px; y2:28px; "/>
  365. <input id="ipt_workfromdd" ref="/root/hidden/fromdd" class="input_search" inputtype="date" style="left:132px; top:37px; width:90px; height:19px; "/>
  366. <input id="ipt_worktodd" ref="/root/hidden/todd" class="input_search" inputtype="date" style="left:237px; top:37px; width:90px; height:19px; "/>
  367. <caption id="caption4" class="search_name" style="left:4px; top:38px; width:65px; height:17px; ">일자 :</caption>
  368. <caption id="cap_daygap" class="search_no_b" style="left:224px; top:39px; width:13px; height:17px; ">~</caption>
  369. <select1 id="combo8" ref="/root/hidden/menu/dflag" visibility="visible" appearance="minimal" style="left:70px; top:37px; width:60px; height:19px; ">
  370. <choices>
  371. <itemset nodeset="/root/hidden/menu/dflagItem/item">
  372. <label ref="nm"/>
  373. <value ref="cd"/>
  374. </itemset>
  375. </choices>
  376. </select1>
  377. <caption id="caption1" class="search_name" style="left:5px; top:10px; width:65px; height:17px; ">통계 :</caption>
  378. <select1 id="cmb_sts" ref="/root/hidden/stsgbn" visibility="visible" appearance="minimal" style="left:71px; top:9px; width:254px; height:19px; text-align:left; ">
  379. <choices>
  380. <itemset nodeset="/root/init/menulist/menu">
  381. <label ref="stsnm"/>
  382. <value ref="stsval"/>
  383. </itemset>
  384. </choices>
  385. <script type="javascript" ev:event="xforms-value-changed">
  386. <![CDATA[
  387. fchgSts();
  388. ]]>
  389. </script>
  390. </select1>
  391. <caption id="cap_item1" ref="/root/hidden/menu/gbn1/gbnnm" class="search_name" style="left:405px; top:10px; width:112px; height:17px; "/>
  392. <select1 id="cmb_item1" ref="/root/hidden/menu/gbn1val" visibility="visible" appearance="minimal" style="left:520px; top:9px; width:190px; height:19px; ">
  393. <choices>
  394. <itemset nodeset="/root/hidden/menu/gbn1/item">
  395. <label ref="nm"/>
  396. <value ref="cd"/>
  397. </itemset>
  398. </choices>
  399. </select1>
  400. <caption id="cap_item2" ref="/root/hidden/menu/gbn2/gbnnm" class="search_name" style="left:405px; top:38px; width:112px; height:17px; "/>
  401. <select1 id="cmb_item2" ref="/root/hidden/menu/gbn2val" visibility="visible" appearance="minimal" style="left:520px; top:37px; width:190px; height:19px; ">
  402. <choices>
  403. <itemset nodeset="/root/hidden/menu/gbn2/item">
  404. <label ref="nm"/>
  405. <value ref="cd"/>
  406. </itemset>
  407. </choices>
  408. </select1>
  409. <select id="chk1" ref="/root/hidden/menu/gbn3val" overflow="visible" scroll="auto" appearance="full" cellspacing="5" cols="10" sep="▦" style="left:790px; top:37px; width:370px; height:19px; ">
  410. <choices>
  411. <itemset nodeset="/root/hidden/menu/gbn3/item">
  412. <label ref="nm"/>
  413. <value ref="cd"/>
  414. </itemset>
  415. </choices>
  416. </select>
  417. <caption id="caption5" class="search_name" style="left:789px; top:11px; width:86px; height:17px; ">시행부서 :</caption>
  418. <select1 id="cmd_TMdlCd" ref="/root/hidden/menu/tsectcd" class="combo_s_essential" appearance="minimal" itemcount="10" style="left:986px; top:10px; width:100px; height:19px; text-align:left; ">
  419. <choices>
  420. <itemset nodeset="/root/init/LB0106">
  421. <label ref="nm"/>
  422. <value ref="cd"/>
  423. </itemset>
  424. </choices>
  425. </select1>
  426. <select1 id="cmb_TLrgCd" ref="/root/hidden/menu/sectcd" class="combo_s_essential" appearance="minimal" itemcount="10" style="left:880px; top:10px; width:100px; height:19px; text-align:left; ">
  427. <choices>
  428. <itemset nodeset="/root/init/LB0111">
  429. <label ref="nm"/>
  430. <value ref="cd"/>
  431. </itemset>
  432. </choices>
  433. <script type="javascript" ev:event="xforms-value-changed">
  434. <![CDATA[
  435. if(cmb_TLrgCd.value == "00"){
  436. cmd_TMdlCd.choices.itemset.attribute("nodeset") = "/root/init/LB0106";
  437. }
  438. else{
  439. cmd_TMdlCd.choices.itemset.attribute("nodeset") = "/root/init/LB0106[cd='00' or etc01='"+cmb_TLrgCd.value+"']";
  440. }
  441. cmd_TMdlCd.refresh();
  442. ]]>
  443. </script>
  444. </select1>
  445. </group>
  446. <switch id="swt_statflag" class="sw_box" style="left:0px; top:105px; width:1195px; height:633px; ">
  447. <case id="dd" selected="true">
  448. <datagrid id="grd_dd" nodeset="/root/main/ddstats" caption="코드^명^코드^명^코드^명^코드^명^명^명^명^명^명^01^02^03^04^05^06^07^08^09^10^11^12^13^14^15^16^17^18^19^20^21^22^23^24^25^26^27^28^29^30^31^Total" colsep="^" colwidth="0,80,0,80,0,80,0,80, 0,0,0,0,0,40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 60" dataheight="23" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" style="left:5px; top:5px; width:1180px; height:616px; text-align:center; ">
  449. <col ref="cd1" style="text-align:center; "/>
  450. <col ref="nm1" style="text-align:center; "/>
  451. <col ref="cd2" style="text-align:center; "/>
  452. <col ref="nm2" style="text-align:center; "/>
  453. <col ref="cd3" style="text-align:center; "/>
  454. <col ref="nm3" style="text-align:center; "/>
  455. <col ref="cd4" style="text-align:center; "/>
  456. <col ref="nm4" style="text-align:center; "/>
  457. <col ref="h01" style="text-align:center; "/>
  458. <col ref="h02" style="text-align:center; "/>
  459. <col ref="h03" style="text-align:center; "/>
  460. <col ref="h04" style="text-align:center; "/>
  461. <col ref="h05" style="text-align:center; "/>
  462. <col ref="d01" format="#,###"/>
  463. <col ref="d02" format="#,###"/>
  464. <col ref="d03" format="#,###"/>
  465. <col ref="d04" format="#,###"/>
  466. <col ref="d05" format="#,###"/>
  467. <col ref="d06" format="#,###"/>
  468. <col ref="d07" format="#,###"/>
  469. <col ref="d08" format="#,###"/>
  470. <col ref="d09" format="#,###"/>
  471. <col ref="d10" format="#,###"/>
  472. <col ref="d11" format="#,###"/>
  473. <col ref="d12" format="#,###"/>
  474. <col ref="d13" format="#,###"/>
  475. <col ref="d14" format="#,###"/>
  476. <col ref="d15" format="#,###"/>
  477. <col ref="d16" format="#,###"/>
  478. <col ref="d17" format="#,###"/>
  479. <col ref="d18" format="#,###"/>
  480. <col ref="d19" format="#,###"/>
  481. <col ref="d20" format="#,###"/>
  482. <col ref="d21" format="#,###"/>
  483. <col ref="d22" format="#,###"/>
  484. <col ref="d23" format="#,###"/>
  485. <col ref="d24" format="#,###"/>
  486. <col ref="d25" format="#,###"/>
  487. <col ref="d26" format="#,###"/>
  488. <col ref="d27" format="#,###"/>
  489. <col ref="d28" format="#,###"/>
  490. <col ref="d29" format="#,###"/>
  491. <col ref="d30" format="#,###"/>
  492. <col ref="d31" format="#,###"/>
  493. <col ref="total" format="#,###"/>
  494. </datagrid>
  495. </case>
  496. <case id="mm"/>
  497. <case id="qurtyy"/>
  498. <case id="yy">
  499. <datagrid id="grd_yy" nodeset="/root/main/yystats/row" backcoloralternate="transparent" colsep="^" dataheight="23" explorerbar="sortshow" frozencols="2" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" style="left:5px; top:5px; width:1180px; height:636px; text-align:center; ">
  500. <script type="javascript" ev:event="onaftersort">
  501. <![CDATA[
  502. grd_qurtyy.gridToInstance();
  503. ]]>
  504. </script>
  505. </datagrid>
  506. </case>
  507. </switch>
  508. <button id="btn_mmstats" class="btn_sw" visibility="hidden" group="tab" style="left:75px; top:84px; width:75px; height:22px; ">
  509. <caption>통계 분석</caption>
  510. <toggle case="mm" ev:event="DOMActivate"/>
  511. <script type="javascript" ev:event="DOMActivate">
  512. <![CDATA[
  513. // fGridInit();
  514. ]]>
  515. </script>
  516. </button>
  517. <button id="btn_qurtyystats" class="btn_sw" group="tab" style="left:1095px; top:84px; width:90px; height:22px; ">
  518. <caption>재 집 계</caption>
  519. <toggle case="qurtyy" ev:event="DOMActivate"/>
  520. <script type="javascript" ev:event="DOMActivate">
  521. <![CDATA[
  522. // fGridInit();
  523. ]]>
  524. </script>
  525. </button>
  526. <button id="btn_ddstats" class="btn_sw" group="tab" style="left:0px; top:84px; width:75px; height:22px; ">
  527. <caption>통계데이터</caption>
  528. <toggle case="dd" ev:event="DOMActivate"/>
  529. <script type="javascript" ev:event="DOMActivate">
  530. <![CDATA[
  531. fGridInit();
  532. ]]>
  533. </script>
  534. </button>
  535. <button id="btn_yystats" class="btn_sw" visibility="hidden" group="tab" style="left:240px; top:84px; width:75px; height:22px; ">
  536. <caption>연별 통계</caption>
  537. <toggle case="yy" ev:event="DOMActivate"/>
  538. <script type="javascript" ev:event="DOMActivate">
  539. <![CDATA[
  540. fGridInit();
  541. ]]>
  542. </script>
  543. </button>
  544. </group>
  545. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">진단검사 통계</caption>
  546. <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
  547. <line id="line2" class="line_2" style="x1:0px; y1:25px; x2:1195px; y2:25px; "/>
  548. <button id="btn_print" class="btn6_letter2" style="left:0px; top:3px; width:56px; height:22px; ">
  549. <caption>출력</caption>
  550. <script type="javascript" ev:event="DOMActivate">
  551. <![CDATA[
  552. fPrint();
  553. ]]>
  554. </script>
  555. </button>
  556. <button id="btn_excel" class="btn6_letter5" style="left:59px; top:3px; width:92px; height:22px; ">
  557. <caption>EXCEL저장</caption>
  558. <script type="javascript" ev:event="DOMActivate">
  559. <![CDATA[
  560. fExeSaveToExcel();
  561. ]]>
  562. </script>
  563. </button>
  564. </group>
  565. </xhtml:body>
  566. </xhtml:html>