SPAVT00110_수술환자조회.xrw 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SPAVT00110.xrw
  4. * 설 명 : 조직은행 수술환자조회
  5. * 설 계 자 : 손승현
  6. * 작 성 자 : 손승현
  7. * 작 성 일 : 2010.08.11
  8. * 수정이력 : 2010.08.11 손승현 신규
  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. <![CDATA[">]]>
  15. <xhtml:title>수술환자조회</xhtml:title>
  16. <model id="model1">
  17. <instance id="instance1">
  18. <root xmlns="">
  19. <main>
  20. <oplist>
  21. <item>
  22. <pid/>
  23. <hngnm/>
  24. <rrgstno1/>
  25. <rrgstno2/>
  26. <sex/>
  27. <age/>
  28. <telno/>
  29. <abo/>
  30. <rh/>
  31. <zipcd1/>
  32. <zipcd2/>
  33. <zipcdseq/>
  34. <addr/>
  35. <address/>
  36. <opdd/>
  37. <diagcd/>
  38. <diaghngnm/>
  39. <diagengnm/>
  40. <opcd/>
  41. <opnhgnm/>
  42. <opengnm/>
  43. <opsdd/>
  44. <opstm/>
  45. <opedd/>
  46. <opetm/>
  47. <oproomcd/>
  48. <oproomnm/>
  49. <orddeptcd/>
  50. <depthngnm/>
  51. <perfdrid/>
  52. <usernm/>
  53. </item>
  54. </oplist>
  55. </main>
  56. <send>
  57. <srch>
  58. <srchfromdd/>
  59. <srchtodd/>
  60. <srchpid/>
  61. <srchhngnm/>
  62. </srch>
  63. </send>
  64. <hidden>
  65. <receiveref/>
  66. </hidden>
  67. <init>
  68. </init>
  69. </root>
  70. </instance>
  71. <submission id="TRAVT00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srch" replace="instance" resultref="/root/main/oplist"/>
  72. </model>
  73. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  74. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  75. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  76. <script type="javascript" ev:event="xforms-ready">
  77. <![CDATA[
  78. // 일자 setting
  79. var curDD = getCurrentDate();
  80. model.setValue("/root/send/srch/srchfromdd" , curDD ); // 조회시작일자
  81. model.setValue("/root/send/srch/srchtodd" , curDD ); // 조회종료일자
  82. // 검색조건 설정
  83. var vpid = opener.javascript.getParameter("SPAVT00110_PID");
  84. model.setValue("/root/send/srch/srchpid", vpid);
  85. model.refresh();
  86. // 자동조회
  87. submit("TRAVT00103");
  88. ]]>
  89. </script>
  90. <script type="javascript">
  91. <![CDATA[
  92. function fSetOpener(){
  93. if( checkOpener() ){
  94. opener.model.makeNode("/root/temp/okflag");
  95. opener.model.setValue("/root/temp/okflag", "ok");
  96. var idx = grd_srchlist.row;
  97. // Opener Node에 복사
  98. copyNodeListType("/root/temp/templst", "/root/main/oplist/item[" + idx + "]", "replace", opener.model, model );
  99. window.close();
  100. }
  101. }
  102. ]]>
  103. </script>
  104. </xhtml:head>
  105. <xhtml:body pagewidth="820" pageheight="380" guideline="1,807;2,380;1,2;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  106. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:5px; top:21px; width:795px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  107. <caption id="caption2" class="tit_2" style="left:0px; top:0px; width:175px; height:14px; vertical-align:middle; ">수술환자조회</caption>
  108. <caption id="caption3" class="search_name" style="left:345px; top:30px; width:86px; height:17px; ">등록번호 :</caption>
  109. <line id="line1" style="x1:719px; y1:27px; x2:719px; y2:49px; border-color:#ffe4bb; border-left-style:solid; "/>
  110. <line id="line3" class="line_1" style="x1:5px; y1:58px; x2:800px; y2:58px; "/>
  111. <button id="btn_search" class="btn1_letter2" style="left:731px; top:28px; width:56px; height:22px; ">
  112. <caption>조회</caption>
  113. <script type="javascript" ev:event="DOMActivate">
  114. <![CDATA[
  115. submit("TRAVT00103");
  116. ]]>
  117. </script>
  118. </button>
  119. <button id="btn_cfm" class="btn4_letter2" style="left:678px; top:355px; width:56px; height:22px; ">
  120. <caption>확인</caption>
  121. <script type="javascript" ev:event="onclick">
  122. <![CDATA[
  123. fSetOpener();
  124. ]]>
  125. </script>
  126. </button>
  127. <button id="btn_can" class="btn4_letter2" style="left:735px; top:355px; width:56px; height:22px; ">
  128. <caption>취소</caption>
  129. <script type="javascript" ev:event="DOMActivate">
  130. <![CDATA[
  131. if( checkOpener() ) {
  132. opener.model.makeNode("/root/temp/okflag");
  133. opener.model.setValue("/root/temp/okflag", "");
  134. }
  135. window.close();
  136. ]]>
  137. </script>
  138. </button>
  139. <datagrid id="grd_srchlist" nodeset="/root/main/oplist/item" autoresize="true" caption="등록번호^성 명^수술일자^진단명^수술명^수술방" colsep="^" colwidth="70, 80, 80, 230, 230, 70" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:7px; top:65px; width:791px; height:279px; background-color:#ffffff; border-color:#B0B0B0; ">
  140. <col ref="pid" style="text-align:center; "/>
  141. <col ref="hngnm" style="text-align:center; "/>
  142. <col ref="opdd" format="yyyy-mm-dd" style="text-align:center; "/>
  143. <col ref="diagengnm" style="text-align:left; "/>
  144. <col ref="opengnm" style="text-align:left; "/>
  145. <col ref="oproomnm" style="text-align:center; "/>
  146. <script type="javascript" ev:event="ondblclick">
  147. <![CDATA[
  148. fSetOpener();
  149. ]]>
  150. </script>
  151. </datagrid>
  152. <caption id="caption1" class="search_name" style="left:20px; top:30px; width:86px; height:17px; ">기 간 :</caption>
  153. <input id="ipt_srchpid" ref="/root/send/srch/srchpid" class="input_search" style="left:434px; top:30px; width:106px; height:19px; ">
  154. <script type="javascript" ev:event="onkeypress">
  155. <![CDATA[
  156. inputEnterKey("btn_search", "DOMActivate");
  157. ]]>
  158. </script>
  159. </input>
  160. <input id="ipt_srchfromdd" ref="/root/send/srch/srchfromdd" class="input_s_essential" inputtype="date" style="left:105px; top:30px; width:100px; height:19px; "/>
  161. <caption id="lbl_~" class="search_no_b" style="left:208px; top:31px; width:12px; height:17px; ">~</caption>
  162. <input id="ipt_srchtodd" ref="/root/send/srch/srchtodd" class="input_s_essential" inputtype="date" style="left:222px; top:30px; width:100px; height:19px; "/>
  163. <input id="input1" ref="/root/send/srch/srchhngnm" class="input_search" style="left:542px; top:30px; width:106px; height:19px; ">
  164. <script type="javascript" ev:event="onkeypress">
  165. <![CDATA[
  166. inputEnterKey("btn_search", "DOMActivate");
  167. ]]>
  168. </script>
  169. </input>
  170. </xhtml:body>
  171. </xhtml:html>