SMAHS00400_월별초재진현황.xrw 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  1. <?xml version="1.0" encoding="UTF-16"?>
  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. <fsexamlist>
  11. <fsexamflag/>
  12. <indcmntflag/>
  13. <scnd/>
  14. <apr/>
  15. <may/>
  16. <jun/>
  17. <jul/>
  18. <aug/>
  19. <sep/>
  20. <oct/>
  21. <nov/>
  22. <dec/>
  23. <jan/>
  24. <feb/>
  25. <yeartotcnt/>
  26. <lastyeartotcnt/>
  27. <addsubtrcnt/>
  28. <addsubtrrate/>
  29. </fsexamlist>
  30. </main>
  31. <send>
  32. <srchfromdd/>
  33. <srchtodd/>
  34. <srchhealexamflag/>
  35. <srchhealexamdetlflag/>
  36. <srchtestcd/>
  37. </send>
  38. <hidden>
  39. </hidden>
  40. <init>
  41. <baseinfo>
  42. <healexamflaglist/>
  43. <healexamdetlflaglist/>
  44. <healexamdetlflaglist2/>
  45. </baseinfo>
  46. </init>
  47. </root>
  48. </instance>
  49. <script type="javascript" ev:event="xforms-ready">
  50. <![CDATA[
  51. zbcfGetCodeList( new Array("A0068","A0069" ,"A0070" ),
  52. new Array("/root/init/baseinfo/healexamflaglist" ,"/root/init/baseinfo/healexamdetlflaglist" , "/root/init/baseinfo/healexamdetlflaglist2" ) );
  53. copyNodesetType("/root/init/baseinfo/healexamdetlflaglist/A0069","/root/init/baseinfo/healexamdetlflaglist2/A0070", "after");
  54. cmb_srchhealexamflag.refresh();
  55. cmb_srchhealexamdetlflag.refresh();
  56. /* var vToday = new Date();
  57. var tmpYear = vToday.getYear();
  58. var tmpMonth = vToday.getMonth()+1;
  59. var tmpDate = vToday.getDate();
  60. if (tmpMonth < 10) { tmpMonth = "0"+tmpMonth; }
  61. if (tmpDate < 10) { tmpDate = "0"+tmpDate; }
  62. model.setValue("/root/main/search/fromdata", tmpYear+""+tmpMonth+""+tmpDate-1);
  63. model.setValue("/root/main/search/todata", tmpYear+""+tmpMonth+""+tmpDate);
  64. input7.refresh();
  65. input1.refresh();
  66. datagrid1.explorerbar = "sort";*/
  67. ]]>
  68. </script>
  69. <submission id="TRZBC00101"/>
  70. <submission id="TRAHS00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
  71. </model>
  72. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  73. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  74. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  75. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  76. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  77. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  78. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  79. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  80. </xhtml:head>
  81. <xhtml:body pagewidth="1211" pageheight="784" guideline="1,1206;">
  82. <group id="group3" style="left:0px; top:0px; width:1211px; height:13px; ">
  83. <caption id="caption60" class="tit_1" style="left:0px; top:0px; width:183px; height:14px; font-family:돋움; vertical-align:middle; ">건진일평균인원현황</caption>
  84. </group>
  85. <group id="group2" style="left:4px; top:23px; width:1203px; height:35px; ">
  86. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1202px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  87. <caption id="caption2" class="search_name" style="left:15px; top:9px; width:198px; height:17px; ">기간 ~</caption>
  88. <line id="line2" class="line_4" style="x1:1132px; y1:7px; x2:1132px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  89. <button id="btn_search" class="btn1_letter2" style="left:1139px; top:7px; width:56px; height:22px; ">
  90. <caption>조회</caption>
  91. <script type="javascript" ev:event="DOMActivate">
  92. <![CDATA[
  93. /* model.removeNodeset("/root/main/monthbloodlist/monthbloodstats");
  94. var fromdata = model.getValue("/root/main/search/fromdata");
  95. var todata = model.getValue("/root/main/search/todata");
  96. if(fromdata==""||fromdata==null){
  97. messageBox("시작일을 입력","E007");
  98. model.setFocus("input7");
  99. return false;
  100. }
  101. if(todata==""|| todata==null){
  102. messageBox("끝일을 입력","E007");
  103. model.setFocus("input1");
  104. return false;
  105. }
  106. if(fromdata > todata){
  107. messageBox("시작일이 끝일자보다 클수 ", "C001")
  108. return false;
  109. }else{
  110. model.setValue("/root/send/fromdata",model.getValue("/root/main/search/fromdata"));
  111. model.setValue("/root/send/todata",model.getValue("/root/main/search/todata"));
  112. model.setValue("/root/send/datagubun",model.getValue("/root/main/search/datagubun"));
  113. model.removeNodeset("/root/main/frontamtlist");
  114. submit("");
  115. }
  116. model.refresh();
  117. */submit("TRAHS00401",false);
  118. grd_fsexamlist.subtotalPosition = "below";
  119. for( i = 2 ; i <= 14 ; i++){
  120. grd_fsexamlist.subtotal("sum", -1, i, "format:#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold; ", 1, "총계", false);
  121. }
  122. model.refresh();
  123. ]]>
  124. </script>
  125. </button>
  126. <input id="ipt_fromdd" ref="/root/send/srchfromdd" class="input_default" navindex="7" inputtype="date" style="left:70px; top:8px; width:120px; height:19px; ">
  127. <script type="javascript" ev:event="onkeydown">
  128. <![CDATA[
  129. /* if( event.keyCode == 13 ) {
  130. var pCurTargetObj = event.ptarget.parent;
  131. if( pCurTargetObj.elementName == "xforms:select1" || pCurTargetObj.elementName == "xforms:select") {
  132. event.keyCode = 9;
  133. pCurTargetObj.dispatch("onkeydown");
  134. }
  135. else {
  136. event.keyCode = 9;
  137. }
  138. }
  139. event.stopPropagation(); */
  140. ]]>
  141. </script>
  142. </input>
  143. <input id="input1" ref="/root/send/srchtodd" class="input_default" navindex="7" inputtype="date" style="left:215px; top:8px; width:120px; height:19px; ">
  144. <script type="javascript" ev:event="onkeydown">
  145. <![CDATA[
  146. /* if( event.keyCode == 13 ) {
  147. var pCurTargetObj = event.ptarget.parent;
  148. if( pCurTargetObj.elementName == "xforms:select1" || pCurTargetObj.elementName == "xforms:select") {
  149. event.keyCode = 9;
  150. pCurTargetObj.dispatch("onkeydown");
  151. }
  152. else {
  153. event.keyCode = 9;
  154. }
  155. }
  156. event.stopPropagation(); */
  157. ]]>
  158. </script>
  159. </input>
  160. <button id="btn_excelsave" class="btn6_letter4" style="left:976px; top:7px; width:80px; height:22px; ">
  161. <caption>액셀저장</caption>
  162. <script type="javascript" ev:event="DOMActivate">
  163. <![CDATA[
  164. /* var vToday = new Date();
  165. var tmpYear = vToday.getYear();
  166. var tmpMonth = vToday.getMonth()+1;
  167. var tmpDate = vToday.getDate();
  168. if (tmpMonth < 10) { tmpMonth = "0"+tmpMonth; }
  169. if (tmpDate < 10) { tmpDate = "0"+tmpDate; }
  170. //엑셀저장 여부(타이틀별)
  171. var fileName = window.fileDialog("save", "", false, "수혈대체현황"+tmpYear+tmpMonth+tmpDate, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  172. if (fileName != "")
  173. {
  174. datagrid1.saveExcel(fileName, "수혈대체현황"+tmpYear+tmpMonth+tmpDate, true, true, "", "", true);
  175. }*/
  176. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  177. grd_fsexamlist.saveExcel(fileName, "SheetName", true, true, "", "", false);
  178. ]]>
  179. </script>
  180. </button>
  181. <button id="btn_prt" class="btn6_letter2" style="left:1070px; top:7px; width:56px; height:22px; ">
  182. <caption>출력</caption>
  183. <script type="javascript" ev:event="DOMActivate">
  184. <![CDATA[
  185. model.makeValue("/root/main/export/srchfromdd" , model.getValue("/root/send/srchfromdd").toDate().getDateFormat("YYYY/MM/DD"));
  186. model.makeValue("/root/main/export/srchtodd" , model.getValue("/root/send/srchtodd").toDate().getDateFormat("YYYY/MM/DD"));
  187. exeReportPreview("RPAHS00401", "XMLSTR", "/root/main/export","", "false","","","","","false");
  188. ]]>
  189. </script>
  190. </button>
  191. <line id="line3" class="line_4" visibility="hidden" style="x1:1063px; y1:7px; x2:1063px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  192. <select1 id="cmb_srchhealexamdetlflag" ref="/root/send/srchhealexamdetlflag" class="combo_search" appearance="minimal" style="left:560px; top:6px; width:100px; height:19px; ">
  193. <choices>
  194. <itemset nodeset="/root/init/baseinfo/healexamdetlflaglist/A0069">
  195. <label ref="cdnm"/>
  196. <value ref="cdid"/>
  197. </itemset>
  198. </choices>
  199. </select1>
  200. <select1 id="cmb_srchhealexamflag" ref="/root/send/srchhealexamflag" class="combo_search" appearance="minimal" style="left:440px; top:6px; width:110px; height:19px; ">
  201. <choices>
  202. <itemset nodeset="/root/init/baseinfo/healexamflaglist/A0068">
  203. <label ref="cdnm"/>
  204. <value ref="cdid"/>
  205. </itemset>
  206. </choices>
  207. </select1>
  208. </group>
  209. <caption id="caption1" class="search_name" style="left:350px; top:31px; width:86px; height:17px; ">건진구분 :</caption>
  210. <datagrid id="grd_fsexamlist" nodeset="/root/main/fsexamlist" caption="초재진구분^개인단체구분^3월^4월^5월^6월^7월^8월^9월^10월^11월^12월^1월^2월^연별(당해년도)^연별(전년도)^증감율^증감율" colsep="^" colwidth="126, 100, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 100, 100, 53, 100" mergecellsfixedcols="bycol" mergecellsfixedrows="byrowrec" rowheader="seq" rowsep="|" style="left:4px; top:65px; width:1203px; height:707px; text-align:center; ">
  211. <col ref="fsexamflag" style="text-align:center; "/>
  212. <col ref="indcmntflag"/>
  213. <col ref="scnd"/>
  214. <col ref="apr"/>
  215. <col ref="may"/>
  216. <col ref="jun"/>
  217. <col ref="jul"/>
  218. <col ref="aug"/>
  219. <col ref="sep"/>
  220. <col ref="oct"/>
  221. <col ref="nov"/>
  222. <col ref="dec"/>
  223. <col ref="jan"/>
  224. <col ref="feb"/>
  225. <col ref="yeartotcnt" style="text-align:right; "/>
  226. <col ref="lastyeartotcnt"/>
  227. <col ref="addsubtrcnt"/>
  228. <col ref="addsubtrrate"/>
  229. </datagrid>
  230. </xhtml:body>
  231. </xhtml:html>