1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390 |
- <?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>
- <sendcdlst>
- <item>
- <sel/>
- <sendflag/>
- <sendyn/>
- <senddd/>
- <sendaddrflag/>
- <pid/>
- <hngnm/>
- <rrgstno/>
- <mpphontel/>
- <detladdr/>
- <cmpycd/>
- <statflag/>
- <hopedd/>
- <judgdd/>
- <remcnts/>
- <prtyn/>
- <healexamflag/>
- <instcd/>
- <orddd/>
- <rsrvno/>
- <rsrvdd/>
- <address/>
- <zipcode/>
- <sexage/>
- <testcd/>
- </item>
- <item2>
- <sel/>
- <sendflag/>
- <sendyn/>
- <senddd/>
- <pid/>
- <hngnm/>
- <rrgstno/>
- <cmpycd/>
- <statflag/>
- <hopedd/>
- <judgdd/>
- <mpphontel/>
- <detladdr/>
- <remcnts/>
- <prtyn/>
- <rsrvno/>
- <healexamflag/>
- <instcd/>
- <sendaddrflag/>
- <rsrvdd/>
- <address/>
- </item2>
- <item3>
- <sel/>
- <sendflag/>
- <sendyn/>
- <senddd/>
- <pid/>
- <hngnm/>
- <rrgstno/>
- <cmpycd/>
- <statflag/>
- <hopedd/>
- <judgdd/>
- <remcnts/>
- <prtyn/>
- <rsrvno/>
- <healexamflag/>
- <instcd/>
- <sendaddrflag/>
- <rsrvdd/>
- <detladdr/>
- <address/>
- </item3>
- </sendcdlst>
- <sendvisalst>
- <item>
- <sel/>
- <sendflag/>
- <printyn/>
- <senddd/>
- <sendaddressflag/>
- <pid/>
- <visano/>
- <engnm/>
- <rrgstno/>
- <engaddress/>
- <orddd/>
- <healexamflag/>
- <instcd/>
- <healexamdetlflag/>
- <subclass/>
- <requiretest/>
- <resultoftest/>
- <specialoption/>
- <letterdoctor/>
- <letterdoctordept/>
- <letterdoctorsign/>
- </item>
- <srchyn>V</srchyn>
- </sendvisalst>
- <seqprntdata>
- <labelname>
- <list>
- <pid/>
- <hngnm/>
- <sexage/>
- <orddd/>
- </list>
- </labelname>
- </seqprntdata>
- </main>
- <send>
- <srchdatelist/>
- <srcsendflag/>
- <sendfrdd/>
- <sendtodd/>
- <rsvfrdd/>
- <rsvtodd/>
- <healexampid/>
- <shrchealexamflag/>
- <rsltcnstflag/>
- <ipt_pnm/>
- <statflag/>
- <srchhealexamdetlflag/>
- <req>
- <savesend/>
- <sendcd/>
- <sendflag/>
- <healexampid/>
- </req>
- <batchset>
- <senddd/>
- <sendaddrflag>1</sendaddrflag>
- <sendyn/>
- </batchset>
- <save>
- <senddata/>
- <updata/>
- <senddata2/>
- <updata2/>
- </save>
- <srchvisa>
- <req>
- <sendflag/>
- <instcd/>
- <healexamflag/>
- <healexamdetlflag/>
- <fromdd/>
- <todd/>
- <pid/>
- </req>
- </srchvisa>
- <healexamflag/>
- <srchvisa2>
- <req>
- <sendflag/>
- <instcd/>
- <healexamflag/>
- <healexamdetlflag/>
- <fromdd/>
- <todd/>
- <pid/>
- <subclass/>
- <requiretest/>
- <resultoftest/>
- <specialoption/>
- <letterdoctor/>
- <letterdoctordept/>
- <letterdoctorsign/>
- </req>
- </srchvisa2>
- <visadata>
- <insdata>
- <item>
- <sel/>
- <sendflag/>
- <printyn/>
- <senddd/>
- <sendaddressflag/>
- <pid/>
- <visano/>
- <engnm/>
- <rrgstno/>
- <engaddress/>
- <orddd/>
- <healexamflag/>
- <instcd/>
- <healexamdetlflag/>
- <subclass/>
- <requiretest/>
- <resultoftest/>
- <specialoption/>
- <letterdoctor/>
- <letterdoctordept/>
- <letterdoctorsign/>
- </item>
- </insdata>
- </visadata>
- <brthareacnts/>
- <save2>
- <senddata/>
- <updata/>
- </save2>
- <printformat>01</printformat>
- <srchhealexamplacecd/>
- </send>
- <init>
- <baseinfo>
- <sendflag>
- <A0121>
- <cdid/>
- <cdnm/>
- </A0121>
- </sendflag>
- <rsltcnstflaglst>
- <S080>
- <cdid/>
- <cdnm/>
- </S080>
- </rsltcnstflaglst>
- <healexamdetlflag>
- <A0070>
- <cdid/>
- <cdnm/>
- </A0070>
- </healexamdetlflag>
- <doctorlst>
- <A0484>
- <cdid/>
- <cdnm/>
- </A0484>
- </doctorlst>
- <doctordeptlst>
- <A0485>
- <cdid/>
- <cdnm/>
- </A0485>
- </doctordeptlst>
- <sendaddressflag>
- <A0468>
- <cdid/>
- <cdnm/>
- </A0468>
- </sendaddressflag>
- <nationlst>
- <A0465>
- <cdid/>
- <cdnm/>
- </A0465>
- </nationlst>
- <statlst>
- <A0107>
- <cdid/>
- <cdnm/>
- </A0107>
- </statlst>
- <chealexamdetlflag/>
- <healexamplacelst>
- <S600/>
- </healexamplacelst>
- </baseinfo>
- </init>
- <hidden>
- <popupmenu>
- <grid>
- <item>
- <name>선택</name>
- <func>fCheck</func>
- </item>
- <item>
- <name>선택취소</name>
- <func>fUnCheck</func>
- </item>
- </grid>
- </popupmenu>
- </hidden>
- <hidden2/>
- </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/healexamweb/js/AHA001.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"/>
- <submission id="TRAHA00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/sendcdlst"/>
- <submission id="TXAHA00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/hidden"/>
- <submission id="TRZBC00101"/>
- <submission id="TRAHA00002"/>
- <submission id="TRAHA00001"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- var sFlag = getScreenMenuParameter();
-
- if(sFlag == "") {
- vHealexamflag = "C";
- vHealexamdetlflag = "C01";
- }else {
- vHealexamflag = sFlag.substr(0,1);
- vHealexamdetlflag = sFlag;
- }
-
- model.removeNodeset("/root/init/baseinfo/sendflag/A0121");
- model.removeNodeset("/root/init/baseinfo/statlst/A0107");
- model.removeNodeset("/root/init/baseinfo/rsltcnstflag/A0123");
- 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/A0468");
- model.removeNodeset("/root/init/baseinfo/rsltcnstflaglst/S080");
- //나중에 바뀌어야 할 사항
- combo1.value = "01 02 03 04";
- checkbox1.value = "A B C D E F G H I";
- // 건진 구분 셋팅
- model.setValue("/root/send/shrchealexamflag", vHealexamflag);
- model.setValue("/root/send/srchhealexamdetlflag", vHealexamdetlflag);
- // submit 방식 모든 공통코드 전체항목이 조회 됨
- healGetCodeListSubmit( new Array("S080")
- , new Array("/root/init/baseinfo/rsltcnstflaglst"), false);
- model.removenode("/root/init/baseinfo/rsltcnstflaglst/S080[1]");
- // cdnm,cdid,cdgrupid,cmt
-
- healGetCodeList( new Array("S600")
- , new Array("/root/init/baseinfo/healexamplacelst") );
-
- zbcfGetCodeList( new Array("A0121","A0123" ,"A0069","A0070","A0484","A0485","A0468","A0465","A0107"),
- new Array("/root/init/baseinfo/sendflag"
- ,"/root/init/baseinfo/rsltcnstflag"
- ,"/root/init/baseinfo/healexamdetlflag"
- ,"/root/init/baseinfo/chealexamdetlflag"
- ,"/root/init/baseinfo/doctorlst"
- ,"/root/init/baseinfo/doctordeptlst"
- ,"/root/init/baseinfo/sendaddressflag"
- ,"/root/init/baseinfo/nationlst"
- ,"/root/init/baseinfo/statlst") );
- //copyNodesetType("/root/init/baseinfo/healexamdetlflag/A0070","/root/init/baseinfo/chealexamdetlflag/A0069","after");
- model.refresh();
-
- fInitCtrl(true);
- if(vHealexamflag == 'C'){
- cmb_sendflag.select(0);
- cmb_healexamflag.disabled=false;
- caption5.visible=true;
- combo1.visible=true;
- caption19.visible=false; //국가구분 레이블
- cmb_brthareacnts.visible=false;//국가구분
- }
- if(vHealexamflag == 'G'){
- cmb_sendflag.select(0);
- cmb_healexamflag.disabled=false;
- caption5.visible=true;
- combo1.visible=true;
- caption19.visible=false; //국가구분 레이블
- cmb_brthareacnts.visible=false;//국가구분
- }
-
- // 수정추가 20100712 JHP 선택컬럼에 전체선택 체크박스 추가
- // 그리드 의 0번째 row, 1번째 필드dp 체크박스 셋팅!
- grd_send.fixedcellcheckbox(0,1) = true;
-
- model.removenode("/root/init/baseinfo/healexamdetlflag/A0070[0]");
- model.refresh();
- ]]>
- </script>
- <submission id="TRAHA00803" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save/senddata" resultref="/root/tmp"/>
- <submission id="TRAHA00804" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save/senddata" resultref="/root/tmp"/>
- <submission id="TRAHA00805" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save/senddata" resultref="/root/tmp"/>
- <submission id="TRAHA00611" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchvisa/req" replace="instance" resultref="/root/main/sendvisalst/item"/>
- <submission id="TRAHA00612" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchvisa2/req" replace="instance" resultref="/root/main/sendvisalst/item"/>
- <submission id="TRAHA00613" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/visadata/insdata/item" replace="instance" resultref="/root/hidden"/>
- <submission id="TRAHA00614" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save/updata" replace="instance" resultref="/root/tmp"/>
- </model>
- <script type="javascript">
- <![CDATA[
- var vHealexamflag = "";
- var vHealexamdetlflag = "";
- function fGetSendList()
- {
- if(combo1.value == "")
- {
- messageBox("결과상담구분을 하나이상 선택하셔야 합니다.", "E999");
- return false;
- }
-
- if(checkbox1.value == "")
- {
- messageBox("상태구분을 하나이상 선택하셔야 합니다.", "E999");
- return false;
- }
-
- model.setValue("/root/send/shrchealexamflag",vHealexamflag);
- var ret = submit("TRAHA00801");
- return ret ;
- }
-
-
- function fInitCtrl(bAll){
- if( bAll == true ){
- var curDt = getCurrentDate();
- model.setValue(ipt_rsvfrdd.attribute("ref") , curDt);
- model.setValue(ipt_rsvtodd.attribute("ref") , curDt);
- model.setValue(ipt_senddd.attribute("ref") , curDt);
- cmb_datelist.visible = false;
- }
- var vHealExamDetlFg = fGetHealExamDetlFlag();
- if( vHealExamDetlFg == 'C01' ){
- cmb_placeflag.value='S';
- } else if (vHealExamDetlFg == 'C03') {
- cmb_placeflag.value='K';
- }
- model.toggle("case_T");
- btn_case_t.dispatch("DOMActivate");
- }
-
- /**********************************************************************************
- *************************비자건진 선택시 컨트롤 히든을 풀고 아니면 히든**************
- **********************************************************************************/
- // function fSetHidden(){
- // if(cmb_healexamflag.value=='G02'){
- // btn_au.visible=true;
- // btn_visa_list.visible=true;
- // btn_seoul.visible=true;
- // btn_case_v.visible=true;
- // btn_case_l.visible=false;
- // btn_case_t.visible=false;
- //
- // btn_case_v.selected=true;
- // btn_case_l.selected=false;
- // btn_case_t.selected=false;
- // btn_SaveLett.visible=true;
- //
- // caption5.visible=false;
- // combo1.visible=false;
- // caption19.visible=true; //국가구분 레이블
- // cmb_brthareacnts.visible=true;//국가구분
- // model.toggle("case_V");
- //
- //
- // }
- // else{
- // btn_au.visible=false;
- // btn_visa_list.visible=false;
- // btn_seoul.visible=false;
- // btn_case_v.visible=false;
- // btn_case_l.visible=true;
- // btn_case_t.visible=true;
- //
- // btn_case_v.selected=false;
- // btn_case_t.selected=true;
- // btn_SaveLett.visible=false;
- //
- // caption5.visible=false;
- // combo1.visible=false;
- // caption19.visible=true; //국가구분 레이블
- // cmb_brthareacnts.visible=true;//국가구분
- // model.toggle("case_T");
- // }
- // }
-
- /***************************************************************
- ****************비자건진 조회 함수*******************************
- **************************************************************/
- function fGetVisaList(){
-
- //건진구분이 읍을시와 일검이 아닐때 리턴
- if(vHealexamflag=="" || vHealexamflag!='G')
- return;
-
- //기관코드가 읍을시에 리턴
- if(getUserInfo("dutplceinstcd")=="")
- return;
-
- //건진 상세구분이 비자 건진이 아닐시에
- if(cmb_healexamflag.value!="G02")
- return;
-
- if(model.getValue("/root/main/sendvisalst/srchyn")=='')
- return;
-
- //발송조회라면 "V"
- if(model.getValue("/root/main/sendvisalst/srchyn")=='V'){
- model.setValue("/root/send/srchvisa/req/instcd",getUserInfo("dutplceinstcd"));
- model.setValue("/root/send/srchvisa/req/healexamflag",vHealexamflag);
- model.setValue("/root/send/srchvisa/req/healexamdetlflag",cmb_healexamflag.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);
- submit("TRAHA00611");
- }
-
-
- //발송 완료조회라면 "R"
- else if(model.getValue("/root/main/sendvisalst/srchyn")=='R'){
- if(cmb_sendflag.value=="" || cmb_sendflag.value=="01" || cmb_sendflag.value=="02" || cmb_sendflag.value=="03" || cmb_sendflag.value=="04")
- return;
- 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_healexamflag.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);
- submit("TRAHA00612");
- }
-
- }
-
- /*************************************************************************************************
- ******************** 비자건진 조회된자중 선택한 자만 발송 조회 완료로 됨********************
- *************************************************************************************************/
- function fSaveVisaList(){
- if(rdo_visaflag.value=="R"){
- messageBox("발송조회를","C001");
- return;
- }
- var vgrd_rows=grd_sendvisalst.rows;
- var j=1;
-
- //i가 2부터인것은 로우 두개를 이용해 검색을 했으므로
- for(i = 2; i<= vgrd_rows-1 ;i++){
- if(model.getValue("/root/main/sendvisalst/item["+i+"]/sel")=="Y"){
- /*
- if(grd_sendvisalst.valueMatrix(i,2)==""){
- messageBox("발송구분을 ","C001");
- return;
- }
- //발송일자가 없을 경우
- if(grd_sendvisalst.valueMatrix(i,3)==""){
- messageBox("발송일자를 ","C001");
- return;
- }
- //발송지가 없을 경우
- if(grd_sendvisalst.valueMatrix(i,4)==""){
- messageBox("발송지를 ","C001");
- return;
- }
- //등록번호가 없을 경우
- if(grd_sendvisalst.valueMatrix(i,5)==""){
- messageBox("등록번호를 ","C001");
- return;
- }
- //비자연번이 없을 경우
- if(grd_sendvisalst.valueMatrix(i,6)==""){
- messageBox("등록번호를 ","C001");
- return;
- }
- */
-
-
- //인스턴스 저장
- //for(i = 0 ; i<= vgrd_rows ;i++){
- //if(model.getValue("/root/main/sendvisalst/item["+i+"]/sel")=="Y"){
- alert(model.getValue("/root/main/sendvisalst/item["+i+"]/sendflag"));
- model.setValue("/root/send/visadata/insdata/item["+j+"]/sel",model.getValue("/root/main/sendvisalst/item["+i+"]/sel"));
- model.setValue("/root/send/visadata/insdata/item["+j+"]/sendflag",model.getValue("/root/main/sendvisalst/item["+i+"]/sendflag"));
- model.setValue("/root/send/visadata/insdata/item["+j+"]/printyn",model.getValue("/root/main/sendvisalst/item["+i+"]/printyn"));
- model.setValue("/root/send/visadata/insdata/item["+j+"]/senddd",getRemoveFormatter(model.getValue("/root/main/sendvisalst/item["+i+"]/senddd")));
- model.setValue("/root/send/visadata/insdata/item["+j+"]/sendaddressflag",model.getValue("/root/main/sendvisalst/item["+i+"]/sendaddressflag"));
- model.setValue("/root/send/visadata/insdata/item["+j+"]/pid",model.getValue("/root/main/sendvisalst/item["+i+"]/pid"));
- model.setValue("/root/send/visadata/insdata/item["+j+"]/visano",model.getValue("/root/main/sendvisalst/item["+i+"]/visano"));
- model.setValue("/root/send/visadata/insdata/item["+j+"]/engnm",model.getValue("/root/main/sendvisalst/item["+i+"]/engnm"));
- model.setValue("/root/send/visadata/insdata/item["+j+"]/rrgstno",model.getValue("/root/main/sendvisalst/item["+i+"]/rrgstno"));
- model.setValue("/root/send/visadata/insdata/item["+j+"]/engaddress",model.getValue("/root/main/sendvisalst/item["+i+"]/engaddress"));
- model.setValue("/root/send/visadata/insdata/item["+j+"]/orddd",getRemoveFormatter(model.getValue("/root/main/sendvisalst/item["+i+"]/orddd")));
- model.setValue("/root/send/visadata/insdata/item["+j+"]/healexamflag",fGetHealExamFlag());
- model.setValue("/root/send/visadata/insdata/item["+j+"]/instcd",getUserInfo("dutplceinstcd"));
- model.setValue("/root/send/visadata/insdata/item["+j+"]/healexamdetlflag",cmb_healexamflag.value);
- j++;
- }//if문
- }//for문
- //model.refresh();
- submit("TRAHA00613");
-
- }
-
- function fSaveReSendList()
- {
- var ret = false ;
- if( messageBox("재발송대상정보를","Q002")==6 ){
- /* model.setValue("/root/send/req/savesend", grd_send.getUpdateData() ) ;
-
- //발송대상
- var idx = grd_send.row;
- if( idx < 0) return ;
- var vSendFlag = model.getValue("/root/send/srcsendlflag");
- alert(vSendFlag);
- model.setValue("/root/send/req/sendflag" , vSendFlag);
-
- //ret = submit("TXAHB00301");
- ret = submit("TXAHA00801");*/
-
- var vSendDD = model.getValue("/root/send/batchset/senddd");
- var vSendAddrFlag = model.getValue("/root/send/batchset/sendaddrflag");
- var cnt = grd_return.rows ;
- var sendChk = "1";
- for(i = 0 ; i<= cnt ;i++){
- if(grd_return.valueMatrix(i , grd_return.colRef("sel"))=="Y"){
- grd_return.rowStatus(i) = 2;
- sendChk = "2";
- }
- }
- if(sendChk=="1"){
- messageBox("등록할인원을", "C001");
- return;
- }else{
- model.setValue("/root/send/save/senddata", getGridUpdateData(grd_return));
- ret = submit("TRAHA00805");
- }
- }
- return ret ;
- }
-
-
- /* 예약 안내문을경우 희망을자를 조회
- * 결과발송일경우 내원상담일자를 조회
- */
- function fSaveSendList(){
- var ret = false ;
- if(messageBox("발송대상정보를","Q002") == 6 ){
- /*
- model.setValue("/root/send/req/savesend", grd_send.getUpdateData() ) ;
- //발송대상
- var idx = grd_send.row;
- if( idx < 0) return ;
- var vSendFlag = model.getValue("/root/send/srcsendlflag");
- alert(vSendFlag);
- model.setValue("/root/send/req/sendflag" , vSendFlag);
- //ret = submit("TXAHB00301");
- ret = submit("TXAHA00801");
- */
- var vSendDD = model.getValue("/root/send/batchset/senddd");
- var vSendAddrFlag = model.getValue("/root/send/batchset/sendaddrflag");
- var cnt = grd_send.rows;
- var sendChk = "1";
- for(i = 0 ; i<= cnt ;i++){
- if(grd_send.valueMatrix(i , grd_send.colRef("sel"))=="Y"){
- grd_send.rowStatus(i) = 2;
- grd_send.valueMatrix(i , grd_send.colRef("senddd")) = vSendDD;
- sendChk = "2";
- }
- }
-
- if(sendChk=="1"){
- messageBox("등록할인원을", "C001");
- return;
- }else{
- model.setValue("/root/send/save/senddata", getGridUpdateData(grd_send));
- ret = submit("TRAHA00803");
- }
- }
- return ret ;
- }
-
- function fSaveSendRetList(){
- var ret = false ;
- if( messageBox("반송대상정보를","Q002")==6 ){
- /* model.setValue("/root/send/req/savesend", grd_send.getUpdateData() ) ;
-
- //발송대상
- var idx = grd_send.row;
- if( idx < 0) return ;
- var vSendFlag = model.getValue("/root/send/srcsendlflag");
- alert(vSendFlag);
- model.setValue("/root/send/req/sendflag" , vSendFlag);
-
- //ret = submit("TXAHB00301");
- ret = submit("TXAHA00801");*/
-
- var vSendDD = model.getValue("/root/send/batchset/senddd");
- var vSendAddrFlag = model.getValue("/root/send/batchset/sendaddrflag");
- var cnt = datagrid1.rows;
- var sendChk = "1";
- for(i = 1 ; i<= cnt ;i++){
- if(datagrid1.valueMatrix(i , datagrid1.colRef("sel"))=="Y"){
- datagrid1.rowStatus(i) = 2;
- sendChk = "2";
- }
- }
- if(sendChk=="1"){
- messageBox("등록할인원을", "C001");
- return;
- }else{
- model.setValue("/root/send/save/senddata", getGridUpdateData(datagrid1));
- ret = submit("TRAHA00804");
- }
- }
- return ret ;
- }
-
- //일괄적용
- function fBatchSet()
- {
- var senddd = model.getValue("/root/send/batchset/senddd");
-
- if(model.getValue("/root/send/batchset/sendyn")=="Y"){
- var cnt = grd_send.rows;
- for (i=1;i<cnt-1;i++){
- model.setValue("/root/main/sendcdlst/item[" + i + "]/sel","Y");
- if(senddd!=""){
- model.setValue("/root/main/sendcdlst/item[" + i + "]/senddd",senddd);
- }
- model.setValue("/root/main/sendcdlst/item[" + i + "]/sendaddrflag" , model.getValue("/root/send/batchset/sendaddrflag"));
- }
- } else{
- var cnt = grd_send.rows;
- for (i=1;i<cnt-1;i++){
- model.setValue("/root/main/sendcdlst/item[" + i + "]/sel","N");
- }
- }
- model.refresh();
- }
- function fSaveCommitList(){
- //로우 스테이투스 검사
- var cnt = grd_sendvisalst.rows;
- var sendChk = "1";
- for(i = 0 ; i<= cnt ;i++){
- if(model.getValue("/root/main/sendvisalst/item["+i+"]/sel")=="Y"){
- grd_sendvisalst.rowStatus(i) = 2;
- sendChk = "2";
- }
- }
- if(sendChk=="1"){
- messageBox("등록할인원을", "C001");
- }else{
- model.setValue("/root/send/save/updata", grd_sendvisalst.getUpdateDataAll("u"));
-
- //로우 업데이트 할게 읍으면 메시지 보내주기^^
- //인스턴스 설정
-
- //서브및
- submit("TRAHA00614")
- }
- }
-
-
- /**********************************************************************************
- *****************비자건진 레터 정보 개인 한명 저장 하는 함수 업데이트 문밖에는 없다 **
- **********************************************************************************/
- function fGetSaveLett(){
- var vGrd_row=grd_sendvisalst.row;
- if(grd_sendvisalst.valueMatrix(vGrd_row,2)=="" ||
- grd_sendvisalst.valueMatrix(vGrd_row,4)=="" ||
- grd_sendvisalst.valueMatrix(vGrd_row,5)=="" ||
- grd_sendvisalst.valueMatrix(vGrd_row,6)=="" ||
- grd_sendvisalst.valueMatrix(vGrd_row,7)=="" ||
- grd_sendvisalst.valueMatrix(vGrd_row,11)=="")
- {
- messageBox("업데이트할 항목을","C001");
- return;
- }
- else{
- 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_healexamflag.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);
- }
- }
- /**=============================================================================================
- **라벨출력
- @author : 김다영
- @version : 2007-09-28
- *=============================================================================================*/
- function fGetLabelName(){
- var nodeList = null;
- if(case_T.selected == true) { //발송처리
- nodeList =instance1.selectNodes("/root/main/sendcdlst/item[sel='Y']");
- }else if(case_V.selected == true) { //반송처리
- nodeList = instance1.selectNodes("/root/main/sendcdlst/item3[sel='Y']");
- }else if(case_L.selected == true) { //발송내역
- nodeList = instance1.selectNodes("/root/main/sendcdlst/item2[sel='Y']");
- }
- var rCSV = getNodeListCSV(nodeList);
-
- model.makeNode("/root/main/seqprntdata/labelname/list/pid");
- model.makeNode("/root/main/seqprntdata/labelname/list/hngnm");
- model.makeNode("/root/main/seqprntdata/labelname/list/sexage");
- model.makeNode("/root/main/seqprntdata/labelname/list/hopedd");
-
- model.removeNodeset("/root/main/seqprntdata/labelname/list" );
- model.setValue("/root/main/seqprntdata/labelname", rCSV);
-
- var CSV = model.getValue("/root/main/seqprntdata/labelname");
- model.removeNodeset( "/root/main/seqprntdata/labelname" );
- model.makeNode("/root/main/seqprntdata/labelname");
- setCSVToNode("/root/main/seqprntdata/labelname", CSV);
-
- nodeList= null;
- nodeList= instance1.selectNodes("/root/main/seqprntdata/item");
- if((nodeList != null)||(nodeList.length >0 )){
- exeReportPreview("RPAHA00403", "XMLSTR" , "" , "" , "false" , "", "", "", "", "fasle");
- }
-
- }
-
- function fGetLabeladdr(){
- var nodeList = null;
- var vGrd = null;
- var printFormat = model.getValue("/root/send/printformat");
-
- if(case_T.selected == true) { //발송처리
- nodeList =instance1.selectNodes("/root/main/sendcdlst/item[sel='Y']");
- vGrd = grd_send;
- }else if(case_V.selected == true) { //반송처리
- nodeList = instance1.selectNodes("/root/main/sendcdlst/item3[sel='Y']");
- vGrd = grd_return;
- }else if(case_L.selected == true) { //발송내역
- nodeList = instance1.selectNodes("/root/main/sendcdlst/item2[sel='Y']");
- vGrd = datagrid1;
- }
-
- var rCSV = getNodeListCSV(nodeList);
- //alert(rCSV);
- model.makeNode("/root/main/seqprntdata/labelname/list/pid");
- model.makeNode("/root/main/seqprntdata/labelname/list/hngnm");
- model.makeNode("/root/main/seqprntdata/labelname/list/sexage");
- model.makeNode("/root/main/seqprntdata/labelname/list/orddd");
-
- model.removenode("/root/main/seqprntdata/labelname/list");
- model.setValue("/root/main/seqprntdata/labelname", rCSV);
- var CSV = model.getValue("/root/main/seqprntdata/labelname");
- model.removenode("/root/main/seqprntdata/labelname");
- model.makeNode("/root/main/seqprntdata/labelname");
- setCSVToNode("/root/main/seqprntdata/labelname", CSV);
- model.refresh();
- setParameter("reportprintyn", ""); //출력여부 확인하기
-
- nodeList= null;
- nodeList= instance1.selectNodes("/root/main/seqprntdata/item");
- if((nodeList != null)||(nodeList.length >0 )){
- if(printFormat == "01") {
- exeReportPreview("RPAHA00410", "XMLSTR" , "" , "" , "false" , "", "", "", "", "fasle");
- }else if(printFormat == "02") {
- exeReportPreview("RPAHA00411", "XMLSTR" , "" , "" , "false" , "", "", "", "", "fasle");
- }
- }
-
- if (getParameter("reportprintyn") == "Y"){ // 출력했으면..
-
- for(var i=1; i <= vGrd.rows; i++) {
- if(vGrd.valueMatrix( i , vGrd.colRef("sel")) == "Y" ) {
- vGrd.valueMatrix( i , vGrd.colRef("prtyn")) = "Y"
- }
- }
- }
- }
-
- // 팝업메뉴 선택 함수
- function fCheck(){
- var vGrd = null;
- if(case_T.selected == true) { //발송처리
- vGrd = grd_send;
- }else if(case_V.selected == true) { //반송처리
- vGrd = grd_return;
- }else if(case_L.selected == true) { //발송내역
- vGrd = datagrid1;
- }
-
- for( var i = 0 ; i <= vGrd.selectedRows ; i++){
- vGrd.valueMatrix(vGrd.selectedRow(i), vGrd.colRef("sel")) = "Y" ;
- }
- }
-
- //팝업메뉴 센택 취소 함수
- function fUnCheck(){
-
- var vGrd = null;
- if(case_T.selected == true) { //발송처리
- vGrd = grd_send;
- }else if(case_V.selected == true) { //반송처리
- vGrd = grd_return;
- }else if(case_L.selected == true) { //발송내역
- vGrd = datagrid1;
- }
-
- for( var i = 0 ; i <= vGrd.selectedRows ; i++){
- vGrd.valueMatrix(vGrd.selectedRow(i), vGrd.colRef("sel")) = "N" ; ;
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1191;2,783;2,757;2,757;1,1042;" 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:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:60px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1120px; top:15px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- fGetSendList();
-
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1100px; y1:5px; x2:1100px; y2:52px; "/>
- <button id="button5" class="icon_search" style="left:1020px; top:8px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSearchPatInfo("SMAHA00800", "pnm", model.getValue("/root/send/healexampid") , "N", "/root/send" ,ipt_healexampid.attribute("ref"), ipt_healexampnm.attribute("ref") );
- // if( model.getValue(ipt_healexampid.attribute("ref")) != "" )
- // fGetRsltPatList();
- ]]>
- </script>
- </button>
- <caption id="caption10" class="search_name" style="left:865px; top:10px; width:95px; height:17px; ">환자검색 :</caption>
- <select1 id="cmb_sendflag" ref="/root/send/srcsendflag" class="combo_search" appearance="minimal" style="left:97px; top:8px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/sendflag/A0121">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption7" class="search_name" style="left:5px; top:8px; width:91px; height:17px; ">발송구분 :</caption>
- <output id="ipt_healexampnm" ref="/root/send/ipt_pnm" class="output_fix" style="left:1040px; top:8px; width:50px; height:19px; "/>
- <input id="ipt_healexampid" ref="/root/send/healexampid" class="input_search" style="left:955px; top:8px; width:60px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- // if( event.keyCode != 13) return ;
- // fGetPatInfo2(2);
- ]]>
- </script>
- </input>
- <caption id="caption3" style="left:760px; top:8px; width:15px; height:20px; ">~</caption>
- <caption id="caption4" class="search_name" style="left:545px; top:8px; width:125px; height:17px; ">예약/건진일자 :</caption>
- <input id="ipt_rsvfrdd" ref="/root/send/rsvfrdd" class="input_s_essential" inputtype="date" style="left:665px; top:8px; width:90px; height:19px; "/>
- <input id="ipt_rsvtodd" ref="/root/send/rsvtodd" class="input_s_essential" inputtype="date" style="left:775px; top:8px; width:90px; height:19px; "/>
- <caption id="caption5" class="search_name" style="left:5px; top:35px; width:112px; height:17px; ">결과상담구분 :</caption>
- <caption id="caption31" class="search_name" style="left:475px; top:35px; width:97px; height:17px; ">상태구분 :</caption>
- <caption id="caption8" class="search_name" style="left:220px; top:8px; width:91px; height:17px; ">건진구분 :</caption>
- <select1 id="cmb_healexamflag" ref="/root/send/srchhealexamdetlflag" class="combo_search" disabled="true" appearance="minimal" style="left:315px; top:8px; width:94px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/healexamdetlflag/A0069">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- //fSetHidden();
- ]]>
- </script>
- </select1>
- <caption id="caption19" class="search_name" visibility="visible" style="left:5px; top:35px; width:112px; height:17px; ">국가구분 :</caption>
- <select id="combo1" ref="/root/send/rsltcnstflag" overflow="visible" appearance="full" cols="4" style="left:120px; top:35px; width:363px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/rsltcnstflaglst/S080">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select>
- <select id="checkbox1" ref="/root/send/statflag" overflow="visible" appearance="full" cols="9" style="left:565px; top:35px; width:505px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/statlst/A0107">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select>
- <select id="cmb_brthareacnts" ref="/root/send/brthareacnts" overflow="visible" appearance="full" cols="6" style="left:120px; top:34px; width:360px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/nationlst/A0465">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select>
- <caption id="caption12" class="search_name" style="left:415px; top:8px; width:91px; height:17px; ">장소 :</caption>
- <select1 id="cmb_placeflag" ref="/root/send/srchhealexamplacecd" class="combo_default" appearance="minimal" style="left:480px; top:8px; width:60px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/healexamplacelst/S600">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_datelist" ref="/root/send/srchdatelist" appearance="minimal" style="left:564px; top:8px; width:92px; height:19px; ">
- <choices>
- <item>
- <label>예약/건진일</label>
- <value>1</value>
- </item>
- <item>
- <label>발송일자</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- </group>
- <switch id="swt_send" style="left:0px; top:100px; width:1194px; height:644px; border-color:#c7a3cf; border-style:solid; ">
- <case id="case_T" selected="true">
- <caption id="caption1" class="tit_2" style="left:11px; top:8px; width:95px; height:13px; ">발송처리정보</caption>
- <line id="line1" class="line_1" style="x1:6px; y1:23px; x2:1185px; y2:23px; "/>
- <input id="ipt_senddd" ref="/root/send/batchset/senddd" class="input_essential" inputtype="date" style="left:90px; top:29px; width:108px; height:19px; "/>
- <select1 id="rdo_sendyn" ref="/root/send/batchset/sendyn" appearance="full" cols="2" rows="1" overflow="visible" 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>
- <datagrid id="grd_send" nodeset="/root/main/sendcdlst/item" autoresize="false" caption="선
택^발송구분^발송유무^발송일자^발송지^등록번호^성명^주민번호^휴대폰번호^우편번호^주소^사업체^상태^예약일자^결과일자^비고^출력유무^건진구분^기관코드^testcd^pkgcd|선
택^발송구분^발송유무^발송일자^발송지^등록번호^성명^주민번호^휴대폰번호^우편번호^주소^사업체^상태^예약일자^결과일자^비고^출력유무^건진구분^기관코드^testcd^pkgcd" colsep="^" colwidth="35, 100, 31, 106, 75, 73, 75, 95, 80, 60, 160, 90, 50, 80, 80, 100, 35, 100, 100, 100, 100, 100, 100, 100, 100, 100" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycol" rowheader="seq" rowsep="|" style="left:6px; top:52px; width:1179px; height:590px; ">
- <col checkvalue="Y,N" ref="sel" type="checkbox"/>
- <col ref="sendflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/sendflag/A0121">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="sendyn" type="checkbox" visibility="hidden"/>
- <col ref="senddd" type="inputdate"/>
- <col ref="sendaddrflag" type="combo" visibility="hidden">
- <choices>
- <item>
- <label>자택</label>
- <value>1</value>
- </item>
- <item>
- <label>직장</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="rrgstno" format="999999-9999999" style="text-align:center; "/>
- <col ref="mpphontel"/>
- <col ref="zipcode" format="999-999"/>
- <col ref="detladdr"/>
- <col ref="cmpycd"/>
- <col disabled="true" ref="statflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/statlst/A0107">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="hopedd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="judgdd"/>
- <col ref="remcnts"/>
- <col checkvalue="Y,N" ref="prtyn" type="checkbox"/>
- <col ref="healexamflag" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="orddd" visibility="hidden"/>
- <col ref="rsrvno" visibility="hidden"/>
- <col ref="rsrvdd" visibility="hidden"/>
- <col ref="address" visibility="hidden"/>
- <col ref="sexage" visibility="hidden"/>
- <col ref="testcd" visibility="hidden"/>
- <col ref="pkgcd" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_send.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if(event.button == 3) {
- if(isDataCell()) {
- setPopupMenu("grd_send", false, "/root/hidden/popupmenu/grid/item", "name", "func");
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- window.setPopupMenu(false);
- ]]>
- </script>
- </datagrid>
- <select1 id="rdo_sendaddr" ref="/root/send/batchset/sendaddrflag" appearance="full" cols="2" rows="1" overflow="visible" style="left:439px; top:30px; width:93px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>자택</label>
- <value>1</value>
- </item>
- <item>
- <label>직장</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <button id="btn_betsave" class="btn2_letter4" style="left:539px; 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>
- <line id="line6" class="line_3" style="x1:6px; y1:50px; x2:1185px; y2:50px; "/>
- </case>
- <case id="case_V">
- <caption id="caption6" class="tit_2" style="left:11px; top:8px; width:95px; height:13px; ">반송처리정보</caption>
- <datagrid id="grd_return" nodeset="/root/main/sendcdlst/item3" autoresize="false" caption="선택^발송구분^발송유무^발송일자^등록번호^성명^주민번호^사업체^상태^예약일자^결과일자^비고^출력유무^caption1^caption2^caption3|선택^발송구분^발송유무^발송일자^등록번호^성명^주민번호^사업체^상태^예약일자^결과일자^비고^출력유무^caption1^caption2^caption3" colsep="^" colwidth="30, 90, 30, 85, 80, 80, 100, 80, 60, 80, 80, 300, 30, 100, 100, 100, 100, 100, 100, 100, 100, 100" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="label" style="left:6px; top:28px; width:1179px; height:610px; ">
- <col checkvalue="Y,N" ref="sel" type="checkbox"/>
- <col ref="sendflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/sendflag/A0121">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="sendyn" type="checkbox" visibility="hidden"/>
- <col ref="senddd" type="inputdate"/>
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="rrgstno"/>
- <col ref="cmpycd"/>
- <col disabled="true" ref="statflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/statlst/A0107">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="hopedd" format="yyyy-mm-dd"/>
- <col ref="judgdd" format="yyyy-mm-dd"/>
- <col ref="remcnts"/>
- <col checkvalue="Y,N" disabled="true" ref="prtyn" type="checkbox"/>
- <col ref="rsrvno" visibility="hidden"/>
- <col ref="healexamflag" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="sendaddrflag" visibility="hidden"/>
- <col ref="rsrvdd" visibility="hidden"/>
- <col ref="detladdr" visibility="hidden"/>
- <col ref="address" visibility="hidden"/>
- <col ref="zipcode" visibility="hidden"/>
- <col ref="sexage" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_return.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if(event.button == 3) {
- if(isDataCell()) {
- setPopupMenu("grd_return", false, "/root/hidden/popupmenu/grid/item", "name", "func");
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- window.setPopupMenu(false);
- ]]>
- </script>
- </datagrid>
- <line id="line2" class="line_1" style="x1:6px; y1:23px; x2:1185px; y2:23px; "/>
- </case>
- <case id="case_L">
- <caption id="caption9" class="tit_2" style="left:11px; top:8px; width:95px; height:13px; ">발송내역정보</caption>
- <datagrid id="datagrid1" nodeset="/root/main/sendcdlst/item2" autoresize="false" caption="선택^발송구분^발송유무^발송일자^등록번호^성명^주민번호^사업체^상태^예약일자^결과일자^휴대폰번호^우편번호^주소^비고^출력유무^caption1^caption2^caption3|선택^발송구분^발송유무^발송일자^등록번호^성명^주민번호^사업체^상태^예약일자^결과일자^휴대폰번호^우편번호^주소^비고^출력유무^caption1^caption2^caption3" colsep="^" colwidth="30, 100, 30, 90, 80, 80, 100, 100, 60, 80, 80, 80, 60, 90, 110, 30, 100, 100, 100, 100, 100, 100, 100" explorerbar="sortshow" extendlastcol="scroll" frozencols="12" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="label" style="left:6px; top:28px; width:1179px; height:610px; ">
- <col checkvalue="Y,N" ref="sel" type="checkbox"/>
- <col ref="sendflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/sendflag/A0121">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="sendyn" type="checkbox" visibility="hidden"/>
- <col ref="senddd" type="inputdate"/>
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="rrgstno"/>
- <col ref="cmpycd"/>
- <col disabled="true" ref="statflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/statlst/A0107">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="hopedd" format="yyyy-mm-dd"/>
- <col ref="judgdd" format="yyyy-mm-dd"/>
- <col ref="mpphontel"/>
- <col ref="zipcode" format="999-999"/>
- <col ref="detladdr"/>
- <col ref="remcnts"/>
- <col checkvalue="Y,N" disabled="true" ref="prtyn" type="checkbox"/>
- <col ref="rsrvno" visibility="hidden"/>
- <col ref="healexamflag" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="sendaddrflag" visibility="hidden"/>
- <col ref="rsrvdd" visibility="hidden"/>
- <col ref="address" visibility="hidden"/>
- <col ref="sexage" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- datagrid1.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if(event.button == 3) {
- if(isDataCell()) {
- setPopupMenu("datagrid1", false, "/root/hidden/popupmenu/grid/item", "name", "func");
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- window.setPopupMenu(false);
- ]]>
- </script>
- </datagrid>
- <line id="line3" class="line_1" style="x1:6px; y1:23px; x2:1185px; y2:23px; "/>
- </case>
- </switch>
- <button id="btn_case_t" class="btn_sw" group="tab" selected="true" style="left:0px; top:79px; width:69px; height:22px; ">
- <caption>발송대상</caption>
- <toggle case="case_T" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- button11.disabled = false;
- button15.disabled = true;
- button16.disabled = true;
- cmb_datelist.visible = false;
-
- ]]>
- </script>
- </button>
- <button id="btn_case_l" class="btn_sw" group="tab" style="left:68px; top:79px; width:69px; height:22px; ">
- <caption>발송내역</caption>
- <toggle case="case_L" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- button11.disabled = true;
- button15.disabled = false;
- button16.disabled = true;
- cmb_datelist.visible = true;
- cmb_datelist.value = '2'
- ]]>
- </script>
- </button>
- <button id="btn_case_v" class="btn_sw" group="tab" style="left:138px; top:79px; width:69px; height:22px; ">
- <caption>반송내역</caption>
- <toggle case="case_V" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- button11.disabled = true;
- button15.disabled = true;
- button16.disabled = false;
- cmb_datelist.visible = false;
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="button9" class="btn4_letter2" visibility="hidden" style="left:1138px; top:5px; width:56px; height:22px; ">
- <caption>취소</caption>
- </button>
- <button id="button15" class="btn4_letter4" style="left:980px; top:5px; width:80px; height:22px; ">
- <caption>반송처리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(fSaveSendRetList()) {
- fGetSendList();
- }
- ]]>
- </script>
- </button>
- <button id="button16" class="btn4_letter3" style="left:1065px; top:5px; width:68px; height:22px; ">
- <caption>재발송</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(fSaveReSendList()) {
- fGetSendList();
- }
- ]]>
- </script>
- </button>
- <button id="button11" class="btn4_letter2" style="left:1135px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(fSaveSendList()) {
- fGetSendList();
- }
- ]]>
- </script>
- </button>
- <button id="button2" class="btn6_letter4" style="left:82px; top:5px; width:80px; height:22px; ">
- <caption>주소출력</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fGetLabeladdr();
- if(swt_send.selectedIndex == '0'){
- if(fSaveSendList()){
- fGetSendList();
- }
- }
- ]]>
- </script>
- </button>
- <button id="button91" class="btn6_letter4" style="left:0px; top:5px; width:80px; height:22px; ">
- <caption>라벨출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetLabelName();
- ]]>
- </script>
- </button>
- <select1 id="combo2" ref="/root/send/printformat" appearance="minimal" style="left:175px; top:5px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>2x5</label>
- <value>01</value>
- </item>
- <item>
- <label>2x8</label>
- <value>02</value>
- </item>
- </choices>
- </select1>
- <button id="button1" class="btn6_letter4" style="left:895px; top:5px; width:80px; height:22px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(case_T.selected == true) { //발송대상
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- grd_send.saveExcel(fileName, "SheetName", true, true, "", "", false);
- }else if(case_L.selected == true) { //발송내역
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- datagrid1.saveExcel(fileName, "SheetName", true, true, "", "", false);
- }else if(case_V.selected == true) { //반송내역
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- grd_return.saveExcel(fileName, "SheetName", true, true, "", "", false);
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption11" class="tit_1" style="left:0px; top:0px; width:106px; height:14px; ">발송관리</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|