SSMNN00500_처치실업무통계.xrw 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="txt/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. <cond>
  11. <ioflag>A</ioflag>
  12. <year/>
  13. </cond>
  14. <curebizinfo>
  15. <curebizlist>
  16. <tmp/>
  17. <medicalflagnm/>
  18. <medicalcdnm/>
  19. <m01/>
  20. <m02/>
  21. <m03/>
  22. <m04/>
  23. <m05/>
  24. <m06/>
  25. <m07/>
  26. <m08/>
  27. <m09/>
  28. <m10/>
  29. <m11/>
  30. <m12/>
  31. <total/>
  32. <bftotal/>
  33. <medicalflag/>
  34. <medicalcd/>
  35. </curebizlist>
  36. </curebizinfo>
  37. </main>
  38. <send/>
  39. <init>
  40. </init>
  41. <hidden/>
  42. </root>
  43. </instance>
  44. <script type="javascript" ev:event="xforms-ready">
  45. <![CDATA[
  46. model.removeNodeset("/root/main/curebizinfo/curebizlist");
  47. //현재 일자 세팅
  48. model.setValue("/root/main/cond/ioflag", "A");
  49. model.setValue("/root/main/cond/year", getCurrentDate().substring(0, 4));
  50. model.setFocus("btn_ref");
  51. grd_curebizlist.mergeCol(grd_curebizlist.colRef("tmp")) = true; //통계기준지정
  52. grd_curebizlist.mergeCol(grd_curebizlist.colRef("medicalflagnm")) = true;
  53. fGetCureBizList();
  54. ]]>
  55. </script>
  56. <submission id="TRSNN00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/curebizinfo"/>
  57. </model>
  58. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  59. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  60. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  61. <script type="javascript">
  62. <![CDATA[
  63. //조회
  64. function fGetCureBizList(){
  65. model.removeNodeset("/root/send");
  66. model.makeNode("/root/send");
  67. model.makeValue("/root/send/ioflag", model.getValue("/root/main/cond/ioflag"));
  68. model.makeValue("/root/send/bfyear", model.getValue("/root/main/cond/year")-1);
  69. model.makeValue("/root/send/year", model.getValue("/root/main/cond/year"));
  70. if(submit("TRSNN00501")){
  71. grd_curebizlist.colstyle(grd_curebizlist.colRef("total"), "data", "background-color") = "#ffffcc";
  72. //grd_curebizlist.colstyle(grd_curebizlist.colRef("total"), "data", "font-weight") = "bold";
  73. grd_curebizlist.subtotalPosition = "below";
  74. grd_curebizlist.multiTotals = true;
  75. grd_curebizlist.subtotal("sum", 0, grd_curebizlist.colRef("m01"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#ffffcc; color:#0000ff; font-weight:bold; ", 1, "합계", true);
  76. grd_curebizlist.subtotal("sum", 0, grd_curebizlist.colRef("m02"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#ffffcc; color:#0000ff; font-weight:bold; ", 1, "합계", true);
  77. grd_curebizlist.subtotal("sum", 0, grd_curebizlist.colRef("m03"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#ffffcc; color:#0000ff; font-weight:bold; ", 1, "합계", true);
  78. grd_curebizlist.subtotal("sum", 0, grd_curebizlist.colRef("m04"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#ffffcc; color:#0000ff; font-weight:bold; ", 1, "합계", true);
  79. grd_curebizlist.subtotal("sum", 0, grd_curebizlist.colRef("m05"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#ffffcc; color:#0000ff; font-weight:bold; ", 1, "합계", true);
  80. grd_curebizlist.subtotal("sum", 0, grd_curebizlist.colRef("m06"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#ffffcc; color:#0000ff; font-weight:bold; ", 1, "합계", true);
  81. grd_curebizlist.subtotal("sum", 0, grd_curebizlist.colRef("m07"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#ffffcc; color:#0000ff; font-weight:bold; ", 1, "합계", true);
  82. grd_curebizlist.subtotal("sum", 0, grd_curebizlist.colRef("m08"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#ffffcc; color:#0000ff; font-weight:bold; ", 1, "합계", true);
  83. grd_curebizlist.subtotal("sum", 0, grd_curebizlist.colRef("m09"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#ffffcc; color:#0000ff; font-weight:bold; ", 1, "합계", true);
  84. grd_curebizlist.subtotal("sum", 0, grd_curebizlist.colRef("m10"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#ffffcc; color:#0000ff; font-weight:bold; ", 1, "합계", true);
  85. grd_curebizlist.subtotal("sum", 0, grd_curebizlist.colRef("m11"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#ffffcc; color:#0000ff; font-weight:bold; ", 1, "합계", true);
  86. grd_curebizlist.subtotal("sum", 0, grd_curebizlist.colRef("m12"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#ffffcc; color:#0000ff; font-weight:bold; ", 1, "합계", true);
  87. grd_curebizlist.subtotal("sum", 0, grd_curebizlist.colRef("total"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#ffffcc; color:#0000ff; font-weight:bold; ", 1, "합계", true);
  88. grd_curebizlist.subtotal("sum", 0, grd_curebizlist.colRef("bftotal"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#ffffcc; color:#0000ff; font-weight:bold; ", 1, "합계", true);
  89. }
  90. model.refresh();
  91. }
  92. ]]>
  93. </script>
  94. </xhtml:head>
  95. <xhtml:body>
  96. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:742px; ">
  97. <line id="line2" class="line_1" style="x1:0px; y1:65px; x2:1194px; y2:65px; "/>
  98. <group id="group1" style="left:0px; top:5px; width:1194px; height:35px; vertical-align:top; ">
  99. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  100. <line id="line3" class="line_4" style="x1:1040px; y1:5px; x2:1040px; y2:27px; "/>
  101. <button id="btn_ref" class="btn1_letter2" style="left:1057px; top:7px; width:56px; height:22px; ">
  102. <caption>조회</caption>
  103. <script type="javascript" ev:event="onclick">
  104. <![CDATA[
  105. fGetCureBizList();
  106. ]]>
  107. </script>
  108. </button>
  109. <caption id="caption30" class="search_name" style="left:246px; top:10px; width:92px; height:17px; ">해당연도 :</caption>
  110. <select1 id="cmb_year" ref="/root/main/cond/year" class="combo_search" navindex="1" appearance="minimal" editmode="search" itemcount="20" style="left:340px; top:10px; width:94px; height:19px; ">
  111. <script type="javascript" ev:event="xforms-value-changed">
  112. <![CDATA[
  113. fGetCureBizList();
  114. ]]>
  115. </script>
  116. <choices>
  117. <item>
  118. <label>2008</label>
  119. <value>2008</value>
  120. </item>
  121. <item>
  122. <label>2009</label>
  123. <value>2009</value>
  124. </item>
  125. <item>
  126. <label>2010</label>
  127. <value>2010</value>
  128. </item>
  129. <item>
  130. <label>2011</label>
  131. <value>2011</value>
  132. </item>
  133. </choices>
  134. </select1>
  135. <button id="button1" class="btn1_letter2" style="left:1117px; top:7px; width:56px; height:22px; ">
  136. <caption>엑셀</caption>
  137. <script type="javascript" ev:event="onclick">
  138. <![CDATA[
  139. var fileName = window.fileDialog("save", ",", false, "분만실 처치업무 통계" , "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  140. if (fileName != "") {
  141. grd_curebizlist.saveExcel(fileName, "분만실 처치업무 통계", true, true, "", "", true);
  142. }
  143. ]]>
  144. </script>
  145. </button>
  146. <caption id="caption1" class="search_name" style="left:15px; top:10px; width:92px; height:17px; ">구 분 :</caption>
  147. <select1 id="cmb_ioflag" ref="/root/main/cond/ioflag" class="combo_search" navindex="1" appearance="minimal" editmode="search" itemcount="20" style="left:109px; top:10px; width:94px; height:19px; ">
  148. <script type="javascript" ev:event="xforms-value-changed">
  149. <![CDATA[
  150. fGetCureBizList();
  151. ]]>
  152. </script>
  153. <choices>
  154. <item>
  155. <label>전체</label>
  156. <value>A</value>
  157. </item>
  158. <item>
  159. <label>입원</label>
  160. <value>I</value>
  161. </item>
  162. <item>
  163. <label>외래</label>
  164. <value>O</value>
  165. </item>
  166. </choices>
  167. </select1>
  168. </group>
  169. <caption id="caption26" class="tit_2" style="left:5px; top:50px; width:255px; height:14px; ">분만실 처치업무 통계 리스트</caption>
  170. <datagrid id="grd_curebizlist" nodeset="/root/main/curebizinfo/curebizlist" caption="tmp^종류^종류^1월^2월^3월^4월^5월^6월^7월^8월^9월^10월^11월^12월^합계^전년도" colsep="^" colwidth="0, 90, 222, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60" dataheight="25" extendlastcol="false" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" style="left:0px; top:70px; width:1194px; height:670px; ">
  171. <col ref="tmp"/>
  172. <col ref="medicalflagnm" type="output"/>
  173. <col ref="medicalcdnm" type="output"/>
  174. <col ref="m01" type="output" style="text-align:right; "/>
  175. <col ref="m02" type="output" style="text-align:right; "/>
  176. <col ref="m03" type="output" style="text-align:right; "/>
  177. <col ref="m04" type="output" style="text-align:right; "/>
  178. <col ref="m05" type="output" style="text-align:right; "/>
  179. <col ref="m06" type="output" style="text-align:right; "/>
  180. <col ref="m07" type="output" style="text-align:right; "/>
  181. <col ref="m08" type="output" style="text-align:right; "/>
  182. <col ref="m09" type="output" style="text-align:right; "/>
  183. <col ref="m10" type="output" style="text-align:right; "/>
  184. <col ref="m11" type="output" style="text-align:right; "/>
  185. <col ref="m12" type="output" style="text-align:right; "/>
  186. <col ref="total" type="output" style="text-align:right; "/>
  187. <col ref="bftotal" type="output" style="text-align:right; "/>
  188. </datagrid>
  189. </group>
  190. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  191. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:298px; height:14px; ">분만실 처치업무 통계</caption>
  192. </group>
  193. <group id="grp_btn" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; "/>
  194. </xhtml:body>
  195. </xhtml:html>