SMABS10300_BMT진단별현황.xrw 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. <?xml version="1.0" encoding="EUC-KR"?>
  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>BMT 진단별현황</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <bmtdiag>
  11. <bmtdiaglist>
  12. <diagcd1/>
  13. <totalcnt/>
  14. <autototalcnt/>
  15. <allototalcnt/>
  16. <sibstnd/>
  17. <sibnst/>
  18. <fmmstnd/>
  19. <fmmnst/>
  20. <fmstnd/>
  21. <fmnst/>
  22. <unrelastnd/>
  23. <unrelanst/>
  24. <cordstnd/>
  25. <cordnst/>
  26. <etccnt/>
  27. <dethcnt/>
  28. </bmtdiaglist>
  29. </bmtdiag>
  30. </main>
  31. <send>
  32. <req>
  33. <trnptfromdd/>
  34. <trnpttodd/>
  35. <trnptkind/>
  36. <lrggrupcd>DI</lrggrupcd>
  37. </req>
  38. </send>
  39. <init>
  40. <cmbinfo>
  41. <trnptkind>
  42. <A0161>
  43. <cdid/>
  44. <cdnm/>
  45. </A0161>
  46. </trnptkind>
  47. <lrglist>
  48. <item>
  49. <hsctlrgcd/>
  50. <hsctlrgnm/>
  51. </item>
  52. </lrglist>
  53. </cmbinfo>
  54. </init>
  55. <temp>
  56. <tempcodeinfo/>
  57. <tempcodeinfo2/>
  58. </temp>
  59. </root>
  60. </instance>
  61. <submission id="TRABS10301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/main/bmtdiag"/>
  62. <submission id="TRABO02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/init/cmbinfo/lrglist"/>
  63. <submission id="TRABO02103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/tempcodeinfo"/>
  64. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  65. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  66. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  67. <script type="javascript" src="../../../ast/hsctweb/js/bmtcommon.js"/>
  68. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  69. <script type="javascript" ev:event="xforms-ready">
  70. <![CDATA[
  71. // 공통코드 가져오기
  72. //zbcfGetCodeList( new Array("A0161"), new Array("/root/init/cmbinfo/trnptkind"));
  73. //BMT 코드성 데이터 조회.(기존의 공통코드로 사용했던것들을 BMT에서 관리하도록 수정 후)
  74. aboGetCodeList(new Array("A0161"), new Array("/root/init/cmbinfo/trnptkind"));
  75. var nodelist = instance1.selectNodes("/root/init/cmbinfo/trnptkind/" + "A0161");
  76. var newNode = instance1.createNode("element", "A0161", "");
  77. var childnode1 = instance1.createNode("element", "cdnm", "");
  78. var childnode2 = instance1.createNode("element", "cdid", "");
  79. newNode.appendChild(childnode1);
  80. newNode.appendChild(childnode2);
  81. if (nodelist.length > 0) {
  82. var currNode = root.init.cmbinfo.trnptkind.insertBefore(newNode, nodelist.item(0));
  83. model.setValue("/root/init/cmbinfo/trnptkind/" + "A0161" + "[2]/cdnm", "AUTO");
  84. model.setValue("/root/init/cmbinfo/trnptkind/" + "A0161" + "[2]/cdid", "00");
  85. }
  86. // 진단명
  87. submit("TRABO02101");
  88. var scurrentdd = getCurrentDate();
  89. model.setValue("/root/send/req/trnptfromdd", scurrentdd.toDate().getAddDate(-30,"D").getDateFormat("YYYYMMDD"));
  90. model.setValue("/root/send/req/trnpttodd", scurrentdd.toDate().getAddDate(30,"D").getDateFormat("YYYYMMDD"));
  91. model.refresh()
  92. ]]>
  93. </script>
  94. </model>
  95. </xhtml:head>
  96. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  97. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  98. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:200px; height:14px; ">BMT 진단별 현황</caption>
  99. </group>
  100. <group id="grp_biz" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
  101. <caption id="caption1" class="tit_2" style="left:5px; top:56px; width:78px; height:13px; ">업무내역</caption>
  102. <line id="line1" class="line_1" style="x1:0px; y1:71px; x2:1194px; y2:71px; "/>
  103. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  104. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  105. <caption id="caption2" class="search_name" style="left:15px; top:9px; width:60px; height:17px; ">기간 :</caption>
  106. <caption id="caption5" class="search_no_b" style="left:181px; top:10px; width:12px; height:17px; ">~</caption>
  107. <button id="button1" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  108. <caption>조회</caption>
  109. <script type="javascript" ev:event="DOMActivate">
  110. <![CDATA[
  111. submit("TRABS10301");
  112. datagrid1.subtotal("sum", -1, 2, "#,###", "background-color:#f4f4f4; font-weight:bold; ", 1, "총계");
  113. datagrid1.subtotal("sum", -1, 3, "#,###", "background-color:#f4f4f4; font-weight:bold; ", 1, "총계");
  114. datagrid1.subtotal("sum", -1, 4, "#,###", "background-color:#f4f4f4; font-weight:bold; ", 1, "총계");
  115. datagrid1.subtotal("sum", -1, 5, "#,###", "background-color:#f4f4f4; font-weight:bold; ", 1, "총계");
  116. datagrid1.subtotal("sum", -1, 6, "#,###", "background-color:#f4f4f4; font-weight:bold; ", 1, "총계");
  117. datagrid1.subtotal("sum", -1, 7, "#,###", "background-color:#f4f4f4; font-weight:bold; ", 1, "총계");
  118. datagrid1.subtotal("sum", -1, 8, "#,###", "background-color:#f4f4f4; font-weight:bold; ", 1, "총계");
  119. datagrid1.subtotal("sum", -1, 9, "#,###", "background-color:#f4f4f4; font-weight:bold; ", 1, "총계");
  120. datagrid1.subtotal("sum", -1, 10, "#,###", "background-color:#f4f4f4; font-weight:bold; ", 1, "총계");
  121. datagrid1.subtotal("sum", -1, 11, "#,###", "background-color:#f4f4f4; font-weight:bold; ", 1, "총계");
  122. datagrid1.subtotal("sum", -1, 12, "#,###", "background-color:#f4f4f4; font-weight:bold; ", 1, "총계");
  123. datagrid1.subtotal("sum", -1, 13, "#,###", "background-color:#f4f4f4; font-weight:bold; ", 1, "총계");
  124. datagrid1.subtotal("sum", -1, 14, "#,###", "background-color:#f4f4f4; font-weight:bold; ", 1, "총계");
  125. datagrid1.subtotal("sum", -1, 15, "#,###", "background-color:#f4f4f4; font-weight:bold; ", 1, "총계");
  126. datagrid1.subtotal("sum", -1, 16, "#,###", "background-color:#f4f4f4; font-weight:bold; ", 1, "총계");
  127. ]]>
  128. </script>
  129. </button>
  130. <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
  131. <input id="input1" ref="/root/send/req/trnptfromdd" class="input_s_essential" inputtype="date" style="left:78px; top:9px; width:100px; height:19px; "/>
  132. <input id="input25" ref="/root/send/req/trnpttodd" class="input_s_essential" inputtype="date" style="left:196px; top:10px; width:100px; height:19px; "/>
  133. <caption id="caption3" class="search_name" style="left:311px; top:9px; width:86px; height:17px; ">이식종류 :</caption>
  134. <select1 id="combo1" ref="/root/send/req/trnptkind" class="combo_search" appearance="minimal" style="left:400px; top:9px; width:200px; height:19px; ">
  135. <choices>
  136. <itemset nodeset="/root/init/cmbinfo/trnptkind/A0161">
  137. <label ref="cdnm"/>
  138. <value ref="cdid"/>
  139. </itemset>
  140. </choices>
  141. </select1>
  142. </group>
  143. <button id="button2" class="btn2_letter4" style="left:1129px; top:50px; width:64px; height:19px; ">
  144. <caption>엑셀저장</caption>
  145. <script type="javascript" ev:event="DOMActivate">
  146. <![CDATA[
  147. var fileName = window.fileDialog("save", ",", false, "BMT진단별현황", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  148. if (fileName != "")
  149. {
  150. grd_bmtdiag.saveExcel(fileName);
  151. }
  152. ]]>
  153. </script>
  154. </button>
  155. <datagrid id="grd_bmtdiag" nodeset="/root/main/bmtdiag/bmtdiaglist" class="datagrid2" caption="구분^총건수^AUTO^ALLO^Sibling Standard^Sibling NST^FMM Standard^FMM NST^FM Standard^FM NST^Unrelated Standard^Unrelated NST^Cord Standard^Cord NST^ETC^사망건수" colsep="^" colwidth="140, 80, 70, 56, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 60, 70" dataheight="25" defaultrows="3" extendlastcol="scroll" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" subtotalposition="below" style="left:0px; top:76px; width:1194px; height:659px; text-align:center; word-wrap:word; ">
  156. <col disabled="true" ref="diagcd1" type="combo">
  157. <choices>
  158. <itemset nodeset="/root/init/cmbinfo/lrglist/item">
  159. <label ref="hsctlrgnm"/>
  160. <value ref="hsctlrgcd"/>
  161. </itemset>
  162. </choices>
  163. </col>
  164. <col disabled="true" ref="totalcnt" type="output"/>
  165. <col disabled="true" ref="autototalcnt" type="output"/>
  166. <col ref="allototalcnt"/>
  167. <col disabled="true" ref="sibstnd"/>
  168. <col disabled="true" ref="sibnst"/>
  169. <col disabled="true" ref="fmmstnd"/>
  170. <col disabled="true" ref="fmmnst"/>
  171. <col disabled="true" ref="fmstnd"/>
  172. <col disabled="true" ref="fmnst"/>
  173. <col disabled="true" ref="unrelastnd"/>
  174. <col disabled="true" ref="unrelanst"/>
  175. <col disabled="true" ref="cordstnd"/>
  176. <col disabled="true" ref="cordnst"/>
  177. <col ref="etccnt"/>
  178. <col disabled="true" ref="dethcnt"/>
  179. </datagrid>
  180. </group>
  181. <group id="grp_btn" style="left:0px; top:13px; width:1195px; height:27px; ">
  182. <button id="button12" class="btn6_letter2" style="left:0px; top:5px; width:56px; height:22px; ">
  183. <caption>출력</caption>
  184. <script type="javascript" ev:event="DOMActivate">
  185. <![CDATA[
  186. exeReportPreview("RPABS10301", "XMLSTR", "/root/main/bmtdiag/bmtdiaglist");
  187. ]]>
  188. </script>
  189. </button>
  190. </group>
  191. </xhtml:body>
  192. </xhtml:html>