SPABO62400_CBC리스트팝업.xrw 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. <?xml version="1.0" encoding="EUC-KR"?>
  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>CBC리스트팝업</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <cbcinfo>
  11. <diag/>
  12. <tret/>
  13. <remfact/>
  14. <chemofrom/>
  15. <chemoto/>
  16. <trnptdd/>
  17. <trnptkind/>
  18. <trnptkindcd/>
  19. <pid/>
  20. </cbcinfo>
  21. </main>
  22. <send>
  23. <req>
  24. <pid/>
  25. <diag/>
  26. <tret/>
  27. <remfact/>
  28. <chemofrom/>
  29. <chemoto/>
  30. </req>
  31. </send>
  32. <init>
  33. <cmbinfo>
  34. <trnptkindcd>
  35. <A0161>
  36. <cdid/>
  37. <cdnm/>
  38. </A0161>
  39. </trnptkindcd>
  40. </cmbinfo>
  41. <temp>
  42. <trnptkindcd>
  43. <A0161>
  44. <cdid/>
  45. <cdnm/>
  46. </A0161>
  47. </trnptkindcd>
  48. </temp>
  49. </init>
  50. <hidden>
  51. </hidden>
  52. <temp>
  53. <diag/>
  54. <tret/>
  55. <remfact/>
  56. <chemofrom/>
  57. <chemoto/>
  58. <trnptdd/>
  59. <trnptkind/>
  60. <trnptkindcd/>
  61. <pid/>
  62. </temp>
  63. <ret>
  64. <item>
  65. <cnt/>
  66. </item>
  67. </ret>
  68. </root>
  69. </instance>
  70. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  71. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  72. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  73. <script type="javascript" src="../../../ast/hsctweb/js/bmtcommon.js"/>
  74. <script type="javascript" ev:event="xforms-ready">
  75. <![CDATA[
  76. //BMT 코드성 데이터 조회
  77. aboGetCodeList(new Array("A0161"), new Array("/root/init/temp/trnptkindcd"));
  78. model.makeValue("/root/init/temp/trnptkindcd/A0161/cdid", "AUTO");
  79. model.makeValue("/root/init/temp/trnptkindcd/A0161/cdnm", "AUTO");
  80. var nodelist = instance1.selectNodes("/root/init/temp/trnptkindcd/A0161");
  81. for(var i = 2; i <= nodelist.length+1; i++){
  82. model.makeValue("/root/init/cmbinfo/trnptkindcd/A0161[" + i + "]/cdid", model.getValue("/root/init/temp/trnptkindcd/A0161[" + (i-1) + "]/cdid"));
  83. model.makeValue("/root/init/cmbinfo/trnptkindcd/A0161[" + i + "]/cdnm", model.getValue("/root/init/temp/trnptkindcd/A0161[" + (i-1) + "]/cdnm"));
  84. }
  85. // common.js
  86. if ( checkOpener() ) {
  87. var param = opener.javascript.getParameter("opener_parameter_id"); //opener parameter value를 get
  88. if (param != "") { // opener parameter value가 있는 경우
  89. condarray = param.split("▦");
  90. model.setValue("/root/temp/diag", condarray[0]);
  91. model.setValue("/root/temp/tret", condarray[1]);
  92. model.setValue("/root/temp/remfact", condarray[2]);
  93. model.setValue("/root/temp/chemofrom", condarray[3]);
  94. model.setValue("/root/temp/chemoto", condarray[4]);
  95. model.setValue("/root/temp/trnptdd", condarray[5]);
  96. model.setValue("/root/temp/trnptkind", condarray[6]);
  97. model.setValue("/root/temp/trnptkindcd", condarray[7]);
  98. model.setValue("/root/temp/pid", condarray[8]);
  99. if( condarray[6] == "1"){ // 자가 이식일 경우 설정
  100. model.setValue("/root/temp/trnptkindcd", "AUTO");
  101. }
  102. model.copyNode("/root/main/cbcinfo" ,"/root/temp");
  103. }
  104. }
  105. model.refresh();
  106. ]]>
  107. </script>
  108. <submission id="TRZBC00101"/>
  109. <submission id="TXABO62401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/ret"/>
  110. <submission id="TRABO02103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/tempcodeinfo"/>
  111. </model>
  112. </xhtml:head>
  113. <xhtml:body pagewidth="490" pageheight="180" guideline="1,1194;2,784;2,757;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  114. <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:460px; height:135px; ">
  115. <line id="line1" class="line_1" style="x1:8px; y1:25px; x2:455px; y2:25px; "/>
  116. <caption id="cpt_title" class="tit_2" style="left:5px; top:10px; width:325px; height:13px; ">Information</caption>
  117. <caption id="caption10" class="cell_1" style="left:8px; top:52px; width:86px; height:20px; text-align:center; vertical-align:middle; ">Treatment</caption>
  118. <caption id="caption3" class="cell_1" style="left:8px; top:115px; width:86px; height:20px; text-align:center; vertical-align:middle; ">Remark</caption>
  119. <caption id="caption4" class="cell_1" style="left:8px; top:73px; width:86px; height:20px; text-align:center; vertical-align:middle; ">Chemo 시작일</caption>
  120. <caption id="caption5" class="cell_1" style="left:233px; top:73px; width:86px; height:20px; text-align:center; vertical-align:middle; ">Chemo 종료일</caption>
  121. <caption id="caption7" class="cell_1" style="left:8px; top:94px; width:86px; height:20px; text-align:center; vertical-align:middle; ">골수이식일</caption>
  122. <caption id="caption8" class="cell_1" style="left:233px; top:94px; width:86px; height:20px; text-align:center; vertical-align:middle; ">BMT Type</caption>
  123. <caption id="caption9" class="cell_1" style="left:8px; top:30px; width:86px; height:21px; text-align:center; vertical-align:middle; ">Diagnosis</caption>
  124. <input id="ipt_diag" ref="/root/main/cbcinfo/diag" class="input_default" style="left:97px; top:30px; width:358px; height:19px; "/>
  125. <input id="ipt_tret" ref="/root/main/cbcinfo/tret" class="input_default" style="left:97px; top:52px; width:358px; height:19px; "/>
  126. <input id="ipt_remfact" ref="/root/main/cbcinfo/remfact" class="input_default" style="left:97px; top:115px; width:358px; height:19px; "/>
  127. <output id="opt_trnptdd" ref="/root/main/cbcinfo/trnptdd" class="output_fix" format="yyyy-mm-dd" style="left:97px; top:94px; width:133px; height:19px; text-align:center; "/>
  128. <select1 id="cmb_trnptkindcd" ref="/root/main/cbcinfo/trnptkindcd" class="combo_search" disabled="true" appearance="minimal" style="left:322px; top:94px; width:133px; height:19px; ">
  129. <choices>
  130. <itemset nodeset="/root/init/cmbinfo/trnptkindcd/A0161">
  131. <label ref="cdnm"/>
  132. <value ref="cdid"/>
  133. </itemset>
  134. </choices>
  135. </select1>
  136. <input id="ipt_chemofrom" ref="/root/main/cbcinfo/chemofrom" class="input_default" navindex="1" inputtype="date" style="left:97px; top:73px; width:133px; height:19px; text-align:center; "/>
  137. <input id="ipt_chemoto" ref="/root/main/cbcinfo/chemoto" class="input_default" navindex="1" inputtype="date" style="left:322px; top:73px; width:133px; height:19px; text-align:center; "/>
  138. </group>
  139. <group id="grp_btn" scroll="auto" style="left:0px; top:135px; width:460px; height:27px; ">
  140. <button id="btn_confirm1" class="btn4_letter2" style="left:339px; top:3px; width:56px; height:22px; ">
  141. <caption>확인</caption>
  142. <script type="javascript" ev:event="onclick">
  143. <![CDATA[
  144. model.copyNode("/root/send/req" , "/root/main/cbcinfo");
  145. model.refresh();
  146. submit("TXABO62401");
  147. ]]>
  148. </script>
  149. <close ev:event="DOMActivate"/>
  150. </button>
  151. <button id="btn_cancel1" class="btn4_letter2" style="left:399px; top:3px; width:56px; height:22px; ">
  152. <caption>취소</caption>
  153. <close ev:event="DOMActivate"/>
  154. </button>
  155. </group>
  156. </xhtml:body>
  157. </xhtml:html>