SMLBT10500_이형혈액준비관리.xrw 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLBT10500_이형혈액준비관리.xrw
  4. * 설 명 : 이형혈액준비관리
  5. * 설 계 자 : (주)에이씨케이 -
  6. * 작 성 자 : (주)에이씨케이 - 박정은
  7. * 작 성 일 : 2007.05.30
  8. * 수정이력 : 2007.08.31 printer
  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>
  18. <send>
  19. <fromdd/>
  20. <todd/>
  21. <fromtm/>
  22. <totm/>
  23. <testpsnid/>
  24. <pid/>
  25. <blodno/>
  26. <tnsreqacptno/>
  27. </send>
  28. <init>
  29. </init>
  30. <hidden2>
  31. <ref>
  32. <reffromdd/>
  33. <reffromtm/>
  34. <reftodd/>
  35. <reftotm/>
  36. <testpsnid/>
  37. <testpsnnm/>
  38. <pid/>
  39. <bloodno/>
  40. <spclblood/>
  41. <tmptestpsnid/>
  42. </ref>
  43. <keepnoblodcnt>
  44. <bno/>
  45. <keepno/>
  46. </keepnoblodcnt>
  47. <popupyn/>
  48. </hidden2>
  49. </root>
  50. </instance>
  51. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  52. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  53. <script type="javascript" ev:event="xforms-ready">
  54. <![CDATA[
  55. messageBox("응급상황이 아닌 경우에는 혈액접수를 주간에 의뢰하십시요.", "I");
  56. messageBox("혈액접수는 매우 위험합니다.", "I");
  57. messageBox("혈액은행 관계자에게 연락하고 부적합 수혈 동의서를 받으십시요.", "I");
  58. /*var today = getCurrentDate();
  59. var ttime = getCurrentTime();
  60. var mDate = getCurrentDate().toDate("YYYYMMDD").getAddDate(-3);
  61. var mTime = getCurrentTime().toDate("hhmm").getAddDate(8, "h");
  62. //var dd= today.getAddDate(2, "D");
  63. //getDateInterval();
  64. model.setValue("/root/hidden2/ref/reffromdd", mDate.getDateFormat("YYYYMMDD"));
  65. model.setValue("/root/hidden2/ref/reftodd", today);
  66. model.setValue("/root/hidden2/ref/reffromtm", ttime);
  67. model.setValue("/root/hidden2/ref/reftotm", mTime.getDateFormat("hhmm"));
  68. */
  69. fSettingDate();
  70. group2.refresh();
  71. model.removeNodeset("/root/main/getbloodinfo");
  72. model.removeNodeset("/root/main/blod/getprepbloodlist");
  73. fSetPrepImport("DIFF");
  74. //fPrinterRef();
  75. model.makeValue("/root/send/scrnid", getScreenID());
  76. submit("TRLLC90101");
  77. fGetBloodPrcpList("btn"); // 준비화면열때 자동접수(X) 자동조회되도록 -2008-10-09 정은추가
  78. ]]>
  79. </script>
  80. </model>
  81. <script type="javascript">
  82. <![CDATA[
  83. // 초기화 버튼
  84. function fSetClear(){
  85. model.reset();
  86. }
  87. function fSettingDate(){
  88. var today = getCurrentDate();
  89. var ttime = getCurrentTime();
  90. var mDate = getCurrentDate().toDate("YYYYMMDD").getAddDate(-5);
  91. var mTime = (getCurrentDate()+getCurrentTime()).toDate("YYYYMMDDhhmm").getAddDate(8, "h");
  92. model.setValue("/root/hidden2/ref/reffromdd" , mDate.getDateFormat("YYYYMMDD")); // -5일
  93. model.setValue("/root/hidden2/ref/reftodd" , mTime.getDateFormat("YYYYMMDD")); // 현재일시 +8시간 더한 날짜
  94. model.setValue("/root/hidden2/ref/reffromtm" , ttime.substring(0,4)); // 현재시간
  95. model.setValue("/root/hidden2/ref/reftotm" , mTime.getDateFormat("hhmm")); // +8시간
  96. model.refresh();
  97. }
  98. ]]>
  99. </script>
  100. </xhtml:head>
  101. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  102. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  103. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:199px; height:14px; ">이형혈액준비관리</caption>
  104. </group>
  105. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
  106. <group id="group2" style="left:0px; top:5px; width:1195px; height:35px; vertical-align:top; ">
  107. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1195px; height:35px; "/>
  108. <caption id="caption2" class="search_name" style="left:16px; top:9px; width:91px; height:17px; ">조회일자 :</caption>
  109. <line id="line13" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; "/>
  110. <caption id="caption4" class="search_name" style="left:405px; top:9px; width:80px; height:17px; ">접수자 :</caption>
  111. <caption id="caption5" class="search_name" style="left:849px; top:9px; width:91px; height:17px; ">혈액번호 :</caption>
  112. <caption id="caption16" class="search_name" style="left:662px; top:9px; width:93px; height:17px; ">등록번호 :</caption>
  113. <caption id="caption3" class="search_no_b" style="left:239px; top:10px; width:15px; height:17px; ">~</caption>
  114. <button id="btn_ref" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  115. <caption>조회</caption>
  116. <script type="javascript" ev:event="DOMActivate">
  117. <![CDATA[
  118. model.setValue("/root/send/dispflag", "B");
  119. fGetBloodPrcpList("btn");
  120. ]]>
  121. </script>
  122. </button>
  123. <input id="ipt_fromdd" ref="/root/hidden2/ref/reffromdd" class="input_s_essential" inputtype="date" style="left:105px; top:8px; width:90px; height:19px; "/>
  124. <input id="ipt_todd" ref="/root/hidden2/ref/reftodd" class="input_s_essential" inputtype="date" style="left:255px; top:8px; width:90px; height:19px; "/>
  125. <input id="ipt_fromtm" ref="/root/hidden2/ref/reffromtm" class="input_search" format="hh:nn" style="left:194px; top:8px; width:40px; height:19px; "/>
  126. <input id="ipt_totm" ref="/root/hidden2/ref/reftotm" class="input_search" format="hh:nn" style="left:344px; top:8px; width:40px; height:19px; "/>
  127. <input id="ipt_testpsn" ref="/root/hidden2/ref/testpsnid" class="input_search" style="left:488px; top:8px; width:76px; height:19px; "/>
  128. <input id="ipt_pid" ref="/root/hidden2/ref/pid" class="input_search" style="left:755px; top:8px; width:76px; height:19px; "/>
  129. <input id="ipt_bloodno" ref="/root/hidden2/ref/bloodno" class="input_search" style="left:942px; top:8px; width:76px; height:19px; "/>
  130. <output id="opt_testpsn" ref="/root/hidden2/ref/testpsnnm" class="output_fix" style="left:566px; top:8px; width:76px; height:19px; "/>
  131. <select id="chk_spclblod" ref="/root/hidden2/ref/spclblood" overflow="visible" appearance="full" style="left:1030px; top:9px; width:70px; height:15px; border-style:none; ">
  132. <choices>
  133. <item>
  134. <label>특수혈액</label>
  135. <value>1</value>
  136. </item>
  137. </choices>
  138. <script type="javascript" ev:event="xforms-value-changed">
  139. <![CDATA[
  140. // 간호부전송 버튼 설정
  141. fSetNurseBtn();
  142. ]]>
  143. </script>
  144. </select>
  145. </group>
  146. <import id="import1" src="../../../lis\tnsmngtweb\xrw\SMLBT80200_혈액준비관리상세.xrw" style="left:0px; top:45px; width:1193px; height:695px; "/>
  147. </group>
  148. <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
  149. <line id="line15" class="line_6" style="x1:px; y1:26px; x2:1194px; y2:26px; "/>
  150. <button id="btn_prnt" class="btn3_letter5" style="left:0px; top:3px; width:92px; height:22px; ">
  151. <caption>프린터선택</caption>
  152. <script type="javascript" ev:event="DOMActivate">
  153. <![CDATA[
  154. //window.load("SPLLC90100.xrw","modeless","width:327px; height:128;min:hidden;max:hidden;align:center");
  155. //window.load("SPLLC90100_바코드프린터설정.xrw","modeless","width:327px; height:128;min:hidden;max:hidden;align:center");
  156. var count = getNodesetCount("/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
  157. if(count == 0) {
  158. model.makeNode("/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
  159. }
  160. modal("SPLLC90100" , "","","","","/root/main/barcdprntsetup/prntsetupinfo/setupinfo", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
  161. //fPrintSet();
  162. ]]>
  163. </script>
  164. </button>
  165. <button id="btn_reset" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
  166. <caption>초기화</caption>
  167. <script type="javascript" ev:event="DOMActivate">
  168. <![CDATA[
  169. fSetClear();
  170. ]]>
  171. </script>
  172. </button>
  173. <button id="btn_prep" class="btn4_letter4" style="left:1044px; top:3px; width:80px; height:22px; ">
  174. <caption>준비완료</caption>
  175. <script type="javascript" ev:event="DOMActivate">
  176. <![CDATA[
  177. fSetReady();
  178. ]]>
  179. </script>
  180. </button>
  181. <button id="button3" class="btn4_letter4" visibility="hidden" style="left:747px; top:3px; width:80px; height:22px; ">
  182. <caption>준비취소</caption>
  183. <script type="javascript" ev:event="DOMActivate">
  184. <![CDATA[
  185. fPrepCancel();
  186. ]]>
  187. </script>
  188. </button>
  189. <button id="button1" class="btn4_letter7" visibility="hidden" style="left:830px; top:3px; width:104px; height:22px; ">
  190. <caption>준비라벨재출력</caption>
  191. <script type="javascript" ev:event="DOMActivate">
  192. <![CDATA[
  193. //fSetReady();
  194. fExeBarcdPrnt();
  195. ]]>
  196. </script>
  197. </button>
  198. <button id="btn_nurse" class="btn4_letter5" style="left:949px; top:3px; width:92px; height:22px; ">
  199. <caption>간호부전송</caption>
  200. <script type="javascript" ev:event="DOMActivate">
  201. <![CDATA[
  202. //fSetReady();
  203. // 입원환자대상으로 수혈의뢰 접수취소 취소사유 넣고 간호쪽에서 취소함
  204. ]]>
  205. </script>
  206. </button>
  207. <caption id="cap_keep" ref="/root/hidden2/keepnoblodcnt/keepno" style="left:285px; top:0px; width:85px; height:25px; font-size:14pt; font-weight:bold; border-color:#f3e1bf; border-width:1px; border-style:solid; ">1</caption>
  208. <caption id="cap_blodcnt" ref="/root/hidden2/keepnoblodcnt/bno" style="left:470px; top:0px; width:65px; height:25px; font-size:14pt; font-weight:bold; border-color:#f3e1bf; border-width:1px; border-style:solid; ">1</caption>
  209. <caption id="caption1" style="left:220px; top:0px; width:55px; height:25px; font-size:12pt; font-weight:bold; border-color:#f3e1bf; border-width:1px; border-style:solid; ">보검</caption>
  210. <caption id="caption7" style="left:405px; top:0px; width:55px; height:25px; font-size:12pt; font-weight:bold; border-color:#f3e1bf; border-width:1px; border-style:solid; ">재고</caption>
  211. </group>
  212. <script type="javascript" ev:event="onkeypress">
  213. <![CDATA[
  214. fKeyEvent();
  215. ]]>
  216. </script>
  217. </xhtml:body>
  218. </xhtml:html>
  219. <!--
  220. * 제 목 : 혈액준비관리.xrw
  221. * 설 명 : 혈액준비관리
  222. * 설 계 자 : (주)에이씨케이 -
  223. * 작 성 자 : (주)에이씨케이 -
  224. * 작 성 일 : 2006.11.24
  225. * 수정이력 :
  226. * 기 타 :
  227. -->