SPAHA00801_추가검사선택.xrw 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SPAH00800.xrw
  4. * 설 명 : 추가/재검/타과의뢰/연장 선택
  5. * 설 계 자 : 최예원
  6. * 작 성 자 : 최예원
  7. * 작 성 일 : 2011.02.21
  8. * 수정이력 :
  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. <detlcodelst>
  20. <item>
  21. <etccd/>
  22. <etcdetlcdkey/>
  23. <etcdetlcd/>
  24. <etcdetlnm/>
  25. <etcitemcnts/>
  26. <etcitemcnts2/>
  27. <useyn/>
  28. </item>
  29. </detlcodelst>
  30. </main>
  31. <send>
  32. <clscd>G</clscd>
  33. <etccd>G20</etccd>
  34. <etcitemcnts>A</etcitemcnts>
  35. </send>
  36. </root>
  37. </instance>
  38. <submission id="TRZBC00101"/>
  39. <submission id="TRAHB00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/detlcodelst"/>
  40. </model>
  41. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  42. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  43. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  44. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  45. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  46. <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
  47. <script type="javascript" ev:event="xforms-ready">
  48. <![CDATA[
  49. //2016/09/24 이정택 수정
  50. var flag = opener.javascript.getParameter("SPAHA00801_FLAG");
  51. if(!isNull(flag)){
  52. rdo_srchpkgflag.value=flag;
  53. rdo_srchpkgflag.refresh();
  54. }else{
  55. rdo_srchpkgflag.select(0);
  56. }
  57. //2016/09/24 이정택 수정
  58. btn_search.dispatch("DOMActivate");
  59. model.refresh();
  60. ]]>
  61. </script>
  62. <script type="javascript">
  63. <![CDATA[
  64. function fGetDetlCodeList(){
  65. model.removeNodeset("/root/main/detlcodelst/item");
  66. submit("TRAHB00602");
  67. model.refresh();
  68. }
  69. function fSetData(){
  70. opener.model.makeValue("/root/main/detlcodelst/item["+ 1 +"]/aftype" , model.getValue("/root/main/detlcodelst/item[" + grd_etclst.row + "]/etcitemcnts"));
  71. opener.model.makeValue("/root/main/detlcodelst/item["+ 1 +"]/etcdetlcd" , model.getValue("/root/main/detlcodelst/item[" + grd_etclst.row + "]/etcdetlcd"));
  72. opener.model.makeValue("/root/main/detlcodelst/item["+ 1 +"]/etcdetlnm" , model.getValue("/root/main/detlcodelst/item[" + grd_etclst.row + "]/etcdetlnm"));
  73. opener.model.makeValue("/root/temp/okflag", "ok");
  74. window.close();
  75. }
  76. ]]>
  77. </script>
  78. </xhtml:head>
  79. <xhtml:body pagewidth="590" pageheight="750" guideline="1,1194;1,585;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  80. <group id="group3" scroll="auto" style="left:0px; top:0px; width:565px; height:705px; ">
  81. <group id="group2" style="left:0px; top:0px; width:560px; height:40px; vertical-align:top; ">
  82. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:1px; width:560px; height:34px; background-color:#fffbf2; border-color:#ffd799; "/>
  83. <button id="btn_search" class="btn1_letter2" style="left:490px; top:7px; width:56px; height:22px; ">
  84. <caption>조회</caption>
  85. <script type="javascript" ev:event="DOMActivate">
  86. <![CDATA[
  87. fGetDetlCodeList();
  88. ]]>
  89. </script>
  90. </button>
  91. <line id="line13" style="x1:474px; y1:5px; x2:474px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  92. <caption id="cap_srchpkgflag" class="search_name" style="left:6px; top:10px; width:86px; height:17px; ">검색구분 :</caption>
  93. <select1 id="rdo_srchpkgflag" ref="/root/send/etcitemcnts" class="radio_search" appearance="full" cols="7" overflow="visible" style="left:98px; top:12px; width:372px; height:20px; border-style:none; ">
  94. <choices>
  95. <item>
  96. <label>추가</label>
  97. <value>A</value>
  98. </item>
  99. <item>
  100. <label>재검</label>
  101. <value>B</value>
  102. </item>
  103. <item>
  104. <label>타과</label>
  105. <value>C</value>
  106. </item>
  107. <item>
  108. <label>연장</label>
  109. <value>D</value>
  110. </item>
  111. <item>
  112. <label>유소견</label>
  113. <value>G</value>
  114. </item>
  115. <item>
  116. <label>전화</label>
  117. <value>E</value>
  118. </item>
  119. <item>
  120. <label>방문</label>
  121. <value>F</value>
  122. </item>
  123. </choices>
  124. <script type="javascript" ev:event="xforms-value-changed">
  125. <![CDATA[
  126. btn_search.dispatch("DOMActivate");
  127. ]]>
  128. </script>
  129. </select1>
  130. </group>
  131. <line id="line1" class="line_1" style="x1:0px; y1:41px; x2:560px; y2:41px; "/>
  132. <datagrid id="grd_etclst" nodeset="/root/main/detlcodelst/item" caption="etccd^etcdetlcdkey^코드^상세코드명^기타1^기타2^적용여부" colsep="^" colwidth="10, 10, 100, 165, 60, 60, 60" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:45px; width:560px; height:655px; ">
  133. <col ref="etccd" visibility="hidden"/>
  134. <col ref="etcdetlcdkey" visibility="hidden"/>
  135. <col disabled="false" ref="etcdetlcd" type="output" style="padding-left:10; "/>
  136. <col disabled="false" ref="etcdetlnm" type="output" style="padding-left:10; "/>
  137. <col ref="etcitemcnts" type="output" visibility="hidden" maxlength="50"/>
  138. <col ref="etcitemcnts2" type="output" visibility="hidden" maxlength="50"/>
  139. <col checkvalue="Y,N" disabled="true" ref="useyn" type="checkbox" visibility="hidden"/>
  140. <script type="javascript" ev:event="ondblclick">
  141. <![CDATA[
  142. fSetData();
  143. ]]>
  144. </script>
  145. </datagrid>
  146. </group>
  147. <group id="group4" scroll="auto" style="left:0px; top:710px; width:565px; height:28px; ">
  148. <button id="button9" class="btn4_letter2" style="left:503px; top:3px; width:56px; height:22px; ">
  149. <caption>취소</caption>
  150. <script type="javascript" ev:event="DOMActivate">
  151. <![CDATA[
  152. if(checkOpener()){
  153. opener.model.makeNode("/root/temp/okflag");
  154. opener.model.setValue("/root/temp/okflag", "");
  155. }
  156. window.close();
  157. ]]>
  158. </script>
  159. </button>
  160. <button id="btn_cfm" class="btn4_letter2" style="left:444px; top:3px; width:56px; height:22px; ">
  161. <caption>확인</caption>
  162. <script type="javascript" ev:event="DOMActivate">
  163. <![CDATA[
  164. fSetData();
  165. ]]>
  166. </script>
  167. </button>
  168. </group>
  169. </xhtml:body>
  170. </xhtml:html>