123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * Name : SPCMS00600_주소록
- * Summary : 주소록
- * Programmer : 차재훈
- * Date Written : 2008.07.29
- * History : 2008.07.29
- * Remark :
- -->
- <?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>
- <innrgrupinfo>
- <innrgruplist>
- <innrgrupnm/>
- <innrgrupid/>
- </innrgruplist>
- </innrgrupinfo>
- <item>
- <innrclntnm/>
- <email/>
- <mpphontel/>
- <zipcd1/>
- <zipcd2/>
- <detladdr/>
- <innrclntflagnm/>
- <posinstnm/>
- <posdeptnm/>
- <dutinstnm/>
- <dutdeptnm/>
- <jobrespnm/>
- <workplcenm/>
- <deptnm/>
- <jobgrad/>
- <hometel/>
- <intphno/>
- <faxno/>
- <brthdd/>
- <lunarsolagflag/>
- <memo/>
- <addemail/>
- <innrgrupid/>
- <innrclntflag/>
- <innrclntid/>
- <savemode/>
- </item>
- </main>
- <send>
- <publyn/>
- <innrgrupid/>
- <innrclntflag/>
- <innrclntid/>
- </send>
- <temp>
- <email>
- <userid/>
- <host/>
- <selhost/>
- <userid2/>
- <host2/>
- <selhost2/>
- </email>
- </temp>
- <init>
- </init>
- <fwd>
- <innrclntflag/>
- <innrgrupid/>
- <innrclntid/>
- <savemode/>
- <publyn/>
- </fwd>
- </root>
- </instance>
- <submission id="TRCCN00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/innrgrupinfo/innrgruplist"/>
- <submission id="TRCMS00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
- <submission id="TXCMS00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/item" replace="instance"/>
- </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="../../../crm/crmweb/js/CCZ001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //내부고객관리에서 값 넘어옴
- var innrclntflag = model.getValue("/root/fwd/innrclntflag");
- var innrgrupid = model.getValue("/root/fwd/innrgrupid");
- var innrclntid = model.getValue("/root/fwd/innrclntid");
- var savemode = model.getValue("/root/fwd/savemode");
- var publyn = model.getValue("/root/fwd/publyn");
- //I추가, U수정, D삭제, G상세보기
- model.setValue("/root/main/item/savemode", savemode);
- model.setValue("/root/send/innrclntflag", innrclntflag);
- model.setValue("/root/send/innrgrupid", innrgrupid);
- model.setValue("/root/send/innrclntid", innrclntid);
- model.setValue("/root/send/publyn", publyn);
-
- if(innrclntflag == "0"){//새로추가
- // 초기화면 개인주소록으로 설정
- //rdo_publyn.value = "N";
- model.removenodeset("/root/main/innrgrupinfo/innrgruplist");
- submit("TRCCN00501"); //주소록 cmb
- model.setValue("/root/main/item/innrclntflagnm", "기타");
- model.setValue("/root/main/item/innrclntflag", "3");
- fSetStatus("save");
- ipt_dutinstnm.disabled = true;
- ipt_dutdeptnm.disabled = true;
- ipt_jobrespnm.disabled = true;
- ipt_posinstnm.disabled = true;
- ipt_posdeptnm.disabled = true;
- }else {//상세보기 및 수정
- submit("TRCMS00601"); //id로 새로 검색
- var email = "/root/main/item/email";
- var userid = "/root/temp/email/userid";
- var host = "/root/temp/email/host";
- var email2 = "/root/main/item/addemail";
- var userid2 = "/root/temp/email/userid2";
- var host2 = "/root/temp/email/host2";
- fGetEmai(email, userid, host);
- fGetEmai(email2, userid2, host2);
- model.removenodeset("/root/main/innrgrupinfo/innrgruplist");
- submit("TRCCN00501"); //주소록 cmb
- model.setValue("/root/send/innrgrupid", innrgrupid);
- if(savemode == "U"){//수정
- model.setValue("/root/main/item/savemode", savemode);
- fSetStatus("save");
- if(innrclntflag == "2"){//교직원일때 소속정보 이름 수정 불가
- ipt_innrclntnm.attribute("editable") = "false";
- ipt_workplcenm.disabled = true;
- ipt_deptnm.disabled = true;
- ipt_jobgrad.disabled = true;
- ipt_dutinstnm.disabled = false;
- ipt_dutdeptnm.disabled = false;
- ipt_jobrespnm.disabled = false;
- ipt_posinstnm.disabled = false;
- ipt_posdeptnm.disabled = false;
- } else {
- ipt_innrclntnm.attribute("editable") = "true";
- ipt_workplcenm.disabled = false;
- ipt_deptnm.disabled = false;
- ipt_jobgrad.disabled = false;
- ipt_dutinstnm.disabled = true;
- ipt_dutdeptnm.disabled = true;
- ipt_jobrespnm.disabled = true;
- ipt_posinstnm.disabled = true;
- ipt_posdeptnm.disabled = true;
- }
- }else{ //상세보기
- fSetStatus("get");
- if(innrclntflag == "2"){//교직원일때 소속정보 이름 수정 불가
- ipt_workplcenm.disabled = true;
- ipt_deptnm.disabled = true;
- ipt_jobgrad.disabled = true;
- ipt_dutinstnm.disabled = false;
- ipt_dutdeptnm.disabled = false;
- ipt_jobrespnm.disabled = false;
- ipt_posinstnm.disabled = false;
- ipt_posdeptnm.disabled = false;
- } else {
- ipt_workplcenm.disabled = false;
- ipt_deptnm.disabled = false;
- ipt_jobgrad.disabled = false;
- ipt_dutinstnm.disabled = true;
- ipt_dutdeptnm.disabled = true;
- ipt_jobrespnm.disabled = true;
- ipt_posinstnm.disabled = true;
- ipt_posdeptnm.disabled = true;
- }
- }
- }
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- //////////=================///////////
- //e-mail체크 해서 id와 host로 나누기 //
- //////////================////////////
- function fGetEmai(email, userid, host){
- var str = model.getValue(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.setValue(host, str_host);
- }
- if(str_user != "" && str_user != "null"){
- model.setValue(userid, str_user);
- }
- }
- model.refresh();
- }
-
- //===================================//
- //상세보기 및 추가 수정상태 화면 조절//
- //===================================//
- function fSetStatus(mode){
- if(mode == "get"){
- rdo_publyn.disabled = true;
- cmb_innrgroup.disabled = true;
- grp_save2.visible = false;
- grp_get.visible = true;
-
- ipt_innrclntnm.attribute("editable") = "false";
- ipt_email.attribute("editable") = "false";
- ipt_emailaddr.attribute("editable") = "false";
- cmb_email.disabled = true;
- ipt_mpphontel.attribute("editable") = "false";
- ipt_hometel.attribute("editable") = "false";
- ipt_intphno.attribute("editable") = "false";
- ipt_faxno.attribute("editable") = "false";
- ipt_zipcd1.attribute("editable") = "false";
- ipt_zipcd2.attribute("editable") = "false";
- btnicon_search3.disabled = true;
- ipt_detladdr.attribute("editable") = "false";
- ipt_workplcenm.attribute("editable") = "false";
- ipt_deptnm.attribute("editable") = "false";
- ipt_jobgrad.attribute("editable") = "false";
-
- ipt_memodd.disabled = true;
- rdo_lunarsolarflag.disabled = true;
- tar_memo.attribute("editable") = "false";
- ipt_email2.attribute("editable") = "false";
- ipt_emailaddr2.attribute("editable") = "false";
- cmb_email2.disabled = true;
-
- //grp_body.disabled = true;
- //grp_body2.disabled = true;
- }else{
- if(model.getValue("/root/main/item/savemode") == "I"){
- rdo_publyn.disabled = false;
- cmb_innrgroup.disabled = false;
- }else{
- rdo_publyn.disabled = true;
- cmb_innrgroup.disabled = true;
- }
- grp_save2.visible = true;
- grp_get.visible = false;
-
- ipt_innrclntnm.attribute("editable") = "true";
- ipt_email.attribute("editable") = "true";
- ipt_emailaddr.attribute("editable") = "true";
- cmb_email.disabled = false;
- ipt_mpphontel.attribute("editable") = "true";
- ipt_hometel.attribute("editable") = "true";
- ipt_intphno.attribute("editable") = "true";
- ipt_faxno.attribute("editable") = "true";
- ipt_zipcd1.attribute("editable") = "true";
- ipt_zipcd2.attribute("editable") = "true";
- btnicon_search3.disabled = false;
- ipt_detladdr.attribute("editable") = "true";
- ipt_workplcenm.attribute("editable") = "true";
- ipt_deptnm.attribute("editable") = "true";
- ipt_jobgrad.attribute("editable") = "true";
-
- ipt_memodd.disabled = false;
- rdo_lunarsolarflag.disabled = false;
- tar_memo.attribute("editable") = "true";
- ipt_email2.attribute("editable") = "true";
- ipt_emailaddr2.attribute("editable") = "true";
- cmb_email2.disabled = false;
-
- //grp_body.disabled = true;
- //grp_body2.disabled = true;
- grp_body.disabled = false;
- grp_body2.disabled = false;
- }
- }
- //=======================//
- //주소록위치 cmb설정 //
- //=======================//
- function fGetCmbStatus(){
- for(var i=0; i < cmb_innrgroup.length; i++) {
- if(cmb_innrgroup.item(i).value == innrgrupid) {
- cmb_innrgroup.select(i);
- }
- }
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="530" pageheight="520" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_body" style="left:0px; top:15px; width:510px; height:270px; ">
- <caption id="caption9" class="tit_2" style="left:0px; top:0px; width:95px; height:14px; ">기본 정보</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:15px; x2:505px; y2:15px; "/>
- <line id="line6" class="line_2" style="x1:0px; y1:43px; x2:505px; y2:43px; "/>
- <line id="line1" class="line_2" style="x1:0px; y1:68px; x2:505px; y2:68px; "/>
- <line id="line3" class="line_2" style="x1:0px; y1:93px; x2:505px; y2:93px; "/>
- <line id="line5" class="line_2" style="x1:0px; y1:118px; x2:505px; y2:118px; "/>
- <line id="line7" class="line_2" style="x1:0px; y1:143px; x2:505px; y2:143px; "/>
- <line id="line4" class="line_2" style="x1:0px; y1:168px; x2:505px; y2:168px; "/>
- <line id="line8" class="line_2" style="x1:0px; y1:193px; x2:505px; y2:193px; "/>
- <line id="line9" class="line_2" style="x1:0px; y1:243px; x2:505px; y2:243px; "/>
- <caption id="cap_dmtitl" class="cell_1" style="left:0px; top:20px; width:90px; height:23px; text-align:center; vertical-align:middle; ">이 름</caption>
- <input id="ipt_innrclntnm" ref="/root/main/item/innrclntnm" class="input_essential" navindex="1" maxlength="40" style="left:93px; top:22px; width:142px; height:19px; "/>
- <caption id="caption1" class="cell_1" style="left:0px; top:45px; width:90px; height:23px; text-align:center; vertical-align:middle; ">E-mail</caption>
- <input id="ipt_email" ref="/root/temp/email/userid" class="input_default" navindex="2" imemode="disabled" maxlength="30" style="left:93px; top:47px; width:115px; height:19px; "/>
- <caption id="caption10" style="left:211px; top:47px; width:20px; height:19px; font-size:11pt; text-align:center; vertical-align:middle; ">@</caption>
- <input id="ipt_emailaddr" ref="/root/temp/email/host" class="input_default" navindex="3" imemode="disabled" maxlength="30" style="left:232px; top:47px; width:135px; height:19px; "/>
- <select1 id="cmb_email" ref="/root/temp/email/selhost" navindex="4" overflow="visible" appearance="minimal" style="left:375px; top:47px; width:125px; height:19px; ">
- <choices>
- <item>
- <label>직접입력</label>
- <value/>
- </item>
- <item>
- <label>나우누리</label>
- <value>nownuri.net</value>
- </item>
- <item>
- <label>네이버</label>
- <value>naver.com</value>
- </item>
- <item>
- <label>네이트</label>
- <value>nate.com</value>
- </item>
- <item>
- <label>다음/한메일</label>
- <value>hanmail.net</value>
- </item>
- <item>
- <label>드림위즈</label>
- <value>dreamwiz.com</value>
- </item>
- <item>
- <label>라이코스</label>
- <value>lycos.co.kr</value>
- </item>
- <item>
- <label>야후</label>
- <value>yahoo.co.kr</value>
- </item>
- <item>
- <label>엠파스</label>
- <value>empal.com</value>
- </item>
- <item>
- <label>유니텔</label>
- <value>unitel.co.kr</value>
- </item>
- <item>
- <label>천리안</label>
- <value>chollian.net</value>
- </item>
- <item>
- <label>코넷</label>
- <value>kornet.net</value>
- </item>
- <item>
- <label>파란</label>
- <value>paran.com</value>
- </item>
- <item>
- <label>하나포스</label>
- <value>hanafos.com</value>
- </item>
- <item>
- <label>하이텔</label>
- <value>hitel.net</value>
- </item>
- <item>
- <label>핫메일</label>
- <value>hotmail.com</value>
- </item>
- <item>
- <label>Catholic</label>
- <value>catholic.ac.kr</value>
- </item>
- <item>
- <label>CMCnU</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>
- <caption id="caption2" class="cell_1" style="left:0px; top:70px; width:90px; height:23px; text-align:center; vertical-align:middle; ">휴대폰</caption>
- <input id="ipt_mpphontel" ref="/root/main/item/mpphontel" class="input_default" navindex="5" maxlength="28" style="left:93px; top:72px; width:152px; height:19px; "/>
- <caption id="caption3" class="cell_1" style="left:0px; top:120px; width:90px; height:23px; text-align:center; vertical-align:middle; ">주 소</caption>
- <output id="ipt_zipcd1" ref="/root/main/item/zipcd1" class="output_fix" style="left:93px; top:122px; width:42px; height:19px; "/>
- <caption id="caption4" style="left:125px; top:125px; width:30px; height:13px; text-align:center; vertical-align:middle; ">-</caption>
- <output id="ipt_zipcd2" ref="/root/main/item/zipcd2" class="output_fix" style="left:146px; top:122px; width:42px; height:19px; "/>
- <button id="btnicon_search3" class="icon_search" navindex="9" style="left:193px; top:124px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var search_condition = "srchcombination";
- var search_term1 = model.getValue("/root/main/item/zipcd1");
- var search_term2 = model.getValue("/root/main/item/zipcd2");
- var search_term = search_term1 + "-" + search_term2;
- var receive_zipcd1_path = "/root/main/item/zipcd1";
- var receive_zipcd2_path = "/root/main/item/zipcd2";
- var receive_zipcdseq_path = "";
- var receive_zipcdaddr_path = "/root/main/item/detladdr";
-
- 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);
-
- modal("SPCCM00200")
-
- clearParameter("search_condition");
- clearParameter("search_term");
- clearParameter("receive_zipcd1_path");
- clearParameter("receive_zipcd2_path");
- clearParameter("receive_zipcdseq_path");
- clearParameter("receive_zipcdaddr_path");
- ]]>
- </script>
- </button>
- <input id="ipt_detladdr" ref="/root/main/item/detladdr" class="input_default" navindex="10" maxlength="98" style="left:214px; top:122px; width:286px; height:19px; "/>
- <caption id="caption5" class="cell_1" style="left:0px; top:245px; width:90px; height:23px; text-align:center; vertical-align:middle; ">고객분류</caption>
- <caption id="cpt_innrclntflagnm" ref="/root/main/item/innrclntflagnm" style="left:95px; top:245px; width:120px; height:23px; font-weight:bold; vertical-align:middle; "/>
- <caption id="caption6" class="cell_1" style="left:0px; top:145px; width:90px; height:23px; text-align:center; vertical-align:middle; ">근무부서</caption>
- <caption id="caption7" class="cell_1" style="left:0px; top:170px; width:90px; height:23px; text-align:center; vertical-align:middle; ">소속부서</caption>
- <caption id="caption8" class="cell_1" style="left:0px; top:195px; width:90px; height:48px; text-align:center; vertical-align:middle; ">회사정보</caption>
- <input id="ipt_dutinstnm" ref="/root/main/item/dutinstnm" class="input_default" navindex="11" editable="false" maxlength="98" style="left:93px; top:147px; width:125px; height:19px; "/>
- <input id="ipt_dutdeptnm" ref="/root/main/item/dutdeptnm" class="input_default" navindex="12" editable="false" maxlength="98" style="left:221px; top:147px; width:152px; height:19px; "/>
- <input id="ipt_jobrespnm" ref="/root/main/item/jobrespnm" class="input_default" navindex="13" editable="false" maxlength="98" style="left:375px; top:147px; width:125px; height:19px; "/>
- <caption id="caption11" class="cell_1" style="left:255px; top:70px; width:90px; height:23px; text-align:center; vertical-align:middle; ">전화(home)</caption>
- <input id="ipt_hometel" ref="/root/main/item/hometel" class="input_default" navindex="6" maxlength="28" style="left:348px; top:72px; width:152px; height:19px; "/>
- <line id="line10" class="line_2" style="x1:0px; y1:268px; x2:505px; y2:268px; "/>
- <caption id="caption12" class="cell_1" style="left:0px; top:95px; width:90px; height:23px; text-align:center; vertical-align:middle; ">전화(office)</caption>
- <input id="ipt_intphno" ref="/root/main/item/intphno" class="input_default" navindex="7" maxlength="14" style="left:93px; top:97px; width:152px; height:19px; "/>
- <caption id="caption13" style="left:91px; top:196px; width:45px; height:23px; text-align:center; vertical-align:middle; ">직장명</caption>
- <caption id="caption14" style="left:91px; top:218px; width:45px; height:23px; text-align:center; vertical-align:middle; ">부서명</caption>
- <input id="ipt_posinstnm" ref="/root/main/item/posinstnm" class="input_default" navindex="14" editable="false" maxlength="98" style="left:93px; top:172px; width:125px; height:19px; "/>
- <input id="ipt_posdeptnm" ref="/root/main/item/posdeptnm" class="input_default" navindex="15" editable="false" maxlength="98" style="left:221px; top:172px; width:152px; height:19px; "/>
- <input id="ipt_workplcenm" ref="/root/main/item/workplcenm" class="input_default" navindex="16" maxlength="98" style="left:135px; top:197px; width:237px; height:19px; "/>
- <input id="ipt_deptnm" ref="/root/main/item/deptnm" class="input_default" navindex="17" maxlength="98" style="left:135px; top:219px; width:177px; height:19px; "/>
- <caption id="caption15" style="left:310px; top:218px; width:40px; height:23px; text-align:center; vertical-align:middle; ">직급</caption>
- <input id="ipt_jobgrad" ref="/root/main/item/jobgrad" class="input_default" navindex="18" maxlength="98" style="left:351px; top:220px; width:150px; height:19px; "/>
- <caption id="caption16" class="cell_1" style="left:255px; top:95px; width:90px; height:23px; text-align:center; vertical-align:middle; ">팩 스</caption>
- <input id="ipt_faxno" ref="/root/main/item/faxno" class="input_default" navindex="8" maxlength="14" style="left:348px; top:97px; width:152px; height:19px; "/>
- </group>
- <group id="grp_save2" style="left:0px; top:456px; width:490px; height:35px; vertical-align:top; ">
- <button id="btn_save" class="btn4_letter2" style="left:375px; top:7px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var innrgrupid = model.getValue("/root/send/innrgrupid");
- if(model.getValue("/root/main/item/innrclntnm")==""){
- messageBox("이름은","I003");
- return;
- }
- if(innrgrupid == ""){
- messageBox("선택된 그룹이","I004");
- return;
- }else{
- var userid = model.getValue("/root/temp/email/userid");
- var host = model.getValue("/root/temp/email/host");
- if(userid != ""){
- var email = userid + "@" + host;
- model.setValue("/root/main/item/email", email);
- }
-
- var userid2 = model.getValue("/root/temp/email/userid2");
- var host2 = model.getValue("/root/temp/email/host2");
- if(userid2 != ""){
- var email2 = userid2 + "@" + host2;
- model.setValue("/root/main/item/addemail", email2);
- }
-
- model.setValue("/root/main/item/innrgrupid", innrgrupid);
- submit("TXCMS00601");
- //부모창 새로고침
- opener.javaScript.fGetRefreshTree(innrgrupid);
- window.close();
- }
- ]]>
- </script>
- </button>
- <button id="btn_close" class="btn4_letter2" style="left:434px; top:7px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_get" style="left:0px; top:456px; width:510px; height:35px; vertical-align:top; ">
- <button id="btn_update" class="btn6_letter4" navindex="27" style="left:311px; top:7px; width:80px; height:22px; ">
- <caption>수정모드</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var innrclntflag = model.getValue("/root/fwd/innrclntflag");
- model.setValue("/root/main/item/savemode", "U");
- fSetStatus("save");
- if(innrclntflag == "2"){//교직원일때 소속정보 이름 수정 불가
- ipt_innrclntnm.attribute("editable") = "false";
- ipt_workplcenm.disabled = true;
- ipt_deptnm.disabled = true;
- ipt_jobgrad.disabled = true;
- ipt_dutinstnm.disabled = false;
- ipt_dutdeptnm.disabled = false;
- ipt_jobrespnm.disabled = false;
- ipt_posinstnm.disabled = false;
- ipt_posdeptnm.disabled = false;
- } else {
- ipt_innrclntnm.attribute("editable") = "true";
- ipt_workplcenm.disabled = false;
- ipt_deptnm.disabled = false;
- ipt_jobgrad.disabled = false;
- ipt_dutinstnm.disabled = true;
- ipt_dutdeptnm.disabled = true;
- ipt_jobrespnm.disabled = true;
- ipt_posinstnm.disabled = true;
- ipt_posdeptnm.disabled = true;
- }
- ]]>
- </script>
- </button>
- <button id="btn_delete" class="btn4_letter2" navindex="28" style="left:395px; top:7px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var innrgrupid = model.getValue("/root/send/innrgrupid");
- if (messageBox("주소록 정보를","Q001")==6) {
- model.setValue("/root/main/item/savemode", "D");
- submit("TXCMS00601");
- //부모창 새로고침
- opener.javaScript.fGetRefreshTree(innrgrupid);
- window.close();
- }
- ]]>
- </script>
- </button>
- <button id="btn_confirm" class="btn4_letter2" navindex="29" style="left:454px; top:7px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_body2" style="left:0px; top:290px; width:510px; height:125px; ">
- <caption id="caption17" class="tit_2" style="left:0px; top:0px; width:95px; height:14px; ">상세 정보</caption>
- <line id="line12" class="line_1" style="x1:0px; y1:15px; x2:505px; y2:15px; "/>
- <caption id="caption18" class="cell_1" style="left:0px; top:20px; width:90px; height:23px; text-align:center; vertical-align:middle; ">생 일</caption>
- <input id="ipt_memodd" ref="/root/main/item/brthdd" class="input_default" navindex="19" inputtype="date" style="left:93px; top:22px; width:87px; height:19px; "/>
- <select1 id="rdo_lunarsolarflag" ref="/root/main/item/lunarsolagflag" class="s" navindex="20" overflow="visible" appearance="full" cellspacing="10" cols="2" style="left:191px; top:24px; width:119px; height:16px; background-color:transparent; border-style:none; ">
- <choices>
- <item>
- <label>양력</label>
- <value>1</value>
- </item>
- <item>
- <label>음력</label>
- <value>0</value>
- </item>
- </choices>
- </select1>
- <line id="line13" class="line_2" style="x1:0px; y1:43px; x2:505px; y2:43px; "/>
- <caption id="caption19" class="cell_1" style="left:0px; top:45px; width:90px; height:53px; text-align:center; vertical-align:middle; ">메모</caption>
- <textarea id="tar_memo" ref="/root/main/item/memo" class="input_default" navindex="21" maxlength="3000" style="left:93px; top:47px; width:406px; height:49px; "/>
- <line id="line14" class="line_2" style="x1:0px; y1:98px; x2:505px; y2:98px; "/>
- <caption id="caption20" class="cell_1" style="left:0px; top:100px; width:90px; height:23px; text-align:center; vertical-align:middle; ">추가 e-mail</caption>
- <line id="line15" class="line_2" style="x1:0px; y1:123px; x2:505px; y2:123px; "/>
- <input id="ipt_email2" ref="/root/temp/email/userid2" class="input_default" navindex="22" imemode="disabled" maxlength="30" style="left:93px; top:102px; width:115px; height:19px; "/>
- <caption id="caption21" style="left:211px; top:102px; width:20px; height:19px; font-size:11pt; text-align:center; vertical-align:middle; ">@</caption>
- <input id="ipt_emailaddr2" ref="/root/temp/email/host2" class="input_default" navindex="23" imemode="disabled" maxlength="50" style="left:232px; top:102px; width:135px; height:19px; "/>
- <select1 id="cmb_email2" ref="/root/temp/email/selhost2" navindex="24" overflow="visible" appearance="minimal" style="left:375px; top:102px; 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>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var selhost = model.getValue("/root/temp/email/selhost2");
- model.setValue("/root/temp/email/host2", selhost);
- model.refresh();
- ]]>
- </script>
- </select1>
- </group>
- <group id="grp_save" style="left:0px; top:421px; width:510px; height:35px; vertical-align:top; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:510px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="cpt_addr" class="search_name" style="left:45px; top:9px; width:104px; height:17px; ">주소록 위치 :</caption>
- <select1 id="rdo_publyn" ref="/root/send/publyn" class="s" navindex="25" overflow="visible" appearance="full" cellspacing="10" cols="2" style="left:156px; top:9px; width:119px; height:16px; background-color:transparent; border-style:none; ">
- <choices>
- <item>
- <label>개인</label>
- <value>N</value>
- </item>
- <item>
- <label>부서</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- submit("TRCCN00501");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_innrgroup" ref="/root/send/innrgrupid" navindex="26" appearance="minimal" style="left:300px; top:8px; width:145px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/innrgrupinfo/innrgruplist">
- <label ref="innrgrupnm"/>
- <value ref="innrgrupid"/>
- </itemset>
- </choices>
- </select1>
- </group>
- </xhtml:body>
- </xhtml:html>
|