SMAES00700_검사통합예약현황.xrw 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <testnm/>
  13. <testroom/>
  14. <outprcpcnt/>
  15. <rcptcnt/>
  16. <unrcptcnt/>
  17. <unrsrvcnt/>
  18. <telrsrvcnt/>
  19. <sytsrsrvcnt/>
  20. <itslfcnt/>
  21. <inrsrvcnt/>
  22. <totrsrvcnt/>
  23. <outrsrvcnt/>
  24. </item>
  25. </list>
  26. </main>
  27. <send>
  28. <execfromdd/>
  29. <exectodd/>
  30. <comparefromdd/>
  31. <comparetodd/>
  32. <orddeptcd/>
  33. <orddrid/>
  34. <execdeptcd/>
  35. <execdrid/>
  36. <globalinstance>
  37. <instance1/>
  38. </globalinstance>
  39. <suppdeptcd/>
  40. </send>
  41. <inti/>
  42. <hidden/>
  43. </root>
  44. </instance>
  45. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  46. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  47. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  48. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  49. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  50. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  51. <submission id="TRPMOCOM01" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/session" replace="instance" resultref="/root/init"/>
  52. <script type="javascript" ev:event="xforms-ready">
  53. <![CDATA[
  54. aezfSetSuppDeptcd();
  55. model.removenode("/root/main/list/item");
  56. model.setValue("/root/send/suppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
  57. model.setValue("/root/send/execfromdd", getCurrentDate().toDate().getAddDate(-1, "D").getDateFormat("YYYYMMDD"));
  58. model.setValue("/root/send/exectodd", getCurrentDate().toDate().getAddDate(-1, "D").getDateFormat("YYYYMMDD"));
  59. model.refresh();
  60. ]]>
  61. </script>
  62. <submission id="TRAES00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
  63. </model>
  64. </xhtml:head>
  65. <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  66. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  67. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:200px; height:14px; ">검사통합예약현황</caption>
  68. </group>
  69. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  70. <caption id="caption1" class="tit_2" style="left:5px; top:50px; width:200px; height:14px; ">검사통합예약현황</caption>
  71. <line id="line1" class="line_1" style="x1:0px; y1:65px; x2:1195px; y2:65px; "/>
  72. <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:30px; vertical-align:top; ">
  73. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:30px; background-color:#fffbf2; border-color:#ffd799; "/>
  74. <caption id="caption2" class="search_name" style="left:15px; top:7px; width:86px; height:17px; ">조회기간 :</caption>
  75. <line id="line13" class="line_4" style="x1:1110px; y1:5px; x2:1110px; y2:25px; "/>
  76. <button id="btn_sea" class="btn1_letter2" navindex="4" style="left:1120px; top:4px; width:56px; height:22px; ">
  77. <caption>조회</caption>
  78. <script type="javascript" ev:event="DOMActivate">
  79. <![CDATA[
  80. model.removenode("/root/main/list");
  81. if (submit("TRAES00701")) {
  82. var cnt = getNodesetCount("/root/main/list/item");
  83. if (cnt > 1) {
  84. for ( i = 1; i <= cnt; i++ ) {
  85. grd_list.rowstyle( i , "data" , "background-color" ) = "#FFFFFF";
  86. grd_list.rowstyle( i , "data" , "color" ) = "#000000";
  87. }
  88. grd_list.colSort(0) = "asc";
  89. grd_list.sort(0, 0, grd_list.rows, grd_list.cols) = "usersort";
  90. for(i=3; i<14; i++) {
  91. grd_list.subtotal("sum", -1, i, "#,###", "background-color:#CCFFCC; color:#0000ff; font-weight:bold; ", 1, "총계");
  92. }
  93. grd_list.mergeByFree(grd_list.rows-1, 1 , grd_list.rows-1, 2);
  94. model.refresh();
  95. }
  96. }
  97. ]]>
  98. </script>
  99. </button>
  100. <input id="ipt_fromdd" ref="/root/send/execfromdd" class="input_default" navindex="1" inputtype="date" style="left:109px; top:6px; width:100px; height:19px; "/>
  101. <input id="ipt_todd" ref="/root/send/exectodd" class="input_default" navindex="2" inputtype="date" style="left:227px; top:6px; width:100px; height:19px; "/>
  102. <caption id="caption5" class="search_no_b" style="left:212px; top:6px; width:12px; height:17px; ">~</caption>
  103. </group>
  104. <button id="btn_excsave" class="btn2_letter4" style="left:1130px; top:45px; width:64px; height:19px; ">
  105. <caption>엑셀저장</caption>
  106. <script type="javascript" ev:event="DOMActivate">
  107. <![CDATA[
  108. var fileName = window.fileDialog("save", ",", false, "", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  109. if (fileName != "") {
  110. grd_list.saveExcel(fileName);
  111. }
  112. ]]>
  113. </script>
  114. </button>
  115. <datagrid id="grd_list" nodeset="/root/main/list/item" caption="구분^검사실명^총처방건수^수납건수^미수납건수^미예약건수^미예약건수^전화&#xA;예약건수^통합예약건수^통합예약건수^검사실&#xA;예약건수^예약실&#xA;변경건수^검사실&#xA;변경건수|구분^검사실명^총처방건수^수납건수^미수납건수^미수납^수납^전화&#xA;예약건수^미수납^수납^검사실&#xA;예약건수^예약실&#xA;변경건수^검사실&#xA;변경건수" colsep="^" colwidth="183, 183, 75, 75, 75, 65, 65, 75, 65, 65, 75, 75, 75" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" subtotalposition="below" style="left:0px; top:70px; width:1195px; height:670px; ">
  116. <col ref="testnm" style="text-align:center; "/>
  117. <col ref="testroom"/>
  118. <col ref="outprcpcnt" style="text-align:right; "/>
  119. <col ref="rcptcnt" style="text-align:right; "/>
  120. <col ref="unrcptcnt" style="text-align:right; "/>
  121. <col ref="unrcptunrsrvcnt" style="text-align:right; "/>
  122. <col ref="rcptunrsrvcnt" style="text-align:right; "/>
  123. <col ref="telrsrvcnt" style="text-align:right; "/>
  124. <col ref="sytsrsrvunrcptcnt" style="text-align:right; "/>
  125. <col ref="sytsrsrvrcptcnt" style="text-align:right; "/>
  126. <col ref="excuroomrsrvcnt" style="text-align:right; "/>
  127. <col ref="rsrvroomupdtvcnt" style="text-align:right; "/>
  128. <col ref="excuroomupdtcnt" style="text-align:right; "/>
  129. </datagrid>
  130. </group>
  131. </xhtml:body>
  132. </xhtml:html>