SPLMR90300_균주보관등록.xrw 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLLR90100.xrw
  4. * 설 명 : 특이결과등록
  5. * 설 계 자 : (주)에이씨케이 -
  6. * 작 성 자 : (주)에이씨케이 -
  7. * 작 성 일 : 2006.12.07
  8. * 수정이력 :
  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>
  18. <main>
  19. <keepbaclist>
  20. <bcno/>
  21. <bacscrnnm/>
  22. <spcfcnts/>
  23. </keepbaclist>
  24. </main>
  25. <send>
  26. <codeflag/>
  27. <bcno/>
  28. <spccd/>
  29. <baccd/>
  30. <bacscrnnm/>
  31. <bacseqno/>
  32. <testcd/>
  33. <rsltseq/>
  34. <spcfcnts/>
  35. <keepstrncd/>
  36. </send>
  37. <init>
  38. </init>
  39. <hidden>
  40. <ref>
  41. <bcno/>
  42. <spccd/>
  43. <baccd/>
  44. <bacscrnnm/>
  45. <bacseqno/>
  46. <testcd/>
  47. <rsltseq/>
  48. </ref>
  49. <keepbac>00</keepbac>
  50. <keeplist/>
  51. </hidden>
  52. </root>
  53. </instance>
  54. <script ev:event="xforms-model-construct-done" type="javascript">
  55. <![CDATA[
  56. fSetData();
  57. ]]>
  58. </script>
  59. <script src="../../../com/commonweb/js/common.js" type="javascript"/>
  60. <script src="../../../com/commonweb/js/tfHelper.js" type="javascript"/>
  61. <script src="../../../com/commonweb/js/stringHelper.js" type="javascript"/>
  62. <script src="../../../com/commonweb/js/numericHelper.js" type="javascript"/>
  63. <script src="../../../lis/commonweb/js/LLZ001.js" type="javascript"/>
  64. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/codeflag" replace="instance" resultref="/root/LB"/>
  65. <submission id="TXLMR90301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
  66. <submission id="TRLMR90301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/keeplist"/>
  67. </model>
  68. <script type="javascript">
  69. <![CDATA[
  70. function fSetData(){
  71. model.setValue("/root/main/keepbaclist/bcno" , model.getValue("/root/hidden/ref/bcno"));
  72. model.setValue("/root/main/keepbaclist/bacscrnnm" , model.getValue("/root/hidden/ref/bacscrnnm"));
  73. model.setValue("/root/send/codeflag", "0209|"); //균주그룹
  74. submit("TRLZZ00101");
  75. }
  76. function fExeKeepBac(){
  77. if(model.getValue("/root/hidden/keepbac") == "00") {
  78. alert("균주그룹을 선택해주십시오");
  79. }
  80. else{
  81. model.setValue("/root/send/bcno", model.getValue("/root/hidden/ref/bcno"));
  82. model.setValue("/root/send/spccd", model.getValue("/root/hidden/ref/spccd"));
  83. model.setValue("/root/send/baccd", model.getValue("/root/hidden/ref/baccd"));
  84. model.setValue("/root/send/bacscrnnm", model.getValue("/root/hidden/ref/bacscrnnm"));
  85. model.setValue("/root/send/bacseqno", model.getValue("/root/hidden/ref/bacseqno"));
  86. model.setValue("/root/send/testcd", model.getValue("/root/hidden/ref/testcd"));
  87. model.setValue("/root/send/rsltseq", model.getValue("/root/hidden/ref/rsltseq"));
  88. model.setValue("/root/send/spcfcnts", model.getValue("/root/main/keepbaclist/spcfcnts"));
  89. model.setValue("/root/send/keepstrncd", model.getValue("/root/hidden/keepbac"));
  90. submit("TRLMR90301");
  91. var keepno = model.getValue("/root/hidden/keeplist/keepno");
  92. if(keepno == "-"){
  93. }else{
  94. var retval = window.alert( "보관된 균이 있습니다. \n등록 하시겠습니까?", "결과관리", "35" );
  95. if (retval != "6") return; // yes = 6, no = 7
  96. }
  97. submit("TXLMR90301");
  98. window.close();
  99. }
  100. }
  101. function fExeCancel(){
  102. window.close();
  103. }
  104. ]]>
  105. </script>
  106. </xhtml:head>
  107. <xhtml:body pagewidth="300" pageheight="240" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  108. <group id="group1" style="left:0px; top:0px; width:270px; height:200px; ">
  109. <caption id="caption2" class="tit_2" style="left:5px; top:11px; width:95px; height:14px; ">보관균주</caption>
  110. <line id="line2" class="line_1" style="x1:0px; y1:26px; x2:263px; y2:26px; "/>
  111. <caption id="caption5" class="cell_1" style="left:0px; top:-140px; width:72px; height:23px; vertical-align:middle; ">환자명</caption>
  112. <line id="line4" class="line_2" style="x1:0px; y1:53px; x2:263px; y2:53px; "/>
  113. <line id="line5" class="line_2" style="x1:0px; y1:77px; x2:263px; y2:77px; "/>
  114. <line id="line6" class="line_2" style="x1:0px; y1:101px; x2:263px; y2:101px; "/>
  115. <line id="line9" class="line_3" style="x1:0px; y1:193px; x2:263px; y2:193px; "/>
  116. <textarea id="textarea1" ref="/root/main/keepbaclist/spcfcnts" style="left:103px; top:104px; width:160px; height:87px; "/>
  117. <caption id="caption10" class="cell_1" style="left:0px; top:103px; width:100px; height:88px; vertical-align:middle; ">특이사항</caption>
  118. <input id="input4" ref="/root/main/keepbaclist/bcno" class="input_essential" style="left:103px; top:32px; width:160; height:19px; "/>
  119. <input id="input1" ref="/root/main/keepbaclist/bacscrnnm" class="input_essential" style="left:103px; top:56px; width:160px; height:19px; "/>
  120. <select1 id="combo4" ref="/root/hidden/keepbac" class="combo_essential" appearance="minimal" style="left:103px; top:80px; width:160px; height:19px; ">
  121. <choices>
  122. <itemset nodeset="/root/init/LB0209">
  123. <label ref="nm"/>
  124. <value ref="cd"/>
  125. </itemset>
  126. </choices>
  127. </select1>
  128. <caption id="caption3" class="cell_1" style="left:0px; top:31px; width:100px; height:23px; vertical-align:middle; ">바코드번호</caption>
  129. <caption id="caption4" class="cell_1" style="left:0px; top:55px; width:100px; height:23px; vertical-align:middle; ">보관균주</caption>
  130. <caption id="caption6" class="cell_1" style="left:0px; top:79px; width:100px; height:23px; vertical-align:middle; ">보관균주그룹</caption>
  131. </group>
  132. <group id="group2" style="left:0px; top:200px; width:270px; height:27px; ">
  133. <line id="line10" class="line_6" style="x1:0px; y1:0px; x2:263px; y2:0px; "/>
  134. <button id="button4" class="btn4_letter2" style="left:149px; top:5px; width:56px; height:22px; ">
  135. <caption>확인</caption>
  136. <script ev:event="onclick" type="javascript">
  137. <![CDATA[
  138. fExeKeepBac();
  139. ]]>
  140. </script>
  141. </button>
  142. <button id="button9" class="btn4_letter2" style="left:208px; top:5px; width:56px; height:22px; ">
  143. <caption>취소</caption>
  144. <script ev:event="onclick" type="javascript">
  145. <![CDATA[
  146. fExeCancel();
  147. ]]>
  148. </script>
  149. </button>
  150. </group>
  151. </xhtml:body>
  152. </xhtml:html>