SMAES01400_영상의학월별검사별실적.xrw 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>검사별통계</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list>
  11. <item>
  12. <systkey1/>
  13. <systkey2/>
  14. <item01/>
  15. <item02/>
  16. <item03/>
  17. <item04/>
  18. <item05/>
  19. <item06/>
  20. <item07/>
  21. <item08/>
  22. <item09/>
  23. <item10/>
  24. <item11/>
  25. <item12/>
  26. <item13/>
  27. <item14/>
  28. <item15/>
  29. <item16/>
  30. <item17/>
  31. <item18/>
  32. <item19/>
  33. <item20/>
  34. <item21/>
  35. <item22/>
  36. <item23/>
  37. <item24/>
  38. <item25/>
  39. <item26/>
  40. <item27/>
  41. <item28/>
  42. <item29/>
  43. <item30/>
  44. <item31/>
  45. <total/>
  46. </item>
  47. </list>
  48. </main>
  49. <send>
  50. <execfromdd/>
  51. <exectodd/>
  52. <globalinstance>
  53. <instance1/>
  54. </globalinstance>
  55. <suppdeptcd/>
  56. <lrgcd/>
  57. <mdlcd/>
  58. <flag/>
  59. <partflag/>
  60. <basecdflag/>
  61. <flag2/>
  62. <srchdate/>
  63. <srchflag/>
  64. </send>
  65. <init>
  66. <cmb_lrgcd/>
  67. <cmb_mdlcd/>
  68. </init>
  69. <hidden>
  70. <comcd/>
  71. </hidden>
  72. </root>
  73. </instance>
  74. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  75. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  76. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  77. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  78. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  79. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  80. <script type="javascript" ev:event="xforms-ready">
  81. <![CDATA[
  82. aezfSetSuppDeptcd();
  83. model.setValue("/root/send/suppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
  84. model.setValue("/root/send/srchdate", getCurrentDate().substr(0,6));
  85. model.setValue("/root/send/flag", "E");
  86. model.setValue("/root/send/basecdflag", "R");
  87. submit("TRAES01502", false);
  88. aezfInsertInstance2("/root/hidden/comcd", "lrgcdlist", "전체", "", "/root/init/cmb_lrgcd");
  89. setTitle();
  90. model.refresh();
  91. ]]>
  92. </script>
  93. <submission id="TRAES01401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
  94. <submission id="TRAES01402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
  95. <submission id="TRAES01502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_lrgcd"/>
  96. <submission id="TRAES01503" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_mdlcd"/>
  97. </model>
  98. <script type="javascript">
  99. <![CDATA[
  100. /* @group : 검사별통계 통계
  101. * @ver :
  102. * @by :
  103. * @-----------------------------------
  104. * @type : function
  105. * @access : public
  106. * @desc : 그리드 header를 정의하는 함수
  107. */
  108. function setTitle() {
  109. var srchstatsflag = model.getValue("/root/send/srchstatsflag");
  110. var baseDate = model.getValue("/root/send/srchdate") + "01";
  111. model.removenode("/root/main/list");
  112. var stHeader = "";
  113. var stMonthHeader = "";
  114. var stDay = "";
  115. var stMonth = "";
  116. var sDayCnt = baseDate.toDate().getMonthDay();
  117. var baseYear = baseDate.substr(0,4);
  118. stHeader = "검사코드^구분^";
  119. grd_daylist.colHidden(grd_daylist.colRef("systkey1")) = true;
  120. grd_monthlist.colHidden(grd_monthlist.colRef("systkey1")) = true;
  121. grd_daylist.colWidth(1) = 100;
  122. grd_monthlist.colWidth(1) = 100;
  123. grd_daylist.colWidth(2) = 332;
  124. grd_monthlist.colWidth(2) = 332;
  125. stDay = "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일^합계";
  126. stMonth = " " + baseYear + "년 ^ "+ baseYear + "년 ^ "+ baseYear + "년 ^ "+ baseYear + "년 ^ "+ baseYear + "년 ^ "+ baseYear + "년 ^ "+ baseYear + "년 ^ "+ baseYear + "년 ^ "+ baseYear + "년 ^ "+ baseYear + "년 ^ "+ baseYear + "년 ^ "+ baseYear + "년 ^ 합계 |"+ stHeader +" 1월 ^ 2월 ^ 3월 ^ 4월 ^ 5월 ^ 6월 ^ 7월 ^ 8월 ^ 9월 ^ 10월 ^ 11월 ^ 12월 ^ 합계 ";
  127. // 일별
  128. stDay = stHeader + stDay;
  129. grd_daylist.caption = stDay;
  130. // 월별
  131. stMonth = stHeader + stMonth;
  132. grd_monthlist.caption = stMonth;
  133. if(sDayCnt > 30) {
  134. grd_daylist.colHidden(grd_daylist.colRef("item29")) = false;
  135. grd_daylist.colHidden(grd_daylist.colRef("item30")) = false;
  136. grd_daylist.colHidden(grd_daylist.colRef("item31")) = false;
  137. }else if(sDayCnt == 29) {
  138. grd_daylist.colHidden(grd_daylist.colRef("item29")) = false;
  139. grd_daylist.colHidden(grd_daylist.colRef("item30")) = true;
  140. grd_daylist.colHidden(grd_daylist.colRef("item31")) = true;
  141. }else if(sDayCnt < 29) {
  142. grd_daylist.colHidden(grd_daylist.colRef("item29")) = true;
  143. grd_daylist.colHidden(grd_daylist.colRef("item30")) = true;
  144. grd_daylist.colHidden(grd_daylist.colRef("item31")) = true;
  145. }else {
  146. grd_daylist.colHidden(grd_daylist.colRef("item29")) = false;
  147. grd_daylist.colHidden(grd_daylist.colRef("item30")) = false;
  148. grd_daylist.colHidden(grd_daylist.colRef("item31")) = true;
  149. }
  150. grd_daylist.rebuild();
  151. grd_monthlist.rebuild();
  152. }
  153. /* @group : 검사별통계 통계
  154. * @ver :
  155. * @by :
  156. * @-----------------------------------
  157. * @type : function
  158. * @access : public
  159. * @desc : 검사별통계을 조회하는 함수
  160. */
  161. function getimgSytsStatsCaseList(){
  162. // 일별
  163. if (btn_case1.selected == true) {
  164. model.setValue("/root/send/srchflag","D");
  165. grd_list = grd_daylist;
  166. // 월별
  167. } else if (btn_case2.selected == true) {
  168. model.setValue("/root/send/srchflag","M");
  169. grd_list = grd_monthlist;
  170. }
  171. model.removenode("/root/main/list");
  172. if (submit("TRAES01402")) {
  173. var cnt = getNodesetCount("/root/main/list/item");
  174. if (cnt > 1) {
  175. var ord = "";
  176. for ( var i = 1; i <= grd_list.rows; i++ ) {
  177. ord = grd_list.valueMatrix(i, grd_list.colRef("systkey1"));
  178. if ( ord == "2" ) {
  179. grd_list.rowstyle( i , "data" , "background-color" ) = "#CCFFCC";
  180. grd_list.rowstyle( i , "data" , "font-weight" ) = "bold";
  181. } else if ( ord == "3" ) {
  182. grd_list.rowstyle( i , "data" , "background-color" ) = "#FFFFCC";
  183. grd_list.rowstyle( i , "data" , "font-weight" ) = "bold";
  184. }else{
  185. grd_list.rowstyle( i , "data" , "background-color" ) = "#FFFFFF";
  186. grd_list.rowstyle( i , "data" , "font-weight" ) = "normal";
  187. }
  188. }
  189. // var srchstatsflag = model.getValue("/root/send/srchstatsflag");
  190. //
  191. // // 소계 및 합계 구하는 함수 호출 - grid Object, 통계구분, 탭구분)
  192. // fSetSubTotal(grd_list, srchstatsflag , model.getValue("/root/send/srchflag"));
  193. }
  194. }
  195. }
  196. /* @group : 검사별통계 통계
  197. * @ver :
  198. * @by :
  199. * @-----------------------------------
  200. * @type : function
  201. * @access : public
  202. * @desc : 조회된 통계 데이타에 대한 소계 및 총계를 구하는 함수
  203. */
  204. function fSetSubTotal(grd_list, srchstatsflag, srchflag) {
  205. var colpos = 0;
  206. var rowCnt = 0;
  207. grd_list.colSort(0) = "asc";
  208. grd_list.sort(0, 0, grd_list.rows, grd_list.cols) = "usersort";
  209. for(i=2; i<grd_list.cols; i++) {
  210. grd_list.subtotal("sum", -1, i, "#,###", "background-color:#CCFFCC; color:#0000ff; font-weight:bold; ", 1, "총계");
  211. }
  212. grd_list.mergeByFree(grd_list.rows-1, 1 , grd_list.rows-1, 2);
  213. rowCnt = 0;
  214. // 증감율 구하기
  215. var colnm = "";
  216. var subtotal = 0;
  217. var subcomparecnt = 0;
  218. var subcomparerate = "";
  219. for (i=0; i<rowCnt; i++) {
  220. colnm = grd_list.valueMatrix(i, colpos);
  221. if (colnm == "소계" ) {
  222. // 소계 합계
  223. subtotal = grd_list.valueMatrix(i, grd_list.colRef("total"));
  224. subcomparecnt = grd_list.valueMatrix(i, grd_list.colRef("comparecnt"));
  225. grd_list.valueMatrix(i, grd_list.colRef("comparerate")) = setCompareRate(subtotal, subcomparecnt);
  226. // 분기별일 경우 분기별 증감율 구하기
  227. if (srchflag == "Q") {
  228. // 1분기
  229. subtotal = grd_list.valueMatrix(i, grd_list.colRef("item01"));
  230. subcomparecnt = grd_list.valueMatrix(i, grd_list.colRef("item09"));
  231. grd_list.valueMatrix(i, grd_list.colRef("item02")) = setCompareRate(subtotal, subcomparecnt);
  232. // 2분기
  233. subtotal = grd_list.valueMatrix(i, grd_list.colRef("item03"));
  234. subcomparecnt = grd_list.valueMatrix(i, grd_list.colRef("item10"));
  235. grd_list.valueMatrix(i, grd_list.colRef("item04")) = setCompareRate(subtotal, subcomparecnt);
  236. // 3분기
  237. subtotal = grd_list.valueMatrix(i, grd_list.colRef("item05"));
  238. subcomparecnt = grd_list.valueMatrix(i, grd_list.colRef("item11"));
  239. grd_list.valueMatrix(i, grd_list.colRef("item06")) = setCompareRate(subtotal, subcomparecnt);
  240. // 4분기
  241. subtotal = grd_list.valueMatrix(i, grd_list.colRef("item07"));
  242. subcomparecnt = grd_list.valueMatrix(i, grd_list.colRef("item12"));
  243. grd_list.valueMatrix(i, grd_list.colRef("item08")) = setCompareRate(subtotal, subcomparecnt);
  244. grd_list.cellformat(i, grd_list.colRef("item02")) = "(-)#,### %";
  245. grd_list.cellformat(i, grd_list.colRef("item04")) = "(-)#,### %";
  246. grd_list.cellformat(i, grd_list.colRef("item06")) = "(-)#,### %";
  247. grd_list.cellformat(i, grd_list.colRef("item08")) = "(-)#,### %";
  248. grd_list.cellformat(i, grd_list.colRef("comparerate")) = "(-)#,### %";
  249. } // 분기별일 경우 분기별 증감율 구하기 끝
  250. }
  251. }
  252. }
  253. /* @group : 검사별통계 통계
  254. * @ver :
  255. * @by :
  256. * @-----------------------------------
  257. * @type : function
  258. * @access : public
  259. * @desc : 증감율을 구하는 함수
  260. */
  261. function setCompareRate(total, comparecnt) {
  262. var comparerate = 0;
  263. if (parseInt(comparecnt) > 0) {
  264. comparerate = ( ( parseInt(total) - parseInt(comparecnt) ) / parseInt(comparecnt) ) * 100;
  265. if (comparerate != null) {
  266. comparerate = comparerate.toString().getRound(-1,"HALF_UP");
  267. } else {
  268. comparerate = 0;
  269. }
  270. } else {
  271. comparerate = 0;
  272. }
  273. return comparerate;
  274. }
  275. ]]>
  276. </script>
  277. </xhtml:head>
  278. <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  279. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  280. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:200px; height:14px; ">검사별통계</caption>
  281. </group>
  282. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  283. <group id="group1" style="left:0px; top:10px; width:1195px; height:30px; vertical-align:top; ">
  284. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:30px; background-color:#fffbf2; border-color:#ffd799; "/>
  285. <line id="line2" class="line_4" style="x1:1110px; y1:5px; x2:1110px; y2:25px; "/>
  286. <button id="button1" class="btn1_letter2" navindex="4" style="left:1120px; top:4px; width:56px; height:22px; ">
  287. <caption>조회</caption>
  288. <script type="javascript" ev:event="DOMActivate">
  289. <![CDATA[
  290. openLoadingBar("검사별통계을 조회 중입니다....") ;
  291. // 검사별실적 통계 조회
  292. getimgSytsStatsCaseList();
  293. closeLoadingBar() ;//처리중 화면을 close한다.
  294. ]]>
  295. </script>
  296. </button>
  297. <caption id="caption7" class="search_name" style="left:235px; top:7px; width:76px; height:17px; ">대분류 :</caption>
  298. <caption id="caption9" class="search_name" style="left:425px; top:7px; width:76px; height:17px; ">중분류 :</caption>
  299. <select1 id="radio1" ref="/root/send/flag" appearance="full" cols="2" overflow="visible" style="left:720px; top:7px; width:140px; height:17px; border-style:none; ">
  300. <choices>
  301. <item>
  302. <label>촬영건수</label>
  303. <value>E</value>
  304. </item>
  305. <item>
  306. <label>부위건수</label>
  307. <value>B</value>
  308. </item>
  309. </choices>
  310. <script type="javascript" ev:event="onclick">
  311. <![CDATA[
  312. model.setValue("/root/send/flag2" , "");
  313. model.refresh();
  314. ]]>
  315. </script>
  316. </select1>
  317. <select1 id="cmb_lrgcd" ref="/root/send/lrgcd" appearance="minimal" editmode="input" style="left:310px; top:6px; width:80px; height:19px; ">
  318. <choices>
  319. <itemset nodeset="/root/init/cmb_lrgcd/lrgcdlist">
  320. <label ref="cdnm"/>
  321. <value ref="cdid"/>
  322. </itemset>
  323. </choices>
  324. <script type="javascript" ev:event="xforms-value-changed">
  325. <![CDATA[
  326. // if ( model.getValue("/root/send/lrgcd") == "GR" ) {
  327. //
  328. // if ( model.getValue("/root/send/flag") == "" ) {
  329. // model.setValue("/root/send/flag" , "E"); // 검사수
  330. // model.refresh();
  331. // }else {
  332. // model.setValue("/root/send/flag2" , "");
  333. // model.refresh();
  334. // }
  335. // checkbox1.visible = true;
  336. // }else {
  337. // model.setValue("/root/send/flag" , "E"); // 검사수
  338. // model.setValue("/root/send/flag2" , ""); // 부위건수
  339. // model.refresh();
  340. // checkbox1.visible = false;
  341. // }
  342. //
  343. // model.removenode("/root/main/list");
  344. model.setValue("/root/send/mdlcd", "");
  345. model.resetInstanceNode("/root/init/cmb_mdlcd/mdlcdlist");
  346. if ( model.getValue("/root/send/lrgcd") == "" ) {
  347. model.resetInstanceNode("/root/init/cmb_lrgcd/lrgcdlist");
  348. submit("TRAES01502");
  349. }else {
  350. submit("TRAES01503");
  351. }
  352. ]]>
  353. </script>
  354. </select1>
  355. <select1 id="cmb_mdlcd" ref="/root/send/mdlcd" appearance="minimal" editmode="input" style="left:500px; top:6px; width:120px; height:19px; ">
  356. <choices>
  357. <itemset nodeset="/root/init/cmb_mdlcd/mdlcdlist">
  358. <label ref="cdnm"/>
  359. <value ref="cdid"/>
  360. </itemset>
  361. </choices>
  362. </select1>
  363. <caption id="caption3" class="search_name" style="left:895px; top:7px; width:60px; height:17px; ">분류 :</caption>
  364. <select1 id="rdo_partflag" ref="/root/send/partflag" appearance="full" cols="3" overflow="visible" style="left:960px; top:7px; width:134px; height:16px; border-style:none; ">
  365. <choices>
  366. <item>
  367. <label>전체</label>
  368. <value/>
  369. </item>
  370. <item>
  371. <label>영상</label>
  372. <value>R</value>
  373. </item>
  374. <item>
  375. <label>건진</label>
  376. <value>S</value>
  377. </item>
  378. </choices>
  379. </select1>
  380. <caption id="caption4" class="search_name" style="left:655px; top:7px; width:66px; height:17px; ">구분 :</caption>
  381. <caption id="caption2" class="search_name" style="left:20px; top:7px; width:86px; height:17px; ">기준년월 :</caption>
  382. <input id="input4" ref="/root/send/srchdate" class="input_default" inputtype="date" format="yyyy-mm" style="left:110px; top:6px; width:90px; height:19px; ">
  383. <script type="javascript" ev:event="xforms-value-changed">
  384. <![CDATA[
  385. setTitle();
  386. ]]>
  387. </script>
  388. </input>
  389. </group>
  390. <switch id="switch1" style="left:0px; top:74px; width:1195px; height:669px; ">
  391. <case id="case1" selected="true" style="left:0px; top:0px; width:1193px; height:667px; ">
  392. <datagrid id="grd_daylist" nodeset="/root/main/list/item" backcoloralternate="transparent" 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="100, 240, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 60" ellipsis="true" frozencols="2" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" multitotal="true" rowheader="seq" rowsep="|" subtotalposition="below" tooltip="true" style="left:0px; top:5px; width:1192px; height:664px; ">
  393. <col ref="systkey1" style="text-align:center; "/>
  394. <col ref="systkey2" style="text-align:left; "/>
  395. <col ref="item01" format="#,###" style="text-align:right; "/>
  396. <col ref="item02" format="#,###" style="text-align:right; "/>
  397. <col ref="item03" format="#,###" style="text-align:right; "/>
  398. <col ref="item04" format="#,###" style="text-align:right; "/>
  399. <col ref="item05" format="#,###" style="text-align:right; "/>
  400. <col ref="item06" format="#,###" style="text-align:right; "/>
  401. <col ref="item07" format="#,###" style="text-align:right; "/>
  402. <col ref="item08" format="#,###" style="text-align:right; "/>
  403. <col ref="item09" format="#,###" style="text-align:right; "/>
  404. <col ref="item10" format="#,###" style="text-align:right; "/>
  405. <col ref="item11" format="#,###" style="text-align:right; "/>
  406. <col ref="item12" format="#,###" style="text-align:right; "/>
  407. <col ref="item13" format="#,###" style="text-align:right; "/>
  408. <col ref="item14" format="#,###" style="text-align:right; "/>
  409. <col ref="item15" format="#,###" style="text-align:right; "/>
  410. <col ref="item16" format="#,###" style="text-align:right; "/>
  411. <col ref="item17" format="#,###" style="text-align:right; "/>
  412. <col ref="item18" format="#,###" style="text-align:right; "/>
  413. <col ref="item19" format="#,###" style="text-align:right; "/>
  414. <col ref="item20" format="#,###" style="text-align:right; "/>
  415. <col ref="item21" format="#,###" style="text-align:right; "/>
  416. <col ref="item22" format="#,###" style="text-align:right; "/>
  417. <col ref="item23" format="#,###" style="text-align:right; "/>
  418. <col ref="item24" format="#,###" style="text-align:right; "/>
  419. <col ref="item25" format="#,###" style="text-align:right; "/>
  420. <col ref="item26" format="#,###" style="text-align:right; "/>
  421. <col ref="item27" format="#,###" style="text-align:right; "/>
  422. <col ref="item28" format="#,###" style="text-align:right; "/>
  423. <col ref="item29" format="#,###" style="text-align:right; "/>
  424. <col ref="item30" format="#,###" style="text-align:right; "/>
  425. <col ref="item31" format="#,###" style="text-align:right; "/>
  426. <col ref="total" format="#,###" style="text-align:right; "/>
  427. </datagrid>
  428. </case>
  429. <case id="case2">
  430. <datagrid id="grd_monthlist" nodeset="/root/main/list/item" backcoloralternate="transparent" caption="구분^구분^2006년^2006년^2006년^2006년^2006년^2006년^2006년^2006년^2006년^2006년^2006년^2006년^합계^전년도합계^증감(%)|구분^구분^1월^2월^3월^4월^5월^6월^7월^8월^9월^10월^11월^12월^합계" colsep="^" colwidth="100, 240, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 92" ellipsis="true" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" subtotalposition="below" tooltip="true" style="left:0px; top:0px; width:1192px; height:664px; ">
  431. <col ref="systkey1" style="text-align:center; "/>
  432. <col ref="systkey2" style="text-align:left; "/>
  433. <col ref="item01" format="#,###" style="text-align:right; "/>
  434. <col ref="item02" format="#,###" style="text-align:right; "/>
  435. <col ref="item03" format="#,###" style="text-align:right; "/>
  436. <col ref="item04" format="#,###" style="text-align:right; "/>
  437. <col ref="item05" format="#,###" style="text-align:right; "/>
  438. <col ref="item06" format="#,###" style="text-align:right; "/>
  439. <col ref="item07" format="#,###" style="text-align:right; "/>
  440. <col ref="item08" format="#,###" style="text-align:right; "/>
  441. <col ref="item09" format="#,###" style="text-align:right; "/>
  442. <col ref="item10" format="#,###" style="text-align:right; "/>
  443. <col ref="item11" format="#,###" style="text-align:right; "/>
  444. <col ref="item12" format="#,###" style="text-align:right; "/>
  445. <col ref="total" format="#,###" style="text-align:right; "/>
  446. </datagrid>
  447. </case>
  448. </switch>
  449. <button id="btn_case1" class="btn_sw" group="tab2" selected="true" style="left:1px; top:48px; width:60px; height:22px; ">
  450. <caption>일별</caption>
  451. <toggle case="case1" ev:event="onclick"/>
  452. <script type="javascript" ev:event="DOMActivate">
  453. <![CDATA[
  454. model.removenode("/root/main/list");
  455. model.refresh();
  456. model.toggle("case1");
  457. // 검사별실적 통계 조회
  458. getimgSytsStatsCaseList();
  459. ]]>
  460. </script>
  461. </button>
  462. <button id="btn_case2" class="btn_sw" group="tab2" style="left:61px; top:48px; width:60px; height:22px; ">
  463. <caption>월별</caption>
  464. <toggle case="case1" ev:event="onclick"/>
  465. <script type="javascript" ev:event="DOMActivate">
  466. <![CDATA[
  467. model.removenode("/root/main/list");
  468. model.refresh();
  469. model.toggle("case2");
  470. // 검사별실적 통계 조회
  471. getimgSytsStatsCaseList();
  472. ]]>
  473. </script>
  474. </button>
  475. <line id="line1" class="line_1" style="x1:0px; y1:75px; x2:1195px; y2:75px; "/>
  476. <button id="button2" class="btn2_letter4" visibility="visible" style="left:1130px; top:50px; width:64px; height:19px; ">
  477. <caption>엑셀저장</caption>
  478. <script type="javascript" ev:event="DOMActivate">
  479. <![CDATA[
  480. var fileName = window.fileDialog("save", ",", false, "", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  481. if (fileName != "") {
  482. // 일별
  483. if (btn_case1.selected == true) {
  484. grd_daylist.saveExcel(fileName);
  485. // 월별
  486. } else if (btn_case2.selected == true) {
  487. grd_monthlist.saveExcel(fileName);
  488. }
  489. }
  490. ]]>
  491. </script>
  492. </button>
  493. </group>
  494. </xhtml:body>
  495. </xhtml:html>