SMAHS00200_검사코드별실적현황.xrw 20 KB

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