123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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>인계용 Sheet</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <item>
- <grid/>
- </item>
- <main>
- <cond>
- <section>-</section>
- <todate/>
- </cond>
- <nursemainlist>
- <nursemaininfo>
- <bedposcnts/>
- <stat/>
- <inreq/>
- <pid/>
- <patnm/>
- <grdrage/>
- <orddeptcd/>
- <orddrid/>
- <cc/>
- <assgroom/>
- <telrsrvrem/>
- <spcltest/>
- <chosdd/>
- <chostm/>
- </nursemaininfo>
- </nursemainlist>
- </main>
- <init>
- <erbaselist>
- <bedinfo/>
- </erbaselist>
- </init>
- <send/>
- <condition>
- <arlist>-</arlist>
- </condition>
- <sendchk/>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <submission id="TRMNE00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/erbaselist"/>
- <submission id="TRZBC00101" method="post" replace="instance"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.removenode("/root/send");
- model.setValue("/root/main/cond/todate", getCurrentDate());
- model.makeValue("/root/send/searchitem", "sheetbed");
-
- submit("TRMNE00203");
-
- fSearchSheet();
- ]]>
- </script>
- <submission id="TRMNE00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/nursemainlist"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function fSearchSheet(){
-
- var rendcd="";
- var chkdata=checkbox1.value;
- rendcd=model.getValue("/root/main/cond/section");
- var rendcdlist=rendcd.split(" ");
- if (chkdata.substr(0,1) != "-") {
- if (rendcd.length>0) {
- for (var i=0; i<rendcdlist.length;i++) {
- rendcd=rendcd.replace(" ","','");
- }
- rendcd="('" + rendcd + "')";
- }
- } else {
- rendcd = "-";
- }
- //model.makeValue("/root/main/cond/section",rendcd);
- var sSrchData = "";
- var sSrchHeader = "section▩";
- //var sSrchData = model.getValue("/root/main/cond/section")+"▩";
- sSrchData=rendcd ;
-
- model.removenode("/root/send");
- model.makeValue("/root/send/searchinfo", sSrchHeader + sSrchData);
- submit("TRMNE00101");
-
- model.refresh();
-
- }
-
- function fSaveExcel(){
- var fileName = window.fileDialog("save", ",", false, "인계용 Sheet_"+ getCurrentDate(), "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != "") {
- grd_patlist.saveExcel(fileName, "SheetName", true, true, "", "", false);
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1195;" 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:257px; height:14px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">인계용 sheet</caption>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
- <shape id="roundrect2" class="roundrect_example" appearance="roundrect" style="left:0px; top:0px; width:1165px; height:24px; background-color:#fffbf2; border-color:#7cbbdd; "/>
- <caption id="caption41" style="left:13px; top:4px; width:493px; height:20px; ">상태 - ⓐ : 입원 / ⓓ : 퇴원예고 / ⓒ : 간호사 퇴원정리완료</caption>
- <caption id="caption47" style="left:551px; top:4px; width:394px; height:20px; ">입원장 - 응급입원장: ◇ / 입원수속: ◈ / 병실배정: ◆ / 외래입원장: ◎</caption>
- <caption id="caption1" style="left:1165px; top:4px; width:30px; height:20px; text-align:right; ">[표]</caption>
- </group>
- <group id="group5" class="datagrid2" scroll="auto" style="left:0px; top:13px; width:1195px; height:742px; ">
- <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1195px; y2:70px; "/>
- <datagrid id="grd_patlist" nodeset="/root/main/nursemainlist/nursemaininfo" class="datagrid2" caption="Bed^상태^입원장^등록번호^환자명^S/A^주진료과^전문의^담당의^담당의^호출
진료과^호출의사^주호소^병실^Remark^Remark2^내원일자^내원시간" colsep="^" colwidth="55, 30, 70, 75, 70, 45, 56, 54, 48, 49, 56, 60, 233, 50, 145, 145, 84, 56" ellipsis="true" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:74px; width:1195px; height:666px; ">
- <col ref="bedposcnts"/>
- <col ref="stat" style="text-align:center; "/>
- <col ref="inreq"/>
- <col ref="pid"/>
- <col ref="patnm"/>
- <col ref="grdrage" style="text-align:center; "/>
- <!--(20110129) -->
- <col ref="juorddeptcd" style="text-align:center; "/>
- <col ref="juorddrid" style="text-align:center; "/>
- <col ref="damorddrid" style="text-align:center; "/>
- <col ref="dampdano" style="text-align:center; "/>
- <!--(20110129) -->
- <col ref="orddeptcd" style="text-align:center; "/>
- <col ref="orddrid"/>
- <col ref="cc"/>
- <col ref="assgroom" style="text-align:center; "/>
- <col ref="telrsrvrem"/>
- <col ref="spcltest"/>
- <col ref="chosdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="chostm" format="hh:nn" style="text-align:center; "/>
- </datagrid>
- <group id="grp_sea" 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:1195px; height:35px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1006px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSearchSheet();
- ]]>
- </script>
- </button>
- <button id="btn_print" class="btn1_letter2" style="left:1063px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.copyNode("/root/send","/root/main");
- exeReportPreview("RPMNE01400","XMLSTR","");
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1000px; y1:7px; x2:1000px; y2:29px; "/>
- <caption id="caption3" class="search_name" style="left:16px; top:9px; width:86px; height:12px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">구역 :</caption>
- <button id="btn_excelprint" class="btn1_letter2" style="left:1120px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSaveExcel();
- ]]>
- </script>
- </button>
- <select1 id="cmb_section" ref="/root/main/cond/section" visibility="hidden" appearance="minimal" style="left:850px; top:5px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/erbaselist/bedinfo">
- <label ref="bednm"/>
- <value ref="bedcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fSearchSheet();
- ]]>
- </script>
- </select1>
- <select id="checkbox1" ref="/root/main/cond/section" visibility="visible" overflow="visible" appearance="full" cols="20" style="left:85px; top:10px; width:705px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/erbaselist/bedinfo">
- <label ref="bednm"/>
- <value ref="bedcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var chk1=checkbox1.value;
-
- var s = chk1.indexOf("-");
-
- if (s>=0) {
- model.makeValue("/root/main/cond/section","-");
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
-
- ]]>
- </script>
- <script type="javascript" ev:event="onmouseup">
- <![CDATA[
-
- ]]>
- </script>
- </select>
- </group>
- </group>
- </xhtml:body>
- </xhtml:html>
|