SMAES00200_기능검사실통계(기본).xrw 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531
  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. <prcpnm/>
  13. <inprcpcnt/>
  14. <outprcpcnt/>
  15. <totrsrvcnt/>
  16. <rsrvcnt/>
  17. <prcpexeccnt/>
  18. <totexeccnt/>
  19. <totnopaycnt/>
  20. <rsrvnopayrate/>
  21. <comparerate/>
  22. <prcpcd/>
  23. </item>
  24. </list>
  25. <list1>
  26. <item>
  27. <basecdcnts/>
  28. <excuroomcdnm/>
  29. <excucdnm/>
  30. <inprcpcnt/>
  31. <outprcpcnt/>
  32. <totrsrvcnt/>
  33. <rsrvcnt/>
  34. <prcpexeccnt/>
  35. <totexeccnt/>
  36. <totnopaycnt/>
  37. <rsrvnopayrate/>
  38. <comparerate/>
  39. </item>
  40. </list1>
  41. </main>
  42. <send>
  43. <execfromdd/>
  44. <exectodd/>
  45. <comparefromdd/>
  46. <comparetodd/>
  47. <orddeptcd/>
  48. <orddrid/>
  49. <execdeptcd/>
  50. <execdrid/>
  51. <globalinstance>
  52. <instance1/>
  53. </globalinstance>
  54. <excuroomcd/>
  55. <execrid/>
  56. <deptcd/>
  57. <srchtab/>
  58. </send>
  59. <inti/>
  60. <hidden/>
  61. <init>
  62. <cmb_orddr>
  63. <initexecorddr>
  64. <execorddrcdid/>
  65. <execorddrcdnm/>
  66. </initexecorddr>
  67. </cmb_orddr>
  68. </init>
  69. </root>
  70. </instance>
  71. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  72. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  73. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  74. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  75. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  76. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  77. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  78. <script type="javascript" ev:event="xforms-ready">
  79. <![CDATA[
  80. aezfSetSuppDeptcd();
  81. // 진료과/진료의 조회
  82. submit("TRPMOCOM01",false);
  83. // 검사실/실시자 조회
  84. submit("TRAEA01115",false);
  85. //var fromdd = getCurrentDate().substr(0,4) + "0101";
  86. //var todd = getCurrentDate().substr(0,6) + fromdd.toDate().getMonthDay();
  87. //var comparefromdd = getCurrentDate().substr(0,6).toDate().getAddDate(-1,"Y").getDateFormat("YYYY") + "0101";
  88. //var comparetodd = comparefromdd.substr(0,4) + todd.substr(4,4);
  89. var fromdd = getCurrentDate().substr(0,8).toDate().getAddDate(-1,"D").getDateFormat("YYYYMMDD");
  90. var todd = getCurrentDate().substr(0,8).toDate().getAddDate(-1,"D").getDateFormat("YYYYMMDD");
  91. var comparefromdd = getCurrentDate().substr(0,8).toDate().getAddDate(-2,"D").getDateFormat("YYYYMMDD");
  92. var comparetodd = getCurrentDate().substr(0,8).toDate().getAddDate(-2,"D").getDateFormat("YYYYMMDD");
  93. model.removenode("/root/main/list/item");
  94. model.setValue("/root/send/execfromdd", fromdd);
  95. model.setValue("/root/send/exectodd", todd);
  96. model.setValue("/root/send/comparefromdd",comparefromdd);
  97. model.setValue("/root/send/comparetodd",comparetodd);
  98. addComboItem("cmb_excuroom","--전체--","","above");
  99. addComboItem("cmb_orddept","--전체--","","above");
  100. addComboItem("cmb_orddr","--전체--","","above");
  101. model.refresh();
  102. ]]>
  103. </script>
  104. <submission id="TRPMOCOM01" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/session" replace="instance" resultref="/root/init"/>
  105. <submission id="TRAEA01115" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init/cmb_info"/>
  106. <submission id="TRAES00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
  107. <submission id="TRAES00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list1"/>
  108. <submission id="TRAER00804" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_orddr"/>
  109. </model>
  110. <script type="javascript">
  111. <![CDATA[
  112. function chkDate(id, type){
  113. this.id = id;
  114. this.obj = document.all(id);
  115. this.ref = this.obj.attribute("ref");
  116. //null check
  117. var value = this.obj.value;
  118. if(value.length == 0){
  119. messageBox(type+"기간을", "C001");
  120. model.setFocus(this.id);
  121. return false;
  122. }
  123. return this;
  124. }
  125. function chkBeforeAfter(id1, id2, type){
  126. var value1 = model.getValue(eval(id1).attribute("ref"));
  127. var value2 = model.getValue(eval(id2).attribute("ref"));
  128. if(value1 > value2) {
  129. messageBox("시작 "+type+"기간보다 "+type+" 적게 입력", "E001");
  130. model.setFocus(id2);
  131. return false;
  132. }
  133. }
  134. /* @group : 기능검사실 통계(처방의)
  135. * @-----------------------------------
  136. * @type : function
  137. * @access : public
  138. * @desc : 주치의정보(진료의사) 조회를 위한 Function
  139. */
  140. //2009-06-23 진료과별 처방의 조회
  141. function fChngSrchDrId() {
  142. if ( model.getValue("/root/send/orddeptcd") == "" ){
  143. model.removeNodeset("/root/init/cmb_orddr/initexecorddr");
  144. model.setValue("/root/send/orddrid", "");
  145. model.refresh();
  146. return;
  147. }
  148. //alert(cmb_wardcd.value);
  149. //alert(model.getValue("/root/send/data/singdata/deptcd"));
  150. model.resetInstanceNode("/root/init/cmb_orddr/initexecorddr");
  151. model.setValue("/root/send/deptcd", model.getValue("/root/send/orddeptcd"));
  152. submit("TRAER00804");
  153. }
  154. /* @group : 통합 통계
  155. * @ver :
  156. * @by :
  157. * @-----------------------------------
  158. * @type : function
  159. * @access : public
  160. * @desc : 증감율을 구하는 함수
  161. */
  162. function setCompareRate(total, comparecnt) {
  163. var comparerate = 0;
  164. if (parseInt(comparecnt) > 0) {
  165. comparerate = ( ( parseInt(total) - parseInt(comparecnt) ) / parseInt(comparecnt) ) * 100;
  166. if (comparerate != null) {
  167. comparerate = comparerate.toString().getRound(-1,"HALF_UP");
  168. } else {
  169. comparerate = 0;
  170. }
  171. } else {
  172. comparerate = 0;
  173. }
  174. return comparerate;
  175. }
  176. ]]>
  177. </script>
  178. </xhtml:head>
  179. <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  180. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  181. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:200px; height:14px; ">기능검사실 통계(기본)</caption>
  182. </group>
  183. <group id="grp_biz" style="left:0px; top:0px; width:1195px; height:744px; ">
  184. <caption id="caption1" class="tit_2" style="left:130px; top:80px; width:200px; height:13px; ">기능검사실 통계(기본)</caption>
  185. <line id="line1" class="line_1" style="x1:0px; y1:95px; x2:1195px; y2:95px; "/>
  186. <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:60px; vertical-align:top; ">
  187. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
  188. <caption id="caption2" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">조회기간 :</caption>
  189. <line id="line13" class="line_4" style="x1:1110px; y1:7px; x2:1110px; y2:52px; "/>
  190. <button id="btn_sea" class="btn1_letter2" navindex="4" style="left:1120px; top:20px; width:56px; height:22px; ">
  191. <caption>조회</caption>
  192. <script type="javascript" ev:event="DOMActivate">
  193. <![CDATA[
  194. //조회기간 체크
  195. if(chkDate("ipt_fromdd", "조회") && chkDate("ipt_todd", "조회")) {
  196. chkBeforeAfter("ipt_fromdd", "ipt_todd", "조회");
  197. }
  198. //비교기간체크
  199. if(chkDate("ipt_compfrom", "비교") && chkDate("ipt_compto", "비교")) {
  200. chkBeforeAfter("ipt_compfrom", "ipt_compto", "비교");
  201. }
  202. //"/root/send/srchtab" R:검사실,C:검사코드
  203. model.setValue("/root/send/srchtab","");
  204. if(submit("TRAES00201")){
  205. grd_list.subtotal("sum", -1, 2, "#,###", "background-color:#99ff99", 1, "합계");
  206. for(i=3; i<grd_list.cols-2; i++) {
  207. grd_list.subtotal("sum", -1, i, "(-)#,###");
  208. }
  209. var rsrv = grd_list.valueMatrix(grd_list.rows-1, grd_list.colRef("totrsrvcnt"));
  210. var nopay = grd_list.valueMatrix(grd_list.rows-1, grd_list.colRef("totnopaycnt"));
  211. var nopayrate = ( parseInt(nopay) / parseInt(rsrv) ) *100;
  212. if(nopayrate != null) {
  213. grd_list.valueMatrix(grd_list.rows-1, 10) = nopayrate.toString().getRound(-1,"DOWN");
  214. grd_list.cellformat(grd_list.rows-1, 10) = "(-)#,### %";
  215. }
  216. var sumprcp = grd_list.valueMatrix(grd_list.rows-1, grd_list.colRef("totexeccnt"));
  217. var sumcnt = grd_list.valueMatrix(grd_list.rows-1, grd_list.colRef("sumcnt"));
  218. //alert("TRAES00201 totexeccnt==>"+sumprcp);alert("TRAES00201 sumcnt==>"+sumcnt);
  219. var comparerate = ( ( parseInt(sumprcp) - parseInt(sumcnt) ) / parseInt(sumcnt) ) * 100;
  220. //alert("TRAES00201 comparerate==>"+comparerate);
  221. if(comparerate != null && !isNaN(comparerate)) {
  222. grd_list.valueMatrix(grd_list.rows-1, 11) = comparerate.toString().getRound(-1,"DOWN");
  223. grd_list.cellformat(grd_list.rows-1, 11) = "(-)#,### %";
  224. }
  225. }
  226. //"/root/send/srchtab" R:검사실,C:검사코드
  227. model.setValue("/root/send/srchtab","R");
  228. if(submit("TRAES00202")){
  229. colpos = grd_list1.colRef("excucdnm");
  230. for(i=3; i<grd_list1.cols; i++) {
  231. grd_list1.subtotal("sum", 2, i, "#,###", "background-color:#FFFFCC; color:#0000ff; font-weight:bold; ", colpos, "소계");
  232. grd_list1.subtotal("sum", -1, i, "#,###", "background-color:#CCFFCC; color:#0000ff; font-weight:bold; ", 1, "총계");
  233. }
  234. grd_list1.mergeByFree(grd_list1.rows-1, 1 , grd_list1.rows-1, 3);
  235. rowCnt = grd_list1.rows;
  236. // 증감율 구하기
  237. var colnm = "";
  238. var subtotal = 0;
  239. var subcomparecnt = 0;
  240. var subcomparerate = "";
  241. var rsrv1 = 0;
  242. var nopay1 = 0;
  243. var sumprcp1 = 0;
  244. var sumcnt1 = 0;
  245. for (i=0; i<rowCnt; i++) {
  246. colnm = grd_list1.valueMatrix(i, colpos);
  247. if (colnm == "소계" ) {
  248. var rsrv = grd_list1.valueMatrix(i, grd_list1.colRef("totrsrvcnt"));
  249. var nopay = grd_list1.valueMatrix(i, grd_list1.colRef("totnopaycnt"));
  250. var nopayrate = ( parseInt(nopay) / parseInt(rsrv) ) *100;
  251. //alert("nopayrate["+i+"]==>"+nopayrate);
  252. if(nopayrate != null && !isNaN(nopayrate)) {
  253. grd_list1.valueMatrix(i, grd_list1.colRef("rsrvnopayrate")) = nopayrate.toString().getRound(-1,"DOWN");
  254. grd_list1.cellformat(i, grd_list1.colRef("rsrvnopayrate")) = "(-)#,### %";
  255. }else {
  256. grd_list1.valueMatrix(i, grd_list1.colRef("rsrvnopayrate")) = 0;
  257. grd_list1.cellformat(i, grd_list1.colRef("rsrvnopayrate")) = "(-)#,### %";
  258. }
  259. var sumprcp = grd_list1.valueMatrix(i, grd_list1.colRef("totexeccnt"));
  260. var sumcnt = grd_list1.valueMatrix(i, grd_list1.colRef("sumcnt"));
  261. var comparerate = ( ( parseInt(sumprcp) - parseInt(sumcnt) ) / parseInt(sumcnt) ) * 100;
  262. //alert(comparerate);
  263. if(comparerate != null && !isNaN(comparerate) ) {
  264. grd_list1.valueMatrix(i, grd_list1.colRef("comparerate")) = comparerate.toString().getRound(-1,"DOWN");
  265. grd_list1.cellformat(i, grd_list1.colRef("comparerate")) = "(-)#,### %";
  266. }else {
  267. grd_list1.valueMatrix(i, grd_list1.colRef("comparerate")) = 0;
  268. grd_list1.cellformat(i, grd_list1.colRef("comparerate")) = "(-)#,### %";
  269. }
  270. }
  271. }
  272. var rsrv = grd_list1.valueMatrix(grd_list1.rows-1, grd_list1.colRef("totrsrvcnt"));
  273. var nopay = grd_list1.valueMatrix(grd_list1.rows-1, grd_list1.colRef("totnopaycnt"));
  274. var nopayrate = ( parseInt(nopay) / parseInt(rsrv) ) *100;
  275. grd_list1.valueMatrix(grd_list1.rows-1, grd_list1.colRef("rsrvnopayrate")) = nopayrate.toString().getRound(-1,"DOWN");
  276. grd_list1.cellformat(grd_list1.rows-1, grd_list1.colRef("rsrvnopayrate")) = "(-)#,### %";
  277. /*
  278. var sumprcp = grd_list1.valueMatrix(grd_list1.rows-1, grd_list1.colRef("totexeccnt"));
  279. var sumcnt = grd_list1.valueMatrix(grd_list1.rows-1, grd_list1.colRef("sumcnt"));
  280. alert("TRAES00202 totexeccnt==>"+sumprcp);alert("TRAES00202 sumcnt==>"+sumcnt);
  281. var comparerate = ( ( parseInt(sumprcp) - parseInt(sumcnt) ) / parseInt(sumcnt) ) * 100;
  282. alert("TRAES00202 comparerate==>"+comparerate);
  283. grd_list1.valueMatrix(grd_list1.rows-1, grd_list1.colRef("comparerate")) = comparerate.toString().getRound(-1,"DOWN");
  284. grd_list1.cellformat(grd_list1.rows-1, grd_list1.colRef("comparerate")) = "(-)#,### %";
  285. */
  286. grd_list1.valueMatrix(grd_list1.rows-1, grd_list1.colRef("comparerate")) = 0;
  287. grd_list1.cellformat(grd_list1.rows-1, grd_list1.colRef("comparerate")) = "(-)#,### %";
  288. /*
  289. //총계 증감율 합계
  290. var total = 0;
  291. var comparecnt = 0;
  292. var comparerate = "";
  293. //총계 증감율 합계
  294. total = grd_list1.valueMatrix(grd_list1.rows-1, grd_list1.colRef("totnopaycnt"));
  295. comparecnt = grd_list1.valueMatrix(grd_list1.rows-1, grd_list1.colRef("totrsrvcnt"));
  296. grd_list1.valueMatrix(grd_list1.rows-1, grd_list1.colRef("rsrvnopayrate")) = setCompareRate(total, comparecnt) ;
  297. grd_list1.cellformat(grd_list1.rows-1, grd_list1.colRef("rsrvnopayrate")) = "(-)#,### %";
  298. //총계 증감율 합계
  299. total = grd_list1.valueMatrix(grd_list1.rows-1, grd_list1.colRef("sumcnt"));
  300. comparecnt = grd_list1.valueMatrix(grd_list1.rows-1, grd_list1.colRef("totexeccnt"));
  301. grd_list1.valueMatrix(grd_list1.rows-1, grd_list1.colRef("comparerate")) = setCompareRate(total, comparecnt) ;
  302. grd_list1.cellformat(grd_list1.rows-1, grd_list1.colRef("comparerate")) = "(-)#,### %";
  303. model.refresh();
  304. grd_list1.subtotal("sum", -1, 2, "#,###", "background-color:#99ff99", 3, "합계");
  305. for(i=4; i<grd_list.cols-2; i++) {
  306. grd_list1.subtotal("sum", -1, i, "(-)#,###");
  307. }
  308. var rsrv = grd_list1.valueMatrix(grd_list1.rows-1, grd_list1.colRef("totrsrvcnt"));
  309. var nopay = grd_list1.valueMatrix(grd_list1.rows-1, grd_list1.colRef("totnopaycnt"));
  310. var nopayrate = ( parseInt(nopay) / parseInt(rsrv) ) *100;
  311. if(nopayrate != null) {
  312. grd_list1.valueMatrix(grd_list1.rows-1, 11) = nopayrate;
  313. }
  314. var sumprcp = grd_list1.valueMatrix(grd_list1.rows-1, grd_list1.colRef("totexeccnt"));
  315. var sumcnt = grd_list1.valueMatrix(grd_list1.rows-1, grd_list1.colRef("sumcnt"));
  316. var comparerate = ( ( parseInt(sumprcp) - parseInt(sumcnt) ) / parseInt(sumcnt) ) * 100;
  317. if(comparerate != null && !isNaN(comparerate)) {
  318. grd_list1.valueMatrix(grd_list1.rows-1, 12) = comparerate;
  319. }
  320. */
  321. }
  322. ]]>
  323. </script>
  324. </button>
  325. <input id="ipt_todd" ref="/root/send/exectodd" class="input_default" navindex="2" inputtype="date" style="left:227px; top:9px; width:100px; height:19px; "/>
  326. <caption id="caption5" class="search_no_b" style="left:212px; top:10px; width:12px; height:17px; ">~</caption>
  327. <input id="ipt_fromdd" ref="/root/send/execfromdd" class="input_default" navindex="1" inputtype="date" style="left:109px; top:9px; width:100px; height:19px; "/>
  328. <caption id="caption3" class="search_name" style="left:15px; top:33px; width:86px; height:17px; ">비교기간 :</caption>
  329. <input id="ipt_compto" ref="/root/send/comparetodd" class="input_default" navindex="2" inputtype="date" style="left:227px; top:33px; width:100px; height:19px; "/>
  330. <caption id="caption4" class="search_no_b" style="left:212px; top:33px; width:12px; height:17px; ">~</caption>
  331. <input id="ipt_compfrom" ref="/root/send/comparefromdd" class="input_default" navindex="1" inputtype="date" style="left:109px; top:33px; width:100px; height:19px; "/>
  332. <caption id="caption7" class="search_name" style="left:365px; top:10px; width:75px; height:17px; ">처방과 :</caption>
  333. <caption id="caption8" class="search_name" style="left:595px; top:10px; width:75px; height:17px; ">처방의 :</caption>
  334. <caption id="caption9" class="search_name" visibility="hidden" style="left:365px; top:33px; width:75px; height:17px; ">시행과 :</caption>
  335. <caption id="caption10" class="search_name" visibility="hidden" style="left:595px; top:33px; width:75px; height:17px; ">시행의 :</caption>
  336. <select1 id="cmb_orddept" ref="/root/send/orddeptcd" appearance="minimal" itemcount="10" style="left:445px; top:9px; width:115px; height:19px; ">
  337. <choices>
  338. <itemset nodeset="/root/init/orddeptcd">
  339. <label ref="nm"/>
  340. <value ref="cd"/>
  341. </itemset>
  342. </choices>
  343. <script type="javascript" ev:event="xforms-value-changed">
  344. <![CDATA[
  345. //2009-06-23 진료과별 처방의 조회
  346. // cmb_orddr.choices.itemset.attribute("nodeset") = "/root/init/orddrid[dp = '"+ cmb_orddept.value +"']";
  347. // model.refresh();
  348. fChngSrchDrId();
  349. ]]>
  350. </script>
  351. </select1>
  352. <select1 id="cmb_execdept" ref="/root/send/execdeptcd" visibility="hidden" appearance="minimal" itemcount="10" style="left:445px; top:33px; width:115px; height:19px; ">
  353. <choices>
  354. <itemset nodeset="/root/init/orddeptcd">
  355. <label ref="nm"/>
  356. <value ref="cd"/>
  357. </itemset>
  358. </choices>
  359. <script type="javascript" ev:event="xforms-value-changed">
  360. <![CDATA[
  361. cmb_execdr.choices.itemset.attribute("nodeset") = "/root/init/orddrid[dp = '"+ cmb_execdept.value +"']";
  362. model.refresh();
  363. ]]>
  364. </script>
  365. </select1>
  366. <select1 id="cmb_orddr" ref="/root/send/orddrid" appearance="minimal" itemcount="10" style="left:675px; top:9px; width:115px; height:19px; ">
  367. <choices>
  368. <itemset nodeset="/root/init/cmb_orddr/initexecorddr">
  369. <label ref="execorddrcdnm"/>
  370. <value ref="execorddrcdid"/>
  371. </itemset>
  372. </choices>
  373. </select1>
  374. <select1 id="cmb_execdr" ref="/root/send/execdrid" visibility="hidden" appearance="minimal" itemcount="10" style="left:675px; top:33px; width:115px; height:19px; ">
  375. <choices>
  376. <itemset nodeset="/root/init/orddrid">
  377. <label ref="nm"/>
  378. <value ref="cd"/>
  379. </itemset>
  380. </choices>
  381. </select1>
  382. <caption id="caption11" class="search_name" visibility="hidden" style="left:830px; top:33px; width:75px; height:17px; ">실시자 :</caption>
  383. <select1 id="cmb_excuroom" ref="/root/send/excuroomcd" appearance="minimal" itemcount="10" style="left:910px; top:9px; width:115px; height:19px; ">
  384. <choices>
  385. <itemset nodeset="/root/init/cmb_info/initexecroom">
  386. <label ref="excuroomcdnm"/>
  387. <value ref="excuroomcdid"/>
  388. </itemset>
  389. </choices>
  390. </select1>
  391. <select1 id="cmb_execrid" ref="/root/send/execrid" visibility="hidden" appearance="minimal" itemcount="10" style="left:910px; top:33px; width:115px; height:19px; ">
  392. <choices>
  393. <itemset nodeset="/root/init/cmb_info/initexecrid1">
  394. <label ref="execrid1cdnm"/>
  395. <value ref="execrid1cdid"/>
  396. </itemset>
  397. </choices>
  398. </select1>
  399. <caption id="caption12" class="search_name" style="left:830px; top:10px; width:75px; height:17px; ">검사실 :</caption>
  400. </group>
  401. <button id="btn_excsave" class="btn2_letter4" style="left:1130px; top:75px; width:64px; height:19px; ">
  402. <caption>엑셀저장</caption>
  403. <script type="javascript" ev:event="DOMActivate">
  404. <![CDATA[
  405. var fileName = window.fileDialog("save", ",", false, "", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  406. if (fileName != "") {
  407. grd_list.saveExcel(fileName);
  408. }
  409. ]]>
  410. </script>
  411. </button>
  412. <switch id="switch1" style="left:0px; top:99px; width:1195px; height:631px; ">
  413. <case id="case1" selected="true">
  414. <datagrid id="grd_list" nodeset="/root/main/list/item" autoresize="true" caption="검사명^입원^외래^예약건수^시행건수^시행건수^시행건수^부도건수^caption2^예약부도율^비교기간대비&#xA;중감율|검사명^입원^외래^예약건수^예약^당일^합계^부도건수^caption2^예약부도율^비교기간대비&#xA;중감율" colsep="^" colwidth="296, 85, 85, 100, 100, 100, 100, 86, 21, 77, 100" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" subtotalposition="below" tooltip="true" style="left:0px; top:0px; width:1175px; height:620px; ">
  415. <col ref="prcpnm"/>
  416. <col ref="inprcpcnt" format="#,###" style="text-align:right; "/>
  417. <col ref="outprcpcnt" format="#,###" style="text-align:right; "/>
  418. <col ref="totrsrvcnt" format="#,###" style="text-align:right; "/>
  419. <col ref="rsrvcnt" format="#,###" style="text-align:right; "/>
  420. <col ref="prcpexeccnt" format="#,###" style="text-align:right; "/>
  421. <col ref="totexeccnt" format="#,###" style="text-align:right; "/>
  422. <col ref="totnopaycnt" format="#,###" style="text-align:right; "/>
  423. <col ref="sumcnt" visibility="hidden"/>
  424. <col ref="rsrvnopayrate" format="(-)#,###.#%" style="text-align:right; "/>
  425. <col ref="comparerate" format="(-)#,###.#%" style="text-align:right; "/>
  426. </datagrid>
  427. </case>
  428. <case id="case2">
  429. <datagrid id="grd_list1" nodeset="/root/main/list1/item" autoresize="true" backcoloralternate="transparent" caption="검사실그룹^검사실^검사명^입원^외래^예약건수^시행건수^시행건수^시행건수^부도건수^caption2^예약부도율^비교기간|검사실그룹^검사실^검사명^입원^외래^예약건수^예약^당일^합계^부도건수^caption2^예약부도율^대비증감율" colsep="^" colwidth="80, 85, 239, 70, 70, 90, 80, 80, 100, 86, 21, 77, 77" ellipsis="true" extendlastcol="scroll" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" subtotalposition="below" tooltip="true" style="left:0px; top:0px; width:1175px; height:620px; ">
  430. <col ref="basecdcnts" style="text-align:center; "/>
  431. <col ref="excuroomcdnm" style="text-align:center; "/>
  432. <col ref="excucdnm" style="text-align:left; "/>
  433. <col ref="inprcpcnt" format="#,###" style="text-align:right; "/>
  434. <col ref="outprcpcnt" format="#,###" style="text-align:right; "/>
  435. <col ref="totrsrvcnt" format="#,###" style="text-align:right; "/>
  436. <col ref="rsrvcnt" format="#,###" style="text-align:right; "/>
  437. <col ref="prcpexeccnt" format="#,###" style="text-align:right; "/>
  438. <col ref="totexeccnt" format="#,###" style="text-align:right; "/>
  439. <col ref="totnopaycnt" format="#,###" style="text-align:right; "/>
  440. <col ref="sumcnt" visibility="hidden"/>
  441. <col ref="rsrvnopayrate" format="(-)#,###.#%" style="text-align:right; "/>
  442. <col ref="comparerate" format="(-)#,###.#%" style="text-align:right; "/>
  443. </datagrid>
  444. </case>
  445. </switch>
  446. <button id="btn_case1" class="btn_sw" group="tab2" selected="true" style="left:0px; top:73px; width:60px; height:22px; ">
  447. <caption>검사</caption>
  448. <toggle case="case1" ev:event="onclick"/>
  449. <script type="javascript" ev:event="DOMActivate">
  450. <![CDATA[
  451. // model.removenode("/root/main/list");
  452. // model.refresh();
  453. model.toggle("case1");
  454. // 검사별실적 통계 조회
  455. // getimgSytsStatsCaseList();
  456. ]]>
  457. </script>
  458. </button>
  459. <button id="btn_case2" class="btn_sw" group="tab2" style="left:60px; top:73px; width:60px; height:22px; ">
  460. <caption>검사실</caption>
  461. <toggle case="case1" ev:event="onclick"/>
  462. <script type="javascript" ev:event="DOMActivate">
  463. <![CDATA[
  464. // model.removenode("/root/main/list");
  465. // model.refresh();
  466. model.toggle("case2");
  467. // 검사별실적 통계 조회
  468. // getimgSytsStatsCaseList();
  469. ]]>
  470. </script>
  471. </button>
  472. </group>
  473. </xhtml:body>
  474. </xhtml:html>