SPLMR90400_항균제조회.xrw 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SPLMR90400_항균제조회.xrw
  4. * 설 명 : 환자특이사항 관리
  5. * 설 계 자 : (주)에이씨케이 -
  6. * 작 성 자 : (주)에이씨케이 - 조철형
  7. * 작 성 일 : 2007.04.23
  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. <AntiBio>
  20. <antibiolist>
  21. <chk/>
  22. <antibiocd/>
  23. <antibioscrnnm/>
  24. </antibiolist>
  25. </AntiBio>
  26. </main>
  27. <send>
  28. <data1/>
  29. <code/>
  30. <select>1</select>
  31. </send>
  32. <init>
  33. <LB0204>
  34. <cd/>
  35. <nm/>
  36. </LB0204>
  37. <LB0201>
  38. <cd/>
  39. <nm/>
  40. </LB0201>
  41. </init>
  42. <hidden>
  43. <cd/>
  44. <AntiBio/>
  45. <ref>
  46. <testcd/>
  47. <baccd/>
  48. </ref>
  49. <select>1</select>
  50. <code/>
  51. </hidden>
  52. </root>
  53. </instance>
  54. <script type="javascript" ev:event="xforms-model-construct-done">
  55. <![CDATA[
  56. grd_AntibioList.fixedcellcheckbox(0,1)=true;
  57. fBaseInfoRef("0201|");
  58. fAntiBioRef();
  59. ]]>
  60. </script>
  61. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  62. <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
  63. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init"/>
  64. <submission id="TRLMR90401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/AntiBio"/>
  65. </model>
  66. <script type="javascript">
  67. <![CDATA[
  68. function fAntiBioRef(){
  69. model.makeValue("/root/send/bacgenscd" ,model.getvalue("/root/hidden/cd"));
  70. submit("TRLMR90401");
  71. }
  72. // 확인버튼 클릭시
  73. function fSetpatspcflist(){
  74. model.copyNode("/root/hidden/AntiBio","/root/main/AntiBio");
  75. var row = grd_AntibioList.rows - 1
  76. for(i=row;;i--){
  77. model.makeValue("/root/hidden/AntiBio/antibiolist["+i+"]/antibiorslt", "");
  78. model.makeValue("/root/hidden/AntiBio/antibiolist["+i+"]/antibioref", "");
  79. model.makeValue("/root/hidden/AntiBio/antibiolist["+i+"]/panicmark", "");
  80. model.makeValue("/root/hidden/AntiBio/antibiolist["+i+"]/deltamark", "");
  81. model.makeValue("/root/hidden/AntiBio/antibiolist["+i+"]/testcd", model.getValue("/root/hidden/ref/testcd"));
  82. model.makeValue("/root/hidden/AntiBio/antibiolist["+i+"]/baccd", model.getValue("/root/hidden/ref/baccd"));
  83. model.makeValue("/root/hidden/AntiBio/antibiolist["+i+"]/bacgenscd", model.getValue("/root/hidden/cd"));
  84. if(model.getvalue("/root/hidden/AntiBio/antibiolist["+i+"]/chk") != "true"){
  85. model.removeNodeset("/root/hidden/AntiBio/antibiolist["+i+"]");
  86. }
  87. if(i==1) break;
  88. }
  89. model.copyNode(opener.root.hidden.bacgensantibio,root.hidden.AntiBio);
  90. window.close();
  91. }
  92. ]]>
  93. </script>
  94. </xhtml:head>
  95. <xhtml:body pagewidth="370" pageheight="450" guideline="1,1194;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  96. <group id="group1" style="left:0px; top:0px; width:325px; height:430px; ">
  97. <caption id="caption2" class="tit_2" style="left:5px; top:11px; width:100px; height:14px; ">항균제추가</caption>
  98. <button id="button9" class="btn4_letter2" style="left:260px; top:395px; width:56px; height:22px; ">
  99. <caption>취소</caption>
  100. <script type="javascript" ev:event="onclick">
  101. <![CDATA[
  102. window.close();
  103. ]]>
  104. </script>
  105. </button>
  106. <line id="line2" class="line_1" style="x1:0px; y1:26px; x2:315px; y2:26px; "/>
  107. <caption id="caption4" class="cell_1" style="left:0px; top:31px; width:72px; height:23px; ">균속코드</caption>
  108. <line id="line4" class="line_3" style="x1:0px; y1:53px; x2:315px; y2:53px; "/>
  109. <select1 id="combo1" ref="/root/hidden/cd" class="combo_default" appearance="minimal" style="left:74px; top:32px; width:241px; height:19px; ">
  110. <choices>
  111. <itemset nodeset="/root/init/LB0201">
  112. <label ref="nm"/>
  113. <value ref="cd"/>
  114. </itemset>
  115. </choices>
  116. <script type="javascript" ev:event="xforms-value-changed">
  117. <![CDATA[
  118. fAntiBioRef();
  119. ]]>
  120. </script>
  121. </select1>
  122. <button id="btn_cfm" class="btn4_letter2" style="left:200px; top:395px; width:56px; height:22px; ">
  123. <caption>확인</caption>
  124. <script type="javascript" ev:event="onclick">
  125. <![CDATA[
  126. fSetpatspcflist();
  127. ]]>
  128. </script>
  129. </button>
  130. <datagrid id="grd_AntibioList" nodeset="/root/main/AntiBio/antibiolist" visibility="visible" caption="^코드^항균제명" colsep="^" colwidth="22, 60, 187" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:79px; width:320px; height:310px; ">
  131. <col checkvalue="true,false" ref="chk" type="checkbox"/>
  132. <col ref="antibiocd"/>
  133. <col ref="antibioscrnnm"/>
  134. </datagrid>
  135. <caption id="caption1" class="cell_1" style="left:0px; top:54px; width:72px; height:23px; ">구 분</caption>
  136. <line id="line1" class="line_3" style="x1:0px; y1:77px; x2:315px; y2:77px; "/>
  137. <select1 id="combo2" ref="/root/hidden/select" appearance="minimal" style="left:73px; top:56px; width:80px; height:19px; ">
  138. <choices>
  139. <item>
  140. <label>코드</label>
  141. <value>1</value>
  142. </item>
  143. <item>
  144. <label>향균제명</label>
  145. <value>2</value>
  146. </item>
  147. </choices>
  148. </select1>
  149. </group>
  150. <input id="ipt_search" ref="/root/hidden/code" class="input_button" navindex="1" imemode="disabled" inputtype="button" style="left:153px; top:56px; width:162px; height:19px; ">
  151. <script type="javascript" ev:event="onkeyup">
  152. <![CDATA[
  153. if(event.keyCode == "13"){
  154. model.setValue("/root/hidden/code", ipt_search.currentText);
  155. model.setvalue("/root/send/code",model.getValue("/root/hidden/code"));
  156. model.setValue("/root/send/select",model.getValue("/root/hidden/select"))
  157. fAntiBioRef();
  158. }
  159. ]]>
  160. </script>
  161. <script type="javascript" ev:event="onbuttonclick">
  162. <![CDATA[
  163. model.setValue("/root/send/select", model.getValue("/root/hidden/select"));
  164. model.setValue("/root/send/code", model.getValue("/root/hidden/code"));
  165. model.setValue("/root/send/select",model.getValue("/root/hidden/select"))
  166. fAntiBioRef();
  167. ]]>
  168. </script>
  169. </input>
  170. </xhtml:body>
  171. </xhtml:html>