SMSTP01500_진료예약통계.xrw 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  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. <send>
  10. <fromdd/>
  11. <todd/>
  12. <dataflag>1</dataflag>
  13. </send>
  14. <main>
  15. <month>
  16. <monthlist>
  17. <orddeptnm/>
  18. <orddrnm/>
  19. <lrgitem/>
  20. <new_cnt/>
  21. <first_cnt/>
  22. <re_cnt/>
  23. <tot_cnt/>
  24. <rsrv_rat/>
  25. </monthlist>
  26. </month>
  27. </main>
  28. <init>
  29. <orddeptcd>
  30. <cd/>
  31. <nm/>
  32. </orddeptcd>
  33. <orddrid>
  34. <cd/>
  35. <nm/>
  36. </orddrid>
  37. </init>
  38. </root>
  39. </instance>
  40. <script type="javascript" ev:event="xforms-ready">
  41. <![CDATA[
  42. model.setValue("/root/send/fromdd",getCurrentDate());
  43. model.setValue("/root/send/todd",getCurrentDate());
  44. model.refresh();
  45. ]]>
  46. </script>
  47. <submission id="TRPMOCOM01" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init"/>
  48. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  49. <submission id="TRSTP01501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/month"/>
  50. </model>
  51. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  52. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  53. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  54. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  55. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  56. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  57. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  58. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  59. <script type="javascript" src="../../../pam/opatmngtweb/js/PMOCOM.js"/>
  60. <script type="javascript">
  61. <![CDATA[
  62. function fSetDayGridHead() {
  63. var enddd = model.getValue("/root/send/enddd");
  64. //말일 구하기
  65. var LastDay = getDayCountForMonth(enddd.substr(0,4), enddd.substr(4,2));
  66. //그리드 날짜 컬럼 상태
  67. for (var i = 0; i < grd_monthlist.cols; i++) {
  68. if ( i < ((LastDay*2)+3) || i == (grd_monthlist.cols-1) || i == (grd_monthlist.cols-2)) {
  69. grd_monthlist.colHidden(i) = false;
  70. } else {
  71. grd_monthlist.colHidden(i) = true;
  72. }
  73. }
  74. grd_monthlist.refresh();
  75. }
  76. ]]>
  77. </script>
  78. </xhtml:head>
  79. <xhtml:body guideline="1,224;">
  80. <group id="group3" style="left:0px; top:0px; width:1206px; height:13px; ">
  81. <caption id="caption60" class="tit_1" style="left:0px; top:0px; width:183px; height:14px; font-family:돋움; vertical-align:middle; ">진료예약 월별 통계</caption>
  82. </group>
  83. <group id="group4" style="left:0px; top:18px; width:1203px; height:52px; ">
  84. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1203px; height:43px; background-color:#fffbf2; border-color:#ffd799; "/>
  85. <button id="btn_search" class="btn1_letter2" style="left:1053px; top:10px; width:56px; height:22px; color:transparent; background-image:../../../com/commonweb/images/btn1_letter2.gif; border-color:transparent; ">
  86. <caption>조회</caption>
  87. <script type="javascript" ev:event="DOMActivate">
  88. <![CDATA[
  89. if (submit("TRSTP01501")) {
  90. for (i=0; i < grd_monthlist.cols; i++) {
  91. if (i == 0 || i == 1) {
  92. grd_monthlist.mergeCol(i) = true;
  93. } else {
  94. grd_monthlist.mergeCol(i) = false;
  95. }
  96. }
  97. grd_monthlist.mergeCells = "bycolrec";
  98. model.refresh();
  99. }
  100. ]]>
  101. </script>
  102. </button>
  103. <button id="btn_excel" class="btn1_letter4" visibility="visible" disable.background-image="../../../com/commonweb/images/dis_btn6_letter4.gif" style="left:1114px; top:10px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn1_letter4.gif; ">
  104. <caption>EXCEL</caption>
  105. <script type="javascript" ev:event="DOMActivate">
  106. <![CDATA[
  107. var xlsTitle = "";
  108. xlsTitle = "진료예약 월별통계_" + rdo_dataflag.label+"("+ipt_fromdd.label + "~" + ipt_todd.label+")";
  109. var fileName = window.fileDialog("save", ",", false, xlsTitle, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  110. grd_monthlist.saveExcel(fileName, xlsTitle, false, false, "", "", false);
  111. ]]>
  112. </script>
  113. </button>
  114. <line id="line2" class="line_4" style="top:5px; x1:1046px; y1:9px; x2:1046px; y2:35px; border-color:#ffe4bb; border-left-style:solid; "/>
  115. <caption id="caption1" class="search_name" style="left:15px; top:11px; width:98px; height:17px; ">조회기간</caption>
  116. <caption id="caption3" class="search_name" style="left:338px; top:11px; width:86px; height:17px; ">조회구분</caption>
  117. <select1 id="rdo_dataflag" ref="/root/send/dataflag" overflow="visible" appearance="full" cellspacing="3" cols="3" rows="1" style="left:425px; top:11px; width:215px; height:20px; vertical-align:middle; border-style:none; ">
  118. <choices>
  119. <item>
  120. <label>진료과별</label>
  121. <value>1</value>
  122. </item>
  123. <item>
  124. <label>진료의사별</label>
  125. <value>2</value>
  126. </item>
  127. </choices>
  128. </select1>
  129. <caption id="caption2" style="left:195px; top:11px; width:20px; height:20px; ">~</caption>
  130. <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:100px; top:11px; width:90px; height:19px; text-align:center; ">
  131. <script type="javascript" ev:event="xforms-value-changed">
  132. <![CDATA[
  133. ]]>
  134. </script>
  135. </input>
  136. <input id="ipt_todd" ref="/root/send/todd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:211px; top:11px; width:90px; height:19px; text-align:center; ">
  137. <script type="javascript" ev:event="xforms-value-changed">
  138. <![CDATA[
  139. ]]>
  140. </script>
  141. </input>
  142. </group>
  143. <datagrid id="grd_monthlist" nodeset="/root/main/month/monthlist" class="datagrid4" caption="진료과^진료의사^구분^신환환자^초진환자^재진환자^합계^진료예약율|진료과^진료의사^구분^신환환자^초진환자^재진환자^합계^부도율" colsep="^" colwidth="100, 80, 100, 80, 80, 80, 80, 80" frozencols="3" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:93px; width:1201px; height:682px; ">
  144. <col ref="orddeptnm" style="text-align:center; "/>
  145. <col ref="orddrnm" style="text-align:center; "/>
  146. <col ref="lrgitem" style="text-align:center; "/>
  147. <col ref="new_cnt" format="#,###" style="text-align:right; "/>
  148. <col ref="first_cnt" format="#,###" style="text-align:right; "/>
  149. <col ref="re_cnt" format="#,###" style="text-align:right; "/>
  150. <col ref="tot_cnt" format="#,###" style="text-align:right; "/>
  151. <col ref="rsrv_rat" style="text-align:right; "/>
  152. </datagrid>
  153. <line id="line3" class="line_1" style="x1:0px; y1:88px; x2:1201px; y2:88px; "/>
  154. <caption id="caption46" class="tit_2" style="left:0px; top:73px; width:151px; height:14px; ">진료예약 월별 통계</caption>
  155. </xhtml:body>
  156. </xhtml:html>