123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLBT10500_이형혈액준비관리.xrw
- * 설 명 : 이형혈액준비관리
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 - 박정은
- * 작 성 일 : 2007.05.30
- * 수정이력 : 2007.08.31 printer
- * 기 타 :
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <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">
- <xhtml:head>
- <xhtml:title>이형혈액준비관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root>
- <send>
- <fromdd/>
- <todd/>
- <fromtm/>
- <totm/>
- <testpsnid/>
- <pid/>
- <blodno/>
- <tnsreqacptno/>
- </send>
- <init>
- </init>
- <hidden2>
- <ref>
- <reffromdd/>
- <reffromtm/>
- <reftodd/>
- <reftotm/>
- <testpsnid/>
- <testpsnnm/>
- <pid/>
- <bloodno/>
- <spclblood/>
- <tmptestpsnid/>
- </ref>
- <keepnoblodcnt>
- <bno/>
- <keepno/>
- </keepnoblodcnt>
- <popupyn/>
- </hidden2>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- messageBox("응급상황이 아닌 경우에는 혈액접수를 주간에 의뢰하십시요.", "I");
- messageBox("혈액접수는 매우 위험합니다.", "I");
- messageBox("혈액은행 관계자에게 연락하고 부적합 수혈 동의서를 받으십시요.", "I");
-
- /*var today = getCurrentDate();
- var ttime = getCurrentTime();
- var mDate = getCurrentDate().toDate("YYYYMMDD").getAddDate(-3);
- var mTime = getCurrentTime().toDate("hhmm").getAddDate(8, "h");
- //var dd= today.getAddDate(2, "D");
- //getDateInterval();
- model.setValue("/root/hidden2/ref/reffromdd", mDate.getDateFormat("YYYYMMDD"));
- model.setValue("/root/hidden2/ref/reftodd", today);
- model.setValue("/root/hidden2/ref/reffromtm", ttime);
- model.setValue("/root/hidden2/ref/reftotm", mTime.getDateFormat("hhmm"));
- */
- fSettingDate();
- group2.refresh();
-
- model.removeNodeset("/root/main/getbloodinfo");
- model.removeNodeset("/root/main/blod/getprepbloodlist");
-
- fSetPrepImport("DIFF");
- //fPrinterRef();
- model.makeValue("/root/send/scrnid", getScreenID());
- submit("TRLLC90101");
-
- fGetBloodPrcpList("btn"); // 준비화면열때 자동접수(X) 자동조회되도록 -2008-10-09 정은추가
- ]]>
- </script>
- </model>
- <script type="javascript">
- <![CDATA[
-
- // 초기화 버튼
- function fSetClear(){
- model.reset();
- }
-
- function fSettingDate(){
- var today = getCurrentDate();
- var ttime = getCurrentTime();
- var mDate = getCurrentDate().toDate("YYYYMMDD").getAddDate(-5);
- var mTime = (getCurrentDate()+getCurrentTime()).toDate("YYYYMMDDhhmm").getAddDate(8, "h");
-
- model.setValue("/root/hidden2/ref/reffromdd" , mDate.getDateFormat("YYYYMMDD")); // -5일
- model.setValue("/root/hidden2/ref/reftodd" , mTime.getDateFormat("YYYYMMDD")); // 현재일시 +8시간 더한 날짜
- model.setValue("/root/hidden2/ref/reffromtm" , ttime.substring(0,4)); // 현재시간
- model.setValue("/root/hidden2/ref/reftotm" , mTime.getDateFormat("hhmm")); // +8시간
-
- model.refresh();
- }
-
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:199px; height:14px; ">이형혈액준비관리(간소화)</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
- <group id="group2" style="left:0px; top:5px; width:1195px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1195px; height:35px; "/>
- <caption id="caption2" class="search_name" style="left:16px; top:9px; width:91px; height:17px; ">조회일자 :</caption>
- <line id="line13" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; "/>
- <caption id="caption4" class="search_name" style="left:405px; top:9px; width:80px; height:17px; ">접수자 :</caption>
- <caption id="caption5" class="search_name" style="left:849px; top:9px; width:91px; height:17px; ">혈액번호 :</caption>
- <caption id="caption16" class="search_name" style="left:662px; top:9px; width:93px; height:17px; ">등록번호 :</caption>
- <caption id="caption3" class="search_no_b" style="left:239px; top:10px; width:15px; height:17px; ">~</caption>
- <button id="btn_ref" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/dispflag", "B");
- fGetBloodPrcpList("btn");
- ]]>
- </script>
- </button>
- <input id="ipt_fromdd" ref="/root/hidden2/ref/reffromdd" class="input_s_essential" inputtype="date" style="left:105px; top:8px; width:90px; height:19px; "/>
- <input id="ipt_todd" ref="/root/hidden2/ref/reftodd" class="input_s_essential" inputtype="date" style="left:255px; top:8px; width:90px; height:19px; "/>
- <input id="ipt_fromtm" ref="/root/hidden2/ref/reffromtm" class="input_search" format="hh:nn" style="left:194px; top:8px; width:40px; height:19px; "/>
- <input id="ipt_totm" ref="/root/hidden2/ref/reftotm" class="input_search" format="hh:nn" style="left:344px; top:8px; width:40px; height:19px; "/>
- <input id="ipt_testpsn" ref="/root/hidden2/ref/testpsnid" class="input_search" style="left:488px; top:8px; width:76px; height:19px; "/>
- <input id="ipt_pid" ref="/root/hidden2/ref/pid" class="input_search" style="left:755px; top:8px; width:76px; height:19px; "/>
- <input id="ipt_bloodno" ref="/root/hidden2/ref/bloodno" class="input_search" style="left:942px; top:8px; width:76px; height:19px; "/>
- <output id="opt_testpsn" ref="/root/hidden2/ref/testpsnnm" class="output_fix" style="left:566px; top:8px; width:76px; height:19px; "/>
- <select id="chk_spclblod" ref="/root/hidden2/ref/spclblood" visibility="hidden" overflow="visible" appearance="full" style="left:1030px; top:9px; width:70px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>특수혈액</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- // 간호부전송 버튼 설정
- fSetNurseBtn();
- ]]>
- </script>
- </select>
- </group>
- <import id="import1" src="../../../lis\tnsmngtweb\xrw\SMLBT80600_혈액준비관리상세(간소화)_경북.xrw" style="left:0px; top:45px; width:1193px; height:695px; "/>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <line id="line15" class="line_6" style="x1:px; y1:26px; x2:1194px; y2:26px; "/>
- <button id="btn_prnt" class="btn3_letter5" style="left:0px; top:3px; width:92px; height:22px; ">
- <caption>프린터선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //window.load("SPLLC90100.xrw","modeless","width:327px; height:128;min:hidden;max:hidden;align:center");
- //window.load("SPLLC90100_바코드프린터설정.xrw","modeless","width:327px; height:128;min:hidden;max:hidden;align:center");
- var count = getNodesetCount("/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
-
- if(count == 0) {
- model.makeNode("/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
- }
- modal("SPLLC90100" , "","","","","/root/main/barcdprntsetup/prntsetupinfo/setupinfo", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
-
- //fPrintSet();
- ]]>
- </script>
- </button>
- <button id="btn_reset" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetClear();
- ]]>
- </script>
- </button>
- <button id="btn_prep" class="btn4_letter4" style="left:1044px; top:3px; width:80px; height:22px; ">
- <caption>준비완료</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetReady();
- ]]>
- </script>
- </button>
- <button id="button3" class="btn4_letter4" visibility="hidden" style="left:747px; top:3px; width:80px; height:22px; ">
- <caption>준비취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPrepCancel();
- ]]>
- </script>
- </button>
- <button id="button1" class="btn4_letter7" visibility="hidden" style="left:830px; top:3px; width:104px; height:22px; ">
- <caption>준비라벨재출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //fSetReady();
- fExeBarcdPrnt();
- ]]>
- </script>
- </button>
- <button id="btn_nurse" class="btn4_letter5" style="left:949px; top:3px; width:92px; height:22px; ">
- <caption>간호부전송</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //fSetReady();
- // 입원환자대상으로 수혈의뢰 접수취소 취소사유 넣고 간호쪽에서 취소함
- ]]>
- </script>
- </button>
- <caption id="cap_keep" ref="/root/hidden2/keepnoblodcnt/keepno" style="left:335px; top:0px; width:70px; height:25px; font-size:14pt; font-weight:bold; border-color:#f3e1bf; border-width:1px; border-style:solid; ">1</caption>
- <caption id="cap_blodcnt" ref="/root/hidden2/keepnoblodcnt/bno" style="left:500px; top:0px; width:65px; height:25px; font-size:14pt; font-weight:bold; border-color:#f3e1bf; border-width:1px; border-style:solid; ">1</caption>
- <caption id="caption1" style="left:270px; top:0px; width:55px; height:25px; font-size:12pt; font-weight:bold; border-color:#f3e1bf; border-width:1px; border-style:solid; ">보검</caption>
- <caption id="caption7" style="left:435px; top:0px; width:55px; height:25px; font-size:12pt; font-weight:bold; border-color:#f3e1bf; border-width:1px; border-style:solid; ">재고</caption>
- <button id="button8" class="btn3_letter4" style="left:95px; top:3px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn3_letter4.gif; ">
- <caption>이력조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setParameter ( "SMMMO02500_cond", model.getvalue("/root/hidden2/ref/pid")+ "▩");
- open ( "SMMMO02500" );
- ]]>
- </script>
- </button>
- <button id="button2" class="btn3_letter4" style="left:178px; top:3px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn3_letter4.gif; ">
- <caption>보관검체</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // SPLBT10900_보관검체등록.xrw
- open ( "SPLBT10900" );
- //modal("SPLBT10900","","","","","/root/hidden/pid", "/root/hidden/pid");
- ]]>
- </script>
- </button>
- </group>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fKeyEvent();
- ]]>
- </script>
- </xhtml:body>
- </xhtml:html>
- <!--
- * 제 목 : 혈액준비관리.xrw
- * 설 명 : 혈액준비관리
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 -
- * 작 성 일 : 2006.11.24
- * 수정이력 :
- * 기 타 :
- -->
|