SSMNN00300_신생아중환자실 이용 현황.xrw 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  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. <year>2008</year>
  12. <roomcd/>
  13. </cond>
  14. <nbabyuseinfo>
  15. <nbabyuselist>
  16. <item/>
  17. <m01/>
  18. <m02/>
  19. <m03/>
  20. <m04/>
  21. <m05/>
  22. <m06/>
  23. <m07/>
  24. <m08/>
  25. <m09/>
  26. <m10/>
  27. <m11/>
  28. <m12/>
  29. <total/>
  30. </nbabyuselist>
  31. </nbabyuseinfo>
  32. </main>
  33. <send/>
  34. <init>
  35. <condinfo>
  36. <roominfo>
  37. <roomcd/>
  38. <roomnm/>
  39. </roominfo>
  40. </condinfo>
  41. </init>
  42. <hidden/>
  43. </root>
  44. </instance>
  45. <script type="javascript" ev:event="xforms-ready">
  46. <![CDATA[
  47. //현재 일자 세팅
  48. model.setValue("/root/main/cond/year", getCurrentDate().substring(0, 4));
  49. //병실코드 조회
  50. model.removeNodeset("/root/send");
  51. model.makeNode("/root/send");
  52. model.makeValue("/root/send/year", model.getValue("/root/main/cond/year"));
  53. submit("TRSNN00301");
  54. ]]>
  55. </script>
  56. <submission id="TRSNN00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/condinfo"/>
  57. <submission id="TRSNN00302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/nbabyuseinfo"/>
  58. </model>
  59. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  60. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  61. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  62. <script type="javascript">
  63. <![CDATA[
  64. //조회
  65. function fGetNBabyList(){
  66. model.removeNodeset("/root/send");
  67. model.makeNode("/root/send");
  68. model.makeValue("/root/send/year", model.getValue("/root/main/cond/year"));
  69. model.makeValue("/root/send/roomcd", model.getValue("/root/main/cond/roomcd"));
  70. submit("TRSNN00302");
  71. }
  72. ]]>
  73. </script>
  74. </xhtml:head>
  75. <xhtml:body>
  76. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:742px; ">
  77. <line id="line2" class="line_1" style="x1:0px; y1:65px; x2:1194px; y2:65px; "/>
  78. <group id="group1" style="left:0px; top:5px; width:1194px; height:35px; vertical-align:top; ">
  79. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  80. <line id="line3" class="line_4" style="x1:1040px; y1:5px; x2:1040px; y2:27px; "/>
  81. <button id="btn_print" class="btn1_letter2" style="left:1057px; top:7px; width:56px; height:22px; ">
  82. <caption>조회</caption>
  83. <script type="javascript" ev:event="onclick">
  84. <![CDATA[
  85. fGetNBabyList();
  86. ]]>
  87. </script>
  88. </button>
  89. <caption id="caption30" class="search_name" style="left:16px; top:10px; width:92px; height:17px; ">해당연도 :</caption>
  90. <select1 id="cmb_roomcd" ref="/root/main/cond/roomcd" class="combo_search" navindex="1" appearance="minimal" editmode="search" itemcount="20" style="left:336px; top:10px; width:119px; height:19px; ">
  91. <script type="javascript" ev:event="xforms-value-changed">
  92. <![CDATA[
  93. fGetNBabyList();
  94. ]]>
  95. </script>
  96. <choices>
  97. <itemset nodeset="/root/init/condinfo/roominfo">
  98. <label ref="roomnm"/>
  99. <value ref="roomcd"/>
  100. </itemset>
  101. </choices>
  102. </select1>
  103. <caption id="caption5" class="search_name" style="left:251px; top:10px; width:84px; height:17px; ">병실별 :</caption>
  104. <select1 id="cmb_year" ref="/root/main/cond/year" class="combo_search" navindex="1" appearance="minimal" editmode="search" itemcount="20" style="left:110px; top:10px; width:94px; height:19px; ">
  105. <script type="javascript" ev:event="xforms-value-changed">
  106. <![CDATA[
  107. fGetNBabyList();
  108. ]]>
  109. </script>
  110. <choices>
  111. <item>
  112. <label>2008</label>
  113. <value>2008</value>
  114. </item>
  115. <item>
  116. <label>2009</label>
  117. <value>2009</value>
  118. </item>
  119. <item>
  120. <label>2010</label>
  121. <value>2010</value>
  122. </item>
  123. <item>
  124. <label>2011</label>
  125. <value>2011</value>
  126. </item>
  127. </choices>
  128. </select1>
  129. <button id="button1" class="btn1_letter2" style="left:1117px; top:7px; width:56px; height:22px; ">
  130. <caption>엑셀</caption>
  131. <script type="javascript" ev:event="onclick">
  132. <![CDATA[
  133. var fileName = window.fileDialog("save", ",", false, "신생아중환자실이용현황" , "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  134. if (fileName != "") {
  135. grd_nbabyuselist.saveExcel(fileName, "신생아중환자실이용현황", true, true, "", "", true);
  136. }
  137. ]]>
  138. </script>
  139. </button>
  140. </group>
  141. <caption id="caption26" class="tit_2" style="left:5px; top:50px; width:255px; height:14px; ">신생아실 이용 현황 리스트</caption>
  142. <datagrid id="grd_nbabyuselist" nodeset="/root/main/nbabyuseinfo/nbabyuselist" caption="구분^1월^2월^3월^4월^5월^6월^7월^8월^9월^10월^11월^12월^합계" colsep="^" colwidth="230, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70" dataheight="25" extendlastcol="scroll" fixedcols="1" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" style="left:0px; top:70px; width:1194px; height:670px; ">
  143. <col ref="item" type="output"/>
  144. <col ref="m01" type="output" style="text-align:right; "/>
  145. <col ref="m02" type="output" style="text-align:right; "/>
  146. <col ref="m03" type="output" style="text-align:right; "/>
  147. <col ref="m04" type="output" style="text-align:right; "/>
  148. <col ref="m05" type="output" style="text-align:right; "/>
  149. <col ref="m06" type="output" style="text-align:right; "/>
  150. <col ref="m07" type="output" style="text-align:right; "/>
  151. <col ref="m08" type="output" style="text-align:right; "/>
  152. <col ref="m09" type="output" style="text-align:right; "/>
  153. <col ref="m10" type="output" style="text-align:right; "/>
  154. <col ref="m11" type="output" style="text-align:right; "/>
  155. <col ref="m12" type="output" style="text-align:right; "/>
  156. <col ref="total" type="output" style="text-align:right; "/>
  157. </datagrid>
  158. </group>
  159. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  160. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:298px; height:14px; ">신생아/신생아중환자실 이용 현황(연도별/월별)</caption>
  161. </group>
  162. <group id="grp_btn" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; "/>
  163. </xhtml:body>
  164. </xhtml:html>