SMAVT02103_방사선조사내역.xrw 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  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 type="text/css" href="../../../com/commonweb/css/common.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. <batchinfolist>
  20. <item>
  21. <rdd/>
  22. <rseq/>
  23. <rplaced/>
  24. <rpathd/>
  25. </item>
  26. </batchinfolist>
  27. <batchlist>
  28. <item>
  29. <graftno/>
  30. <partseq/>
  31. <batchno/>
  32. <radialynd/>
  33. <grafttypecd/>
  34. <sizewcnt/>
  35. <expiredate/>
  36. <rseq/>
  37. <totalweight/>
  38. <dryiceb/>
  39. <dryicea/>
  40. <bigo/>
  41. <rstated/>
  42. </item>
  43. </batchlist>
  44. </main>
  45. <send>
  46. <srchfromdd/>
  47. <srchtodd/>
  48. <srchuseyn/>
  49. <srchgrafttypecd/>
  50. <srchgrafttypenm/>
  51. <srchflag/>
  52. <srchrdd/>
  53. <srchrseq/>
  54. </send>
  55. <init>
  56. <combobscdlst/>
  57. <comboabncdlst/>
  58. </init>
  59. <hidden/>
  60. <temp/>
  61. <rexprnt>
  62. <benflist>
  63. <srchfromdd/>
  64. <srchtodd/>
  65. </benflist>
  66. </rexprnt>
  67. </root>
  68. </instance>
  69. <script type="javascript" src="../../../com/commonweb/js/common.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="../../../ast/tissuebankbaseweb/js/tissuebankcombolist.js"/>
  73. <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
  74. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  75. <script type="javascript" ev:event="xforms-ready">
  76. <![CDATA[
  77. model.removenode("/root/main/batchinfolist");
  78. model.removenode("/root/main/batchlist");
  79. fGetScreenInit();
  80. ]]>
  81. </script>
  82. <submission id="TRAVB00001"/>
  83. <submission id="TRAVT02103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/batchinfolist"/>
  84. <submission id="TRAVT02104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/batchlist"/>
  85. <submission id="TRAVB00003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/combogtcdlst"/>
  86. </model>
  87. <script type="javascript">
  88. <![CDATA[
  89. // 화면 초기화
  90. function fGetScreenInit(){
  91. model.setValue("/root/send/srchfromdd", getCurrentDate());
  92. model.setValue("/root/send/srchtodd", getCurrentDate());
  93. model.removenode("/root/main/batchlist");
  94. model.removenode("/root/main/batchinfolist");
  95. tbGetBscdList( new Array( "C09", "C20", "C21", "C22", "C23"),
  96. new Array("/root/init/combobscdlst", // C09 유무구분
  97. "/root/init/combobscdlst", // C20 방사선량
  98. "/root/init/combobscdlst", // C21 이송방법 및 온도
  99. "/root/init/combobscdlst", // C22 방사선조사 장소
  100. "/root/init/combobscdlst") ); // C23 방사선조사 상태
  101. // Graft Tsdype List
  102. model.removeNodeset("/root/init/combogtcdlst/item");
  103. model.setValue("/root/send/srchuseyn", "Y");
  104. submit("TRAVB00003");
  105. submit("TRAVT02103");
  106. model.refresh();
  107. }
  108. ]]>
  109. </script>
  110. </xhtml:head>
  111. <xhtml:body guideline="1,1194;2,784;1,1193;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  112. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  113. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:210px; height:14px; ">조직은행 방사선조사 내역</caption>
  114. </group>
  115. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  116. <caption id="caption1" class="tit_2" style="left:5px; top:56px; width:214px; height:14px; ">조직은행 방사선조사 내역 리스트</caption>
  117. <line id="line1" class="line_1" style="x1:0px; y1:71px; x2:1194px; y2:71px; "/>
  118. <datagrid id="dtg_batchlist" nodeset="/root/main/batchlist/item" scroll="auto" caption="Graft No^배치번호^방사선^Description^Size^유효기간^방사선SEQ^총무게^조사전 ice^조사후 ice^비고^상태" colsep="^" colwidth="80, 60, 50, 301, 90, 100, 100, 100, 100, 100, 100, 100" 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:290px; width:1194px; height:450px; text-align:center; ">
  119. <col ref="graftno" type="output"/>
  120. <col ref="batchno" type="output"/>
  121. <col disabled="true" ref="radialynd" type="combo">
  122. <choices>
  123. <itemset nodeset="/root/init/combobscdlst/C09">
  124. <label ref="cdnm"/>
  125. <value ref="cdid"/>
  126. </itemset>
  127. </choices>
  128. </col>
  129. <col disabled="true" ref="grafttypecd" type="combo" style="text-align:left; padding-left:10; ">
  130. <choices>
  131. <itemset nodeset="/root/init/combogtcdlst/item">
  132. <label ref="grafttypenm"/>
  133. <value ref="grafttypecd"/>
  134. </itemset>
  135. </choices>
  136. </col>
  137. <col ref="sizewcnt" type="output"/>
  138. <col ref="expiredate" type="output" format="yyyy-mm-dd"/>
  139. <col ref="rseq" type="output"/>
  140. <col ref="totalweight" type="output"/>
  141. <col ref="dryiceb" type="output"/>
  142. <col ref="dryicea" type="output"/>
  143. <col ref="bigo" type="output"/>
  144. <col disabled="true" ref="rstated" type="combo">
  145. <choices>
  146. <itemset nodeset="/root/init/combobscdlst/C23">
  147. <label ref="cdnm"/>
  148. <value ref="cdid"/>
  149. </itemset>
  150. </choices>
  151. </col>
  152. <script type="javascript" ev:event="onaftersort">
  153. <![CDATA[
  154. dtg_batchlist.gridToInstance();
  155. ]]>
  156. </script>
  157. </datagrid>
  158. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  159. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  160. <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
  161. <button id="btn_sea" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  162. <caption>조회</caption>
  163. <script type="javascript" ev:event="DOMActivate">
  164. <![CDATA[
  165. if( model.getValue("/root/send/srchfromdd") == ""){
  166. messageBox("조회기간", "E013", "입력 후 다시 조회하세요.");
  167. return;
  168. }
  169. if( model.getValue("/root/send/srchtodd") == "" ){
  170. messageBox("조회기간", "E013", "입력 후 다시 조회하세요.");
  171. return;
  172. }
  173. submit("TRAVT02103");
  174. model.refresh();
  175. ]]>
  176. </script>
  177. </button>
  178. </group>
  179. <button id="btn_excsave" class="btn2_letter4" style="left:1129px; top:50px; width:64px; height:19px; ">
  180. <caption>엑셀저장</caption>
  181. <script type="javascript" ev:event="DOMActivate">
  182. <![CDATA[
  183. var filename = window.fileDialog("save",",",false,"excel","xls","All File(*.*)|*.*|Excel File(*.xls)|*.xls");
  184. if (filename != "")
  185. {
  186. dtg_abnclslist.saveExcel(filename);
  187. }
  188. ]]>
  189. </script>
  190. </button>
  191. <line id="line2" class="line_1" style="x1:0px; y1:285px; x2:1194px; y2:285px; "/>
  192. <datagrid id="dtg_batchinfolist" nodeset="/root/main/batchinfolist/item" scroll="auto" caption="조사일자^방사선조사SEQ^장소^이송방법" colsep="^" colwidth="150, 101, 350, 550" 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:75px; width:1194px; height:190px; text-align:center; ">
  193. <col ref="rdd" type="output" format="yyyy-mm-dd"/>
  194. <col ref="rseq" type="output" style="text-align:center; "/>
  195. <col disabled="true" ref="rplaced" type="combo" style="text-align:left; padding-left:10; ">
  196. <choices>
  197. <itemset nodeset="/root/init/combobscdlst/C22">
  198. <label ref="cdnm"/>
  199. <value ref="cdid"/>
  200. </itemset>
  201. </choices>
  202. </col>
  203. <col disabled="true" ref="rpathd" type="combo" style="text-align:left; padding-left:10; ">
  204. <choices>
  205. <itemset nodeset="/root/init/combobscdlst/C21">
  206. <label ref="cdnm"/>
  207. <value ref="cdid"/>
  208. </itemset>
  209. </choices>
  210. </col>
  211. <script type="javascript" ev:event="ondblclick">
  212. <![CDATA[
  213. if( dtg_batchinfolist.row > 0 ){
  214. model.setValue("/root/send/srchrdd", model.getValue("/root/main/batchinfolist/item[" + dtg_batchinfolist.row + "]/rdd"));
  215. model.setValue("/root/send/srchrseq", model.getValue("/root/main/batchinfolist/item[" + dtg_batchinfolist.row + "]/rseq"));
  216. if( submit("TRAVT02104") ){
  217. var cnt = getNodesetCount("/root/main/batchlist/item");
  218. for( i = 1 ; i <= cnt ; i++ ){
  219. if( model.getValue("/root/main/batchlist/item["+ i +"]/batchno").length == 1 ){
  220. model.setValue("/root/main/batchlist/item["+ i +"]/batchno", "00"+ model.getValue("/root/main/batchlist/item["+ i +"]/batchno"))
  221. }
  222. if( model.getValue("/root/main/batchlist/item["+ i +"]/batchno").length == 2 ){
  223. model.setValue("/root/main/batchlist/item["+ i +"]/batchno", "0"+ model.getValue("/root/main/batchlist/item["+ i +"]/batchno"))
  224. }
  225. }
  226. }
  227. model.refresh();
  228. }
  229. ]]>
  230. </script>
  231. <script type="javascript" ev:event="onaftersort">
  232. <![CDATA[
  233. dtg_batchinfolist.gridToInstance();
  234. ]]>
  235. </script>
  236. </datagrid>
  237. </group>
  238. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
  239. <button id="btn_prt" class="btn6_letter2" visibility="hidden" style="left:0px; top:5px; width:56px; height:22px; ">
  240. <caption>출력</caption>
  241. <script type="javascript" ev:event="DOMActivate">
  242. <![CDATA[
  243. ]]>
  244. </script>
  245. </button>
  246. </group>
  247. </xhtml:body>
  248. </xhtml:html>