SMLLC00600_외래채혈실핵의학검체조회.xrw 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : 외래채혈실핵의학검체조회.xrw
  4. * 설 명 : ㅇㅇ
  5. * 설 계 자 :
  6. * 작 성 자 :
  7. * 작 성 일 : 2009.07.24
  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. <spclist>
  20. <bcno/>
  21. <pid/>
  22. <hngnm/>
  23. <tclsnm/>
  24. <spcnm/>
  25. <spcstat/>
  26. <bcoll/>
  27. <spcpseuacpt/>
  28. <spcacpt/>
  29. <spccncl/>
  30. </spclist>
  31. </main>
  32. <send>
  33. <refflag>1</refflag>
  34. <reftext/>
  35. <fromdd/>
  36. <todd/>
  37. <spcflag>00</spcflag>
  38. </send>
  39. <init/>
  40. <hidden/>
  41. </root>
  42. </instance>
  43. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  44. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  45. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  46. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  47. <script type="javascript" ev:event="xforms-model-construct-done">
  48. <![CDATA[
  49. fSetInit();
  50. ]]>
  51. </script>
  52. <!-- 시행부서 조회-->
  53. <submission id="TRLLC00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/spclist"/>
  54. </model>
  55. <script type="javascript">
  56. <![CDATA[
  57. // 초기화
  58. function fSetInit() {
  59. model.removeNodeset("/root/init");
  60. /*model.setValue("/root/send/codeflag", "0001|0000|1004|");
  61. submit("TRLZZ00101");
  62. */
  63. model.removeNodeset("/root/main/spclist");
  64. var today = getCurrentDate();
  65. model.setValue("/root/send/fromdd", today);
  66. model.setValue("/root/send/todd", today);
  67. model.setFocus("ipt_text");
  68. model.refresh();
  69. }
  70. //조회
  71. function fGetNSpcList() {
  72. submit("TRLLC00601");
  73. }
  74. function fKeyEvent(){
  75. if(event.keyCode == "13"){
  76. if(event.target == "ipt_text"){
  77. if(ipt_text.currentText != "") {
  78. model.setValue("/root/send/reftext", (ipt_text.currentText).toUpperCase());
  79. fGetNSpcList();
  80. } else {
  81. messageBox("검색어를", "C001");
  82. }
  83. ipt_text.selBegin = 0;
  84. ipt_text.selEnd = ipt_text.currentText.length;
  85. }
  86. }
  87. }
  88. ]]>
  89. </script>
  90. </xhtml:head>
  91. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  92. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  93. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">핵의학 검체 조회</caption>
  94. </group>
  95. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
  96. <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:134px; height:14px; ">핵의학 검체 List</caption>
  97. <line id="line2" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
  98. <datagrid id="grd_nspclist" nodeset="/root/main/spclist" caption="검체번호^등록번호^성명^검사명^검체명^검체상태^채혈정보^가접수정보^접수정보^취소정보" colsep="^" colwidth="80, 70, 60, 250, 80, 60, 160,160,160, 160" dataheight="25" defaultrows="1" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:75px; width:1194px; height:667px; ">
  99. <col ref="bcno"/>
  100. <col ref="pid"/>
  101. <col ref="hngnm"/>
  102. <col ref="tclsnm"/>
  103. <col ref="spcnm"/>
  104. <col ref="spcstat"/>
  105. <col ref="bcoll"/>
  106. <col ref="spcpseuacpt"/>
  107. <col ref="spcacpt"/>
  108. <col ref="spccncl"/>
  109. <script type="javascript" ev:event="onaftersort">
  110. <![CDATA[
  111. grd_nspclist.gridToInstance();
  112. ]]>
  113. </script>
  114. </datagrid>
  115. <group id="group2" style="left:0px; top:10px; width:1195px; height:35px; font-weight:bold; ">
  116. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
  117. <line id="line3" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; "/>
  118. <button id="btn_Ref" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  119. <caption>조회</caption>
  120. <script type="javascript" ev:event="DOMActivate">
  121. <![CDATA[
  122. fGetNSpcList();
  123. ]]>
  124. </script>
  125. </button>
  126. <select1 id="cmb_refgbn" ref="/root/send/refflag" class="combo_search" navindex="11" appearance="minimal" style="left:755px; top:10px; width:90px; height:19px; ">
  127. <choices>
  128. <item>
  129. <label>환자번호</label>
  130. <value>1</value>
  131. </item>
  132. <item>
  133. <label>검체번호</label>
  134. <value>2</value>
  135. </item>
  136. </choices>
  137. </select1>
  138. <input id="ipt_text" ref="/root/send/reftext" class="input_button" navindex="12" imemode="disabled" inputtype="button" _chartype="upper" style="left:850px; top:10px; width:100px; height:19px; ">
  139. <script type="javascript" ev:event="onkeypress">
  140. <![CDATA[
  141. fKeyEvent();
  142. ]]>
  143. </script>
  144. <script type="javascript" ev:event="onbuttonclick">
  145. <![CDATA[
  146. if(ipt_text.currentText != "") {
  147. model.setValue("/root/send/reftext", (ipt_text.currentText).toUpperCase());
  148. fGetNSpcList();
  149. } else {
  150. messageBox("검색어를", "C001");
  151. }
  152. ipt_text.selBegin = 0;
  153. ipt_text.selEnd = ipt_text.currentText.length;
  154. ]]>
  155. </script>
  156. </input>
  157. <caption id="caption4" class="search_name" style="left:48px; top:11px; width:90px; height:17px; ">조회기간 :</caption>
  158. <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_s_essential" inputtype="date" style="left:142px; top:10px; width:106px; height:19px; "/>
  159. <caption id="caption5" class="search_no_b" style="left:250px; top:11px; width:15px; height:17px; ">~</caption>
  160. <input id="ipt_todd" ref="/root/send/todd" class="input_s_essential" inputtype="date" style="left:265px; top:10px; width:106px; height:19px; "/>
  161. <caption id="caption2" class="search_name" style="left:665px; top:10px; width:90px; height:17px; ">조회구분 :</caption>
  162. <caption id="caption3" class="search_name" style="left:425px; top:10px; width:90px; height:17px; ">검체상태 :</caption>
  163. <select1 id="cmb_spcflag" ref="/root/send/spcflag" class="combo_search" navindex="11" appearance="minimal" style="left:515px; top:10px; width:90px; height:19px; ">
  164. <choices>
  165. <item>
  166. <label>-전체-</label>
  167. <value>00</value>
  168. </item>
  169. <item>
  170. <label>취소</label>
  171. <value>0</value>
  172. </item>
  173. <item>
  174. <label>채혈</label>
  175. <value>2</value>
  176. </item>
  177. <item>
  178. <label>가접수</label>
  179. <value>3</value>
  180. </item>
  181. <item>
  182. <label>접수</label>
  183. <value>4</value>
  184. </item>
  185. </choices>
  186. </select1>
  187. </group>
  188. </group>
  189. <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
  190. <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  191. <button id="btn_reset" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
  192. <caption>초기화</caption>
  193. <script type="javascript" ev:event="onclick">
  194. <![CDATA[
  195. window.reload();
  196. ]]>
  197. </script>
  198. </button>
  199. </group>
  200. </xhtml:body>
  201. </xhtml:html>