SMLLP02300_범용통계.xrw 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLLS01600_범용조회.xrw
  4. * 설 명 : 범용조회
  5. * 설 계 자 : (주)에이씨케이 - 윤재한
  6. * 작 성 자 : (주)에이씨케이 -
  7. * 작 성 일 : 2008.04.21
  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. <ddstats/>
  20. <yystats/>
  21. </main>
  22. <send>
  23. <sql/>
  24. <fromdd/>
  25. <todd/>
  26. <dflag/>
  27. <gbn1val/>
  28. <gbn2val/>
  29. <gbn3val/>
  30. <sectcd/>
  31. <tsectcd/>
  32. <param/>
  33. </send>
  34. <init>
  35. <menulist>
  36. <menu>
  37. <stsnm>그래그래통계</stsnm>
  38. <stsval>3</stsval>
  39. <dflag>1</dflag>
  40. <gbn1val/>
  41. <gbn2val/>
  42. <gbn3val/>
  43. <dflagItem>
  44. <item>
  45. <cd>1</cd>
  46. <nm>보고일</nm>
  47. </item>
  48. <item>
  49. <cd>2</cd>
  50. <nm>접수일</nm>
  51. </item>
  52. </dflagItem>
  53. <gbn1>
  54. <gbnnm>입원/외래 :</gbnnm>
  55. <item>
  56. <cd/>
  57. <nm/>
  58. </item>
  59. </gbn1>
  60. <gbn2>
  61. <gbnnm/>
  62. <item>
  63. <cd/>
  64. <nm/>
  65. </item>
  66. </gbn2>
  67. <gbn3>
  68. <gbnnm/>
  69. <item>
  70. <cd>1</cd>
  71. <nm>aa</nm>
  72. </item>
  73. <item>
  74. <cd>1</cd>
  75. <nm>aa</nm>
  76. </item>
  77. <item>
  78. <cd>1</cd>
  79. <nm>aa</nm>
  80. </item>
  81. <item>
  82. <cd>1</cd>
  83. <nm>aa</nm>
  84. </item>
  85. <item>
  86. <cd>1</cd>
  87. <nm>aa</nm>
  88. </item>
  89. </gbn3>
  90. <sqlstr>
  91. <head/>
  92. <item1/>
  93. <item2/>
  94. <item3/>
  95. <foot/>
  96. </sqlstr>
  97. <grdstr>
  98. <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>
  99. <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>
  100. </grdstr>
  101. </menu>
  102. </menulist>
  103. </init>
  104. <hidden>
  105. <tabgbn/>
  106. <stsgbn>1</stsgbn>
  107. <fromdd/>
  108. <todd/>
  109. <menu>
  110. <stsnm/>
  111. <stsval/>
  112. <daytoyn/>
  113. <dflag/>
  114. <gbn1val/>
  115. <gbn2val/>
  116. <gbn3val/>
  117. <sectcd/>
  118. <tsectcd/>
  119. <dflagItem>
  120. <item>
  121. <cd/>
  122. <nm/>
  123. </item>
  124. </dflagItem>
  125. <gbn1>
  126. <gbnnm/>
  127. <item>
  128. <cd/>
  129. <nm/>
  130. </item>
  131. </gbn1>
  132. <gbn2>
  133. <gbnnm/>
  134. <item>
  135. <cd/>
  136. <nm/>
  137. </item>
  138. </gbn2>
  139. <gbn3>
  140. <gbnnm/>
  141. <item>
  142. <cd/>
  143. <nm/>
  144. </item>
  145. </gbn3>
  146. <sqlstr>
  147. <head/>
  148. <foot/>
  149. </sqlstr>
  150. <grdstr>
  151. <caption/>
  152. <colwidth/>
  153. </grdstr>
  154. </menu>
  155. </hidden>
  156. </root>
  157. </instance>
  158. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  159. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  160. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  161. <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
  162. <script type="javascript" ev:event="xforms-ready">
  163. <![CDATA[
  164. fSetInit(); //초기화 함수 호출
  165. ]]>
  166. </script>
  167. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/LB0102"/>
  168. <submission id="TRLLS01601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/menulist"/>
  169. <submission id="TRLLS01602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/ddstats"/>
  170. <submission id="TRLLS01603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/menu/gbn1/item"/>
  171. </model>
  172. <script type="javascript">
  173. <![CDATA[
  174. //화면 open시 초기화
  175. function fSetInit() {
  176. var toDay = getCurrentDate();
  177. model.setValue("/root/hidden/fromdd", toDay); //통계희망시작일 = 현재일자
  178. model.setValue("/root/hidden/todd", toDay); //통계희망종료일 = 현재일자
  179. //그리드초기화
  180. model.removeNodeset("/root/main/ddstats"); //일별, 월별, 분기별
  181. model.removeNodeset("/root/init/menulist"); //메뉴초기화
  182. // model.removeNodeset("/root/main/yystats"); //연별
  183. var menuparam = model.getValue("/root/properties/menu/menuparam");
  184. if(menuparam == "") menuparam = "01";
  185. model.makeValue("/root/send/groupid", "GROUP" + menuparam);
  186. submit("TRLLS01601");
  187. if(model.getXPathValue("count(/root/init/menulist)") < 1) return;
  188. model.makeValue("/root/send/codeflag", "0102|0106|0104|0111|0000|"); // 0102= 중분류 // 0106=시행부서(검사계) // 0104 대분류 // 0111 계(시행) // 0000 userdeptflag
  189. submit("TRLZZ00101");
  190. model.toggle("dd"); //초기시 일별그리드 표시
  191. btn_ddstats.selected = true; //일별switch 버튼 선택
  192. fchgSts();
  193. model.refresh();
  194. }
  195. //통계 선택
  196. function fchgSts(){
  197. model.removeNodeset("/root/main/ddstats");
  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. alert(colarr.length);
  202. for(i=0;i < colarr.length;i++){
  203. grd_dd.colWidth(i+1) = parseInt(colarr[i]);
  204. }
  205. model.removeNodeset("/root/main/ddstats");
  206. if(model.getXPathValue("count(/root/hidden/menu/sectcd)") < 1){
  207. cap_sect.visible = false;
  208. cmd_TMdlCd.visible = false;
  209. cmb_TLrgCd.visible = false;
  210. }
  211. else{
  212. cap_sect.visible = true;
  213. cmd_TMdlCd.visible = true;
  214. cmb_TLrgCd.visible = true;
  215. }
  216. if(model.getValue("/root/hidden/menu/gbn1val") == ""){
  217. cap_item1.visible = false;
  218. cmb_item1.visible = false;
  219. }
  220. else{
  221. cap_item1.visible = true;
  222. cmb_item1.visible = true;
  223. }
  224. if(model.getValue("/root/hidden/menu/gbn2val") == ""){
  225. cap_item2.visible = false;
  226. cmb_item2.visible = false;
  227. }
  228. else{
  229. cap_item2.visible = true;
  230. cmb_item2.visible = true;
  231. }
  232. if(model.getValue("/root/hidden/menu/daytoyn") == "Y"){
  233. cap_daygap.visible = true;
  234. ipt_worktodd.visible = true;
  235. }
  236. else{
  237. cap_daygap.visible = false;
  238. ipt_worktodd.visible = false;
  239. }
  240. // 조건을 DB에서 조회 해야 하는 경우 사용나 기타 선처리가 필요한 경우
  241. fevalScript("prescript");
  242. model.refresh();
  243. }
  244. //switch 버튼 클릭시 그리드 초기화
  245. function fGridInit() {
  246. var cols = grd_yy.cols-grd_yy.fixedCols;
  247. for( var i = 0; i < cols; i++ ) {
  248. grd_yy.removeColumn(); //그리드 컬럼 다 지우기.. 지우지 않으면 그리드 형태가 유지되어 다른 통계 조회후 연별 통계시 그리드 옆에 이어져 조회됨.
  249. }
  250. model.removeNodeset("/root/main/ddstats"); //일별, 월별, 분기별
  251. model.removeNodeset("/root/main/yystats"); //연별
  252. model.refresh();
  253. }
  254. //통계희망일, 입원/외래구분, 조회구분(일,월,분기,연) 에 따른 조회
  255. function fGetStats() {
  256. model.setValue("/root/send/sql",model.getValue("/root/hidden/menu/sql"));
  257. //sql 문장 및 파라메터 값을 완성하는 스크립트
  258. fevalScript("startscript");
  259. model.setValue("/root/send/fromdd",model.getValue("/root/hidden/fromdd"));
  260. model.setValue("/root/send/todd",model.getValue("/root/hidden/todd"));
  261. model.setValue("/root/send/dflag",model.getValue("/root/hidden/menu/dflag"));
  262. model.setValue("/root/send/gbn1val",model.getValue("/root/hidden/menu/gbn1val"));
  263. model.setValue("/root/send/gbn2val",model.getValue("/root/hidden/menu/gbn2val"));
  264. model.setValue("/root/send/gbn3val",model.getValue("/root/hidden/menu/gbn3val"));
  265. model.setValue("/root/send/sectcd",model.getValue("/root/hidden/menu/sectcd"));
  266. model.setValue("/root/send/tsectcd",model.getValue("/root/hidden/menu/tsectcd"));
  267. model.copyNode("/root/send/param","/root/hidden/menu/param");
  268. submit("TRLLS01602");
  269. //조회 후 처리가 필요한 경우
  270. fevalScript("endscript");
  271. }
  272. //스크립트 실행
  273. function fevalScript(str){
  274. if(model.getXPathValue("count(/root/hidden/menu/" + str + ")") == 0) return;
  275. if(model.getValue("/root/hidden/menu/" + str) == "") return;
  276. eval(model.getValue("/root/hidden/menu/" + str));
  277. }
  278. //파라메터 값 설정
  279. function fSetParamvVal(nm, val){
  280. model.setValue("/root/hidden/menu/param/item[nm='" + nm + "']/cd", val);
  281. }
  282. //sql 변경
  283. function fSetSqlChg(re, val){
  284. model.setValue("/root/send/sql", model.getValue("/root/send/sql").replace(re, val));
  285. }
  286. //연별 통계 조회
  287. function fGetYYStats() {
  288. var cols = grd_yy.cols-grd_yy.fixedCols;
  289. var rows = grd_yy.rows-grd_yy.fixedRows;
  290. for( var i = 0; i < cols; i++ ) {
  291. grd_yy.removeColumn(false); //그리드 컬럼 다 지우기..지우지 않으면 그리드 형태가 유지되어 그리드 옆에 이어져 조회됨.
  292. }
  293. model.removeNodeset("/root/main/yystats"); //연별그리드 초기화
  294. model.makeNode("/root/main/yystats/row");
  295. model.makeValue("/root/send/statshopefromdd", model.getValue("/root/hidden/statshopefromdd")); //통계희망시작일
  296. model.makeValue("/root/send/statshopetodd", model.getValue("/root/hidden/statshopetodd")); //통계희망종료일
  297. submit("TRLLS00902"); //통계조회
  298. model.removeNodeset("/root/send");
  299. model.makeNode("/root/send");
  300. //caption 정보
  301. var gridCaption = model.getValue("/root/hidden/yystats/header/caption");
  302. if(gridCaption == "") return;
  303. //ref 정보
  304. var gridColRef = model.getValue("/root/hidden/yystats/header/colref");
  305. var gridColRefArray = gridColRef.split("^");
  306. //type 정보
  307. var gridColType = model.getValue("/root/hidden/yystats/header/type");
  308. var gridColTypeArray = gridColType.split("^");
  309. for( var i = 0; i < gridColRefArray.length; i++ ) {
  310. if(i == 0) {
  311. grd_yy.addColumn("ref:" + gridColRefArray[i] + "; type:"+gridColTypeArray[i]+"; style:text-align:left; ", false); //Grid 속성 지정
  312. } else {
  313. grd_yy.addColumn("ref:" + gridColRefArray[i] + "; type:"+gridColTypeArray[i]+"; format:#,###; ", false); //Grid 속성 지정
  314. }
  315. }
  316. grd_yy.colWidth(1) = 80; //부서 Column은 폭이 달라서 따로 지정.
  317. for( i = 2; i < grd_yy.cols; i++ ) {
  318. grd_yy.colWidth(i) = 60; //Column 폭 조정
  319. }
  320. grd_yy.caption = gridCaption; //Caption 지정
  321. var node = instance1.selectSingleNode("/root/main");
  322. node.replaceChild(instance1.root.hidden.yystats, instance1.root.main.yystats); //조회하고 수정한 사항을 main에 보냄
  323. grd_yy.rowheight(0) = 23; //Title 높이 조정
  324. model.refresh();
  325. fGetTotal(); //연도별 Total 계산
  326. }
  327. //연도별 통계 Total계산
  328. function fGetTotal() {
  329. //Column 합계
  330. for(r = 1; r < grd_yy.rows; r++) {
  331. colsum = 0;
  332. for(i = 2; i < grd_yy.cols - 1; i++) {
  333. if(grd_yy.textmatrix(r, i) != "") {
  334. colsum += parseInt(grd_yy.textmatrix(r, i));
  335. }
  336. }
  337. model.setValue("/root/main/yystats/row["+ r +"]/total", colsum);
  338. }
  339. //Row 합계
  340. grd_yy.addRow();
  341. model.refresh();
  342. grd_yy.textmatrix(grd_yy.rows-1, 1) = "Total";
  343. for(i = 2; i < grd_yy.cols; i++) {
  344. rowsum = 0;
  345. for(r = 1; r < grd_yy.rows-1; r++) {
  346. if(grd_yy.textmatrix(r, i) != "") {
  347. rowsum += parseInt(grd_yy.textmatrix(r, i));
  348. }
  349. }
  350. grd_yy.textmatrix(grd_yy.rows-1, i) = rowsum;
  351. }
  352. }
  353. //엑셀저장
  354. function fExeSaveToExcel() {
  355. if(btn_ddstats.selected == true) { //일별
  356. fSaveExcel("grd_dd");
  357. } else if(btn_mmstats.selected == true) { //월별
  358. fSaveExcel("grd_mm");
  359. } else if(btn_qurtyystats.selected == true) { //분기별
  360. fSaveExcel("grd_qurtyy");
  361. } else if(btn_yystats.selected == true) { //연별
  362. fSaveExcel("grd_yy");
  363. }
  364. }
  365. ]]>
  366. </script>
  367. </xhtml:head>
  368. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  369. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744; ">
  370. <group id="group1" style="left:0px; top:10px; width:1195px; height:65px; ">
  371. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1195px; height:65px; "/>
  372. <button id="btn_ref" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  373. <caption>조회</caption>
  374. <script type="javascript" ev:event="DOMActivate">
  375. <![CDATA[
  376. fGetStats();
  377. ]]>
  378. </script>
  379. </button>
  380. <line id="line3" class="line_4" style="x1:1108px; y1:6px; x2:1108px; y2:28px; "/>
  381. <input id="ipt_workfromdd" ref="/root/hidden/fromdd" class="input_search" inputtype="date" style="left:132px; top:37px; width:90px; height:19px; "/>
  382. <input id="ipt_worktodd" ref="/root/hidden/todd" class="input_search" inputtype="date" style="left:237px; top:37px; width:90px; height:19px; "/>
  383. <caption id="caption4" class="search_name" style="left:4px; top:38px; width:65px; height:17px; ">일자 :</caption>
  384. <caption id="cap_daygap" class="search_no_b" style="left:224px; top:39px; width:13px; height:17px; ">~</caption>
  385. <select1 id="combo8" ref="/root/hidden/menu/dflag" visibility="visible" appearance="minimal" style="left:70px; top:37px; width:60px; height:19px; ">
  386. <choices>
  387. <itemset nodeset="/root/hidden/menu/dflagItem/item">
  388. <label ref="nm"/>
  389. <value ref="cd"/>
  390. </itemset>
  391. </choices>
  392. </select1>
  393. <caption id="caption1" class="search_name" style="left:5px; top:10px; width:65px; height:17px; ">통계 :</caption>
  394. <select1 id="cmb_sts" ref="/root/hidden/stsgbn" visibility="visible" appearance="minimal" style="left:71px; top:9px; width:254px; height:19px; text-align:left; ">
  395. <choices>
  396. <itemset nodeset="/root/init/menulist/menu">
  397. <label ref="stsnm"/>
  398. <value ref="stsval"/>
  399. </itemset>
  400. </choices>
  401. <script type="javascript" ev:event="xforms-value-changed">
  402. <![CDATA[
  403. fchgSts();
  404. ]]>
  405. </script>
  406. </select1>
  407. <caption id="cap_item1" ref="/root/hidden/menu/gbn1/gbnnm" class="search_name" style="left:405px; top:10px; width:112px; height:17px; "/>
  408. <select1 id="cmb_item1" ref="/root/hidden/menu/gbn1val" visibility="visible" appearance="minimal" style="left:520px; top:9px; width:190px; height:19px; ">
  409. <choices>
  410. <itemset nodeset="/root/hidden/menu/gbn1/item">
  411. <label ref="nm"/>
  412. <value ref="cd"/>
  413. </itemset>
  414. </choices>
  415. </select1>
  416. <caption id="cap_item2" ref="/root/hidden/menu/gbn2/gbnnm" class="search_name" style="left:405px; top:38px; width:112px; height:17px; "/>
  417. <select1 id="cmb_item2" ref="/root/hidden/menu/gbn2val" visibility="visible" appearance="minimal" style="left:520px; top:37px; width:190px; height:19px; ">
  418. <choices>
  419. <itemset nodeset="/root/hidden/menu/gbn2/item">
  420. <label ref="nm"/>
  421. <value ref="cd"/>
  422. </itemset>
  423. </choices>
  424. </select1>
  425. <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; ">
  426. <choices>
  427. <itemset nodeset="/root/hidden/menu/gbn3/item">
  428. <label ref="nm"/>
  429. <value ref="cd"/>
  430. </itemset>
  431. </choices>
  432. </select>
  433. <caption id="cap_sect" class="search_name" style="left:789px; top:11px; width:86px; height:17px; ">시행부서 :</caption>
  434. <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; ">
  435. <choices>
  436. <itemset nodeset="/root/init/LB0106">
  437. <label ref="nm"/>
  438. <value ref="cd"/>
  439. </itemset>
  440. </choices>
  441. </select1>
  442. <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; ">
  443. <choices>
  444. <itemset nodeset="/root/init/LB0111">
  445. <label ref="nm"/>
  446. <value ref="cd"/>
  447. </itemset>
  448. </choices>
  449. <script type="javascript" ev:event="xforms-value-changed">
  450. <![CDATA[
  451. if(cmb_TLrgCd.value == "00"){
  452. cmd_TMdlCd.choices.itemset.attribute("nodeset") = "/root/init/LB0106";
  453. }
  454. else{
  455. cmd_TMdlCd.choices.itemset.attribute("nodeset") = "/root/init/LB0106[cd='00' or etc01='"+cmb_TLrgCd.value+"']";
  456. }
  457. cmd_TMdlCd.refresh();
  458. ]]>
  459. </script>
  460. </select1>
  461. </group>
  462. <switch id="swt_statflag" class="sw_box" style="left:0px; top:105px; width:1195px; height:633px; ">
  463. <case id="dd" selected="true">
  464. <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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" style="left:5px; top:5px; width:1180px; height:616px; text-align:center; ">
  465. <col ref="cd1" style="text-align:center; "/>
  466. <col ref="nm1" style="text-align:center; "/>
  467. <col ref="cd2" style="text-align:center; "/>
  468. <col ref="nm2" style="text-align:center; "/>
  469. <col ref="cd3" style="text-align:center; "/>
  470. <col ref="nm3" style="text-align:center; "/>
  471. <col ref="cd4" style="text-align:center; "/>
  472. <col ref="nm4" style="text-align:center; "/>
  473. <col ref="h01" style="text-align:center; "/>
  474. <col ref="h02" style="text-align:center; "/>
  475. <col ref="h03" style="text-align:center; "/>
  476. <col ref="h04" style="text-align:center; "/>
  477. <col ref="h05" style="text-align:center; "/>
  478. <col ref="d01" format="#,###"/>
  479. <col ref="d02" format="#,###"/>
  480. <col ref="d03" format="#,###"/>
  481. <col ref="d04" format="#,###"/>
  482. <col ref="d05" format="#,###"/>
  483. <col ref="d06" format="#,###"/>
  484. <col ref="d07" format="#,###"/>
  485. <col ref="d08" format="#,###"/>
  486. <col ref="d09" format="#,###"/>
  487. <col ref="d10" format="#,###"/>
  488. <col ref="d11" format="#,###"/>
  489. <col ref="d12" format="#,###"/>
  490. <col ref="d13" format="#,###"/>
  491. <col ref="d14" format="#,###"/>
  492. <col ref="d15" format="#,###"/>
  493. <col ref="d16" format="#,###"/>
  494. <col ref="d17" format="#,###"/>
  495. <col ref="d18" format="#,###"/>
  496. <col ref="d19" format="#,###"/>
  497. <col ref="d20" format="#,###"/>
  498. <col ref="d21" format="#,###"/>
  499. <col ref="d22" format="#,###"/>
  500. <col ref="d23" format="#,###"/>
  501. <col ref="d24" format="#,###"/>
  502. <col ref="d25" format="#,###"/>
  503. <col ref="d26" format="#,###"/>
  504. <col ref="d27" format="#,###"/>
  505. <col ref="d28" format="#,###"/>
  506. <col ref="d29" format="#,###"/>
  507. <col ref="d30" format="#,###"/>
  508. <col ref="d31" format="#,###"/>
  509. <col ref="total" format="#,###"/>
  510. <col ref="a01" format="#,###"/>
  511. <col ref="b01" format="#,###"/>
  512. <col ref="c01"/>
  513. <col ref="a02" format="#,###"/>
  514. <col ref="b02" format="#,###"/>
  515. <col ref="c02"/>
  516. <col ref="a03" format="#,###"/>
  517. <col ref="b03" format="#,###"/>
  518. <col ref="c03"/>
  519. <col ref="a04" format="#,###"/>
  520. <col ref="b04" format="#,###"/>
  521. <col ref="c04"/>
  522. <col ref="a05" format="#,###"/>
  523. <col ref="b05" format="#,###"/>
  524. <col ref="c05"/>
  525. <col ref="a06" format="#,###"/>
  526. <col ref="b06" format="#,###"/>
  527. <col ref="c06"/>
  528. <col ref="a07" format="#,###"/>
  529. <col ref="b07" format="#,###"/>
  530. <col ref="c07"/>
  531. <col ref="a08" format="#,###"/>
  532. <col ref="b08" format="#,###"/>
  533. <col ref="c08"/>
  534. <col ref="a09" format="#,###"/>
  535. <col ref="b09" format="#,###"/>
  536. <col ref="c09"/>
  537. <col ref="a10" format="#,###"/>
  538. <col ref="b10" format="#,###"/>
  539. <col ref="c10"/>
  540. <col ref="a11" format="#,###"/>
  541. <col ref="b11" format="#,###"/>
  542. <col ref="c11"/>
  543. <col ref="a12" format="#,###"/>
  544. <col ref="b12" format="#,###"/>
  545. <col ref="c12"/>
  546. <col ref="a13" format="#,###"/>
  547. <col ref="b13" format="#,###"/>
  548. <col ref="c13"/>
  549. <col ref="a14" format="#,###"/>
  550. <col ref="b14" format="#,###"/>
  551. <col ref="c14"/>
  552. <col ref="a15" format="#,###"/>
  553. <col ref="b15" format="#,###"/>
  554. <col ref="c15"/>
  555. <col ref="a16" format="#,###"/>
  556. <col ref="b16" format="#,###"/>
  557. <col ref="c16"/>
  558. <col ref="a17" format="#,###"/>
  559. <col ref="b17" format="#,###"/>
  560. <col ref="c17"/>
  561. <col ref="a18" format="#,###"/>
  562. <col ref="b18" format="#,###"/>
  563. <col ref="c18"/>
  564. <col ref="a19" format="#,###"/>
  565. <col ref="b19" format="#,###"/>
  566. <col ref="c19"/>
  567. <col ref="a20" format="#,###"/>
  568. <col ref="b20" format="#,###"/>
  569. <col ref="c20"/>
  570. <col ref="a21" format="#,###"/>
  571. <col ref="b21" format="#,###"/>
  572. <col ref="c21"/>
  573. <col ref="a22" format="#,###"/>
  574. <col ref="b22" format="#,###"/>
  575. <col ref="c22"/>
  576. <col ref="a23" format="#,###"/>
  577. <col ref="b23" format="#,###"/>
  578. <col ref="c23"/>
  579. <col ref="a24" format="#,###"/>
  580. <col ref="b24" format="#,###"/>
  581. <col ref="c24"/>
  582. <col ref="a25" format="#,###"/>
  583. <col ref="b25" format="#,###"/>
  584. <col ref="c25"/>
  585. <col ref="a26" format="#,###"/>
  586. <col ref="b26" format="#,###"/>
  587. <col ref="c26"/>
  588. <col ref="a27" format="#,###"/>
  589. <col ref="b27" format="#,###"/>
  590. <col ref="c27"/>
  591. <col ref="a28" format="#,###"/>
  592. <col ref="b28" format="#,###"/>
  593. <col ref="c28"/>
  594. <col ref="a29" format="#,###"/>
  595. <col ref="b29" format="#,###"/>
  596. <col ref="c29"/>
  597. <col ref="a30" format="#,###"/>
  598. <col ref="b30" format="#,###"/>
  599. <col ref="c30"/>
  600. <col ref="a31" format="#,###"/>
  601. <col ref="b31" format="#,###"/>
  602. <col ref="c31"/>
  603. </datagrid>
  604. </case>
  605. <case id="mm"/>
  606. <case id="qurtyy"/>
  607. <case id="yy">
  608. <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; ">
  609. <script type="javascript" ev:event="onaftersort">
  610. <![CDATA[
  611. grd_qurtyy.gridToInstance();
  612. ]]>
  613. </script>
  614. </datagrid>
  615. </case>
  616. </switch>
  617. <button id="btn_ddstats" class="btn_sw" group="tab" style="left:0px; top:84px; width:75px; height:22px; ">
  618. <caption>통계데이터</caption>
  619. <toggle case="dd" ev:event="DOMActivate"/>
  620. <script type="javascript" ev:event="DOMActivate">
  621. <![CDATA[
  622. fGridInit();
  623. ]]>
  624. </script>
  625. </button>
  626. </group>
  627. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">범용 조회</caption>
  628. <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
  629. <line id="line2" class="line_2" style="x1:0px; y1:25px; x2:1195px; y2:25px; "/>
  630. <button id="btn_excel" class="btn6_letter5" style="left:0px; top:3px; width:92px; height:22px; ">
  631. <caption>EXCEL저장</caption>
  632. <script type="javascript" ev:event="DOMActivate">
  633. <![CDATA[
  634. fExeSaveToExcel();
  635. ]]>
  636. </script>
  637. </button>
  638. </group>
  639. </xhtml:body>
  640. </xhtml:html>