SMLLC00620_접수후미결과검체조회.xrw 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : 외래채혈실핵의학검체조회.xrw
  4. * 설 명 : ㅇㅇ
  5. * 설 계 자 :
  6. * 작 성 자 :
  7. * 작 성 일 : 2009.07.24
  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 xmlns="">
  18. <main>
  19. <spclist>
  20. <bcno/>
  21. <orddeptnm/>
  22. <pid/>
  23. <hngnm/>
  24. <tclsnm/>
  25. <spcnm/>
  26. <spcstat/>
  27. <bcoll/>
  28. <spcpseuacpt/>
  29. <spcacpt/>
  30. <spccncl/>
  31. <tsectnm/>
  32. </spclist>
  33. </main>
  34. <send>
  35. <refflag>1</refflag>
  36. <reftext/>
  37. <fromdd/>
  38. <todd/>
  39. <spcflag>00</spcflag>
  40. <genrflag>2</genrflag>
  41. <codeflag/>
  42. <execdept/>
  43. <sectcd/>
  44. </send>
  45. <init/>
  46. <hidden>
  47. <spcacpt>
  48. <testmdlcd>00</testmdlcd>
  49. <testlrgcd>00</testlrgcd>
  50. </spcacpt>
  51. </hidden>
  52. </root>
  53. </instance>
  54. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  55. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  56. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  57. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  58. <script type="javascript" ev:event="xforms-model-construct-done">
  59. <![CDATA[
  60. fSetInit();
  61. ]]>
  62. </script>
  63. <!-- 시행부서 조회-->
  64. <submission id="TRLLC00603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/spclist"/>
  65. <!-- *사용* 시행부서 조회 -->
  66. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/LB0102"/>
  67. </model>
  68. <script type="javascript">
  69. <![CDATA[
  70. // 초기화
  71. function fSetInit() {
  72. model.removeNodeset("/root/init");
  73. /*model.setValue("/root/send/codeflag", "0001|0000|1004|");
  74. submit("TRLZZ00101");
  75. */
  76. // 초기정보 조회
  77. model.setValue("/root/send/codeflag", "0102|0106|0104|0111|0000|"); // 0102= 중분류 // 0106=시행부서(검사계) // 0104 대분류 // 0111 계(시행) // 0000 userdeptflag
  78. submit("TRLZZ00101");
  79. model.removeNodeset("/root/main/spclist");
  80. var today = getCurrentDate();
  81. model.setValue("/root/send/fromdd", today);
  82. model.setValue("/root/send/todd", today);
  83. model.setFocus("ipt_text");
  84. model.refresh();
  85. }
  86. //조회
  87. function fGetNSpcList() {
  88. model.setValue("/root/send/execdept" , model.getValue("/root/hidden/spcacpt/testmdlcd"));
  89. submit("TRLLC00603");
  90. }
  91. function fSetTLrgCd() {
  92. var etc = model.getvalue("/root/hidden/spcacpt/testlrgcd");
  93. if(etc == "00"){
  94. cmd_TMdlCd.choices.itemset.attribute("nodeset") = "/root/init/LB0106";
  95. model.setValue("/root/hidden/spcacpt/testmdlcd" , "00");
  96. }
  97. else{
  98. model.setValue("/root/hidden/spcacpt/testmdlcd" , "00");
  99. cmd_TMdlCd.choices.itemset.attribute("nodeset") = "/root/init/LB0106[cd= '00' or etc01='"+ etc +"']";
  100. }
  101. cmd_TMdlCd.refresh();
  102. }
  103. function fKeyEvent(){
  104. if(event.keyCode == "13"){
  105. if(event.target == "ipt_text"){
  106. if(ipt_text.currentText != "") {
  107. model.setValue("/root/send/reftext", (ipt_text.currentText).toUpperCase());
  108. fGetNSpcList();
  109. } else {
  110. messageBox("검색어를", "C001");
  111. }
  112. ipt_text.selBegin = 0;
  113. ipt_text.selEnd = ipt_text.currentText.length;
  114. }
  115. }
  116. }
  117. ]]>
  118. </script>
  119. </xhtml:head>
  120. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  121. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  122. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:15px; ">진단검사의학과 접수후 미결과 검체 조회</caption>
  123. </group>
  124. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
  125. <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:134px; height:15px; ">진검 검체 List</caption>
  126. <line id="line2" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
  127. <datagrid id="grd_nspclist" nodeset="/root/main/spclist" caption="시행부서^검체번호^진료과^등록번호^성명^검사명^검체명^검체상태^채취시각^채취자^접수정보^병동" colsep="^" colwidth="100,80,70, 60, 65, 230, 95, 50, 120,70,170, 60" 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; text-align:center; ">
  128. <col ref="tsectnm"/>
  129. <col ref="bcno" type="input"/>
  130. <col ref="orddeptnm"/>
  131. <col ref="pid"/>
  132. <col ref="hngnm"/>
  133. <col ref="tclsnm"/>
  134. <col ref="spcnm"/>
  135. <col ref="spcstat"/>
  136. <col ref="bcoll"/>
  137. <col ref="spcpseuacpt"/>
  138. <col ref="spcacpt"/>
  139. <col ref="spccncl"/>
  140. <script type="javascript" ev:event="onaftersort">
  141. <![CDATA[
  142. grd_nspclist.gridToInstance();
  143. ]]>
  144. </script>
  145. </datagrid>
  146. <group id="group2" style="left:0px; top:10px; width:1195px; height:45px; font-weight:bold; ">
  147. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
  148. <line id="line3" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; "/>
  149. <button id="btn_Ref" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  150. <caption>조회</caption>
  151. <script type="javascript" ev:event="DOMActivate">
  152. <![CDATA[
  153. fGetNSpcList();
  154. ]]>
  155. </script>
  156. </button>
  157. <caption id="caption4" class="search_name" style="left:8px; top:11px; width:90px; height:17px; ">조회기간 :</caption>
  158. <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_s_essential" inputtype="date" style="left:102px; top:10px; width:106px; height:19px; "/>
  159. <caption id="caption5" class="search_no_b" style="left:210px; top:11px; width:15px; height:17px; ">~</caption>
  160. <input id="ipt_todd" ref="/root/send/todd" class="input_s_essential" inputtype="date" style="left:225px; top:10px; width:106px; height:19px; "/>
  161. <select1 id="radio1" ref="/root/send/genrflag" class="radio_search" appearance="full" cellspacing="10" cols="4" overflow="visible" style="left:825px; top:10px; width:230px; height:20px; border-style:none; ">
  162. <choices>
  163. <item>
  164. <label>전체</label>
  165. <value>00</value>
  166. </item>
  167. <item>
  168. <label>입원</label>
  169. <value>1</value>
  170. </item>
  171. <item>
  172. <label>외래</label>
  173. <value>2</value>
  174. </item>
  175. <item>
  176. <label>건진</label>
  177. <value>3</value>
  178. </item>
  179. </choices>
  180. </select1>
  181. <caption id="caption3" class="search_name" style="left:350px; top:10px; width:86px; height:17px; ">시행부서 :</caption>
  182. <select1 id="cmd_TMdlCd" ref="/root/hidden/spcacpt/testmdlcd" class="combo_s_essential" appearance="minimal" itemcount="10" style="left:605px; top:10px; width:150px; height:19px; text-align:left; ">
  183. <choices>
  184. <itemset nodeset="/root/init/LB0106">
  185. <label ref="nm"/>
  186. <value ref="cd"/>
  187. </itemset>
  188. </choices>
  189. </select1>
  190. <select1 id="cmb_TLrgCd" ref="/root/hidden/spcacpt/testlrgcd" class="combo_s_essential" appearance="minimal" itemcount="10" style="left:441px; top:9px; width:154px; height:19px; text-align:left; ">
  191. <choices>
  192. <itemset nodeset="/root/init/LB0111">
  193. <label ref="nm"/>
  194. <value ref="cd"/>
  195. </itemset>
  196. </choices>
  197. <script type="javascript" ev:event="xforms-value-changed">
  198. <![CDATA[
  199. fSetTLrgCd();
  200. ]]>
  201. </script>
  202. </select1>
  203. </group>
  204. <button id="btn_excel" class="btn2_letter4" style="left:1120px; top:50px; width:64px; height:19px; ">
  205. <caption>엑셀저장</caption>
  206. <script type="javascript" ev:event="DOMActivate">
  207. <![CDATA[
  208. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  209. if (fileName != ""){
  210. grd_nspclist.saveExcel(fileName);
  211. }
  212. ]]>
  213. </script>
  214. </button>
  215. </group>
  216. <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
  217. <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  218. <button id="btn_reset" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
  219. <caption>초기화</caption>
  220. <script type="javascript" ev:event="onclick">
  221. <![CDATA[
  222. window.reload();
  223. ]]>
  224. </script>
  225. </button>
  226. </group>
  227. </xhtml:body>
  228. </xhtml:html>