123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : 1pint 수혈율.xrw
- * 설 명 : 1pint 수혈율
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 -
- * 작 성 일 : 2009.08.28
- * 수정이력 :
- * 기 타 :
- -->
- <?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>1pint 수혈율</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root>
- <main>
- </main>
- <send>
- <fromdd/>
- <todd/>
- </send>
- <init>
- </init>
- <hidden>
- <fromdd/>
- <todd/>
- <onedetail>
- </onedetail>
- </hidden>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <submission id="TRLBP02301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // worklist 일자
- model.setValue("/root/hidden/fromdd", getCurrentDate().toDate().getAddDate(-1, "M").getDateFormat("YYYYMMDD"));
- model.setValue("/root/hidden/todd", getCurrentDate());
- model.refresh();
- ]]>
- </script>
- </model>
- <script type="javascript">
- <![CDATA[
-
- function fSetInit() {
- model.reset();
- }
-
- function fGetOnePint() {
- model.removeNode("/root/main/getOnePint");
- model.copyNode("/root/hidden/onedetail", "");
-
- model.setValue("/root/send/fromdd", model.getValue("/root/hidden/fromdd"));
- model.setValue("/root/send/todd", model.getValue("/root/hidden/todd"));
- submit("TRLBP02301");
- }
- function fSetOuterExcel(grdId) {
- var filename = window.fileDialog("save",",",false,"excel","xls","All File(*.*)|*.*|Excel File(*.xls)|*.xls");
- if(filename != "") {
- grdId.saveExcel(filename);
- }
- }
-
-
- ]]>
- </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; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:45px; width:131px; height:14px; ">1pint 수혈율</caption>
- <datagrid id="datagrid1" nodeset="/root/main/getOnePint" caption="처방부서^1Pint 건수^전체건수^1pint 수혈율^1pint 상세" colsep="^" colwidth="100, 100, 100, 100, 0" dataheight="23" defaultrows="1" extendlastcol="false" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:70px; width:445px; height:660px; ">
- <col ref="dept" style="text-align:center; "/>
- <col ref="one" style="text-align:right; padding-right:10; "/>
- <col ref="all" style="text-align:right; padding-right:10; "/>
- <col ref="per" format="#,##0.00" style="text-align:right; padding-right:10; "/>
- <col ref="onedetail" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.copyNode("/root/hidden/onedetail", "/root/main/getOnePint["+datagrid1.row+"]/onedetail");
- datagrid2.rebuild();
- ]]>
- </script>
- </datagrid>
- <line id="line1" class="line_1" style="x1:0px; y1:63px; x2:445px; y2:63px; "/>
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0; width:1195px; height:35; "/>
- <input id="ipt_wldd" ref="/root/hidden/fromdd" class="input_search" navindex="2" inputtype="date" format="yyyy-mm-dd" style="left:106px; top:8px; width:85px; height:19px; "/>
- <input id="ipt_wldde" ref="/root/hidden/todd" class="input_search" navindex="4" inputtype="date" format="yyyy-mm-dd" style="left:216px; top:8px; width:85px; height:19px; "/>
- <caption id="caption3" class="search_name" style="left:12px; top:9px; width:115px; height:17px; ">조회기간 :</caption>
- <caption id="caption4" style="left:199px; top:9px; width:15px; height:18px; font-weight:bold; ">~</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[
- fGetOnePint();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; "/>
- <button id="button2" class="btn2_letter4" style="left:380px; top:40px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //fExeExcel(grd_worklistdetl);
- fSetOuterExcel(datagrid1);
- ]]>
- </script>
- </button>
- <datagrid id="datagrid2" nodeset="/root/hidden/onedetail/element" caption="등록번호^환자명^입원일^퇴원일^성분제제^상태^실시일시" colsep="^" colwidth="100, 100, 100, 100, 120, 50, 120" dataheight="23" defaultrows="1" explorerbar="sort" extendlastcol="false" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:460px; top:70px; width:730px; height:660px; ">
- <col ref="PID" style="text-align:center; "/>
- <col ref="HNGNM" style="text-align:center; "/>
- <col ref="INDD" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="DSCHDD" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="BLODCOMNM" style="text-align:center; "/>
- <col ref="BLODCOMSTAT" style="text-align:center; "/>
- <col ref="EXECDT" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- </datagrid>
- <line id="line2" class="line_1" style="x1:460px; y1:63px; x2:1190px; y2:63px; "/>
- <caption id="caption2" class="tit_2" style="left:460px; top:45px; width:141px; height:14px; ">1pint 수혈 세부 내역</caption>
- </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:198px; height:14px; ">1회 입원 기간중 1pint 수혈율</caption>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <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[
- fSetInit();
- ]]>
- </script>
- </button>
- </group>
- <button id="btn_excel" class="btn2_letter4" style="left:1125px; top:80px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //fExeExcel(grd_worklistdetl);
- fSetOuterExcel(datagrid2);
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|