123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPAVT00100.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>
- <srchlist>
- <item>
- <pid/>
- <hngnm/>
- <rrgstno/>
- <telno/>
- <sex/>
- <age/>
- </item>
- </srchlist>
- </main>
- <send>
- <srch>
- <srchpid/>
- <srchhngnm/>
- <srchcode/>
- </srch>
- <globalinstance>
- <instance1/>
- </globalinstance>
- </send>
- <hidden>
- <receiveref/>
- </hidden>
- <init>
- </init>
- </root>
- </instance>
- <submission id="TRAVT00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srch" replace="instance" resultref="/root/main/srchlist"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- aezfSetSuppDeptcd();
-
- var sp = opener.document.url.split("/");
- var nsp = sp[sp.length-1].split(".")[0].substr(0,10);
- // alert(nsp);
-
- if( model.getValue("/root/send/globalinstance/instance1") == "2240114000" ||(nsp=="SMAOE01000")) {
- if(nsp=="SMAOE01000"){
- model.setValue("/root/send/srch/srchcode", nsp);
- }
- document.title = "환자조회";
- caption2.text = "환자조회";
- }else{
- document.title = "기증환자조회";
- caption2.text = "기증환자조회";
- }
-
- // submit("TRAVT00102");
- model.refresh();
- ]]>
- </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.model.makeNode("/root/temp/templst/item/pid");
- opener.model.setValue("/root/temp/templst/item/pid", model.getValue( "/root/main/srchlist/item["+idx+"]/pid" ) );
- opener.model.makeNode("/root/main/srchlist/item/hngnm");
- opener.model.setValue("/root/main/srchlist/item/hngnm", model.getValue( "/root/main/srchlist/item["+idx+"]/hngnm" ) );
- window.close();
- }
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="660" pageheight="380" guideline="1,644;2,380;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:3px; top:21px; width:639px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="tit_2" style="left:0px; top:0px; width:175px; height:13px; vertical-align:middle; ">기증환자조회</caption>
- <caption id="caption3" class="search_name" style="left:15px; top:30px; width:86px; height:17px; ">등록번호 :</caption>
- <line id="line1" style="x1:564px; y1:27px; x2:564px; y2:49px; border-color:#ffe4bb; border-left-style:solid; "/>
- <line id="line3" class="line_1" style="x1:3px; y1:58px; x2:642px; y2:58px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:576px; top:28px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( ( model.getValue("/root/send/srch/srchpid") == "" ) && ( model.getValue("/root/send/srch/srchhngnm") == "") ) {
- alert("검색 조건 입력은 필수입니다.");
- if(model.getValue("/root/send/srch/srchpid") == ""){
- model.setFocus("ipt_srchpid");
- }
- } else {
- submit("TRAVT00102");
- }
- ]]>
- </script>
- </button>
- <button id="btn_cfm" class="btn4_letter2" style="left:528px; 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:585px; 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/srchlist/item" autoresize="true" caption="등록번호^성 명^주민번호^전화번호^성별^나이" colsep="^" colwidth="90, 90, 130, 120, 90, 90" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:5px; top:65px; width:639px; height:279px; background-color:#ffffff; border-color:#B0B0B0; ">
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm"/>
- <col ref="rrgstno" style="text-align:center; "/>
- <col ref="telno"/>
- <col ref="sex" style="text-align:center; "/>
- <col ref="age" style="text-align:center; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fSetOpener();
- ]]>
- </script>
- </datagrid>
- <caption id="caption1" class="search_name" style="left:230px; top:30px; width:86px; height:17px; ">성 명 :</caption>
- <input id="ipt_srchpid" ref="/root/send/srch/srchpid" class="input_search" style="left:104px; top:29px; width:106px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_srchhngnm" ref="/root/send/srch/srchhngnm" class="input_search" style="left:313px; top:30px; width:106px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- </xhtml:body>
- </xhtml:html>
|