123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : 미수령혈액조회.xrw
- * 설 명 : 미수령혈액조회
- * 설 계 자 : (주)에이씨케이 - 송요셉
- * 작 성 자 : (주)에이씨케이 -
- * 작 성 일 : 2007. 8. 8
- * 수정이력 :
- * 기 타 :
- -->
- <?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>Untitle</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root>
- <main>
- <undoacptbloodlist>
- <pid/>
- <patnm/>
- <roomcd/>
- <blodcomnm/>
- <prepblodseqno/>
- <blodno/>
- <iryn/>
- <execdt/>
- <validd/>
- <validt/>
- <transexcdd/>
- <prcpdd/>
- <btype/>
- <validtyn/>
- </undoacptbloodlist>
- </main>
- <send>
- <codeflag/>
- <refsdd/>
- <refedd/>
- <bldkind/>
- </send>
- <init>
- </init>
- <hidden>
- <ref>
- <refsdd/>
- <refedd/>
- </ref>
- <bldkind>00</bldkind>
- <blodkind2/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fsetstart();
- ]]>
- </script>
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/codeflag" replace="instance" resultref="/root/LB0605"/>
- <submission id="TRLBP00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/undoacptbloodlist"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- function fsetstart(){
- grd_blod.rebuildStyle();
- var toDay = getCurrentDate();
- var mDate = getCurrentDate().toDate("YYYYMMDD").getAddDate(-5);
-
- model.setValue("/root/hidden/ref/refsdd", mDate.getDateFormat("YYYYMMDD"));
- model.setValue("/root/hidden/ref/refedd", toDay);
-
- model.setValue("/root/send/codeflag", "0605|"); //성분제제 blodbarcd
- submit("TRLZZ00101");
- }
-
- function fExeblodlist() {
- var mDate = getCurrentDate().toDate("YYYYMMDD").getAddDate(-5);
- var mDateFormat = mDate.getDateFormat("YYYYMMDD");
-
- model.setValue("/root/send/refsdd", model.getValue("/root/hidden/ref/refsdd"));
- model.setValue("/root/send/refedd", model.getValue("/root/hidden/ref/refedd"));
- model.setValue("/root/send/bldkind", model.getValue("/root/hidden/bldkind"));
- submit("TRLBP00701");
-
- grd_blod.rebuildStyle();
- var tday = getCurrentDate();
-
- if(grd_blod.rows >1){
- for(i=1; i<grd_blod.rows; i++){
- //setRowStyle("grd_blod", "5", tday, "validt", "smallThen"); //"5" 붉은색
- //PC,LRSDP는 하루전날(B) 노랑, 당일(A) 빨강, 나머지는 5일(A) 빨강
- if(model.getValue("/root/main/undoacptbloodlist["+i+"]/validtyn") == "A"){
-
- grd_blod.cellstyle("background-color",i,1,i,13) = "#f7a08b";
-
- }else if(model.getValue("/root/main/undoacptbloodlist["+i+"]/validtyn") == "B"){
-
- grd_blod.cellstyle("background-color",i,1,i,13) = "#ffe79d";
- }
- }
- }
-
- }
-
- function fSetInit() {
- //model.reset();
- model.resetInstanceNode("/root/main/undoacptbloodlist");
- grd_blod.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; "/>
- <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
- <group id="group2" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
- <caption id="caption2" class="search_name" style="left:16px; top:9px; width:99px; height:17px; ">검사일자 :</caption>
- <button id="button1" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeblodlist();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; "/>
- <input id="input26" ref="/root/hidden/ref/refsdd" class="input_s_essential" inputtype="date" style="left:105px; top:8px; width:110px; height:19px; "/>
- <caption id="caption3" class="search_no_b" style="left:219px; top:9px; width:15px; height:17px; ">~</caption>
- <input id="input1" ref="/root/hidden/ref/refedd" class="input_s_essential" inputtype="date" style="left:236px; top:8px; width:110px; height:19px; "/>
- <caption id="caption5" class="search_name" style="left:376px; top:9px; width:99px; height:17px; ">혈액종류 :</caption>
- <select1 id="combo2" ref="/root/hidden/bldkind" class="combo_s_essential" appearance="minimal" style="left:465px; top:8px; width:215px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0605">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:131px; height:14px; ">미수령 혈액 목록</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
- <datagrid id="grd_blod" nodeset="/root/main/undoacptbloodlist" caption="등록번호^환자명^병실^혈액형^처방^일련번호^혈액번호^IR^실시일시^유효일자^유효일시^검사일자^처방일자" colsep="^" colwidth="80, 80, 70, 60, 100, 100, 110, 30, 119, 90, 110, 110, 90" dataheight="23" defaultrows="1" explorerbar="sortshow" extendlastcol="scroll" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:75px; width:1194px; height:646px; text-align:center; ">
- <col ref="pid"/>
- <col ref="patnm" style="text-align:center; "/>
- <col ref="roomcd"/>
- <col ref="btype"/>
- <col ref="blodcomnm"/>
- <col ref="prepblodseqno" style="text-align:center; "/>
- <col ref="blodno"/>
- <col checkvalue="Y,N" ref="iryn"/>
- <col ref="execdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="validd" format="yyyy-mm-dd"/>
- <col ref="validt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="transexcdd" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_blod.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <button id="button5" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSetInit();
- ]]>
- </script>
- </button>
- <line id="line15" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- </group>
- <group id="group5" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">미수령 혈액 조회</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|