SMAVT01100_기증자분류.xrw 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMAVT01100_기증자분류
  4. * 설 명 : 조직은행 기증자분류
  5. * 설 계 자 : 최예원 & 이정택
  6. * 작 성 자 : 최예원 & 이정택
  7. * 작 성 일 : 2011.01.08
  8. * 수정이력 : 2011.01.08
  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. <dntglist>
  20. <item>
  21. <dntgbd/>
  22. <partcode/>
  23. <cnt/>
  24. </item>
  25. </dntglist>
  26. </main>
  27. <send>
  28. <srchfromdd/>
  29. <srchtodd/>
  30. </send>
  31. <init>
  32. <combobscdlst/>
  33. </init>
  34. <hidden/>
  35. <temp/>
  36. <rexprnt>
  37. <benflist>
  38. <srchfromdd/>
  39. <srchtodd/>
  40. </benflist>
  41. </rexprnt>
  42. </root>
  43. </instance>
  44. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  45. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  46. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  47. <script type="javascript" src="../../../ast/tissuebankbaseweb/js/tissuebankcombolist.js"/>
  48. <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
  49. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  50. <script type="javascript" ev:event="xforms-ready">
  51. <![CDATA[
  52. fGetScreenInit();
  53. ]]>
  54. </script>
  55. <submission id="TRAVB00001"/>
  56. <submission id="TRAVT02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/benflist"/>
  57. <submission id="TRAVT01100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/dntglist"/>
  58. <submission id="TRAVB00002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/comboptcdlst"/>
  59. </model>
  60. <script type="javascript">
  61. <![CDATA[
  62. // 화면 초기화
  63. function fGetScreenInit(){
  64. tbGetBscdList( new Array("C14"),
  65. new Array("/root/init/combobscdlst") ); // C14 기증 구분
  66. model.setValue("/root/send/srchfromdd", getCurrentDate());
  67. model.setValue("/root/send/srchtodd", getCurrentDate());
  68. model.removenode("/root/main/dntglist");
  69. // 부위콤보 List
  70. model.removeNodeset("/root/init/comboptcdlst/item");
  71. model.refresh();
  72. submit("TRAVB00002");
  73. var cnt = getNodesetCount("/root/init/comboptcdlst/item");
  74. model.makeValue("/root/init/comboptcdlst/item[" + (parseInt(cnt)+1) + "]/partcode", "합계");
  75. model.makeValue("/root/init/comboptcdlst/item[" + (parseInt(cnt)+1) + "]/partname", "합계");
  76. model.refresh();
  77. }
  78. ]]>
  79. </script>
  80. </xhtml:head>
  81. <xhtml:body guideline="1,1194;2,784;1,1193;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  82. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  83. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:210px; height:14px; ">조직은행 기증자분류</caption>
  84. </group>
  85. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  86. <caption id="caption1" class="tit_2" style="left:5px; top:56px; width:210px; height:14px; ">조직은행 기증자분류 리스트</caption>
  87. <line id="line1" class="line_1" style="x1:0px; y1:71px; x2:1194px; y2:71px; "/>
  88. <datagrid id="dtg_dntglist" nodeset="/root/main/dntglist/item" scroll="auto" caption="기증자 분류^기증조직^기증조직의 수" colsep="^" colwidth="161, 593, 147" 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; ">
  89. <col disabled="true" ref="dntgbd" type="combo">
  90. <choices>
  91. <itemset nodeset="/root/init/combobscdlst/C14">
  92. <label ref="cdnm"/>
  93. <value ref="cdid"/>
  94. </itemset>
  95. </choices>
  96. </col>
  97. <col disabled="true" ref="partcode" type="combo">
  98. <choices>
  99. <itemset nodeset="/root/init/comboptcdlst/item">
  100. <label ref="partname"/>
  101. <value ref="partcode"/>
  102. </itemset>
  103. </choices>
  104. </col>
  105. <col ref="cnt" type="output"/>
  106. <script type="javascript" ev:event="onaftersort">
  107. <![CDATA[
  108. dtg_dntglist.gridToInstance();
  109. ]]>
  110. </script>
  111. </datagrid>
  112. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  113. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  114. <caption id="caption2" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">채취일자 :</caption>
  115. <caption id="caption5" class="search_no_b" style="left:207px; top:10px; width:12px; height:17px; ">~</caption>
  116. <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
  117. <input id="ipt_fromdd" ref="/root/send/srchfromdd" class="input_s_essential" inputtype="date" style="left:104px; top:9px; width:100px; height:19px; "/>
  118. <input id="ipt_todd" ref="/root/send/srchtodd" class="input_s_essential" inputtype="date" style="left:222px; top:10px; width:100px; height:19px; "/>
  119. <button id="btn_sea" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  120. <caption>조회</caption>
  121. <script type="javascript" ev:event="DOMActivate">
  122. <![CDATA[
  123. if( model.getValue("/root/send/srchfromdd") == ""){
  124. messageBox("조회기간", "E013", "입력 후 다시 조회하세요.");
  125. return;
  126. }
  127. if( model.getValue("/root/send/srchtodd") == "" ){
  128. messageBox("조회기간", "E013", "입력 후 다시 조회하세요.");
  129. return;
  130. }
  131. if( submit("TRAVT01100") ){
  132. var rows = dtg_dntglist.rows
  133. if( rows > 1){
  134. // model.setValue(/root/main/dntglist/item/partcode)
  135. }
  136. }
  137. model.refresh();
  138. ]]>
  139. </script>
  140. </button>
  141. </group>
  142. <button id="btn_excsave" class="btn2_letter4" style="left:1129px; top:50px; width:64px; height:19px; ">
  143. <caption>엑셀저장</caption>
  144. <script type="javascript" ev:event="DOMActivate">
  145. <![CDATA[
  146. var filename = window.fileDialog("save",",",false,"excel","xls","All File(*.*)|*.*|Excel File(*.xls)|*.xls");
  147. if (filename != "")
  148. {
  149. dtg_dntglist.saveExcel(filename);
  150. }
  151. ]]>
  152. </script>
  153. </button>
  154. </group>
  155. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
  156. <button id="btn_prt" class="btn6_letter2" visibility="hidden" style="left:0px; top:5px; width:56px; height:22px; ">
  157. <caption>출력</caption>
  158. <script type="javascript" ev:event="DOMActivate">
  159. <![CDATA[
  160. ]]>
  161. </script>
  162. </button>
  163. </group>
  164. </xhtml:body>
  165. </xhtml:html>