12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367 |
- <?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>Untitle</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <sendvisalst>
- <item>
- <sel/>
- <hopedd/>
- <pid/>
- <visano/>
- <hngnm/>
- <engnm/>
- <sex/>
- <age/>
- <pkgnm/>
- <sendaddrflag/>
- <etcuse26/>
- <etcuse160/>
- <etcusexray/>
- <etcuseother/>
- <trnfileno/>
- <remarks/>
- <courcmpy/>
- <courtracno/>
- <labrslt/>
- <remcnts/>
- <brthdd/>
- <healexamflag/>
- <healexamdetlflag/>
- <pkgcd/>
- <rsrvdd/>
- <rsrvno/>
- <psptno/>
- <rrgstno/>
- <orddd/>
- <instcd/>
- <senddd/>
- <sendflag/>
- <printyn/>
- <subclass/>
- <reqtests/>
- <rsltreqtests/>
- <specoption/>
- <signdr/>
- <signdrdept/>
- <signdrcd/>
- <signdrdeptcd/>
- </item>
- <item2>
- <sel/>
- <hopedd/>
- <pid/>
- <visano/>
- <hngnm/>
- <engnm/>
- <sex/>
- <age/>
- <pkgnm/>
- <sendaddressflag/>
- <courcmpy/>
- <trnfileno/>
- <senddd/>
- <remarks/>
- <healexamflag/>
- <healexamdetlflag/>
- <rsrvdd/>
- <rsrvno/>
- <pkgcd/>
- <rrgstno/>
- <instcd/>
- <etcuse26/>
- <etcuse160/>
- <etcusexray/>
- <etcuseother/>
- <courtracno/>
- <labrslt/>
- <brthdd/>
- <remcnts/>
- </item2>
- <item3>
- <sel/>
- <hopedd/>
- <sendyn/>
- <pid/>
- <hngnm/>
- <engnm/>
- <visano/>
- <sex/>
- <age/>
- <pkgnm/>
- <sendaddrflag/>
- <senddd/>
- <remarks/>
- <pkgcd/>
- <healexamflag/>
- <healexamdetlflag/>
- <rsrvdd/>
- <rsrvno/>
- <rrgstno/>
- <instcd/>
- <etcuse26/>
- <etcuse160/>
- <etcusexray/>
- <etcuseother/>
- <trnfileno/>
- <courcmpy/>
- <courtracno/>
- <labrslt/>
- <brthdd/>
- <remcnts/>
- </item3>
- </sendvisalst>
- <sendresultflag>V</sendresultflag>
- <letterlist>
- <item3>
- <subclass/>
- <requiretest/>
- <resultoftest/>
- <specialoption/>
- <letterdoctor/>
- <letterdoctordept/>
- <letterdoctorsign/>
- </item3>
- </letterlist>
- </main>
- <send>
- <instcd/>
- <srchsendflag/>
- <healexamflag/>
- <healexamdetlflag/>
- <srchfromdd/>
- <srchtodd/>
- <visano/>
- <save>
- <senddata/>
- <updata>
- </updata>
- <indata/>
- <inslett/>
- <lettdata>
- <sel/>
- <sendflag/>
- <printyn/>
- <senddd/>
- <sendaddressflag/>
- <pid/>
- <visano/>
- <engnm/>
- <rrgstno/>
- <engaddress/>
- <orddd/>
- <healexamflag/>
- <instcd/>
- <healexamdetlflag/>
- <subclass/>
- <requiretest/>
- <resultoftest/>
- <specialoption/>
- <letterdoctor/>
- <letterdoctordept/>
- <letterdoctorsign/>
- <pkgnm/>
- <hngnm/>
- <pkgcd/>
- </lettdata>
- </save>
- <srchvisa>
- <req>
- <sendflag/>
- <instcd/>
- <healexamflag/>
- <healexamdetlflag/>
- <fromdd/>
- <todd/>
- <pid/>
- <visano/>
- <brthareacnts/>
- </req>
- </srchvisa>
- <srchvisa2>
- <req>
- <sendflag/>
- <instcd/>
- <healexamflag/>
- <healexamdetlflag/>
- <fromdd/>
- <todd/>
- <pid/>
- <visano/>
- <subclass/>
- <requiretest/>
- <resultoftest/>
- <specialoption/>
- <letterdoctor/>
- <letterdoctordept/>
- <letterdoctorsign/>
- <brthareacnts/>
- </req>
- </srchvisa2>
- <srchvisa3>
- <req>
- <sendflag/>
- <instcd/>
- <healexamflag/>
- <healexamdetlflag/>
- <fromdd/>
- <todd/>
- <pid/>
- <visano/>
- <brthareacnts/>
- </req>
- </srchvisa3>
- <visadata>
- <insdata>
- <req>
- <sel/>
- <sendflag/>
- <printyn/>
- <senddd/>
- <sendaddressflag/>
- <pid/>
- <visano/>
- <engnm/>
- <rrgstno/>
- <engaddress/>
- <orddd/>
- <healexamflag/>
- <instcd/>
- <healexamdetlflag/>
- <subclass/>
- <requiretest/>
- <resultoftest/>
- <specialoption/>
- <letterdoctor/>
- <letterdoctordept/>
- <letterdoctorsign/>
- </req>
- </insdata>
- </visadata>
- <printdata/>
- <healexampid/>
- <ipt_pnm/>
- <brthareacnts/>
- <sendgubun/>
- <tmp>
- <sendflag/>
- </tmp>
- <brtharea/>
- <sendflags/>
- </send>
- <init>
- <baseinfo>
- <sendflag>
- <A0483>
- <cdid/>
- <cdnm/>
- </A0483>
- </sendflag>
- <healexamdetlflag>
- <A0070>
- <cdid/>
- <cdnm/>
- </A0070>
- </healexamdetlflag>
- <doctorlst>
- <A0484>
- <cdid/>
- <cdnm/>
- </A0484>
- </doctorlst>
- <doctordeptlst>
- <A0485>
- <cdid/>
- <cdnm/>
- </A0485>
- </doctordeptlst>
- <sendaddressflag>
- <S070>
- <cdid/>
- <cdnm/>
- </S070>
- </sendaddressflag>
- <nationlst>
- <A0465>
- <cdid/>
- <cdnm/>
- </A0465>
- </nationlst>
- <initaddrinfo/>
- </baseinfo>
- </init>
- <hidden/>
- <tmp>
- <item2>
- <sel/>
- <sendflag/>
- <printyn/>
- <senddd/>
- <sendaddressflag/>
- <pid/>
- <visano/>
- <engnm/>
- <rrgstno/>
- <engaddress/>
- <orddd/>
- <healexamflag/>
- <instcd/>
- <healexamdetlflag/>
- <subclass/>
- <requiretest/>
- <resultoftest/>
- <specialoption/>
- <letterdoctor/>
- <letterdoctordept/>
- <letterdoctorsign/>
- <pkgnm/>
- <hngnm/>
- <pkgcd/>
- </item2>
- <print>
- <letter>
- </letter>
- </print>
- </tmp>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../ast/healthexamrsrvacptweb/js/AHA.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/healthexambaseweb/js/healcombolist.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 기존의 발송 관리
- model.removeNodeset("/root/init/baseinfo/sendflag/A0121");
- //비자 발송 코드
- model.removeNodeset("/root/init/baseinfo/sendflag/A0483");
- //건진 상세 구분
- model.removeNodeset("/root/init/baseinfo/healexamdetlflag/A0070");
- //비자레터 서명의사
- model.removeNodeset("/root/init/baseinfo/doctorlst/A0484");
- //서명의사 부서구분
- model.removeNodeset("/root/init/baseinfo/doctordeptlst/A0485");
- //과거비자 주소 상세구분
- model.removeNodeset("/root/init/baseinfo/sendaddressflag/S070");
- //비자 주소 상세구분
- // model.removeNodeset("/root/init/baseinfo/sendaddressflag/S070");
- //국가 구분
- model.removeNodeset("/root/init/baseinfo/nationlst/A0465");
-
- zbcfGetCodeList( new Array("A0070","A0484","A0485","A0465"),
- new Array("/root/init/baseinfo/healexamdetlflag"
- ,"/root/init/baseinfo/doctorlst"
- ,"/root/init/baseinfo/doctordeptlst"
- ,"/root/init/baseinfo/nationlst") );
- submit("TRZBC00101");
- //A0483,A0468
- healGetCodeList( new Array("A0483","R001")
- , new Array("/root/init/baseinfo/sendflag"
- , "/root/init/baseinfo/initaddrinfo") );
-
- model.makeValue("/root/init/addrinfo/CF1", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'CF1']/cdnm"));
- model.makeValue("/root/init/addrinfo/CP1", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'CP1']/cdnm"));
- model.makeValue("/root/init/addrinfo/CP2", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'CP2']/cdnm"));
- model.makeValue("/root/init/addrinfo/E01", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'E01']/cdnm"));
- model.makeValue("/root/init/addrinfo/E02", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'E02']/cdnm"));
- model.makeValue("/root/init/addrinfo/E03", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'E03']/cdnm"));
- model.makeValue("/root/init/addrinfo/E04", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'E04']/cdnm"));
- model.makeValue("/root/init/addrinfo/K01", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'K01']/cdnm"));
- model.makeValue("/root/init/addrinfo/K02", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'K02']/cdnm"));
- model.makeValue("/root/init/addrinfo/K03", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'K03']/cdnm"));
- model.makeValue("/root/init/addrinfo/K04", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'K04']/cdnm"));
- model.makeValue("/root/init/addrinfo/PV1", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'PV1']/cdnm"));
- model.makeValue("/root/init/addrinfo/PV2", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'PV2']/cdnm"));
- model.makeValue("/root/init/addrinfo/VF1", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'VF1']/cdnm"));
- model.makeValue("/root/init/addrinfo/logoimg", getImageURL("cmc"));
-
- //,"/root/init/baseinfo/sendaddressflag") );
- // copyNodeListType("/root/init/baseinfo/sendflag","/root/init/baseinfo/senddetlflag/S070","after");
- //var dupNode = instance1.selectNodes("/root/init/baseinfo/senddetlflag/S070");
- //var rCSV = getNodeListCSV(dupNode);
-
- //setCSVToNode( "/root/init/baseinfo/sendflag/A0483", rCSV ,"S070");
-
- fInitCtrl(true);
- //발송구분을 꼭 넣어줘야함
- // 팝업 시 설정
- if( checkOpener() ){
- var sFlag = opener.javascript.getParameter("SMAHA04510_PARAM1");
- // 건진 구분 설정
- if(sFlag == "") {
- vHealExamFlag = "G"
- cmb_healexamdetlflag.value = "G02"
- }else {
- vHealExamFlag = sFlag.substr(0,1);
- cmb_healexamdetlflag.value = sFlag;
- }
- var sHopedd = opener.javascript.getParameter("SMAHA04510_PARAM2");
- var sPid = opener.javascript.getParameter("SMAHA04510_PARAM3");
- var sBrthArea = opener.javascript.getParameter("SMAHA04510_PARAM4");
- // 파라미터 값 설정
- model.setValue("/root/send/brthareacnts" , sBrthArea); // 국가구분
- model.setValue("/root/send/srchfromdd" ,sHopedd ); // 건진일자
- model.setValue("/root/send/healexampid" , sPid); // 등록번호
-
- cmb_sendgubun.select(0);
- cmb_sendflag.select(0);
-
- if( ahafGetPatInfo(2, sPid , "" , "/root/temp/send" ) ){
- model.setValue("/root/send/healexampid" , model.getValue("/root/temp/patinfo/item/pid") );
- model.setValue("/root/send/ipt_pnm" , model.getValue("/root/temp/patinfo/item/hngnm") );
- }
-
- }else {
- //건진 상세 구분
- cmb_healexamdetlflag.select(0);
- cmb_brthareacnts.select(1);
- cmb_sendgubun.select(0);
- cmb_sendflag.select(0);
- }
- //cmb_brthareacnts.dispatch("xforms-select");
- //submit("TRAHA04518");
- //messageBox(model.getValue("/root/send/brthareacnts") + model.getValue("/root/send/sendgubun"),"C001");
- var brtharea = model.getValue("/root/send/brthareacnts")
- model.setValue("/root/send/brtharea",brtharea.substring(0,1));
-
- submit("TRAHA04516");
- model.toggle("case_A");
- model.refresh();
- ]]>
- </script>
- <submission id="TRZBC00101"/>
- <submission id="TRAHA00001"/>
- <submission id="TRAHA04011" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/temp/patinfo"/>
- <submission id="TRAHA04511" ref="/root/send/srchvisa/req" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/sendvisalst"/>
- <submission id="TRAHA04512" ref="/root/send/srchvisa2/req" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/sendvisalst"/>
- <submission id="TRAHA04515" ref="/root/send/srchvisa3/req" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/sendvisalst"/>
- <submission id="TRAHA04516" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/init/baseinfo/sendflag"/>
- <submission id="TRAHA04517" ref="/root/send/tmp" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/init/baseinfo/sendaddressflag"/>
- <submission id="TRAHA04518" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/init/baseinfo/senddetlflag"/>
- <submission id="TXAHA04511" ref="/root/send/save/indata" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/tmp"/>
- <submission id="TXAHA04512" ref="/root/send/save/updata" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/temp"/>
- <submission id="TXAHA04514" ref="/root/send/visadata/insdata/req" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/temp"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- function fGetSendList()
- {
- var vHealExamFlag="G";
- //기관코드가 없을 시 리턴
- if(getUserInfo("dutplceinstcd")=='')
- return;
- //발송구분이 없을 시 리턴 -> 발송구분 자체가 쿼리가 결정됨 또한 국가 또한 결정 되므로
- if(cmb_sendflag.value==""){
- return;
- }
- //발송조회라면 "V" 즉 건진 완료자 재검을 어떻게 처리할 지 아직은 의문
- //일차 협의때 건진 일자 즉 접수일자로만 하는것으로 함 판정이라는 것이 따로
- //없고 종료가 될지 제대로 알수 없으므로 일단 판정일자는 차후 보류할 사항
-
- if(model.getValue("/root/main/sendresultflag")=='V'){
-
- model.setValue("/root/send/srchvisa/req/instcd",getUserInfo("dutplceinstcd"));
- model.setValue("/root/send/srchvisa/req/sendflag",cmb_sendflag.value);
- model.setValue("/root/send/srchvisa/req/healexamflag",vHealExamFlag);
- model.setValue("/root/send/srchvisa/req/healexamdetlflag",cmb_healexamdetlflag.value);
-
- model.setValue("/root/send/srchvisa/req/fromdd",getRemoveFormatter(ipt_rsvfrdd.currentText));
- model.setValue("/root/send/srchvisa/req/todd",getRemoveFormatter(ipt_rsvtodd.currentText));
-
- model.setValue("/root/send/srchvisa/req/pid",ipt_healexampid.currentText);
- //model.setValue("/root/send/srchvisa/req/visano",ipt_visano.currentText);
- model.setValue("/root/send/srchvisa/req/brthareacnts",cmb_brthareacnts.value);
- submit("TRAHA04511");
- model.refresh();
-
- fBatchVisa();
- }else if(model.getValue("/root/main/sendresultflag")=='R'){ //발송 완료조회라면 "R"
- model.setValue("/root/send/srchvisa2/req/sendflag",cmb_sendflag.value);
- model.setValue("/root/send/srchvisa2/req/instcd",getUserInfo("dutplceinstcd"));
- model.setValue("/root/send/srchvisa2/req/healexamflag",vHealExamFlag);
- model.setValue("/root/send/srchvisa2/req/healexamdetlflag",cmb_healexamdetlflag.value);
-
- model.setValue("/root/send/srchvisa2/req/fromdd",getRemoveFormatter(ipt_rsvfrdd.currentText));
- model.setValue("/root/send/srchvisa2/req/todd",getRemoveFormatter(ipt_rsvtodd.currentText));
-
- model.setValue("/root/send/srchvisa2/req/pid",ipt_healexampid.currentText);
- //model.setValue("/root/send/srchvisa2/req/visano",ipt_visano.currentText);
- model.setValue("/root/send/srchvisa2/req/brthareacnts",cmb_brthareacnts.value);
- submit("TRAHA04512");
- model.refresh();
-
- }else if(model.getValue("/root/main/sendresultflag")=='A'){ //전체
- model.setValue("/root/send/srchvisa3/req/sendflag",cmb_sendflag.value);
- model.setValue("/root/send/srchvisa3/req/instcd",getUserInfo("dutplceinstcd"));
- model.setValue("/root/send/srchvisa3/req/healexamflag",vHealExamFlag);
- model.setValue("/root/send/srchvisa3/req/healexamdetlflag",cmb_healexamdetlflag.value);
-
- model.setValue("/root/send/srchvisa3/req/fromdd",getRemoveFormatter(ipt_rsvfrdd.currentText));
- model.setValue("/root/send/srchvisa3/req/todd",getRemoveFormatter(ipt_rsvtodd.currentText));
-
- model.setValue("/root/send/srchvisa3/req/pid",ipt_healexampid.currentText);
- //model.setValue("/root/send/srchvisa3/req/visano",ipt_visano.currentText);
- model.setValue("/root/send/srchvisa3/req/brthareacnts",cmb_brthareacnts.value);
- submit("TRAHA04515");
- model.refresh();
- }
- }
-
- /*************************************************************
- ** 발송구분 및 발송지 일괄 세팅***************
- *************************************************************/
- function fBatchVisa(){
- var vGrd_Rows=grd_sendvisalst.rows;
- for(var i=1;i<=vGrd_Rows-2;i++){
- //처음조회시 호주대사관 등 나라가 접수 되었을 시에 abcd그런것들이 자동으로검색되어 나타내어짐
- //즉 국가에 따라 구분이 된다는 뜻
- //호주 대사관 선택시
- model.setValue("/root/main/sendvisalst/item["+ i +"]/sendflag",cmb_sendflag.value);
- model.setValue("/root/main/sendvisalst/item["+ i +"]/sendaddrflag",cmb_sendflag.value);
- /*if(cmb_sendflag.value=='A1'){
- model.setValue("/root/main/sendvisalst/item["+ i +"]/sendflag",cmb_sendflag.value);
- model.setValue("/root/main/sendvisalst/item["+ i +"]/sendaddrflag","A1");
- }
- //호주 이민성 선택시
- if(cmb_sendflag.value=='A2'){
- model.setValue("/root/main/sendvisalst/item["+ i +"]/sendflag","A2");
- model.setValue("/root/main/sendvisalst/item["+ i +"]/sendaddrflag","A2");
- }
- //전체 리스트 선택시
- if(cmb_sendflag.value=='A3'){
- model.setValue("/root/main/sendvisalst/item["+ i +"]/sendflag","A3");
- model.setValue("/root/main/sendvisalst/item["+ i +"]/sendaddrflag","A3");
- }
-
- if(cmb_sendflag.value=='D'){
- model.setValue("/root/main/sendvisalst/item["+ i +"]/sendflag","D");
- }
- //기타 결과지 선택시
- if(cmb_sendflag.value=="E"){
- model.setValue("/root/main/sendvisalst/item["+ i +"]/sendflag","E");
- model.setValue("/root/main/sendvisalst/item["+ i +"]/sendaddrflag","D1");
- }*/
- }
- model.refresh();
- //모든 상태플래그 클리어
- grd_sendvisalst.clearStatus();
- }
-
- function fInitCtrl(bAll){
- if( bAll == true ){
-
- var curDt = getCurrentDate();
- var curDtf = toDatef();
- model.setValue(ipt_rsvfrdd.attribute("ref") , curDtf);
- model.setValue(ipt_rsvtodd.attribute("ref") , curDt);
- //model.setValue(ipt_senddd.attribute("ref") , curDt);
-
-
- }
- model.toggle("case_A");
- rdo_visaflag.value = "A";
- }
-
- function toDatef(){
- return getCurrentDate().toDate().getAddDate(-15,"D").getDateFormat();
- }
-
- function fSaveVisaList(){
-
-
- //발송 완료 조회를 선택 했을 시에 에러 메세지
- if(rdo_visaflag.value=="R"){
- messageBox("발송조회를","C001");
- return;
- }
- // 상태초기화
- grd_sendvisalst.clearStatus();
-
- var cnt = grd_sendvisalst.rows;
- var sendChk = "1";
- for(i = 2 ; i<= cnt ;i++){
-
- if(grd_sendvisalst.valueMatrix( i , grd_sendvisalst.colRef("sel"))=="Y"){
- //발송구분을 넣지 않았을 시에
-
- if(grd_sendvisalst.valueMatrix( i , grd_sendvisalst.colRef("sendflag"))==""){
- messageBox("발송구분을 ","C001");
- return;
- }
- //발송지를 넣지 않았을 경우
-
- if(grd_sendvisalst.valueMatrix( i , grd_sendvisalst.colRef("sendaddrflag")) ==""){
- messageBox("발송지를 ","C001");
- return;
- }
- //발송일자를 넣지 않았을 경우
-
- if(grd_sendvisalst.valueMatrix( i , grd_sendvisalst.colRef("senddd")) ==""){
- messageBox("발송일자를 ","C001");
- return;
- }
- grd_sendvisalst.rowStatus(i) = 2;
- sendChk = "2";
- }
- }
- if(sendChk=="1"){
- messageBox("발송할 대상자를 선택하시기 바랍니다.", "E999", "");
- }
- else{
- model.setValue("/root/send/save/indata", grd_sendvisalst.getUpdateData("update"));
- submit("TXAHA04511");
- }
- }
-
- /*************************************************************************************
- ***************** //발송 완료된 발송자 내용 수정시 업데이트 일괄 적으로 ******
- *************************************************************************************/
- function fSaveCommitList(){
- var sendChk = "true";
-
- nodeList = instance1.selectNodes("/root/main/sendvisalst/item2[sel ='Y']");
- var updata = getNodeListCSV(nodeList);
- //if(sendChk == "false"){
- if (updata == null){
- messageBox("수정할 발송정보를 선택하시기 바랍니다.", "E999", "");
- }else{
-
- model.setValue("/root/send/save/updata", updata);
- submit("TXAHA04512")
- }
- }
- //초기화 함수
- function fnit(){
- model.reset("/root/main/sendvisalst/item");
- model.reset("/root/main/sendvisalst/item2");
- model.reset("/root/main/sendvisalst/item3");
- model.resetInstanceNode("/root/main/letterlist/item3");
- }
-
- function fSendCheck()
- {
-
- }
- /*******************************************************************
- ******** 발송자 완료 입력 체크 함수 *****************
- *******************************************************************/
-
- function fMsgCheck(){
- //현재 선택한 로우를 반환
- var vGrd_commit=grd_sendcommit.row;
-
- //차후 함수로 구현해야 할듯
- if(grd_sendcommit.valueMatrix(vGrd_commit,2)==""){
- messageBox("발송구분을 ","C001");
- return;
- }
-
- if(grd_sendcommit.valueMatrix(vGrd_commit,6)==""){
- messageBox("등록번호를 ","C001");
- return;
- }
-
- if(grd_sendcommit.valueMatrix(vGrd_commit,7)==""){
- messageBox("비자년번를 ","C001");
- return;
- }
-
- if(grd_sendcommit.valueMatrix(vGrd_commit,11)==""){
- messageBox("건진일자를 ","C001");
- return;
- }
-
- if(grd_sendcommit.valueMatrix(vGrd_commit,17)==""){
- messageBox("패키지코드를 ","C001");
- return;
- }
- }
- function fValChange(){
-
- //발송조회 혹은 전체
- if(rdo_visaflag.value=="A" || rdo_visaflag.value=="V"){
- cap_gun.visible=true;
- cap_val.visible=false;
- }
- //발송완료 조회라면
- if(rdo_visaflag.value=="R"){
- cap_gun.visible=false;
- cap_val.visible=true;
- }
- btn_search.dispatch("DOMActivate");
- }
-
- /***************************************************************
- ******** 일반 출력을 발송에 따라 출력 *********************
- ****************************************************************/
- function fNormalPrint(){
- model.removeNodeset("/root/tmp/print/letter/item2");
- model.makeNode("/root/tmp/print/letter");
-
- for( var i = 0 ; i <= grd_sendcommit.rows ; i++){
- if(grd_sendcommit.valueMatrix(i,grd_sendcommit.colRef("sel")) == "Y") {
-
- var idx = i -1;
- copyNodeListType("/root/tmp/print/letter", "/root/main/sendvisalst/item2["+ idx +"]", "after");
- }
- }
-
- // 서울 호주 대사관 : A
- // 호주 이민 가족단위 : B
- // 비자건진 리스트 : C
- // 비자레터 : D
- // 기타해외 결과 : E
- // 비자건진 영문 결과지:F
- // 필리핀 결과지:G
- if(cmb_sendflag.value == "A1"){
- exeReportPreview("RPAHR00304", "XMLSTR", "", "", "false","","","","","true", "", "");
- }else if(cmb_sendflag.value == "A2"){
- exeReportPreview("RPAHR00301", "XMLSTR", "", "", "false","","","","","true", "", "");
- }else if(cmb_sendflags.value == "E"){
- exeReportPreview("RPAHR04411", "XMLSTR", "", "", "false","","","","","true", "", "");
- }else if(cmb_sendflags.value == "G"){
- exeReportPreview("RPAHR04412", "XMLSTR", "", "", "false","","","","","true", "", "");
- }else if(cmb_sendflags.value == "F"){
- exeReportPreview("RPAHR00305", "XMLSTR", "", "", "false","","","","","true", "", "");
- }
- }
- /*************************************************************************************************************
- * 발송대상 보여줄 항목
- **************************************************************************************************************/
- function fSetSendVisble() {
- var brtharea = model.getValue("/root/send/brthareacnts");
- // 호주
- if(brtharea == "AR") {
- grd_sendvisalst.colHidden(grd_sendvisalst.colRef("etcuse26")) = false;
- grd_sendvisalst.colHidden(grd_sendvisalst.colRef("etcuse160")) = false;
- grd_sendvisalst.colHidden(grd_sendvisalst.colRef("etcusexray")) = false;
- grd_sendvisalst.colHidden(grd_sendvisalst.colRef("etcuseother")) = false;
- grd_sendvisalst.colHidden(grd_sendvisalst.colRef("trnfileno")) = false;
- grd_sendvisalst.colHidden(grd_sendvisalst.colRef("remarks")) = false;
- grd_sendvisalst.colHidden(grd_sendvisalst.colRef("courcmpy")) = false;
- grd_sendvisalst.colHidden(grd_sendvisalst.colRef("courtracno")) = false;
- grd_sendvisalst.colHidden(grd_sendvisalst.colRef("labrslt")) = false;
- grd_sendcommit.colHidden(grd_sendcommit.colRef("etcuse26")) = false;
- grd_sendcommit.colHidden(grd_sendcommit.colRef("etcuse160")) = false;
- grd_sendcommit.colHidden(grd_sendcommit.colRef("etcusexray")) = false;
- grd_sendcommit.colHidden(grd_sendcommit.colRef("etcuseother")) = false;
- grd_sendcommit.colHidden(grd_sendcommit.colRef("trnfileno")) = false;
- grd_sendcommit.colHidden(grd_sendcommit.colRef("remarks")) = false;
- grd_sendcommit.colHidden(grd_sendcommit.colRef("courcmpy")) = false;
- grd_sendcommit.colHidden(grd_sendcommit.colRef("courtracno")) = false;
- grd_sendcommit.colHidden(grd_sendcommit.colRef("labrslt")) = false;
-
- }else { // 그외
- grd_sendvisalst.colHidden(grd_sendvisalst.colRef("etcuse26")) = true;
- grd_sendvisalst.colHidden(grd_sendvisalst.colRef("etcuse160")) = true;
- grd_sendvisalst.colHidden(grd_sendvisalst.colRef("etcusexray")) = true;
- grd_sendvisalst.colHidden(grd_sendvisalst.colRef("etcuseother")) = true;
- grd_sendvisalst.colHidden(grd_sendvisalst.colRef("trnfileno")) = true;
- grd_sendvisalst.colHidden(grd_sendvisalst.colRef("remarks")) = true;
- grd_sendvisalst.colHidden(grd_sendvisalst.colRef("courcmpy")) = true;
- grd_sendvisalst.colHidden(grd_sendvisalst.colRef("courtracno")) = true;
- grd_sendvisalst.colHidden(grd_sendvisalst.colRef("labrslt")) = true;
- grd_sendcommit.colHidden(grd_sendcommit.colRef("etcuse26")) = true;
- grd_sendcommit.colHidden(grd_sendcommit.colRef("etcuse160")) = true;
- grd_sendcommit.colHidden(grd_sendcommit.colRef("etcusexray")) = true;
- grd_sendcommit.colHidden(grd_sendcommit.colRef("etcuseother")) = true;
- grd_sendcommit.colHidden(grd_sendcommit.colRef("trnfileno")) = true;
- grd_sendcommit.colHidden(grd_sendcommit.colRef("remarks")) = true;
- grd_sendcommit.colHidden(grd_sendcommit.colRef("courcmpy")) = true;
- grd_sendcommit.colHidden(grd_sendcommit.colRef("courtracno")) = true;
- grd_sendcommit.colHidden(grd_sendcommit.colRef("labrslt")) = true;
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:719px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" navindex="8" class="btn1_letter2" style="left:1134px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fnit();
- //나중에 비자레터로 인해 바뀔수도 있다.....
- //또한 주소입력때문에바뀔수도
- fGetSendList();
-
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1127px; y1:7px; x2:1127px; y2:29px; "/>
- <button id="btn_srchpat" navindex="7" class="icon_search" style="left:1020px; top:11px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearchPatInfo("SMAHA00820", "pnm", ipt_healexampid.currentText , "N", "/root/send" ,ipt_healexampid.attribute("ref"), ipt_healexampnm.attribute("ref") );
- ]]>
- </script>
- </button>
- <caption id="caption10" class="search_name" style="left:860px; top:8px; width:89px; height:17px; ">환자검색 :</caption>
- <output id="ipt_healexampnm" ref="/root/send/ipt_pnm" class="output_fix" style="left:1040px; top:8px; width:55px; height:19px; "/>
- <input id="ipt_healexampid" ref="/root/send/healexampid" navindex="6" class="input_search" style="left:950px; top:8px; width:65px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_srchpat", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption3" style="left:731px; top:10px; width:15px; height:20px; ">~</caption>
- <caption id="cap_gun" class="search_name" style="left:535px; top:8px; width:92px; height:17px; ">건진일자</caption>
- <input id="ipt_rsvfrdd" ref="/root/send/srchfromdd" navindex="4" class="input_s_essential" inputtype="date" style="left:626px; top:8px; width:100px; height:19px; text-align:center; "/>
- <input id="ipt_rsvtodd" ref="/root/send/srchtodd" navindex="5" class="input_s_essential" inputtype="date" style="left:747px; top:8px; width:100px; height:19px; text-align:center; "/>
- <select1 id="cmb_healexamdetlflag" ref="/root/send/healexamdetlflag" class="combo_search" visibility="hidden" appearance="minimal" sep="^" style="left:306px; top:8px; width:94px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/healexamdetlflag/A0070">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption6" class="search_name" style="left:15px; top:8px; width:67px; height:17px; ">국가 :</caption>
- <select1 id="cmb_brthareacnts" ref="/root/send/brthareacnts" navindex="1" class="combo_search" appearance="minimal" sep="^" style="left:80px; top:8px; width:85px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/nationlst/A0465">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSetSendVisble();
- fValChange();
-
- var brtharea = model.getValue("/root/send/brthareacnts");
- cmb_sendgubun.value = "S";
- model.setValue("/root/send/brtharea",brtharea.substring(0,1));
- submit("TRAHA04516");
- model.refresh();
- cmb_sendflag.select(0);
- cmb_sendflags.select(0);
- ]]>
- </script>
- </select1>
- <caption id="cap_val" class="search_name" visibility="hidden" style="left:535px; top:8px; width:87px; height:17px; ">발 송 일 자 :</caption>
- <caption id="caption24" class="search_name" style="left:180px; top:8px; width:60px; height:17px; ">구분 :</caption>
- <select1 id="cmb_sendflag" ref="/root/send/srchsendflag" navindex="3" class="combo_search" appearance="minimal" style="left:396px; top:8px; width:124px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/sendflag/A0483">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //if(cmb_sendflag.value == "G" || cmb_sendflag.value == "F" || cmb_sendflag.value == "E") {
- // cmb_brthareacnts.select(2);
- //}else{
- // cmb_brthareacnts.select(1);
- //}
- ]]>
- </script>
- </select1>
- <caption id="caption7" class="search_name" style="left:325px; top:8px; width:76px; height:17px; ">구분2 :</caption>
- <select1 id="cmb_sendgubun" ref="/root/send/sendgubun" navindex="2" appearance="minimal" style="left:240px; top:8px; width:70px; height:19px; ">
- <choices>
- <item>
- <label>발송지</label>
- <value>S</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var brtharea = model.getValue("/root/send/brthareacnts")
- model.setValue("/root/send/brtharea",brtharea.substring(0,1));
- submit("TRAHA04516");
- model.refresh();
- cmb_sendflag.select(0);
- ]]>
- </script>
- </select1>
- </group>
- <switch id="swt_send" style="left:0px; top:72px; width:1190px; height:640px; border-color:#c7a3cf; border-style:solid; ">
- <case id="case_T" style="left:0px; top:0px; width:1190px; height:640px; ">
- <caption id="caption1" class="tit_2" style="left:6px; top:4px; width:95px; height:14px; ">발송대상정보</caption>
- <line id="line1" class="line_1" style="x1:1px; y1:18px; x2:1185px; y2:18px; "/>
- <input id="ipt_senddd" ref="/root/send/batchset/senddd" class="input_essential" inputtype="date" style="left:90px; top:29px; width:108px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
-
- ]]>
- </script>
- </input>
- <select1 id="rdo_sendyn" ref="/root/send/batchset/sendyn" overflow="visible" appearance="full" rows="1" cols="2" style="left:287px; top:30px; width:63px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- ]]>
- </script>
- </select1>
- <caption id="caption15" class="cell_1" style="left:6px; top:28px; width:81px; height:23px; vertical-align:middle; ">발송일자</caption>
- <caption id="caption17" class="cell_1" style="left:201px; top:28px; width:81px; height:23px; vertical-align:middle; ">발송처리Y/N</caption>
- <select1 id="rdo_sendaddr" ref="/root/send/batchset/sendaddrflag" overflow="visible" appearance="full" rows="1" cols="6" style="left:438px; top:30px; width:483px; height:20px; border-style:none; ">
- <choices>
- <!--<itemset nodeset="/root/init/baseinfo/addcdlst/S070">-->
- <itemset nodeset="/root/init/baseinfo/addcdlst/A0483">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_betsave" class="btn2_letter4" style="left:934px; top:29px; width:64px; height:19px; ">
- <caption>일괄적용</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //fBatchSet();
- ]]>
- </script>
- </button>
- <caption id="caption2" class="cell_1" style="left:352px; top:28px; width:81px; height:23px; vertical-align:middle; ">발송주소</caption>
- <datagrid id="grd_sendvisalst" nodeset="/root/main/sendvisalst/item" visibility="visible" autoresize="false" caption="선택^신검일자^발송일자^등록번호^비자연번^한글이름^영문이름^성별^나이^패키지명^발송지^26^160^x-ray^Other^TRN or File No^비고^Courier Cmpy^Courier traching number^Number of other^전달사항^brthdd^건진구분^건진상세구분^패키지코드^예약일자^예약번호^여권번호^주민번호^orddd^instcd^sendflag^printyn^subclass^reqtests^rsltreqtests^specoption^signdr^signdrdept^signdrcd^signdrdeptcd^예약번호|선택^신검일자^발송일자^등록번호^비자연번^한글이름^영문이름^성별^나이^패키지명^발송지^26^160^x-ray^Other^TRN or File No^비고^Courier Cmpy^Courier traching number^Number of other^전달사항^brthdd^건진구분^건진상세구분^패키지코드^예약일자^예약번호^여권번호^주민번호^orddd^instcd^sendflag^printyn^subclass^reqtests^rsltreqtests^specoption^signdr^signdrdept^signdrcd^signdrdeptcd^예약번호" colwidth="39, 80, 80, 80, 80, 80, 100, 50, 50, 150, 100, 50, 50, 50, 50, 90, 90, 90, 120, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycol" rowheader="update" rowsep="|" colsep="^" style="left:3px; top:23px; width:1181px; height:604px; ">
- <col ref="sel" type="checkbox" checkvalue="Y,N"/>
- <col ref="hopedd" format="yyyy-mm-dd"/>
- <col ref="senddd" type="input" format="yyyy-mm-dd"/>
- <col ref="pid"/>
- <col ref="visano"/>
- <col ref="hngnm"/>
- <col ref="engnm"/>
- <col ref="sex"/>
- <col ref="age"/>
- <col ref="pkgnm"/>
- <col ref="sendaddrflag" type="combo">
- <choices>
- <!--<itemset nodeset="/root/init/baseinfo/sendaddressflag/S070">-->
- <itemset nodeset="/root/init/baseinfo/sendflag/A0483">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="etcuse26" type="checkbox" checkvalue="Y,N"/>
- <col ref="etcuse160" type="checkbox" checkvalue="Y,N"/>
- <col ref="etcusexray" type="checkbox" checkvalue="Y,N"/>
- <col ref="etcuseother" type="checkbox" checkvalue="Y,N"/>
- <col ref="trnfileno" type="input"/>
- <col ref="remarks" type="input"/>
- <col ref="courcmpy" type="input"/>
- <col ref="courtracno" type="input"/>
- <col ref="labrslt" type="input"/>
- <col ref="remcnts"/>
- <col ref="brthdd" visibility="hidden"/>
- <col ref="healexamflag" visibility="hidden"/>
- <col ref="healexamdetlflag" visibility="hidden"/>
- <col ref="pkgcd" visibility="hidden"/>
- <col ref="rsrvdd" visibility="hidden"/>
- <col ref="rsrvno" visibility="hidden"/>
- <col ref="psptno" visibility="hidden"/>
- <col ref="rrgstno" visibility="hidden" format="999999-9******"/>
- <col ref="orddd" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="sendflag" type="combo" visibility="hidden">
- <choices>
- <itemset nodeset="/root/init/baseinfo/sendflag/A0483">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="printyn" visibility="hidden"/>
- <col ref="subclass" visibility="hidden"/>
- <col ref="reqtests" visibility="hidden"/>
- <col ref="rsltreqtests" visibility="hidden"/>
- <col ref="specoption" visibility="hidden"/>
- <col ref="signdr" visibility="hidden"/>
- <col ref="signdrdept" visibility="hidden"/>
- <col ref="signdrcd" visibility="hidden"/>
- </datagrid>
- <!--select id="checkbox1" ref="/root/tmp/item/26_sendvisalst" overflow="visible" appearance="full" style="left:1002px; top:2px; width:15px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- </choices>
- </select>
- <select id="checkbox2" overflow="visible" appearance="full" style="left:1052px; top:2px; width:15px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- </choices>
- </select>
- <select id="checkbox3" overflow="visible" appearance="full" style="left:1102px; top:2px; width:15px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- </choices>
- </select>
- <select id="checkbox4" overflow="visible" appearance="full" style="left:1152px; top:2px; width:15px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- </choices>
- </select-->
- </case>
- <case id="case_L" selected="true" style="left:0px; top:0px; width:1192px; height:640px; ">
- <line id="line2" class="line_1" style="x1:1px; y1:23px; x2:1185px; y2:23px; "/>
- <caption id="caption8" class="tit_2" style="left:6px; top:4px; width:95px; height:14px; ">발송완료정보</caption>
- <datagrid id="grd_sendcommit" nodeset="/root/main/sendvisalst/item2" visibility="visible" autoresize="false" caption="선택^신검일자^발송일자^등록번호^비자연번^한글이름^영문이름^성별^나이^패키지명^발송지^26^160^x-ray^Other^TRN or File No^비고^Courier Cmpy^Courier traching number^Number of other^전달사항^brthdd^건진구분^건진상세구분^패키지코드^예약일자^예약번호^여권번호^주민번호^orddd^instcd^sendflag^printyn^subclass^reqtests^rsltreqtests^specoption^signdr^signdrdept^signdrcd^signdrdeptcd^예약번호|선택^신검일자^발송일자^등록번호^비자연번^한글이름^영문이름^성별^나이^패키지명^발송지^26^160^x-ray^Other^TRN or File No^비고^Courier Cmpy^Courier traching number^Number of other^전달사항^brthdd^건진구분^건진상세구분^패키지코드^예약일자^예약번호^여권번호^주민번호^orddd^instcd^sendflag^printyn^subclass^reqtests^rsltreqtests^specoption^signdr^signdrdept^signdrcd^signdrdeptcd^예약번호" colwidth="39, 80, 80, 80, 80, 80, 100, 50, 50, 150, 100, 50, 50, 50, 50, 90, 90, 90, 120, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycol" rowheader="update" rowsep="|" colsep="^" style="left:3px; top:23px; width:1181px; height:604px; ">
- <col ref="sel" type="checkbox" checkvalue="Y,N"/>
- <col ref="hopedd" format="yyyy-mm-dd"/>
- <col ref="senddd" type="input" format="yyyy-mm-dd"/>
- <col ref="pid"/>
- <col ref="visano"/>
- <col ref="hngnm"/>
- <col ref="engnm"/>
- <col ref="sex"/>
- <col ref="age"/>
- <col ref="pkgnm"/>
- <col ref="sendaddrflag" type="combo">
- <choices>
- <!--<itemset nodeset="/root/init/baseinfo/sendaddressflag/S070">-->
- <itemset nodeset="/root/init/baseinfo/sendflag/A0483">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="etcuse26" type="checkbox" checkvalue="Y,N"/>
- <col ref="etcuse160" type="checkbox" checkvalue="Y,N"/>
- <col ref="etcusexray" type="checkbox" checkvalue="Y,N"/>
- <col ref="etcuseother" type="checkbox" checkvalue="Y,N"/>
- <col ref="trnfileno" type="input"/>
- <col ref="remarks" type="input"/>
- <col ref="courcmpy" type="input"/>
- <col ref="courtracno" type="input"/>
- <col ref="labrslt" type="input"/>
- <col ref="remcnts"/>
- <col ref="brthdd" visibility="hidden"/>
- <col ref="healexamflag" visibility="hidden"/>
- <col ref="healexamdetlflag" visibility="hidden"/>
- <col ref="pkgcd" visibility="hidden"/>
- <col ref="rsrvdd" visibility="hidden"/>
- <col ref="rsrvno" visibility="hidden"/>
- <col ref="psptno" visibility="hidden"/>
- <col ref="rrgstno" visibility="hidden" format="999999-9******"/>
- <col ref="orddd" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="sendflag" type="combo" visibility="hidden">
- <choices>
- <itemset nodeset="/root/init/baseinfo/sendflag/A0483">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="printyn" visibility="hidden"/>
- <col ref="subclass" visibility="hidden"/>
- <col ref="reqtests" visibility="hidden"/>
- <col ref="rsltreqtests" visibility="hidden"/>
- <col ref="specoption" visibility="hidden"/>
- <col ref="signdr" visibility="hidden"/>
- <col ref="signdrdept" visibility="hidden"/>
- <col ref="signdrcd" visibility="hidden"/>
- </datagrid>
- </case>
- <case id="case_A" style="left:0px; top:0px; width:1192px; height:640px; ">
- <caption id="caption4" class="tit_2" style="left:6px; top:4px; width:144px; height:13px; ">발송 대상/완료 정보</caption>
- <line id="line3" class="line_1" style="x1:1px; y1:18px; x2:1185px; y2:18px; "/>
- <input id="input1" ref="/root/send/batchset/senddd" class="input_essential" inputtype="date" style="left:90px; top:35px; width:108px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
-
- ]]>
- </script>
- </input>
- <select1 id="radio1" ref="/root/send/batchset/sendyn" overflow="visible" appearance="full" rows="1" cols="2" style="left:287px; top:30px; width:63px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- ]]>
- </script>
- </select1>
- <caption id="caption9" class="cell_1" style="left:6px; top:28px; width:81px; height:23px; vertical-align:middle; ">발송일자</caption>
- <caption id="caption11" class="cell_1" style="left:201px; top:28px; width:81px; height:23px; vertical-align:middle; ">발송처리Y/N</caption>
- <select1 id="radio2" ref="/root/send/batchset/sendaddrflag" overflow="visible" appearance="full" rows="1" cols="6" style="left:438px; top:30px; width:483px; height:20px; border-style:none; ">
- <choices>
- <!--<itemset nodeset="/root/init/baseinfo/addcdlst/S070">-->
- <itemset nodeset="/root/init/baseinfo/addcdlst/A0483">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <datagrid id="grd_sendall" nodeset="/root/main/sendvisalst/item3" visibility="visible" autoresize="false" caption="신검일자^발송여부^등록번호^비자연번^한글이름^영문이름^성별^나이^패키지명^발송지^발송일자^비고^패키지코드^건진구분^건진상세구분^예약일자^예약번호^주민번호^기관코드^26^160^x-ray^other^TRN or File No^Courier Cmpy^Courier traching number^Number of other^brthdd|신검일자^발송여부^등록번호^비자연번^한글이름^영문이름^성별^나이^패키지명^발송지^발송일자^비고^패키지코드^건진구분^건진상세구분^예약일자^예약번호^주민번호^기관코드^26^160^x-ray^other^TRN or File No^Courier Cmpy^Courier traching number^Number of other^brthdd" colwidth="80, 34, 70, 75, 82, 100, 50, 40, 180, 100, 80, 270, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycol" rowheader="update" rowsep="|" colsep="^" style="left:0px; top:22px; width:1186px; height:606px; ">
- <col ref="hopedd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="sendyn" type="checkbox" checkvalue="Y,N" disabled="true"/>
- <col ref="pid" style="left:134px; top:23px; width:70px; height:23px; "/>
- <col ref="visano"/>
- <col ref="hngnm"/>
- <col ref="engnm"/>
- <col ref="sex"/>
- <col ref="age" style="text-align:center; "/>
- <col ref="pkgnm"/>
- <col ref="sendaddrflag" type="combo" disabled="true">
- <choices>
- <!--<itemset nodeset="/root/init/baseinfo/sendaddressflag/S070">-->
- <itemset nodeset="/root/init/baseinfo/sendflag/A0483">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="senddd" format="yyyy-mm-dd"/>
- <col ref="remarks"/>
- <col ref="pkgcd" visibility="hidden"/>
- <col ref="healexamflag" visibility="hidden"/>
- <col ref="healexamdetlflag" visibility="hidden"/>
- <col ref="rsrvdd" visibility="hidden"/>
- <col ref="rsrvno" visibility="hidden"/>
- <col ref="rrgstno" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="etcuse26" type="checkbox" checkvalue="Y,N" visibility="hidden"/>
- <col ref="etcuse160" type="checkbox" checkvalue="Y,N" visibility="hidden"/>
- <col ref="etcusexray" type="checkbox" checkvalue="Y,N" visibility="hidden"/>
- <col ref="etcuseother" type="checkbox" checkvalue="Y,N" visibility="hidden"/>
- <col ref="trnfileno" visibility="hidden"/>
- <col ref="courcmpy" visibility="hidden"/>
- <col ref="courtracno" visibility="hidden"/>
- <col ref="labrslt" visibility="hidden"/>
- <col ref="brthdd" visibility="hidden"/>
- </datagrid>
- </case>
- </switch>
- <button id="btn_case_t" class="btn_sw" group="tab" selected="true" style="left:74px; top:49px; width:69px; height:22px; ">
- <caption>발송대상</caption>
- <toggle case="case_T" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rdo_visaflag.value='V';
- btn_save.attribute("visibility") = "visible";
- fValChange();
- ]]>
- </script>
- </button>
- <button id="btn_case_l" class="btn_sw" group="tab" style="left:143px; top:49px; width:69px; height:22px; ">
- <caption>발송완료</caption>
- <toggle case="case_L" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rdo_visaflag.value='R';
- btn_save.attribute("visibility") = "visible";
- fValChange();
- ]]>
- </script>
- </button>
- <group id="grp_letter" visibility="hidden" style="left:5px; top:275px; width:1170px; height:373px; ">
- <caption id="caption13" class="cell_1" style="left:0px; top:48px; width:95px; height:45px; vertical-align:middle; ">Required tests</caption>
- <caption id="caption14" class="cell_1" style="left:0px; top:97px; width:95px; height:75px; vertical-align:middle; ">Result of required tests</caption>
- <caption id="caption16" class="tit_2" style="left:0px; top:0px; width:104px; height:13px; ">비자레터 정보</caption>
- <caption id="caption18" class="cell_1" style="left:0px; top:176px; width:95px; height:85px; vertical-align:middle; ">Specialist Opnion</caption>
- <caption id="caption20" class="cell_1" style="left:0px; top:15px; width:95px; height:30px; vertical-align:middle; ">서브클래스</caption>
- <textarea id="tar_resultoftest" ref="/root/main/letterlist/item3/resultoftest" style="left:98px; top:98px; width:1069px; height:77px; "/>
- <textarea id="tar_specialoption" ref="/root/main/letterlist/item3/specialoption" style="left:98px; top:176px; width:1069px; height:86px; "/>
- <textarea id="tar_requiretest" ref="/root/main/letterlist/item3/requiretest" style="left:98px; top:50px; width:1069px; height:45px; "/>
- <textarea id="tar_subclass" ref="/root/main/letterlist/item3/subclass" style="left:98px; top:15px; width:1069px; height:30px; "/>
- <select1 id="cmb_doctordeptlst" ref="/root/main/letterlist/item3/letterdoctordept" class="combo_default" appearance="minimal" style="left:101px; top:320px; width:269px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/doctordeptlst/A0485">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption21" class="cell_1" style="left:4px; top:284px; width:60px; height:20px; vertical-align:middle; ">서명의사</caption>
- <caption id="caption22" class="cell_1" style="left:10px; top:320px; width:84px; height:20px; vertical-align:middle; ">서명의사부서</caption>
- <select1 id="cmb_doctorlst" ref="/root/main/letterlist/item3/letterdoctor" class="combo_default" appearance="minimal" style="left:69px; top:284px; width:446px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/doctorlst/A0484">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <textarea id="textarea1" ref="/root/main/letterlist/item3/resultoftest" style="left:98px; top:98px; width:1069px; height:77px; "/>
- </group>
- <button id="btn_grdsize" class="btn2_letter3" visibility="hidden" style="left:1110px; top:50px; width:53px; height:19px; ">
- <caption>펼치기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( btn_grdsize.attribute("text") == "펼치기"){
- grp_letter.visible=false;
-
-
-
- btn_grdsize.attribute("text") = "줄이기";
-
- swt_send.attribute("height") = parseInt(swt_send.attribute("height")) + parseInt(grp_letter.attribute("height") );
- grd_sendvisalst.attribute("height") = parseInt(grd_sendvisalst.attribute("height")) + parseInt(grp_letter.attribute("height")) ;
- grd_sendcommit.attribute("height") = parseInt(grd_sendcommit.attribute("height")) + parseInt(grp_letter.attribute("height")) ;
- //grd_cncllst.attribute("width") = parseInt(grd_cncllst.attribute("width")) + parseInt(swt_visa.attribute("width")) ;
-
-
-
-
-
-
- // swt_acptlst.attribute("width") = parseInt(swt_acptlst.attribute("width")) + parseInt(swt_visa.attribute("width") ) ;
- // grd_acptlst.attribute("width") = parseInt(grd_acptlst.attribute("width")) + parseInt(swt_visa.attribute("width") ) ;
- // grd_rsrvlst.attribute("width") = parseInt(grd_rsrvlst.attribute("width")) + parseInt(swt_visa.attribute("width") ) ;
- // grd_cncllst.attribute("width") = parseInt(grd_cncllst.attribute("width")) + parseInt(swt_visa.attribute("width") ) ;
-
- }
- else {
-
- btn_grdsize.attribute("text") ="펼치기";
-
- swt_send.attribute("height") = parseInt(swt_send.attribute("height"))-parseInt(grp_letter.attribute("height") );
- grd_sendvisalst.attribute("height") = parseInt(grd_sendvisalst.attribute("height")) - parseInt(grp_letter.attribute("height")) ;
- grd_sendcommit.attribute("height") = parseInt(grd_sendcommit.attribute("height")) - parseInt(grp_letter.attribute("height")) ;
- grp_letter.visible=false;
- }
-
- ]]>
- </script>
- </button>
- <select1 id="rdo_visaflag" ref="/root/main/sendresultflag" visibility="hidden" overflow="visible" appearance="full" rows="1" cols="4" style="left:225px; top:53px; width:265px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>발송조회</label>
- <value>V</value>
- </item>
- <item>
- <label>발송완료조회</label>
- <value>R</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fValChange();
-
- ]]>
- </script>
- </select1>
- <button id="button2" class="btn_sw" group="tab" selected="true" style="left:5px; top:49px; width:69px; height:22px; ">
- <caption>전체</caption>
- <toggle case="case_A" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rdo_visaflag.value='A';
- btn_save.attribute("visibility") = "hidden";
- fValChange();
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_btn" style="left:0px; top:726px; width:1195px; height:39px; ">
- <button id="button9" class="btn4_letter2" visibility="hidden" style="left:1138px; top:5px; width:56px; height:22px; ">
- <caption>취소</caption>
- </button>
- <button id="btn_save" class="btn4_letter2" visibility="hidden" style="left:1135px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //발송 조회 저장이라면
- if(model.getValue("/root/main/sendresultflag")=='V'){
- fSaveVisaList();
- btn_search.dispatch("DOMActivate");
- }
- //발송 완료자 조회라면
- else if(model.getValue("/root/main/sendresultflag")=="R"){
- fSaveCommitList();
- btn_search.dispatch("DOMActivate");
- }else if(model.getValue("/root/main/sendresultflag")=="A"){
- return;
- }
-
-
- ]]>
- </script>
- </button>
- <button id="btn_normal_print" class="btn6_letter4" style="left:7px; top:5px; width:80px; height:22px; ">
- <caption>일반출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fNormalPrint();
- ]]>
- </script>
- </button>
- <select1 id="cmb_sendflags" ref="/root/send/sendflags" navindex="3" class="combo_search" appearance="minimal" style="left:95px; top:5px; width:124px; height:19px; ">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>비자레터</label>
- <value>D</value>
- </item>
- <!--<item>
- <label>기타해외 CERTIFICATE</label>
- <value>E</value>
- </item>-->
- <item>
- <label>X-Ray CERTIFICATE</label>
- <value>F</value>
- </item>
- <!--<item>
- <label>필리핀 CERTIFICATE</label>
- <value>G</value>
- </item>-->
- </choices>
- </select1>
- </group>
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption23" class="tit_1" style="left:0px; top:0px; width:106px; height:14px; ">발송관리</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|