123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPAVT00110.xrw
- * 설 명 : 조직은행 수술환자조회
- * 설 계 자 : 손승현
- * 작 성 자 : 손승현
- * 작 성 일 : 2010.08.11
- * 수정이력 : 2010.08.11 손승현 신규
- * 기 타 :
- -->
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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>
- <![CDATA[">]]>
- <xhtml:title>수술환자조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <oplist>
- <item>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <sex/>
- <age/>
- <telno/>
- <abo/>
- <rh/>
- <zipcd1/>
- <zipcd2/>
- <zipcdseq/>
- <addr/>
- <address/>
- <opdd/>
- <diagcd/>
- <diaghngnm/>
- <diagengnm/>
- <opcd/>
- <opnhgnm/>
- <opengnm/>
- <opsdd/>
- <opstm/>
- <opedd/>
- <opetm/>
- <oproomcd/>
- <oproomnm/>
- <orddeptcd/>
- <depthngnm/>
- <perfdrid/>
- <usernm/>
- </item>
- </oplist>
- </main>
- <send>
- <srch>
- <srchfromdd/>
- <srchtodd/>
- <srchpid/>
- <srchhngnm/>
- </srch>
- </send>
- <hidden>
- <receiveref/>
- </hidden>
- <init>
- </init>
- </root>
- </instance>
- <submission id="TRAVT00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srch" replace="instance" resultref="/root/main/oplist"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 일자 setting
- var curDD = getCurrentDate();
- model.setValue("/root/send/srch/srchfromdd" , curDD ); // 조회시작일자
- model.setValue("/root/send/srch/srchtodd" , curDD ); // 조회종료일자
-
- // 검색조건 설정
- var vpid = opener.javascript.getParameter("SPAVT00110_PID");
- model.setValue("/root/send/srch/srchpid", vpid);
- model.refresh();
-
- // 자동조회
- submit("TRAVT00103");
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fSetOpener(){
- if( checkOpener() ){
- opener.model.makeNode("/root/temp/okflag");
- opener.model.setValue("/root/temp/okflag", "ok");
-
- var idx = grd_srchlist.row;
- // Opener Node에 복사
- copyNodeListType("/root/temp/templst", "/root/main/oplist/item[" + idx + "]", "replace", opener.model, model );
- window.close();
- }
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="820" pageheight="380" guideline="1,807;2,380;1,2;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:5px; top:21px; width:795px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="tit_2" style="left:0px; top:0px; width:175px; height:14px; vertical-align:middle; ">수술환자조회</caption>
- <caption id="caption3" class="search_name" style="left:345px; top:30px; width:86px; height:17px; ">등록번호 :</caption>
- <line id="line1" style="x1:719px; y1:27px; x2:719px; y2:49px; border-color:#ffe4bb; border-left-style:solid; "/>
- <line id="line3" class="line_1" style="x1:5px; y1:58px; x2:800px; y2:58px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:731px; top:28px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRAVT00103");
- ]]>
- </script>
- </button>
- <button id="btn_cfm" class="btn4_letter2" style="left:678px; top:355px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSetOpener();
- ]]>
- </script>
- </button>
- <button id="btn_can" class="btn4_letter2" style="left:735px; top:355px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( checkOpener() ) {
- opener.model.makeNode("/root/temp/okflag");
- opener.model.setValue("/root/temp/okflag", "");
- }
- window.close();
- ]]>
- </script>
- </button>
- <datagrid id="grd_srchlist" nodeset="/root/main/oplist/item" autoresize="true" caption="등록번호^성 명^수술일자^진단명^수술명^수술방" colsep="^" colwidth="70, 80, 80, 230, 230, 70" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:7px; top:65px; width:791px; height:279px; background-color:#ffffff; border-color:#B0B0B0; ">
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="opdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="diagengnm" style="text-align:left; "/>
- <col ref="opengnm" style="text-align:left; "/>
- <col ref="oproomnm" style="text-align:center; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fSetOpener();
- ]]>
- </script>
- </datagrid>
- <caption id="caption1" class="search_name" style="left:20px; top:30px; width:86px; height:17px; ">기 간 :</caption>
- <input id="ipt_srchpid" ref="/root/send/srch/srchpid" class="input_search" style="left:434px; top:30px; width:106px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_srchfromdd" ref="/root/send/srch/srchfromdd" class="input_s_essential" inputtype="date" style="left:105px; top:30px; width:100px; height:19px; "/>
- <caption id="lbl_~" class="search_no_b" style="left:208px; top:31px; width:12px; height:17px; ">~</caption>
- <input id="ipt_srchtodd" ref="/root/send/srch/srchtodd" class="input_s_essential" inputtype="date" style="left:222px; top:30px; width:100px; height:19px; "/>
- <input id="input1" ref="/root/send/srch/srchhngnm" class="input_search" style="left:542px; top:30px; width:106px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- </xhtml:body>
- </xhtml:html>
|