123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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>
- <xhtml:title>각막 공여자 정보 관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <info>
- <item>
- <dnorid/>
- <instcd/>
- <eyeballflag/>
- <importnati/>
- <eyebank/>
- <dnornm/>
- <dnorage/>
- <dethdd/>
- <dethcas/>
- <dnorrrgstno1/>
- <dnorrrgstno2/>
- <thosp/>
- <extrdd/>
- <extrtm/>
- <preserdd/>
- <presertm/>
- <preserkind/>
- <corneaendocnt/>
- </item>
- </info>
- </main>
- <init>
- <baseinfo/>
- </init>
- <send>
- <req/>
- </send>
- <hidden>
- <message>
- <str1/>
- </message>
- <get_info/>
- </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/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- ]]>
- </script>
- <submission id="TRAVE00201" ref="/root/send/req" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/hidden/get_info"/>
- <submission id="TXAVE00201" ref="root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="root/hidden"/>
- <submission id="TXAVE00202" ref="root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="root/hidden"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function fSetClear(){
- model.reset();
- }
- /* @group : 각막 공여자 정보관리
- * @ver : 2007.11.20
- * @by : 남수현
- * @type : function
- * @access : public
- * @desc : 각막 공여자 정보 저장
- * @param :
- */
- function fExeInfo(){
- model.copyNode("/root/send/req","/root/main/info/item");
- ret = submit("TXAVE00201");
- if( model.getValue("/root/hidden/message/str1") == "true" ){
- alert('저장되었습니다.');
- // fGetInfo();
- } else {
- messageBox("처리되지","E007");
- }
- }
- function fDelInfo(){
- if( model.getValue("/root/main/info/item/dnorid") == "" ) {
- messageBox("공여자id 를","C001");
- return ;
- }
- model.copyNode("/root/send/req","/root/main/info/item");
- ret = submit("TXAVE00202");
- if( model.getValue("/root/hidden/message/str1") == "true" ){
- alert('삭제 되었습니다.');
- fSetClear();
- }
- else {
- messageBox("처리되지","E007");
- }
- }
- function fGetInfo(){
- inputEnterKey();
- if( model.getValue("/root/main/info/item/dnorid") == "" ) {
- messageBox("공여자id 를","C001");
- return ;
- }
- model.copyNode("/root/send/req","/root/main/info/item");
- ret = submit("TRAVE00201");
- if( model.getValue("/root/hidden/get_info/message/str1")== "false")
- {
- alert("각막이식공여자 정보가 없습니다. 등록해주세요 ");
- fSetClear();
- } else{
- model.copyNode("/root/main/info","/root/hidden/get_info");
- }
- model.refresh();
- return ret;
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,602;2,306;2,784;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:160px; height:14px; ">각막 공여자 정보 관리</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:40px; width:590px; height:252px; ">
- <line id="line12" class="line_1" style="x1:0px; y1:25px; x2:577px; y2:25px; "/>
- <caption id="caption18" class="tit_2" style="left:5px; top:10px; width:170px; height:14px; font-family:돋움; vertical-align:middle; ">공여자 정보</caption>
- <line id="line15" class="line_2" style="x1:0px; y1:100px; x2:577px; y2:100px; "/>
- <line id="line16" class="line_2" style="x1:0px; y1:124px; x2:577px; y2:124px; "/>
- <caption id="caption19" class="cell_1" style="left:0px; top:54px; width:130px; height:23px; vertical-align:middle; ">수입국가 및 EyeBank</caption>
- <line id="line17" class="line_2" style="x1:0px; y1:196px; x2:287px; y2:196px; "/>
- <caption id="caption20" class="cell_1" style="left:0px; top:78px; width:130px; height:23px; vertical-align:middle; ">나이</caption>
- <caption id="caption21" class="cell_1" style="left:0px; top:102px; width:130px; height:23px; vertical-align:middle; ">사망일자</caption>
- <caption id="caption22" class="cell_1" style="left:0px; top:126px; width:130px; height:23px; vertical-align:middle; ">사인</caption>
- <caption id="caption23" class="cell_1" style="left:0px; top:174px; width:130px; height:23px; vertical-align:middle; ">보존액의 종류</caption>
- <caption id="caption26" class="cell_1" style="left:0px; top:150px; width:130px; height:23px; vertical-align:middle; ">적출시간</caption>
- <line id="line18" class="line_2" style="x1:0px; y1:76px; x2:577px; y2:76px; "/>
- <input id="input6" ref="/root/main/info/item/dnorage" navindex="3" class="input_default" style="left:133px; top:79px; width:154px; height:19px; "/>
- <caption id="caption27" class="cell_1" style="left:290px; top:150px; width:130px; height:23px; vertical-align:middle; ">Preservation time</caption>
- <line id="line19" class="line_2" style="x1:0px; y1:148px; x2:577px; y2:148px; "/>
- <input id="input7" ref="/root/main/info/item/corneaendocnt" navindex="15" class="input_default" style="left:133px; top:199px; width:154px; height:19px; "/>
- <line id="line20" class="line_2" style="x1:0px; y1:172px; x2:577px; y2:172px; "/>
- <caption id="caption1" class="cell_1" style="left:0px; top:198px; width:130px; height:23px; vertical-align:middle; ">각막내피 숫자</caption>
- <caption id="caption2" class="cell_1" style="left:290px; top:78px; width:130px; height:23px; vertical-align:middle; ">성명</caption>
- <input id="input1" ref="/root/main/info/item/dnornm" navindex="4" class="input_default" style="left:423px; top:79px; width:154px; height:19px; "/>
- <caption id="caption3" class="cell_1" style="left:290px; top:102px; width:130px; height:23px; vertical-align:middle; ">주민번호</caption>
- <input id="input2" ref="/root/main/info/item/dnorrrgstno1" navindex="6" class="input_default" style="left:423px; top:103px; width:68px; height:19px; "/>
- <input id="input3" ref="/root/main/info/item/dnorrrgstno2" navindex="7" class="input_default" style="left:509px; top:103px; width:68px; height:19px; "/>
- <caption id="caption28" class="search_no_b" style="left:494px; top:105px; width:12px; height:17px; ">-</caption>
- <input id="input24" ref="/root/main/info/item/dethdd" navindex="5" class="input_default" inputtype="date" style="left:133px; top:103px; width:154px; height:19px; "/>
- <caption id="caption4" class="cell_1" style="left:290px; top:126px; width:130px; height:23px; vertical-align:middle; ">이송병원</caption>
- <input id="input4" ref="/root/main/info/item/thosp" navindex="9" class="input_default" style="left:423px; top:127px; width:154px; height:19px; "/>
- <input id="input5" ref="/root/main/info/item/extrdd" navindex="10" class="input_default" inputtype="date" style="left:133px; top:151px; width:90px; height:19px; "/>
- <input id="input8" ref="/root/main/info/item/preserdd" navindex="12" class="input_default" inputtype="date" style="left:423px; top:151px; width:90px; height:19px; "/>
- <input id="input9" ref="/root/main/info/item/extrtm" navindex="11" class="input_default" format="hh:nn" showmask="true" style="left:226px; top:151px; width:60px; height:19px; text-align:center; "/>
- <input id="input10" ref="/root/main/info/item/presertm" navindex="13" class="input_default" format="hh:nn" showmask="true" style="left:516px; top:151px; width:60px; height:19px; text-align:center; "/>
- <caption id="caption5" class="cell_1" style="left:0px; top:30px; width:130px; height:23px; vertical-align:middle; ">공여자ID</caption>
- <input id="input11" ref="/root/main/info/item/dnorid" navindex="1" class="input_default" style="left:133px; top:31px; width:154px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13"){
- fGetInfo('pid');
- }
- ]]>
- </script>
- </input>
- <line id="line2" class="line_2" style="x1:0px; y1:52px; x2:287px; y2:52px; "/>
- <input id="input12" ref="/root/main/info/item/importnati" navindex="2" class="input_default" style="left:133px; top:55px; width:154px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13"){
- fGetInfo('pid');
- }
- ]]>
- </script>
- </input>
- <line id="line1" class="line_3" style="x1:0px; y1:220px; x2:287px; y2:220px; "/>
- <line id="line3" class="line_3" style="x1:290px; y1:196px; x2:577px; y2:196px; "/>
- <select1 id="combo1" ref="/root/main/info/item/dethcas" class="input_default" appearance="minimal" style="left:133px; top:127px; width:154px; height:19px; ">
- <choices>
- <item>
- <label>combo1</label>
- <value>1</value>
- </item>
- </choices>
- </select1>
- <select1 id="combo2" ref="/root/main/info/item/preserkind" class="input_default" appearance="minimal" style="left:133px; top:175px; width:443px; height:19px; ">
- <choices>
- <item>
- <label>combo2</label>
- <value>1</value>
- </item>
- </choices>
- </select1>
- </group>
- <group id="grp_btn" style="left:0px; top:13px; width:588px; height:27px; ">
- <button id="btn_del" class="btn4_letter2" style="left:472px; top:5px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fDelInfo();
- ]]>
- </script>
- </button>
- <button id="btn_prt" class="btn4_letter3" style="left:401px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSetClear();
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:531px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fExeInfo();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|