SMAVT02101_수혜자리스트.xrw 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMAVT02100.xrw
  4. * 설 명 : 조직은행 폐기대장 LIST 조회화면
  5. * 설 계 자 : 최예원
  6. * 작 성 자 : 최예원
  7. * 작 성 일 : 2010.12.15
  8. * 수정이력 : 2010.12.15 최예원 신규
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  12. <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">
  13. <xhtml:head>
  14. <xhtml:title>조직은행 수혜자리스트</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <benflist>
  20. <item>
  21. <opdd/>
  22. <graftno/>
  23. <partseq/>
  24. <batchno/>
  25. <partname/>
  26. <hngnm/>
  27. <rrgstno/>
  28. <diagengnm/>
  29. <opengnm/>
  30. <recvno/>
  31. <hospnm/>
  32. </item>
  33. </benflist>
  34. </main>
  35. <send>
  36. <srchfromdd/>
  37. <srchtodd/>
  38. </send>
  39. <init>
  40. <combobscdlst/>
  41. </init>
  42. <hidden/>
  43. <temp/>
  44. <rexprnt>
  45. <benflist>
  46. <srchfromdd/>
  47. <srchtodd/>
  48. </benflist>
  49. </rexprnt>
  50. </root>
  51. </instance>
  52. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  53. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  54. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  55. <script type="javascript" src="../../../ast/tissuebankbaseweb/js/tissuebankcombolist.js"/>
  56. <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
  57. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  58. <script type="javascript" ev:event="xforms-ready">
  59. <![CDATA[
  60. fGetScreenInit();
  61. ]]>
  62. </script>
  63. <submission id="TRAVB00001"/>
  64. <submission id="TRAVT02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/benflist"/>
  65. </model>
  66. <script type="javascript">
  67. <![CDATA[
  68. // 화면 초기화
  69. function fGetScreenInit(){
  70. model.setValue("/root/send/srchfromdd", getCurrentDate());
  71. model.setValue("/root/send/srchtodd", getCurrentDate());
  72. model.removenode("/root/main/benflist");
  73. model.refresh();
  74. }
  75. // 폐기대장 조회
  76. function fGetAbnList(){
  77. if( submit("TRAVT02101") ) {
  78. for(var i = 1; i < dtg_benflist.rows ; i++ ){
  79. var seq = model.getValue("/root/main/benflist/item["+ i +"]/partseq");
  80. var no = model.getValue("/root/main/benflist/item["+ i +"]/batchno");
  81. if( seq != "" && seq < 10 ) {
  82. model.setValue("/root/main/benflist/item["+ i +"]/partseq", "0" + seq );
  83. }
  84. if( no != "" && no < 10 ){
  85. model.setValue("/root/main/benflist/item["+ i +"]/batchno", "00" + no );
  86. }else if( no != "" && no > 9 && no < 100 ) {
  87. model.setValue("/root/main/benflist/item["+ i +"]/batchno", "0" + no );
  88. }
  89. }
  90. }
  91. model.refresh();
  92. }
  93. ]]>
  94. </script>
  95. </xhtml:head>
  96. <xhtml:body guideline="1,1194;2,784;1,1193;" 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:210px; height:14px; ">조직은행 수혜자 정보</caption>
  99. </group>
  100. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  101. <caption id="caption1" class="tit_2" style="left:5px; top:56px; width:210px; height:14px; ">조직은행 수혜자 정보</caption>
  102. <line id="line1" class="line_1" style="x1:0px; y1:71px; x2:1194px; y2:71px; "/>
  103. <datagrid id="dtg_benflist" nodeset="/root/main/benflist/item" scroll="auto" caption="이식날짜^GraftNo^Seq^No^조직명^이름^주민번호^수술명^진단명^병원^이식번호" colsep="^" colwidth="80, 75, 40, 40, 210, 80, 100, 175, 175, 100, 55" dataheight="23" defaultrows="3" ellipsis="true" explorerbar="sortmove" focuscolor="#b9e5fb" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:76px; width:1194px; height:664px; text-align:center; ">
  104. <col ref="opdd" format="yyyy-mm-dd"/>
  105. <col ref="graftno" type="output"/>
  106. <col ref="partseq" type="output"/>
  107. <col ref="batchno"/>
  108. <col ref="partname" style="text-align:left; margin-left:20; "/>
  109. <col ref="hngnm" type="output"/>
  110. <col ref="rrgstno"/>
  111. <col ref="opengnm" style="text-align:left; margin-left:10; "/>
  112. <col ref="diagengnm" style="text-align:left; margin-left:10; "/>
  113. <col ref="hospnm" style="text-align:left; margin-left:10; "/>
  114. <col ref="recvno"/>
  115. <script type="javascript" ev:event="onaftersort">
  116. <![CDATA[
  117. dtg_benflist.gridToInstance();
  118. ]]>
  119. </script>
  120. </datagrid>
  121. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  122. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  123. <caption id="caption2" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">수술일자 :</caption>
  124. <caption id="caption5" class="search_no_b" style="left:207px; top:10px; width:12px; height:17px; ">~</caption>
  125. <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
  126. <input id="ipt_fromdd" ref="/root/send/srchfromdd" class="input_s_essential" inputtype="date" style="left:104px; top:9px; width:100px; height:19px; "/>
  127. <input id="ipt_todd" ref="/root/send/srchtodd" class="input_s_essential" inputtype="date" style="left:222px; top:10px; width:100px; height:19px; "/>
  128. <button id="btn_sea" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  129. <caption>조회</caption>
  130. <script type="javascript" ev:event="DOMActivate">
  131. <![CDATA[
  132. if( model.getValue("/root/send/srchfromdd") == ""){
  133. messageBox("조회기간", "E013", "입력 후 다시 조회하세요.");
  134. return;
  135. }
  136. if( model.getValue("/root/send/srchtodd") == "" ){
  137. messageBox("조회기간", "E013", "입력 후 다시 조회하세요.");
  138. return;
  139. }
  140. fGetAbnList();
  141. ]]>
  142. </script>
  143. </button>
  144. </group>
  145. <button id="btn_excsave" class="btn2_letter4" style="left:1129px; top:50px; width:64px; height:19px; ">
  146. <caption>엑셀저장</caption>
  147. <script type="javascript" ev:event="DOMActivate">
  148. <![CDATA[
  149. var filename = window.fileDialog("save",",",false,"excel","xls","All File(*.*)|*.*|Excel File(*.xls)|*.xls");
  150. if (filename != "")
  151. {
  152. dtg_benflist.saveExcel(filename);
  153. }
  154. ]]>
  155. </script>
  156. </button>
  157. </group>
  158. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
  159. <button id="btn_prt" class="btn6_letter2" style="left:0px; top:5px; width:56px; height:22px; ">
  160. <caption>출력</caption>
  161. <script type="javascript" ev:event="DOMActivate">
  162. <![CDATA[
  163. model.setValue("/root/rexprnt/benflist/srchfromdd", ipt_fromdd.label );
  164. model.setValue("/root/rexprnt/benflist/srchtodd", ipt_todd.label );
  165. for(var i = 1; i < dtg_benflist.rows ; i++ ){
  166. model.makeNode("/root/rexprnt/benflist/item["+ i +"]");
  167. model.copyNode("/root/rexprnt/benflist/item["+ i +"]", "/root/main/benflist/item["+ i +"]");
  168. }
  169. exeReportPreview("RPAVT00109", "XMLSTR" , "" , "" , "false" , "", "", "", "", "false");
  170. ]]>
  171. </script>
  172. </button>
  173. </group>
  174. </xhtml:body>
  175. </xhtml:html>