1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * Name : SMCMS00400_고객정보내용
- * Summary : 고객정보내용
- * Programmer : 최정환
- * Date Written : 2007.03.29
- * History : 2007.05.23 김준규 수정, 2008.08.01 차재훈 수정
- * Remark :
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>고객 정보</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <outlist>
- <orddd/>
- <orddeptnm/>
- <orddrnm/>
- <specordyn/>
- <fsexamflag/>
- <insukind/>
- <diagnm/>
- <rqstflag/>
- <rqsthospcd/>
- </outlist>
- <inlist>
- <orddd/>
- <dschdd/>
- <hd/>
- <orddeptnm/>
- <medispclnm/>
- <atdoctnm/>
- <diagdd/>
- <diagnm/>
- <roomcd/>
- <hospiceyn/>
- <bmtyn/>
- </inlist>
- <oplist>
- <opcnfmdd/>
- <opflagcd/>
- <orddeptnm/>
- <anstreqflag/>
- <opnm/>
- <perfdeptnm/>
- <perfdrnm/>
- </oplist>
- <healexamlist>
- <rsrvdd/>
- <healexamflag/>
- <pkgnm/>
- <healexamdetlflag/>
- <testnm/>
- </healexamlist>
- <cmpnlist>
- <cmpnrgstdt/>
- <cmpnnm/>
- <cmpnexecdt/>
- <execyn/>
- <smsuseyn/>
- <emailuseyn/>
- </cmpnlist>
- <voclist>
- <acptseq/>
- <acptdd/>
- <acpttypenm/>
- <acptkindlrgnm/>
- <acpttitl/>
- <deptnm/>
- <empnm/>
- <prcsstatnm/>
- <fstrgstrnm/>
- <acptcnts/>
- </voclist>
- <remlist>
- <hisstatnm/>
- <ordpossyn/>
- <acptresn/>
- <endresn/>
- </remlist>
- <delivelist>
- <trnstype/>
- <trsmdd/>
- <bizflagnm/>
- <bizdetlnm/>
- <recvr/>
- <cnts/>
- </delivelist>
- </list>
- <vocpopup>
- <title/>
- <contents/>
- <inputmode/>
- <receive_path/>
- </vocpopup>
- <clntdata>
- <basic>
- <pid/>
- <rrgstno1/>
- <rrgstno2/>
- <hngnm/>
- <sex/>
- <age/>
- <brthdd/>
- <lunarsolarflag/>
- <mpphontel/>
- <hometel/>
- <etctelno1/>
- <etctelno2/>
- <faxno/>
- <chosresncd/>
- <zipcd1/>
- <zipcd2/>
- <zipcdseq/>
- <zipcdaddr/>
- <citycd/>
- <citycntyareacd/>
- <blokcd/>
- <detladdr/>
- <email/>
- <dethyn/>
- <smsaprvyn/>
- <emailuseaprvyn/>
- <postdeliveuseyn/>
- <maryyn/>
- <inhospyn/>
- <forgeryn/>
- <animyn/>
- <btype/>
- <rh/>
- <bindpid/>
- <religncd/>
- <nati/>
- <chchnm/>
- <baptnm/>
- <recmyn/>
- <recmernm/>
- <recmerid/>
- <recmerrela/>
- <fstchosdt/>
- <lastchosdt/>
- <healexamyn/>
- <healexamchospath/>
- <healexamvipgrde/>
- <healexamtelno/>
- <healexammpphon/>
- <healexamemail/>
- <healexamzipcd11/>
- <healexamzipcd12/>
- <healexamzipcdseq1/>
- <healexamzipcdaddr1/>
- <healexamdetladdr1/>
- <healexamzipcd21/>
- <healexamzipcd22/>
- <healexamzipcdseq2/>
- <healexamzipcdaddr2/>
- <healexamdetladdr2/>
- <hospicedethdd/>
- <empkindcd/>
- </basic>
- <familygrid>
- <famypatnm/>
- <sex/>
- <brthdd/>
- <famyrela/>
- <famyinfomemo/>
- <famycd/>
- <pid/>
- <insukind/>
- <todd/>
- <seqno/>
- </familygrid>
- <clntgroupgrid>
- <lrggroupnm/>
- <lrggroupcd/>
- <mdlgroupnm/>
- <mdlgroupcd/>
- <smlgroupnm/>
- <smlgroupcd/>
- <pid/>
- </clntgroupgrid>
- <innrgruplistpat>
- <publnm/>
- <innrgrupnm/>
- <innrgrupid/>
- </innrgruplistpat>
- <vipgrid>
- <vipyn/>
- <vipgrde/>
- <viprem/>
- <reladeptnm/>
- <reladept/>
- <pid/>
- </vipgrid>
- <memogrid>
- <memodayflag/>
- <memotypeflag/>
- <memodd/>
- <ownrela/>
- <lunarsolarflag/>
- <noticncttel1/>
- <noticncttel2/>
- <msgcnts/>
- <basedaybfatflag/>
- <delivehour/>
- <delivemnt/>
- <memouseyn/>
- <pid/>
- <memodayseq/>
- </memogrid>
- </clntdata>
- <clntdatatemp>
- <groupinit>
- <lrggroup>
- <lrggroupcd/>
- <lrggroupnm/>
- </lrggroup>
- <mdlgroup>
- <mdlgroupcd/>
- <mdlgroupnm/>
- </mdlgroup>
- <smlgroup>
- <smlgroupcd/>
- <smlgroupnm/>
- </smlgroup>
- </groupinit>
- <grouptemp>
- <tmplrggroupcd/>
- <tmpmdlgroupcd/>
- <tmpsmlgroupcd/>
- <tmppid/>
- </grouptemp>
- <viptemp>
- <tmpvipyn/>
- <tmpvipgrde/>
- <tmpviprem/>
- <tmpreladeptnm/>
- <tmpreladept/>
- </viptemp>
- <memoinfo>
- <memodayflag/>
- <memotypeflag>O</memotypeflag>
- <memodd/>
- <ownrela/>
- <lunarsolarflag>1</lunarsolarflag>
- <noticncttel1/>
- <noticncttel2/>
- <msgcnts/>
- <basedaybfatflag>B</basedaybfatflag>
- <delivehour/>
- <delivemnt/>
- <memouseyn>Y</memouseyn>
- <pid/>
- <memodayseq/>
- <inputmode>i</inputmode>
- </memoinfo>
- </clntdatatemp>
- </main>
- <send>
- <data>
- </data>
- <familygrid/>
- <clntgroupgrid/>
- <vipgrid/>
- <sndgrup>
- <lrggroupcd/>
- <mdlgroupcd/>
- </sndgrup>
- </send>
- <temp>
- <data>
- <srchfstchosdd1/>
- <srchfstchosdd2/>
- <srchpid/>
- <srchhometel/>
- <srchlastchosdd1/>
- <srchlastchosdd2/>
- <srchhngnm/>
- <srchmpphontel/>
- </data>
- <key>
- <sndpid/>
- <inputmode/>
- </key>
- <grupinfo>
- <lrgrupgcd/>
- <mdlgrupcd/>
- <smlgrupcd/>
- </grupinfo>
- <patlist/>
- <email>
- <user/>
- <host/>
- <selhost/>
- </email>
- <grupkey>
- <sndpublnm/>
- <sndinnrgrupnm/>
- <sndinnrgrupid/>
- </grupkey>
- <list/>
- </temp>
- <init>
- <A0070list>
- <cdid/>
- <cdnm/>
- </A0070list>
- <A0068list>
- <cdid/>
- <cdnm/>
- </A0068list>
- <M0013list>
- <cdid/>
- <cdnm/>
- </M0013list>
- <P0329list>
- <cdid/>
- <cdnm/>
- </P0329list>
- <P0008list>
- <cdid/>
- <cdnm/>
- </P0008list>
- <P0021list>
- <cdid/>
- <cdnm/>
- </P0021list>
- <A0118list>
- <cdid/>
- <cdnm/>
- </A0118list>
- <A0115list>
- <cdid/>
- <cdnm/>
- </A0115list>
- <P0016list>
- <cdid/>
- <cdnm/>
- </P0016list>
- <P0157list>
- <cdid/>
- <cdnm/>
- </P0157list>
- <P0327list>
- <cdid/>
- <cdnm/>
- </P0327list>
- <P0349list>
- <cdid/>
- <cdnm/>
- </P0349list>
- <P0400list>
- <cdid/>
- <cdnm/>
- </P0400list>
- </init>
- </root>
- </instance>
- <submission id="TRCMS00406" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/list/key" replace="instance" resultref="/root/main/clntdata/innrgruplistpat"/>
- <submission id="TRCMS00109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/list/key" replace="instance" resultref="/root/main/list/delivelist"/>
- <submission id="TRCMS00108" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/list/key" replace="instance" resultref="/root/main/list/remlist"/>
- <submission id="TRCMS00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/list/key" replace="instance" resultref="/root/main/list/voclist"/>
- <submission id="TRCMS00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/list/key" replace="instance" resultref="/root/main/list/cmpnlist"/>
- <submission id="TRCMS00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/list/key" replace="instance" resultref="/root/main/list/healexamlist"/>
- <submission id="TRCMS00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/list/key" replace="instance" resultref="/root/main/list/oplist"/>
- <submission id="TRCMS00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/list/key" replace="instance" resultref="/root/main/list/inlist"/>
- <submission id="TRCMS00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/list/key" replace="instance" resultref="/root/main/list/outlist"/>
- <submission id="TRCMS00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/list/key" replace="instance" resultref="/root/main/clntdata"/>
- <submission id="TXCMS00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/familygrid" replace="instance"/>
- <submission id="TXCMS00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/clntgroupgrid" replace="instance"/>
- <submission id="TXCMS00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/vipgrid" replace="instance"/>
- <submission id="TRCMS00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/list/key" replace="instance" resultref="/root/main/clntdata/familygrid"/>
- <submission id="TRCMS00403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/list/key" replace="instance" resultref="/root/main/clntdata/clntgroupgrid"/>
- <submission id="TRCMS00404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/list/key" replace="instance" resultref="/root/main/clntdata/vipgrid"/>
- <submission id="TRCMS00405" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/list/key" replace="instance" resultref="/root/main/clntdata/memogrid"/>
- <submission id="TRCMZ00200" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/main/clntdatatemp/groupinit/lrggroup"/>
- <submission id="TRCMZ00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/sndgrup" replace="instance" resultref="/root/main/clntdatatemp/groupinit/mdlgroup"/>
- <submission id="TRCMZ00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/sndgrup" replace="instance" resultref="/root/main/clntdatatemp/groupinit/smlgroup"/>
- <submission id="TXCMS00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/clntdata/basic" replace="instance"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- var reSmlGrupCD = model.getValue("/root/temp/grupinfo/smlgrupcd")
- //model.setValue("/root/hidden/grupinfo/smlgrupcd", reSmlGrupCD);
- model.makeValue("/root/hidden/grupinfo/smlgrupcd", reSmlGrupCD);
- grd_in.mergeCol(0) = false;
- grd_in.mergeCol(4) = false;
- grd_in.mergeCol(5) = false;
- grd_in.mergeCol(6) = false;
- grd_in.mergeCol(7) = false;
- grd_in.mergeCol(8) = false;
- grd_in.mergeCol(9) = false;
- grd_in.mergeCol(10) = false;
- grd_in.mergeCol(11) = false;
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- var reSndPID = model.getValue("/root/temp/list/key/sndpid");
-
- if ( reSndPID == "" || reSndPID == null ) {
- var rtn = messageBox("조회에 필요한 항목이 전달되지", "E007");
- //if(rtn == 1){
- navigate("SMCMS00200");
- //}
- } else {
- zbcfGetCodeList( new Array("A0070", "A0068", "M0013", "P0329", "P0008", "P0021","A0118", "A0115", "P0016", "P0157", "P0327", "P0349", "P0400"), new Array("/root/init/A0070list", "/root/init/A0068list", "/root/init/M0013list", "/root/init/P0329list", "/root/init/P0008list", "/root/init/P0021list", "/root/init/A0118list", "/root/init/A0115list", "/root/init/P0016list", "/root/init/P0157list", "/root/init/P0327list", "/root/init/P0349list", "/root/init/P0400list"), true );
- model.removeNodeset("/root/main/clntdata/family/grid");
- model.removeNodeset("/root/main/clntdata/clntgroup/clntgrid");
- model.removeNodeset("/root/main/clntdata/memolist/memogrid");
- model.removeNodeset("/root/main/clntdata/vipinfo/vipgrid");
- submit("TRCMS00401");//환자 상세정보조회
- var btype = model.getValue("/root/main/clntdata/basic/btype");
- if (btype == "-" || btype == "") {
- model.setValue("/root/main/clntdata/basic/rh", "");
- }
- submit("TRCMS00406");//환자 고객그룹조회
-
- submit("TRCMZ00200");//그룹대분류조회
- model.removenodeset("/root/main/clntdatatemp/groupinit/mdlgroup");
- model.removenodeset("/root/main/clntdatatemp/groupinit/smlgroup");
-
- var sync_dd = getCurrentDate();
- var ReMonth = "C" + getCurrentDate().substring(2, 6);
- //model.setValue("/root/send/srch/syncfromdd", sync_dd);
- //model.setValue("/root/send/srch/synctodd", sync_dd);
-
- // 외래화면 및 voc를 보여준다.
- model.toggle("case1");
- model.toggle("case10");
- btn_out.selected = true;
- btn_voc.selected = true;
- submit("TRCMS00102");//외래
- submit("TRCMS00107"); //VOC 조회
- //email체크
- fGetEmai();
- }
-
- //fCheckAuth();
- model.refresh();
-
- var hname = model.getValue("/root/main/clntdata/basic/hngnm");
- if(hname == ""){
- messageBox("등록번호가", "I004");
- model.setValue("/root/temp/list/key/sndpid", "");
- }
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- //////////=================///////////
- //e-mail체크 해서 id와 host구분하기 //
- //////////================////////////
- function fGetEmai(){
- var str = model.getValue("/root/main/clntdata/basic/email");
- if (str != "") {
- var str_find = String(str.match(/[a-z0-9._-]+@[a-z0-9.-]+\.[a-z]{2,6}/i))
- var str_index = str_find.indexOf("@")
- var str_user = str_find.substring(0, str_index)
- var str_host = str_find.substring(str_index + 1)
- if(str_host != "" && str_host != "null"){
- model.makeValue("/root/temp/email/host", str_host);
- }
- if(str_user != "" && str_user != "null"){
- model.makeValue("/root/temp/email/user", str_user);
- }
- }
- model.refresh();
- }
-
-
- function fCheckAuth() {
- // 권한체크
- if (!checkAuth("r")) {
- btnicon_search3.disabled = true;
- btnicon_search4.disabled = true;
- }
- if (!checkAuth("x")) {
- btn_addFamily.disabled = true;
- btn_delFamily.disabled = true;
- btn_save2.disabled = true;
- }
- // if (!checkAuth("p")) {
- // }
- }
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../crm/crmweb/js/CCZ001.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,1187;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:146px; height:14px; ">고객(환자) 정보 관리</caption>
- </group>
- <group id="grp_basic" style="left:0px; top:23px; width:970px; height:262px; ">
- <caption id="caption2" class="tit_2" style="left:5px; top:0px; width:111px; height:14px; ">기본 정보</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:15px; x2:483px; y2:15px; "/>
- <line id="line2" class="line_2" style="x1:0px; y1:42px; x2:483px; y2:42px; "/>
- <caption id="caption3" class="cell_1" style="left:0px; top:20px; width:105px; height:23px; text-align:center; vertical-align:middle; ">등록번호</caption>
- <input id="ipt_PID" ref="/root/main/clntdata/basic/pid" class="input_default" style="left:108px; top:21px; width:112px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == 13){
- model.setValue("/root/temp/list/key/sndpid", ipt_PID.currentText);
- model.resetInstanceNode("/root/main/clntdata/basic");
- submit("TRCMS00401");//환자 상세정보조회
- model.refresh();
- var hname = model.getValue("/root/main/clntdata/basic/hngnm");
- if(hname == ""){
- messageBox("등록번호가", "I004");
- }
- }
- ]]>
- </script>
- </input>
- <caption id="caption4" class="cell_1" style="left:245px; top:20px; width:105px; height:23px; text-align:center; vertical-align:middle; ">주민등록번호</caption>
- <output id="ipt_rrgstno1" ref="/root/main/clntdata/basic/rrgstno1" class="output_fix" format="999999" maxlength="6" style="left:353px; top:21px; width:50px; height:19px; "/>
- <caption id="caption5" style="left:403px; top:21px; width:15px; height:21px; text-align:center; vertical-align:middle; ">-</caption>
- <output id="ipt_rrgstno2" ref="/root/main/clntdata/basic/rrgstno2" class="output_fix" format="9999999" maxlength="7" style="left:417px; top:21px; width:60px; height:19px; "/>
- <line id="line4" class="line_2" style="x1:0px; y1:66px; x2:483px; y2:66px; "/>
- <line id="line5" class="line_2" style="x1:488px; y1:42px; x2:970px; y2:42px; "/>
- <caption id="caption6" class="cell_1" style="left:0px; top:44px; width:105px; height:23px; text-align:center; vertical-align:middle; ">성명</caption>
- <output id="ipt_hngnm" ref="/root/main/clntdata/basic/hngnm" class="output_fix" maxlength="50" style="left:108px; top:45px; width:125px; height:19px; "/>
- <button id="btnicon_search2" class="icon_search" style="left:223px; top:22px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var search_condition = "pid";
- var search_term = "";
- var receive_pid_path = "/root/temp/list/key/sndpid";
- var receive_patnm_path = "";
- var receive_path = "crmpid";
-
- setParameter("search_condition", search_condition);
- setParameter("search_term", search_term);
- setParameter("receive_pid_path", receive_pid_path);
- setParameter("receive_patnm_path", receive_patnm_path);
- setParameter("receive_path", receive_path);
-
- modal("SPCCM00100")
-
- clearParameter("search_condition");
- clearParameter("search_term");
- clearParameter("receive_pid_path");
- clearParameter("receive_patnm_path");
- clearParameter("receive_path");
-
- ]]>
- </script>
- </button>
- <caption id="caption7" class="cell_1" style="left:245px; top:44px; width:105px; height:23px; text-align:center; vertical-align:middle; ">성별/연령</caption>
- <select1 id="rdo_sex" ref="/root/main/clntdata/basic/sex" appearance="minimal" overflow="visible" style="left:353px; top:45px; width:55px; height:19px; ">
- <choices>
- <item>
- <label>남</label>
- <value>M</value>
- </item>
- <item>
- <label>여</label>
- <value>F</value>
- </item>
- <item>
- <label>동물</label>
- <value>A</value>
- </item>
- </choices>
- <hint>
- <![CDATA[성별]]>
- </hint>
- </select1>
- <input id="ipt_age" ref="/root/main/clntdata/basic/age" class="input_default" maxlength="3" format="999" style="left:413px; top:45px; width:42px; height:19px; "/>
- <caption id="caption9" style="left:457px; top:45px; width:20px; height:19px; text-align:center; vertical-align:middle; ">세</caption>
- <line id="line6" class="line_2" style="x1:0px; y1:90px; x2:483px; y2:90px; "/>
- <line id="line7" class="line_2" style="x1:488px; y1:66px; x2:970px; y2:66px; "/>
- <caption id="caption8" class="cell_1" style="left:0px; top:68px; width:105px; height:23px; text-align:center; vertical-align:middle; ">생년월일</caption>
- <input id="ipt_brthdd" ref="/root/main/clntdata/basic/brthdd" class="input_default" maxlength="8" format="yyyy-mm-dd" showmask="true" style="left:108px; top:69px; width:76px; height:19px; "/>
- <select1 id="cmb_lunarsolarflag" ref="/root/main/clntdata/basic/lunarsolarflag" appearance="minimal" overflow="visible" style="left:186px; top:69px; width:52px; height:19px; ">
- <choices>
- <item>
- <label>양력</label>
- <value>1</value>
- </item>
- <item>
- <label>음력</label>
- <value>0</value>
- </item>
- </choices>
- <hint>
- <![CDATA[음력/양력]]>
- </hint>
- </select1>
- <select id="chk_emp" ref="/root/main/clntdata/basic/empkindcd" disabled="true" visibility="hidden" overflow="hidden" appearance="full" style="left:340px; top:72px; width:65px; height:16px; border-style:none; ">
- <choices>
- <item>
- <label>교직원</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <caption id="caption18" class="cell_1" style="left:0px; top:140px; width:105px; height:23px; text-align:center; vertical-align:middle; ">휴대폰[1]</caption>
- <input id="ipt_mobile" ref="/root/main/clntdata/basic/mpphontel" class="input_default" maxlength="15" style="left:108px; top:141px; width:125px; height:19px; "/>
- <line id="line8" class="line_2" style="x1:0px; y1:234px; x2:483px; y2:234px; "/>
- <line id="line13" class="line_2" style="x1:488px; y1:90px; x2:970px; y2:90px; "/>
- <line id="line14" class="line_2" style="x1:0px; y1:210px; x2:483px; y2:210px; "/>
- <caption id="caption13" class="cell_1" style="left:0px; top:188px; width:105px; height:23px; text-align:center; vertical-align:middle; ">전화번호</caption>
- <input id="ipt_hometel" ref="/root/main/clntdata/basic/hometel" class="input_default" maxlength="15" style="left:108px; top:189px; width:125px; height:19px; ">
- <hint>
- <![CDATA[자택 전화번호]]>
- </hint>
- </input>
- <line id="line16" class="line_2" style="x1:488px; y1:114px; x2:970px; y2:114px; "/>
- <caption id="caption14" class="cell_1" style="left:245px; top:188px; width:105px; height:23px; text-align:center; vertical-align:middle; ">팩스번호</caption>
- <input id="ipt_faxno" ref="/root/main/clntdata/basic/faxno" class="input_default" maxlength="15" style="left:353px; top:189px; width:125px; height:19px; "/>
- <line id="line17" class="line_2" style="x1:0px; y1:257px; x2:483px; y2:257px; "/>
- <caption id="caption19" class="cell_1" style="left:245px; top:140px; width:105px; height:23px; text-align:center; vertical-align:middle; ">휴대폰[2]</caption>
- <caption id="caption15" class="cell_1" style="left:0px; top:212px; width:105px; height:46px; text-align:center; vertical-align:middle; ">주소</caption>
- <output id="ipt_ZipCd1" ref="/root/main/clntdata/basic/zipcd1" class="output_fix" style="left:108px; top:213px; width:45px; height:19px; "/>
- <output id="ipt_ZipCd2" ref="/root/main/clntdata/basic/zipcd2" class="output_fix" style="left:156px; top:213px; width:45px; height:19px; "/>
- <output id="opt_zipcdseq" ref="/root/main/clntdata/basic/zipcdseq" class="output_fix" style="left:204px; top:213px; width:20px; height:19px; "/>
- <button id="btnicon_search3" class="icon_search" style="left:228px; top:214px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var search_condition = "srchzipcd";
- var search_term1 = model.getValue("/root/main/clntdata/basic/zipcd1");
- var search_term2 = model.getValue("/root/main/clntdata/basic/zipcd2");
- var search_term = search_term1 + "-" + search_term2;
- var receive_zipcd1_path = "/root/main/clntdata/basic/zipcd1";
- var receive_zipcd2_path = "/root/main/clntdata/basic/zipcd2";
- var receive_zipcdseq_path = "/root/main/clntdata/basic/zipcdseq";
- var receive_zipcdaddr_path = "/root/main/clntdata/basic/zipcdaddr";
- var receive_citycd_path = "/root/main/clntdata/basic/citycd";
- var receive_citycntyareacd_path = "/root/main/clntdata/basic/citycntyareacd";
- var receive_blokcd_path = "/root/main/clntdata/basic/blokcd";
-
- setParameter("search_condition", search_condition);
- setParameter("search_term", search_term);
- setParameter("receive_zipcd1_path", receive_zipcd1_path);
- setParameter("receive_zipcd2_path", receive_zipcd2_path);
- setParameter("receive_zipcdseq_path", receive_zipcdseq_path);
- setParameter("receive_zipcdaddr_path", receive_zipcdaddr_path);
- setParameter("receive_citycd_path", receive_citycd_path);
- setParameter("receive_citycntyareacd_path", receive_citycntyareacd_path);
- setParameter("receive_blokcd_path", receive_blokcd_path);
-
- modal("SPCCM00200")
-
- clearParameter("search_condition");
- clearParameter("search_term");
- clearParameter("receive_zipcd1_path");
- clearParameter("receive_zipcd2_path");
- clearParameter("receive_zipcdseq_path");
- clearParameter("receive_zipcdaddr_path");
- clearParameter("receive_citycd_path");
- clearParameter("receive_citycntyareacd_path");
- clearParameter("receive_blokcd_path");
- ]]>
- </script>
- </button>
- <output id="ipt_zipcdaddr" ref="/root/main/clntdata/basic/zipcdaddr" class="output_fix" style="left:248px; top:213px; width:230px; height:19px; "/>
- <output id="output9" ref="/root/main/clntdata/basic/citycd" class="output_fix" visibility="hidden" style="left:450px; top:212px; width:7px; height:19px; "/>
- <output id="output10" ref="/root/main/clntdata/basic/citycntyareacd" class="output_fix" visibility="hidden" style="left:460px; top:212px; width:7px; height:19px; "/>
- <output id="output11" ref="/root/main/clntdata/basic/blokcd" class="output_fix" visibility="hidden" style="left:470px; top:212px; width:7px; height:19px; "/>
- <input id="ipt_detladdr" ref="/root/main/clntdata/basic/detladdr" class="input_default" maxlength="66" style="left:108px; top:237px; width:370px; height:19px; "/>
- <line id="line19" class="line_2" style="x1:0px; y1:186px; x2:483px; y2:186px; "/>
- <caption id="caption20" class="cell_1" style="left:0px; top:164px; width:105px; height:23px; text-align:center; vertical-align:middle; ">이메일</caption>
- <caption id="caption21" class="cell_1" style="left:0px; top:116px; width:105px; height:23px; text-align:center; vertical-align:middle; ">정보이용</caption>
- <bool id="chk_sms" checkvalue="Y,N" ref="/root/main/clntdata/basic/smsaprvyn" style="left:107px; top:117px; width:22px; height:19px; border-style:none; "/>
- <caption id="caption39" style="left:129px; top:120px; width:47px; height:15px; ">
- <![CDATA[SMS ]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if( chk_sms.selected ){
- chk_sms.selected = false;
- }
- else {
- chk_sms.selected = true;
- }
- ]]>
- </script>
- </caption>
- <bool id="chk_email" checkvalue="Y,N" ref="/root/main/clntdata/basic/emailuseaprvyn" style="left:189px; top:117px; width:22px; height:19px; border-style:none; "/>
- <caption id="caption40" style="left:212px; top:120px; width:37px; height:15px; ">
- <![CDATA[메일 ]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if( chk_email.selected ){
- chk_email.selected = false;
- }
- else {
- chk_email.selected = true;
- }
- ]]>
- </script>
- </caption>
- <bool id="chk_post" checkvalue="Y,N" ref="/root/main/clntdata/basic/postdeliveuseyn" style="left:265px; top:117px; width:22px; height:19px; border-style:none; "/>
- <caption id="caption41" style="left:287px; top:120px; width:37px; height:15px; ">
- <![CDATA[우편 ]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if( chk_post.selected ){
- chk_post.selected = false;
- }
- else {
- chk_post.selected = true;
- }
- ]]>
- </script>
- </caption>
- <bool id="chk_hosp" checkvalue="Y,N" ref="/root/main/clntdata/basic/inhospyn" style="left:107px; top:94px; width:22px; height:19px; border-style:none; "/>
- <caption id="caption11" style="left:130px; top:97px; width:35px; height:15px; ">
- <![CDATA[재원]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if( chk_hosp.selected ){
- chk_hosp.selected = false;
- }
- else {
- chk_hosp.selected = true;
- }
- ]]>
- </script>
- </caption>
- <bool id="chk_dead" checkvalue="Y,N" ref="/root/main/clntdata/basic/dethyn" style="left:189px; top:94px; width:22px; height:19px; border-style:none; "/>
- <caption id="caption12" style="left:211px; top:97px; width:30px; height:15px; ">
- <![CDATA[사망]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if( chk_dead.selected ){
- chk_dead.selected = false;
- }
- else {
- chk_dead.selected = true;
- }
- ]]>
- </script>
- </caption>
- <caption id="caption37" class="tit_2" style="left:493px; top:129px; width:111px; height:13px; ">가족 정보</caption>
- <button id="btn_memorialday" class="btn2_letter5" style="left:581px; top:124px; width:75px; height:19px; ">
- <caption>기념일 정보</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/temp/list/key/mpphontel", model.getValue("/root/main/clntdata/basic/mpphontel") );
- model.makeValue("/root/temp/list/key/etctelno1", model.getValue("/root/main/clntdata/basic/etctelno1") );
- model.refresh();
- window.load("SPCMS00900_고객기념일정보.xrw", "modal", "memo_pop", "align:center;", "/root/temp/list/key", "/root/temp/list/key");
- ]]>
- </script>
- </button>
- <button id="btn_addFamily" class="btn2_letter3" style="left:791px; top:124px; width:53px; height:19px; ">
- <caption>행 추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_family.addRow();
-
- var cur_row = grd_family.row;
- model.setValue("/root/main/clntdata/familygrid[" + cur_row + "]/pid", model.getValue("/root/main/clntdata/basic/pid") );
- model.setValue("/root/main/clntdata/familygrid[" + cur_row + "]/insukind", "ZZ" );
- model.setValue("/root/main/clntdata/familygrid[" + cur_row + "]/todd",getCurrentDate().toDate().getAddDate(100,"Y").getDateFormat());
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_delFamily" class="btn2_letter3" style="left:847px; top:124px; width:53px; height:19px; ">
- <caption>행 삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var row = grd_family.row;
-
- deleteSelectedRows(grd_family, true);
-
- // grd_family.deleteRow(grd_family.row);
- // grd_family.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_saveFamily" class="btn5_letter4" style="left:903px; top:124px; width:64px; height:19px; ">
- <caption>가족 저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var row = grd_family.row;
-
- if (grd_family.row > 0){
- model.makeValue("/root/send/familygrid", grd_family.getUpdateData());
- if ( submit("TXCMS00102") ) {
- grd_family.clearStatus(); // submit() 성공하면 그리드의 i,u,d 상태 제거
- messageBox("가족 정보 저장이 ", "I002");
- model.removeNodeset("/root/main/clntdata/familygrid");
- submit("TRCMS00402");
- model.removeNodeset("/root/send/familygrid");
- model.refresh();
- }
- } else {
- messageBox("저장할 가족 정보가 ","I004");
- model.SetFocus("btn_addFamily");
- }
- ]]>
- </script>
- </button>
- <line id="line21" class="line_1" style="x1:488px; y1:146px; x2:970px; y2:146px; "/>
- <datagrid id="grd_family" nodeset="/root/main/clntdata/familygrid" caption="가족 이름^성별^생년월일^가족관계^비고" colsep="^" colwidth="80, 40, 75, 79, 161, 0, 0, 0, 0, 0" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:488px; top:151px; width:482px; height:107px; ">
- <col class="text_center" ref="famypatnm" type="input"/>
- <col class="text_center" ref="sex" type="combo">
- <choices>
- <item>
- <label>선택</label>
- <value/>
- </item>
- <item>
- <label>남</label>
- <value>M</value>
- </item>
- <item>
- <label>여</label>
- <value>F</value>
- </item>
- </choices>
- </col>
- <col class="text_center" ref="brthdd" type="input" format="yyyy-mm-dd" maxlength="8"/>
- <col class="text_center" ref="famyrela" type="combo">
- <choices>
- <itemset nodeset="/root/init/P0016list/P0016">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="famyinfomemo" type="input" maxlength="240"/>
- <col ref="famycd" visibility="hidden"/>
- <col ref="pid" visibility="hidden"/>
- <col ref="insukind" visibility="hidden"/>
- <col ref="todd" visibility="hidden"/>
- <col ref="seqno" visibility="hidden"/>
- </datagrid>
- <caption id="caption36" class="tit_2" style="left:494px; top:0px; width:111px; height:14px; ">추가 정보</caption>
- <line id="line12" class="line_1" style="x1:488px; y1:15px; x2:970px; y2:15px; "/>
- <select id="ckb_maryyn" ref="/root/main/clntdata/basic/maryyn" overflow="hidden" appearance="full" style="left:735px; top:126px; width:50px; height:16px; border-style:none; ">
- <choices>
- <item>
- <label>기혼</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <caption id="caption24" class="cell_1" style="left:488px; top:20px; width:105px; height:23px; text-align:center; vertical-align:middle; ">혈액형</caption>
- <select1 id="cmb_btype" ref="/root/main/clntdata/basic/btype" class="combo_default" appearance="minimal" style="left:596px; top:21px; width:67px; height:19px; ">
- <choices>
- <item>
- <label>A형</label>
- <value>A</value>
- </item>
- <item>
- <label>B형</label>
- <value>B</value>
- </item>
- <item>
- <label>O형</label>
- <value>O</value>
- </item>
- <item>
- <label>AB형</label>
- <value>AB</value>
- </item>
- </choices>
- <hint>
- <![CDATA[ABO형]]>
- </hint>
- </select1>
- <select1 id="cmb_rh" ref="/root/main/clntdata/basic/rh" class="combo_default" appearance="minimal" style="left:666px; top:21px; width:60px; height:19px; ">
- <choices>
- <item>
- <label>선택</label>
- <value/>
- </item>
- <item>
- <label>RH +</label>
- <value>+</value>
- </item>
- <item>
- <label>RH -</label>
- <value>-</value>
- </item>
- </choices>
- <hint>
- <![CDATA[RH +/-형]]>
- </hint>
- </select1>
- <select id="chk_forgeryn" ref="/root/main/clntdata/basic/forgeryn" overflow="hidden" appearance="full" style="left:730px; top:71px; width:58px; height:19px; border-style:none; ">
- <choices>
- <item>
- <label>외국인</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_animyn" ref="/root/main/clntdata/basic/animyn" overflow="visible" appearance="full" style="left:250px; top:72px; width:70px; height:19px; border-style:none; ">
- <choices>
- <item>
- <label>동물여부</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <caption id="caption26" class="cell_1" style="left:488px; top:44px; width:105px; height:23px; text-align:center; vertical-align:middle; ">종교</caption>
- <select1 id="cmb_religncd" ref="/root/main/clntdata/basic/religncd" class="combo_default" appearance="minimal" style="left:596px; top:45px; width:130px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0157list/P0157">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption29" class="cell_1" style="left:488px; top:68px; width:105px; height:23px; text-align:center; vertical-align:middle; ">국적</caption>
- <select1 id="ipt_nati" ref="/root/main/clntdata/basic/nati" class="combo_default" appearance="minimal" style="left:596px; top:69px; width:130px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0400list/P0400">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption31" class="cell_1" style="left:730px; top:20px; width:105px; height:23px; text-align:center; vertical-align:middle; ">성당명</caption>
- <input id="ipt_chchnm" ref="/root/main/clntdata/basic/chchnm" class="input_default" maxlength="20" style="left:838px; top:21px; width:125px; height:19px; "/>
- <caption id="caption30" class="cell_1" style="left:730px; top:44px; width:105px; height:23px; text-align:center; vertical-align:middle; ">세례명</caption>
- <input id="ipt_baptnm" ref="/root/main/clntdata/basic/baptnm" class="input_default" maxlength="20" style="left:838px; top:45px; width:125px; height:19px; "/>
- <caption id="caption32" class="cell_1" style="left:488px; top:92px; width:105px; height:23px; text-align:center; vertical-align:middle; ">추천인</caption>
- <select id="chk_recmyn" ref="/root/main/clntdata/basic/recmyn" overflow="hidden" appearance="full" style="left:600px; top:96px; width:80px; height:16px; border-style:none; ">
- <choices>
- <item>
- <label>직원 소개</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <output id="ipt_recmernm" ref="/root/main/clntdata/basic/recmernm" class="output_fix" style="left:700px; top:93px; width:93px; height:19px; "/>
- <output id="ipt_recmerid" ref="/root/main/clntdata/basic/recmerid" class="output_fix" visibility="hidden" style="left:820px; top:93px; width:8px; height:19px; "/>
- <button id="btnicon_search4" class="icon_search" style="left:796px; top:94px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var search_condition = "empnm";
- var search_term = model.getValue("/root/main/clntdata/basic/recmernm");
-
- var receive_empid_path = "/root/main/clntdata/basic/recmerid";
- var receive_empnm_path = "/root/main/clntdata/basic/recmernm";
- var receive_deptcd_path = "";
- var receive_deptnm_path = "";
-
- setParameter("search_condition", search_condition);
- setParameter("search_term", search_term);
- setParameter("receive_empid_path", receive_empid_path);
- setParameter("receive_empnm_path", receive_empnm_path);
- setParameter("receive_deptcd_path", receive_deptcd_path);
- setParameter("receive_deptnm_path", receive_deptnm_path);
-
- modal("SPCCM00400")
-
- clearParameter("search_condition");
- clearParameter("search_term");
- clearParameter("receive_empid_path");
- clearParameter("receive_empnm_path");
- clearParameter("receive_deptcd_path");
- clearParameter("receive_deptnm_path");
- ]]>
- </script>
- </button>
- <select1 id="cmb_recmerrela" ref="/root/main/clntdata/basic/recmerrela" class="combo_default" appearance="minimal" style="left:831px; top:93px; width:125px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0327list/P0327">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption16" class="cell_1" style="left:0px; top:92px; width:105px; height:23px; text-align:center; vertical-align:middle; ">현재상태</caption>
- <line id="line10" class="line_2" style="x1:0px; y1:114px; x2:483px; y2:114px; "/>
- <input id="input1" ref="/root/main/clntdata/basic/hospicedethdd" class="input_default" maxlength="8" format="yyyy-mm-dd" style="left:242px; top:93px; width:125px; height:19px; "/>
- <line id="line11" class="line_2" style="x1:0px; y1:138px; x2:483px; y2:138px; "/>
- <input id="input2" ref="/root/main/clntdata/basic/etctelno1" class="input_default" maxlength="15" style="left:353px; top:141px; width:125px; height:19px; "/>
- <line id="line18" class="line_2" style="x1:0px; y1:162px; x2:483px; y2:162px; "/>
- <input id="input3" ref="/root/temp/email/host" class="input_default" imemode="disabled" maxlength="50" style="left:235px; top:165px; width:105px; height:19px; "/>
- <input id="ipt_email" ref="/root/temp/email/user" class="input_default" maxlength="50" style="left:108px; top:165px; width:105px; height:19px; "/>
- <caption id="caption10" style="left:214px; top:166px; width:20px; height:19px; font-size:11pt; text-align:center; vertical-align:middle; ">@</caption>
- <select1 id="cmb_email" ref="/root/temp/email/selhost" appearance="minimal" overflow="visible" style="left:353px; top:165px; width:125px; height:19px; ">
- <choices>
- <item>
- <label>직접입력</label>
- <value/>
- </item>
- <item>
- <label>hanmail.net</label>
- <value>hanmail.net</value>
- </item>
- <item>
- <label>nate.com</label>
- <value>nate.com</value>
- </item>
- <item>
- <label>yahoo.co.kr</label>
- <value>yahoo.co.kr</value>
- </item>
- <item>
- <label>naver.com</label>
- <value>naver.com</value>
- </item>
- <item>
- <label>empal.com</label>
- <value>empal.com</value>
- </item>
- <item>
- <label>paran.com</label>
- <value>paran.com</value>
- </item>
- <item>
- <label>hitel.net</label>
- <value>hitel.net</value>
- </item>
- <item>
- <label>dreamwiz.com</label>
- <value>dreamwiz.com</value>
- </item>
- <item>
- <label>lycos.co.kr</label>
- <value>lycos.co.kr</value>
- </item>
- <item>
- <label>chollian.net</label>
- <value>chollian.net</value>
- </item>
- <item>
- <label>hotmail.com</label>
- <value>hotmail.com</value>
- </item>
- <item>
- <label>unitel.co.kr</label>
- <value>unitel.co.kr</value>
- </item>
- <item>
- <label>nownuri.net</label>
- <value>nownuri.net</value>
- </item>
- <item>
- <label>hanafos.com</label>
- <value>hanafos.com</value>
- </item>
- <item>
- <label>kornet.net</label>
- <value>kornet.net</value>
- </item>
- <item>
- <label>catholic.ac.kr</label>
- <value>catholic.ac.kr</value>
- </item>
- <item>
- <label>cmcnu.or.kr</label>
- <value>cmcnu.or.kr</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var selhost = model.getValue("/root/temp/email/selhost");
- model.setValue("/root/temp/email/host", selhost);
- model.refresh();
- ]]>
- </script>
- </select1>
- </group>
- <group id="grp_add" style="left:0px; top:288px; width:1186px; height:222px; ">
- <caption id="caption23" class="cell_1" style="left:709px; top:5px; width:105px; height:23px; text-align:center; vertical-align:middle; ">최종 내원일</caption>
- <caption id="caption25" class="cell_1" style="left:951px; top:5px; width:105px; height:23px; text-align:center; vertical-align:middle; ">최초 내원일</caption>
- <input id="input4" ref="/root/main/clntdata/basic/lastchosdt" class="input_default" maxlength="8" format="yyyy-mm-dd" style="left:817px; top:7px; width:125px; height:19px; "/>
- <input id="input5" ref="/root/main/clntdata/basic/fstchosdt" class="input_default" maxlength="8" format="yyyy-mm-dd" style="left:1059px; top:7px; width:125px; height:19px; "/>
- <button id="btn_out" class="btn_sw2" group="tab" style="left:0px; top:10px; width:40px; height:22px; ">
- <caption>외래</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case1");
- //외래 불러오기
- submit("TRCMS00102");
- ]]>
- </script>
- </button>
- <button id="btn_in" class="btn_sw2" group="tab" style="left:45px; top:10px; width:40px; height:22px; ">
- <caption>입원</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case2");
- submit("TRCMS00103");//입원 조회
- var grid = grd_in;
- var rows = grid.rows-1;
- if(rows>=1){
- var toDay = getCurrentDate().substring(0, 8);
- var stDay = "";
- var enDay = "";
- var hd = "";
- for(i=1; i<=rows; i++){
- stDay = grid.valuematrix(i,grid.colRef("orddd"));
- enDay = grid.valuematrix(i,grid.colRef("dschdd"));
- if(enDay == "99991231"){//입원중
- hd = getDateInterval(stDay ,toDay);
- hd += "일"
- model.setValue("/root/main/list/inlist[" + i + "]/hd", hd);
- model.setValue("/root/main/list/inlist[" + i + "]/dschdd", "입원중");
- }else{ //퇴원
- hd = getDateInterval(stDay ,enDay);
- hd += "일"
- model.setValue("/root/main/list/inlist[" + i + "]/hd", hd);
- }
- }
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_op" class="btn_sw2" group="tab" style="left:90px; top:10px; width:40px; height:22px; text-align:center; ">
- <caption>수술</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case3");
- submit("TRCMS00104");//수술 조회
- ]]>
- </script>
- </button>
- <button id="btn_healexam" class="btn_sw2" group="tab" style="left:135px; top:10px; width:40px; height:22px; ">
- <caption>건진</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case4");
- submit("TRCMS00105");//건진 조회
- ]]>
- </script>
- </button>
- <line id="line36" class="line_1" style="x1:0px; y1:29px; x2:1186px; y2:29px; "/>
- <switch id="switch1" style="left:0px; top:33px; width:1186px; height:185px; border-color:#c7a3cf; border-style:solid; ">
- <case id="case1" selected="true">
- <datagrid id="grd_out" nodeset="/root/main/list/outlist" autoresize="true" caption="진료일^진료과^진료 의사^선택 진료^초재진^보험 유형^진단명^협력 구분^협력 병원명" colsep="^" colwidth="96, 128, 96, 68, 84, 93, 383, 82, 86" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:1px; width:1165px; height:182px; ">
- <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="orddeptnm" style="text-align:center; "/>
- <col ref="orddrnm" style="text-align:center; "/>
- <col ref="specordyn" style="text-align:center; "/>
- <col disabled="true" ref="fsexamflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0021list/P0021">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="insukind" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0008list/P0008">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="diagnm" style="text-align:center; "/>
- <col disabled="true" ref="rqstflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0329list/P0329">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="rqsthospcd" style="text-align:center; "/>
- </datagrid>
- </case>
- <case id="case2">
- <datagrid id="grd_in" nodeset="/root/main/list/inlist" autoresize="true" caption="입원일^퇴원일^HD^진료과^전문의^주치의^진단일^진단명^병실^호스피스^BMT" colsep="^" colwidth="80, 80, 70, 68, 80, 80, 80, 408, 76, 60, 50" explorerbar="sort" extendlastcol="scroll" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:1px; width:1165px; height:182px; ">
- <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="hd" style="text-align:center; "/>
- <col ref="orddeptnm" style="text-align:center; "/>
- <col ref="medispclnm" style="text-align:center; "/>
- <col ref="atdoctnm" style="text-align:center; "/>
- <col ref="diagdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="diagnm" style="text-align:center; "/>
- <col ref="roomcd" style="text-align:center; "/>
- <col ref="hospiceyn" style="text-align:center; "/>
- <col ref="bmtyn" style="text-align:center; "/>
- </datagrid>
- </case>
- <case id="case3">
- <datagrid id="grd_op" nodeset="/root/main/list/oplist" caption="수술일^구분^진료과^마취형태^수술명^집도과^집도의" colsep="^" colwidth="110, 93, 155, 115, 387, 164, 100" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:1px; width:1165px; height:182px; ">
- <col ref="opcnfmdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="opflagcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/M0013list/M0013">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="orddeptnm" style="text-align:center; "/>
- <col ref="anstreqflag" style="text-align:center; "/>
- <col ref="opnm" style="text-align:center; "/>
- <col ref="perfdeptnm" style="text-align:center; "/>
- <col ref="perfdrnm" style="text-align:center; "/>
- </datagrid>
- </case>
- <case id="case4">
- <datagrid id="grd_healexam" nodeset="/root/main/list/healexamlist" caption="건진일^구분^항목^건진 명칭^검사명" colsep="^" colwidth="110, 113, 242, 189, 468" explorerbar="sort" extendlastcol="scroll" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:1px; width:1165px; height:182px; ">
- <col ref="rsrvdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="healexamflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/A0068list/A0068">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="pkgnm" style="text-align:center; "/>
- <col disabled="true" ref="healexamdetlflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/A0070list/A0070">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="testnm" style="text-align:center; "/>
- </datagrid>
- </case>
- </switch>
- </group>
- <group id="grp_voc" style="left:1px; top:523px; width:1186px; height:222px; ">
- <button id="btn_voc" class="btn_sw5" group="tab2" style="left:0px; top:0px; width:40px; height:22px; ">
- <caption>VOC 이력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case10");
- submit("TRCMS00107");//VOC 조회
- ]]>
- </script>
- </button>
- <button id="btn_rem" class="btn_sw8" group="tab2" style="left:81px; top:0px; width:89px; height:22px; ">
- <caption>교직원 참고사항</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case11");
- submit("TRCMS00108");//교직원 참고사항 조회
- ]]>
- </script>
- </button>
- <button id="btn_delive" class="btn_sw5" group="tab2" style="left:198px; top:0px; width:76px; height:22px; ">
- <caption>발송 이력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case12");
- submit("TRCMS00109");//발송이력 조회
- ]]>
- </script>
- </button>
- <button id="btn_cmpn" class="btn_sw6" group="tab2" style="left:279px; top:0px; width:40px; height:22px; ">
- <caption>캠페인 이력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case13");
- submit("TRCMS00106");//캠페인 조회
- ]]>
- </script>
- </button>
- <line id="line3" class="line_1" style="x1:0px; y1:19px; x2:1186px; y2:19px; "/>
- <switch id="switch2" style="left:0px; top:23px; width:1186px; height:195px; border-color:#c7a3cf; border-style:solid; ">
- <case id="case10">
- <datagrid id="grd_voc" nodeset="/root/main/list/voclist" autoresize="true" caption="접수번호^접수일^접수구분^접수유형^접수제목^담당부서^담당자^진행상황^등록자" colsep="^" colwidth="81, 97, 91, 95, 329, 125, 100, 100, 100, 0" explorerbar="sort" extendlastcol="scroll" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:1px; width:1165px; height:190px; ">
- <col ref="acptseq" style="text-align:center; "/>
- <col ref="acptdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="acpttypenm" style="text-align:center; "/>
- <col ref="acptkindlrgnm" style="text-align:center; "/>
- <col ref="acpttitl" style="text-align:center; "/>
- <col ref="deptnm" style="text-align:center; "/>
- <col ref="empnm" style="text-align:center; "/>
- <col ref="prcsstatnm" style="text-align:center; "/>
- <col ref="fstrgstrnm" style="text-align:center; "/>
- <col ref="acptcnts" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var s_contents = grd_voc.valueMatrix(grd_voc.row, grd_voc.colRef("acptcnts"));
-
- model.setValue("/root/main/vocpopup/title", "민원 내용");
- model.setValue("/root/main/vocpopup/contents", s_contents);
- model.makeValue("/root/main/vocpopup/inputmode", "");
- model.makeValue("/root/main/vocpopup/receive_path", "");
-
- open("SPCVD00500", "", "", "", "SPCVD00500", "/root/main/vocpopup", "/root/main/vocpopup");
-
- model.setValue("/root/main/vocpopup/title", "");
- model.setValue("/root/main/vocpopup/contents", "");
- model.refresh();
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case11">
- <datagrid id="grd_rem" nodeset="/root/main/list/remlist" autoresize="true" caption="이력상태^진료 가능 여부^등록 사유^종결 사유" colsep="^" colwidth="94, 126, 485, 418" explorerbar="sort" extendlastcol="scroll" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:1px; width:1165px; height:190px; ">
- <col ref="hisstatnm" style="text-align:center; "/>
- <col ref="ordpossyn" style="text-align:center; "/>
- <col ref="acptresn" style="text-align:center; "/>
- <col ref="endresn" style="text-align:center; "/>
- </datagrid>
- </case>
- <case id="case12" selected="true">
- <datagrid id="grd_delive" nodeset="/root/main/list/delivelist" autoresize="true" caption="전송구분^전송일자^업무 구분^업무 상세구분^수신 전화번호 / 메일주소^SMS 내용 / 메일 제목" colsep="^" colwidth="78, 88, 86, 95, 176, 597" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:1px; width:1165px; height:190px; ">
- <col ref="trnstype" style="text-align:center; "/>
- <col ref="trsmdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="bizflagnm" style="text-align:center; "/>
- <col ref="bizdetlnm" style="text-align:center; "/>
- <col ref="recvr" style="text-align:center; "/>
- <col ref="cnts" style="text-align:center; "/>
- </datagrid>
- </case>
- <case id="case13">
- <datagrid id="grd_cmpn" nodeset="/root/main/list/cmpnlist" autoresize="true" caption="등록일시^캠페인명^실행일시^실행여부^SMS 사용 여부^E-Mail 사용 여부" colsep="^" colwidth="140, 509, 140, 88, 120, 125" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:1px; width:1165px; height:190px; ">
- <col ref="cmpnrgstdt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
- <col ref="cmpnnm" style="text-align:center; "/>
- <col ref="cmpnexecdt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
- <col ref="execyn" style="text-align:center; "/>
- <col ref="smsuseyn" style="text-align:center; "/>
- <col ref="emailuseyn" style="text-align:center; "/>
- </datagrid>
- </case>
- </switch>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:748px; width:1187px; height:27px; ">
- <button id="btn_innr" class="btn6_letter6" style="left:0px; top:5px; width:56px; height:22px; ">
- <caption>고객정보검색</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var reInputMode = model.getValue("/root/temp/list/key/inputmode")
-
- if ( reInputMode == "R" ) {
- navigate("SMCMS00200", "", "", "", "SMCVA00200", "/root/temp", "/root/send");
- } else {
- navigate("SMCMS00300", "", "", "", "SMCVA00300", "/root/temp", "/root/send");
- }
- ]]>
- </script>
- </button>
- <button id="btn_addr" class="btn6_letter3" style="left:108px; top:5px; width:56px; height:22px; ">
- <caption>주소록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- navigate("SMCMS00500", "", "", "", "SMCMS00500", "", "");
- ]]>
- </script>
- </button>
- <button id="btn_clear" class="btn4_letter3" style="left:1119px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/init/A0118list/A0118");
- model.removeNodeset("/root/init/A0115list/A0115");
- model.removeNodeset("/root/init/C0021list/C0021");
- model.removeNodeset("/root/init/P0015list/P0015");
- model.removeNodeset("/root/init/P0016list/P0016");
- model.removeNodeset("/root/init/P0157list/P0157");
- model.removeNodeset("/root/init/P0327list/P0327");
- model.removeNodeset("/root/init/P0349list/P0349");
-
- model.dispatch("xforms-ready");
- ]]>
- </script>
- </button>
- <button id="btn_save2" class="btn4_letter2" style="left:1060px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/temp/list/key/sndpid")==model.getValue("/root/main/clntdata/basic/pid")){
- var user = model.getValue("/root/temp/email/user");
- var host = model.getValue("/root/temp/email/host");
- if(user != ""){
- var email = user + "@" + host;
- model.setValue("/root/main/clntdata/basic/email", email);
- }
-
- if ( submit("TXCMS00401") ) {
- messageBox("개인 정보 저장이 ", "I002");
- }
- }else{
- messageBox("등록번호가", "E004");
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_leftmenu" style="left:970px; top:23px; width:215px; height:262px; ">
- <caption id="caption61" class="tit_2" style="left:0px; top:0px; width:165px; height:13px; ">나의 고객 그룹 위치</caption>
- <line id="line37" class="line_1" style="x1:5px; y1:15px; x2:215px; y2:15px; "/>
- <datagrid id="grd_innrgruplistpat" nodeset="/root/main/clntdata/innrgruplistpat" autoresize="true" caption="분류^그룹명" colsep="^" colwidth="51, 112, 0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:21px; width:210px; height:237px; ">
- <col class="text_center" ref="publnm"/>
- <col class="text_center" ref="innrgrupnm"/>
- <col ref="innrgrupid" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var row = grd_innrgruplistpat.row;
- var receive_publnm = grd_innrgruplistpat.valueMatrix(row, grd_innrgruplistpat.colRef("publnm"));
- var receive_innrgrupnm = grd_innrgruplistpat.valueMatrix(row, grd_innrgruplistpat.colRef("innrgrupnm"));
- var receive_innrgrupid = grd_innrgruplistpat.valueMatrix(row, grd_innrgruplistpat.colRef("innrgrupid"));
- if ((grd_innrgruplistpat.row > 0) && grd_innrgruplistpat.isCell(event.target)){
- model.setValue("/root/temp/grupkey/sndpublnm", receive_publnm);
- model.setValue("/root/temp/grupkey/sndinnrgrupnm", receive_innrgrupnm);
- model.setValue("/root/temp/grupkey/sndinnrgrupid", receive_innrgrupid);
-
- navigate("SMCMS00500", "", "", "", "SMCMS00500", "/root/temp/grupkey", "/root/temp/grupkey");
- } else {
- }
- ]]>
- </script>
- </datagrid>
- </group>
- </xhtml:body>
- </xhtml:html>
|