123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPPMO01400_전화번호수정.xrw
- * 설 명 : 환자전화번호수정
- * 설 계 자 : 이형재
- * 작 성 자 : 이형재
- * 작 성 일 : 2007.11.20
- * 수정이력 :
- * 기 타 :
- -->
- <?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>전화번호수정</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <patinfo>
- <patinfolist>
- <pid/>
- <hngnm/>
- <engnm/>
- <chinm/>
- <rrgstno1/>
- <rrgstno2/>
- <brthdd/>
- <sex/>
- <age/>
- <bindpid/>
- <hometel/>
- <mpphontel/>
- <etctel1/>
- <etctel2/>
- <smsaprvyn/>
- <email/>
- <zipcd1/>
- <zipcd2/>
- <zipcdseq/>
- <addr/>
- <detladdr/>
- <btype/>
- <rh/>
- <forgeryn/>
- <nati/>
- <psptno/>
- <recmyn/>
- <recmerid/>
- <recmerrela/>
- <vipyn/>
- <viprem/>
- <religncd/>
- <baptnm/>
- <chchnm/>
- <dethyn/>
- <dethdt/>
- <chosresn/>
- <animyn/>
- <exptresncd/>
- <inhospyn/>
- <remfact/>
- <outuncoamt/>
- <dschuncoamt/>
- <fstrgstrid/>
- <fstrgstdt/>
- <lastupdtrid/>
- <lastupdtdt/>
- <rrgstno3/>
- <builno/>
- </patinfolist>
- </patinfo>
- <popupendflag/>
- <result>
- <patinfo/>
- </result>
- <detailaddr/>
- </main>
- <send/>
- <init>
- <P0015list>
- <P0015>
- <cdid/>
- <cdnm/>
- </P0015>
- </P0015list>
- <P0157list>
- <P0157>
- <cdid/>
- <cdnm/>
- </P0157>
- </P0157list>
- </init>
- <hidden>
- <uid>
- <childre>
- <wid/>
- </childre>
- </uid>
- </hidden>
- <source>
- <srchcond/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <snflag/>
- </source>
- <result/>
- </root>
- </instance>
- <submission id="TRPMC02500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/source" resultref="/root/main/result/patinfo"/>
- <submission id="TXPMO01401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/patinfo/patinfolist" resultref="/root/result"/>
- </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/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.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[
- //var pid="";
- //model.setValue("/root/source/pid", "15467821");
- //pid="15467821";
- if (checkOpener()){ //팝업화면으로 사용될 때
- pid = model.getValue("/root/source/pid");
- }
- if(pid != ""){
- fSearchPatInfo();
- }
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fSearchPatInfo(){
- model.setValue("/root/source/srchcond", "1");
-
- //환자등록번호 체크
- var pid = model.getValue("/root/source/pid");
- if(pid.length >= 1 ){
- model.resetInstanceNode("/root/main/result");
- model.makeNode("/root/main/result/patinfo");
-
- if(submit("TRPMC02500")){
- //fSearch는 인적사항 화면을 임포트 해간 화면에서 구현해 주어야 하는 함수이다.
- if( getNodesetCount("/root/main/result/patinfo/patinfolist") > 0 ){
- model.copyNode("/root/main/patinfo", "/root/main/result/patinfo");
- model.refresh();
- //fSearch();
-
- }else{
- model.resetInstanceNode("/root/main/patinfo/patinfolist");
- messageBox("없는 환자 번호 입니다.", "E999", "");
- model.refresh();
- }
- }
- }else{
- messageBox("환자등록번호를 정확히", "C001");
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="333" pageheight="265" style="font-size:12pt; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:194px; height:110px; ">전화번호 수정</caption>
- <output id="output3" ref="/root/main/patinfo/patinfolist/hngnm" class="output_fix" style="left:78px; top:47px; width:100px; height:19px; "/>
- <output id="output5" ref="/root/main/patinfo/patinfolist/pid" class="output_fix" style="left:78px; top:23px; width:100px; height:19px; "/>
- <input id="input1" ref="/root/main/patinfo/patinfolist/hometel" navindex="1" style="left:78px; top:71px; width:100px; height:19px; "/>
- <input id="input2" ref="/root/main/patinfo/patinfolist/mpphontel" navindex="2" style="left:78px; top:95px; width:100px; height:19px; "/>
- <button id="button1" class="btn4_letter2" navindex="8" style="left:208px; top:241px; width:56px; height:22px; background-color:#ffff99; ">
- <caption>저 장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var vcheck_hometel = model.getValue("/root/main/patinfo/patinfolist/hometel");
- var vcheck_mpphontel = model.getValue("/root/main/patinfo/patinfolist/mpphontel");
- // 2016/08/29 이정택(휴대폰 번호는 숫자만 입력하도록 수정)
- if(!isNull(vcheck_mpphontel)){
- for(var i=0; i<vcheck_mpphontel.length; i++){
- var str = vcheck_mpphontel.charAt(i).charCodeAt(0);
- if(parseInt(str)==45){ // '-' 입력가능하도록 스킵처리
-
- }else if(parseInt(str)<48 || parseInt(str)>57){
- messageBox("휴대폰란에는 숫자만 입력가능합니다", "E");
- return;
- }
- }
- }
- // 2016/08/29 이정택(휴대폰 번호는 숫자만 입력하도록 수정)
-
- if(vcheck_hometel =="" && vcheck_mpphontel ==""){
- messageBox("전화번호 정보를 확인하십시오","E999","");
- model.setFocus("input1");
- // return false;
-
- }else{
- // IP주소 저장 추가 by 조중래 20130906
- model.makeValue("/root/main/patinfo/patinfolist/ipaddr", getUserInfo("ipaddr"));
-
- submit("TXPMO01401");
- if(checkOpener()){
- //var openWindow = window.opener;
- opener.javascript.setParameter("SMPMO01400_hometel", model.getValue("/root/main/patinfo/patinfolist/hometel") );
- opener.javascript.setParameter("SMPMO01400_mpphontel", vcheck_mpphontel);
- opener.javascript.setParameter("SMPMO01400_save", "Y"); //20091203 zzui
- }
- model.close();
- }
- ]]>
- </script>
- </button>
- <button id="button2" class="btn4_letter2" navindex="9" style="left:269px; top:241px; width:56px; height:22px; background-color:#ffff99; ">
- <caption>취 소</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(checkOpener()){
- opener.javascript.setParameter("SMPMO01400_save", ""); //20091203 zzui
- }
- model.close();
- ]]>
- </script>
- </button>
- <output id="output1" ref="/root/main/patinfo/patinfolist/zipcd1" class="output_fix" style="left:78px; top:167px; width:50px; height:19px; "/>
- <caption id="caption7" style="left:129px; top:168px; width:10px; height:20px; ">-</caption>
- <output id="output2" ref="/root/main/patinfo/patinfolist/zipcd2" class="output_fix" style="left:139px; top:167px; width:50px; height:19px; "/>
- <output id="output4" ref="/root/main/patinfo/patinfolist/addr" class="output_fix" appearance="output" style="left:78px; top:191px; width:250px; height:19px; "/>
- <input id="input30" ref="/root/main/patinfo/patinfolist/detladdr" navindex="7" appearance="output" style="left:78px; top:215px; width:250px; height:19px; "/>
- <line id="line4" class="line_1" style="x1:5px; y1:17px; x2:328px; y2:17px; "/>
- <line id="line1" class="line_2" style="x1:5px; y1:68px; x2:328px; y2:68px; "/>
- <line id="line3" class="line_2" style="x1:5px; y1:188px; x2:327px; y2:188px; "/>
- <line id="line5" class="line_2" style="x1:5px; y1:44px; x2:328px; y2:44px; "/>
- <line id="line6" class="line_2" style="x1:5px; y1:92px; x2:328px; y2:92px; "/>
- <line id="line7" class="line_2" style="x1:5px; y1:116px; x2:328px; y2:116px; "/>
- <line id="line11" class="line_2" style="x1:5px; y1:140px; x2:328px; y2:140px; "/>
- <line id="line10" class="line_2" style="x1:5px; y1:164px; x2:328px; y2:164px; "/>
- <line id="line8" class="line_2" style="x1:5px; y1:212px; x2:328px; y2:212px; "/>
- <button id="button3" class="icon_search" navindex="6" style="left:225px; top:168px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- zbcfOpenZipCodeList("combination"
- , ""
- , "/root/main/patinfo/patinfolist/zipcd1"
- , "/root/main/patinfo/patinfolist/zipcd2"
- , "/root/main/patinfo/patinfolist/zipcdseq"
- , "/root/main/patinfo/patinfolist/addr"
- , ""
- , "/root/main/patinfo/patinfolist/detladdr"
- , "/root/main/patinfo/patinfolist/builno"
- );
- ]]>
- </script>
- </button>
- <output id="output6" ref="/root/main/patinfo/patinfolist/zipcdseq" class="output_fix" style="left:193px; top:167px; width:27px; height:19px; "/>
- <input id="input3" ref="/root/main/patinfo/patinfolist/etctel1" navindex="4" style="left:78px; top:119px; width:100px; height:19px; "/>
- <bool id="bool1" checkvalue="Y,N" ref="/root/main/patinfo/patinfolist/smsaprvyn" style="left:182px; top:91px; width:25px; height:20px; "/>
- <input id="input4" ref="/root/main/patinfo/patinfolist/etctel2" navindex="5" style="left:78px; top:143px; width:100px; height:19px; "/>
- <caption id="caption11" style="left:206px; top:92px; width:85px; height:20px; ">SMS 승인여부</caption>
- <output id="output8" ref="/root/main/patinfo/patinfolist/rrgstno1" class="output_fix" style="left:185px; top:46px; width:65px; height:19px; "/>
- <output id="output10" ref="/root/main/patinfo/patinfolist/rrgstno3" class="output_fix" style="left:260px; top:46px; width:65px; height:19px; "/>
- <caption id="caption13" class="cell_1" style="left:185px; top:22px; width:70px; height:23px; text-align:left; ">주민번호</caption>
- <caption id="caption10" class="cell_1" style="left:5px; top:118px; width:70px; height:23px; text-align:left; ">주보호자</caption>
- <caption id="caption1" class="cell_1" style="left:5px; top:70px; width:70px; height:23px; text-align:left; ">연락처</caption>
- <caption id="caption2" class="cell_1" style="left:5px; top:94px; width:70px; height:23px; text-align:left; ">휴대폰</caption>
- <caption id="caption3" class="cell_1" style="left:5px; top:22px; width:70px; height:23px; text-align:left; ">등록번호</caption>
- <caption id="caption12" class="cell_1" style="left:5px; top:142px; width:70px; height:23px; text-align:left; ">가족</caption>
- <caption id="caption4" class="cell_1" style="left:5px; top:46px; width:70px; height:23px; text-align:left; ">성 명</caption>
- <caption id="caption5" class="cell_1" style="left:5px; top:166px; width:70px; height:23px; text-align:left; ">우편번호</caption>
- <caption id="caption8" class="cell_1" style="left:5px; top:190px; width:70px; height:23px; text-align:left; ">주 소</caption>
- <caption id="caption9" class="cell_1" style="left:5px; top:214px; width:70px; height:23px; text-align:left; ">상세주소</caption>
- <line id="line9" class="line_3" style="x1:5px; y1:236px; x2:328px; y2:236px; "/>
- <caption id="caption14" style="left:250px; top:45px; width:10px; height:20px; ">-</caption>
- </xhtml:body>
- </xhtml:html>
|