SPCMS00600_주소록.xrw 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * Name : SPCMS00600_주소록
  4. * Summary : 주소록
  5. * Programmer : 차재훈
  6. * Date Written : 2008.07.29
  7. * History : 2008.07.29
  8. * Remark :
  9. -->
  10. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  11. <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">
  12. <xhtml:head>
  13. <xhtml:title>주소록</xhtml:title>
  14. <model id="model1">
  15. <instance id="instance1">
  16. <root xmlns="">
  17. <main>
  18. <innrgrupinfo>
  19. <innrgruplist>
  20. <innrgrupnm/>
  21. <innrgrupid/>
  22. </innrgruplist>
  23. </innrgrupinfo>
  24. <item>
  25. <innrclntnm/>
  26. <email/>
  27. <mpphontel/>
  28. <zipcd1/>
  29. <zipcd2/>
  30. <detladdr/>
  31. <innrclntflagnm/>
  32. <posinstnm/>
  33. <posdeptnm/>
  34. <dutinstnm/>
  35. <dutdeptnm/>
  36. <jobrespnm/>
  37. <workplcenm/>
  38. <deptnm/>
  39. <jobgrad/>
  40. <hometel/>
  41. <intphno/>
  42. <faxno/>
  43. <brthdd/>
  44. <lunarsolagflag/>
  45. <memo/>
  46. <addemail/>
  47. <innrgrupid/>
  48. <innrclntflag/>
  49. <innrclntid/>
  50. <savemode/>
  51. </item>
  52. </main>
  53. <send>
  54. <publyn/>
  55. <innrgrupid/>
  56. <innrclntflag/>
  57. <innrclntid/>
  58. </send>
  59. <temp>
  60. <email>
  61. <userid/>
  62. <host/>
  63. <selhost/>
  64. <userid2/>
  65. <host2/>
  66. <selhost2/>
  67. </email>
  68. </temp>
  69. <init>
  70. </init>
  71. <fwd>
  72. <innrclntflag/>
  73. <innrgrupid/>
  74. <innrclntid/>
  75. <savemode/>
  76. <publyn/>
  77. </fwd>
  78. </root>
  79. </instance>
  80. <submission id="TRCCN00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/innrgrupinfo/innrgruplist"/>
  81. <submission id="TRCMS00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
  82. <submission id="TXCMS00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/item" replace="instance"/>
  83. </model>
  84. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  85. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  86. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  87. <script type="javascript" src="../../../crm/crmweb/js/CCZ001.js"/>
  88. <script type="javascript" ev:event="xforms-ready">
  89. <![CDATA[
  90. //내부고객관리에서 값 넘어옴
  91. var innrclntflag = model.getValue("/root/fwd/innrclntflag");
  92. var innrgrupid = model.getValue("/root/fwd/innrgrupid");
  93. var innrclntid = model.getValue("/root/fwd/innrclntid");
  94. var savemode = model.getValue("/root/fwd/savemode");
  95. var publyn = model.getValue("/root/fwd/publyn");
  96. //I추가, U수정, D삭제, G상세보기
  97. model.setValue("/root/main/item/savemode", savemode);
  98. model.setValue("/root/send/innrclntflag", innrclntflag);
  99. model.setValue("/root/send/innrgrupid", innrgrupid);
  100. model.setValue("/root/send/innrclntid", innrclntid);
  101. model.setValue("/root/send/publyn", publyn);
  102. if(innrclntflag == "0"){//새로추가
  103. // 초기화면 개인주소록으로 설정
  104. //rdo_publyn.value = "N";
  105. model.removenodeset("/root/main/innrgrupinfo/innrgruplist");
  106. submit("TRCCN00501"); //주소록 cmb
  107. model.setValue("/root/main/item/innrclntflagnm", "기타");
  108. model.setValue("/root/main/item/innrclntflag", "3");
  109. fSetStatus("save");
  110. ipt_dutinstnm.disabled = true;
  111. ipt_dutdeptnm.disabled = true;
  112. ipt_jobrespnm.disabled = true;
  113. ipt_posinstnm.disabled = true;
  114. ipt_posdeptnm.disabled = true;
  115. }else {//상세보기 및 수정
  116. submit("TRCMS00601"); //id로 새로 검색
  117. var email = "/root/main/item/email";
  118. var userid = "/root/temp/email/userid";
  119. var host = "/root/temp/email/host";
  120. var email2 = "/root/main/item/addemail";
  121. var userid2 = "/root/temp/email/userid2";
  122. var host2 = "/root/temp/email/host2";
  123. fGetEmai(email, userid, host);
  124. fGetEmai(email2, userid2, host2);
  125. model.removenodeset("/root/main/innrgrupinfo/innrgruplist");
  126. submit("TRCCN00501"); //주소록 cmb
  127. model.setValue("/root/send/innrgrupid", innrgrupid);
  128. if(savemode == "U"){//수정
  129. model.setValue("/root/main/item/savemode", savemode);
  130. fSetStatus("save");
  131. if(innrclntflag == "2"){//교직원일때 소속정보 이름 수정 불가
  132. ipt_innrclntnm.attribute("editable") = "false";
  133. ipt_workplcenm.disabled = true;
  134. ipt_deptnm.disabled = true;
  135. ipt_jobgrad.disabled = true;
  136. ipt_dutinstnm.disabled = false;
  137. ipt_dutdeptnm.disabled = false;
  138. ipt_jobrespnm.disabled = false;
  139. ipt_posinstnm.disabled = false;
  140. ipt_posdeptnm.disabled = false;
  141. } else {
  142. ipt_innrclntnm.attribute("editable") = "true";
  143. ipt_workplcenm.disabled = false;
  144. ipt_deptnm.disabled = false;
  145. ipt_jobgrad.disabled = false;
  146. ipt_dutinstnm.disabled = true;
  147. ipt_dutdeptnm.disabled = true;
  148. ipt_jobrespnm.disabled = true;
  149. ipt_posinstnm.disabled = true;
  150. ipt_posdeptnm.disabled = true;
  151. }
  152. }else{ //상세보기
  153. fSetStatus("get");
  154. if(innrclntflag == "2"){//교직원일때 소속정보 이름 수정 불가
  155. ipt_workplcenm.disabled = true;
  156. ipt_deptnm.disabled = true;
  157. ipt_jobgrad.disabled = true;
  158. ipt_dutinstnm.disabled = false;
  159. ipt_dutdeptnm.disabled = false;
  160. ipt_jobrespnm.disabled = false;
  161. ipt_posinstnm.disabled = false;
  162. ipt_posdeptnm.disabled = false;
  163. } else {
  164. ipt_workplcenm.disabled = false;
  165. ipt_deptnm.disabled = false;
  166. ipt_jobgrad.disabled = false;
  167. ipt_dutinstnm.disabled = true;
  168. ipt_dutdeptnm.disabled = true;
  169. ipt_jobrespnm.disabled = true;
  170. ipt_posinstnm.disabled = true;
  171. ipt_posdeptnm.disabled = true;
  172. }
  173. }
  174. }
  175. model.refresh();
  176. ]]>
  177. </script>
  178. <script type="javascript">
  179. <![CDATA[
  180. //////////=================///////////
  181. //e-mail체크 해서 id와 host로 나누기 //
  182. //////////================////////////
  183. function fGetEmai(email, userid, host){
  184. var str = model.getValue(email);
  185. if (str != "") {
  186. var str_find = String(str.match(/[a-z0-9._-]+@[a-z0-9.-]+\.[a-z]{2,6}/i))
  187. var str_index = str_find.indexOf("@")
  188. var str_user = str_find.substring(0, str_index)
  189. var str_host = str_find.substring(str_index + 1)
  190. if(str_host != "" && str_host != "null"){
  191. model.setValue(host, str_host);
  192. }
  193. if(str_user != "" && str_user != "null"){
  194. model.setValue(userid, str_user);
  195. }
  196. }
  197. model.refresh();
  198. }
  199. //===================================//
  200. //상세보기 및 추가 수정상태 화면 조절//
  201. //===================================//
  202. function fSetStatus(mode){
  203. if(mode == "get"){
  204. rdo_publyn.disabled = true;
  205. cmb_innrgroup.disabled = true;
  206. grp_save2.visible = false;
  207. grp_get.visible = true;
  208. ipt_innrclntnm.attribute("editable") = "false";
  209. ipt_email.attribute("editable") = "false";
  210. ipt_emailaddr.attribute("editable") = "false";
  211. cmb_email.disabled = true;
  212. ipt_mpphontel.attribute("editable") = "false";
  213. ipt_hometel.attribute("editable") = "false";
  214. ipt_intphno.attribute("editable") = "false";
  215. ipt_faxno.attribute("editable") = "false";
  216. ipt_zipcd1.attribute("editable") = "false";
  217. ipt_zipcd2.attribute("editable") = "false";
  218. btnicon_search3.disabled = true;
  219. ipt_detladdr.attribute("editable") = "false";
  220. ipt_workplcenm.attribute("editable") = "false";
  221. ipt_deptnm.attribute("editable") = "false";
  222. ipt_jobgrad.attribute("editable") = "false";
  223. ipt_memodd.disabled = true;
  224. rdo_lunarsolarflag.disabled = true;
  225. tar_memo.attribute("editable") = "false";
  226. ipt_email2.attribute("editable") = "false";
  227. ipt_emailaddr2.attribute("editable") = "false";
  228. cmb_email2.disabled = true;
  229. //grp_body.disabled = true;
  230. //grp_body2.disabled = true;
  231. }else{
  232. if(model.getValue("/root/main/item/savemode") == "I"){
  233. rdo_publyn.disabled = false;
  234. cmb_innrgroup.disabled = false;
  235. }else{
  236. rdo_publyn.disabled = true;
  237. cmb_innrgroup.disabled = true;
  238. }
  239. grp_save2.visible = true;
  240. grp_get.visible = false;
  241. ipt_innrclntnm.attribute("editable") = "true";
  242. ipt_email.attribute("editable") = "true";
  243. ipt_emailaddr.attribute("editable") = "true";
  244. cmb_email.disabled = false;
  245. ipt_mpphontel.attribute("editable") = "true";
  246. ipt_hometel.attribute("editable") = "true";
  247. ipt_intphno.attribute("editable") = "true";
  248. ipt_faxno.attribute("editable") = "true";
  249. ipt_zipcd1.attribute("editable") = "true";
  250. ipt_zipcd2.attribute("editable") = "true";
  251. btnicon_search3.disabled = false;
  252. ipt_detladdr.attribute("editable") = "true";
  253. ipt_workplcenm.attribute("editable") = "true";
  254. ipt_deptnm.attribute("editable") = "true";
  255. ipt_jobgrad.attribute("editable") = "true";
  256. ipt_memodd.disabled = false;
  257. rdo_lunarsolarflag.disabled = false;
  258. tar_memo.attribute("editable") = "true";
  259. ipt_email2.attribute("editable") = "true";
  260. ipt_emailaddr2.attribute("editable") = "true";
  261. cmb_email2.disabled = false;
  262. //grp_body.disabled = true;
  263. //grp_body2.disabled = true;
  264. grp_body.disabled = false;
  265. grp_body2.disabled = false;
  266. }
  267. }
  268. //=======================//
  269. //주소록위치 cmb설정 //
  270. //=======================//
  271. function fGetCmbStatus(){
  272. for(var i=0; i < cmb_innrgroup.length; i++) {
  273. if(cmb_innrgroup.item(i).value == innrgrupid) {
  274. cmb_innrgroup.select(i);
  275. }
  276. }
  277. }
  278. ]]>
  279. </script>
  280. </xhtml:head>
  281. <xhtml:body pagewidth="530" pageheight="520" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  282. <group id="grp_body" style="left:0px; top:15px; width:510px; height:270px; ">
  283. <caption id="caption9" class="tit_2" style="left:0px; top:0px; width:95px; height:14px; ">기본 정보</caption>
  284. <line id="line2" class="line_1" style="x1:0px; y1:15px; x2:505px; y2:15px; "/>
  285. <line id="line6" class="line_2" style="x1:0px; y1:43px; x2:505px; y2:43px; "/>
  286. <line id="line1" class="line_2" style="x1:0px; y1:68px; x2:505px; y2:68px; "/>
  287. <line id="line3" class="line_2" style="x1:0px; y1:93px; x2:505px; y2:93px; "/>
  288. <line id="line5" class="line_2" style="x1:0px; y1:118px; x2:505px; y2:118px; "/>
  289. <line id="line7" class="line_2" style="x1:0px; y1:143px; x2:505px; y2:143px; "/>
  290. <line id="line4" class="line_2" style="x1:0px; y1:168px; x2:505px; y2:168px; "/>
  291. <line id="line8" class="line_2" style="x1:0px; y1:193px; x2:505px; y2:193px; "/>
  292. <line id="line9" class="line_2" style="x1:0px; y1:243px; x2:505px; y2:243px; "/>
  293. <caption id="cap_dmtitl" class="cell_1" style="left:0px; top:20px; width:90px; height:23px; text-align:center; vertical-align:middle; ">이 름</caption>
  294. <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; "/>
  295. <caption id="caption1" class="cell_1" style="left:0px; top:45px; width:90px; height:23px; text-align:center; vertical-align:middle; ">E-mail</caption>
  296. <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; "/>
  297. <caption id="caption10" style="left:211px; top:47px; width:20px; height:19px; font-size:11pt; text-align:center; vertical-align:middle; ">@</caption>
  298. <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; "/>
  299. <select1 id="cmb_email" ref="/root/temp/email/selhost" navindex="4" overflow="visible" appearance="minimal" style="left:375px; top:47px; width:125px; height:19px; ">
  300. <choices>
  301. <item>
  302. <label>직접입력</label>
  303. <value/>
  304. </item>
  305. <item>
  306. <label>나우누리</label>
  307. <value>nownuri.net</value>
  308. </item>
  309. <item>
  310. <label>네이버</label>
  311. <value>naver.com</value>
  312. </item>
  313. <item>
  314. <label>네이트</label>
  315. <value>nate.com</value>
  316. </item>
  317. <item>
  318. <label>다음/한메일</label>
  319. <value>hanmail.net</value>
  320. </item>
  321. <item>
  322. <label>드림위즈</label>
  323. <value>dreamwiz.com</value>
  324. </item>
  325. <item>
  326. <label>라이코스</label>
  327. <value>lycos.co.kr</value>
  328. </item>
  329. <item>
  330. <label>야후</label>
  331. <value>yahoo.co.kr</value>
  332. </item>
  333. <item>
  334. <label>엠파스</label>
  335. <value>empal.com</value>
  336. </item>
  337. <item>
  338. <label>유니텔</label>
  339. <value>unitel.co.kr</value>
  340. </item>
  341. <item>
  342. <label>천리안</label>
  343. <value>chollian.net</value>
  344. </item>
  345. <item>
  346. <label>코넷</label>
  347. <value>kornet.net</value>
  348. </item>
  349. <item>
  350. <label>파란</label>
  351. <value>paran.com</value>
  352. </item>
  353. <item>
  354. <label>하나포스</label>
  355. <value>hanafos.com</value>
  356. </item>
  357. <item>
  358. <label>하이텔</label>
  359. <value>hitel.net</value>
  360. </item>
  361. <item>
  362. <label>핫메일</label>
  363. <value>hotmail.com</value>
  364. </item>
  365. <item>
  366. <label>Catholic</label>
  367. <value>catholic.ac.kr</value>
  368. </item>
  369. <item>
  370. <label>CMCnU</label>
  371. <value>cmcnu.or.kr</value>
  372. </item>
  373. </choices>
  374. <script type="javascript" ev:event="xforms-select">
  375. <![CDATA[
  376. var selhost = model.getValue("/root/temp/email/selhost");
  377. model.setValue("/root/temp/email/host", selhost);
  378. model.refresh();
  379. ]]>
  380. </script>
  381. </select1>
  382. <caption id="caption2" class="cell_1" style="left:0px; top:70px; width:90px; height:23px; text-align:center; vertical-align:middle; ">휴대폰</caption>
  383. <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; "/>
  384. <caption id="caption3" class="cell_1" style="left:0px; top:120px; width:90px; height:23px; text-align:center; vertical-align:middle; ">주 소</caption>
  385. <output id="ipt_zipcd1" ref="/root/main/item/zipcd1" class="output_fix" style="left:93px; top:122px; width:42px; height:19px; "/>
  386. <caption id="caption4" style="left:125px; top:125px; width:30px; height:13px; text-align:center; vertical-align:middle; ">-</caption>
  387. <output id="ipt_zipcd2" ref="/root/main/item/zipcd2" class="output_fix" style="left:146px; top:122px; width:42px; height:19px; "/>
  388. <button id="btnicon_search3" class="icon_search" navindex="9" style="left:193px; top:124px; width:16px; height:16px; ">
  389. <caption/>
  390. <script type="javascript" ev:event="DOMActivate">
  391. <![CDATA[
  392. var search_condition = "srchcombination";
  393. var search_term1 = model.getValue("/root/main/item/zipcd1");
  394. var search_term2 = model.getValue("/root/main/item/zipcd2");
  395. var search_term = search_term1 + "-" + search_term2;
  396. var receive_zipcd1_path = "/root/main/item/zipcd1";
  397. var receive_zipcd2_path = "/root/main/item/zipcd2";
  398. var receive_zipcdseq_path = "";
  399. var receive_zipcdaddr_path = "/root/main/item/detladdr";
  400. setParameter("search_condition", search_condition);
  401. setParameter("search_term", search_term);
  402. setParameter("receive_zipcd1_path", receive_zipcd1_path);
  403. setParameter("receive_zipcd2_path", receive_zipcd2_path);
  404. setParameter("receive_zipcdseq_path", receive_zipcdseq_path);
  405. setParameter("receive_zipcdaddr_path", receive_zipcdaddr_path);
  406. modal("SPCCM00200")
  407. clearParameter("search_condition");
  408. clearParameter("search_term");
  409. clearParameter("receive_zipcd1_path");
  410. clearParameter("receive_zipcd2_path");
  411. clearParameter("receive_zipcdseq_path");
  412. clearParameter("receive_zipcdaddr_path");
  413. ]]>
  414. </script>
  415. </button>
  416. <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; "/>
  417. <caption id="caption5" class="cell_1" style="left:0px; top:245px; width:90px; height:23px; text-align:center; vertical-align:middle; ">고객분류</caption>
  418. <caption id="cpt_innrclntflagnm" ref="/root/main/item/innrclntflagnm" style="left:95px; top:245px; width:120px; height:23px; font-weight:bold; vertical-align:middle; "/>
  419. <caption id="caption6" class="cell_1" style="left:0px; top:145px; width:90px; height:23px; text-align:center; vertical-align:middle; ">근무부서</caption>
  420. <caption id="caption7" class="cell_1" style="left:0px; top:170px; width:90px; height:23px; text-align:center; vertical-align:middle; ">소속부서</caption>
  421. <caption id="caption8" class="cell_1" style="left:0px; top:195px; width:90px; height:48px; text-align:center; vertical-align:middle; ">회사정보</caption>
  422. <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; "/>
  423. <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; "/>
  424. <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; "/>
  425. <caption id="caption11" class="cell_1" style="left:255px; top:70px; width:90px; height:23px; text-align:center; vertical-align:middle; ">전화(home)</caption>
  426. <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; "/>
  427. <line id="line10" class="line_2" style="x1:0px; y1:268px; x2:505px; y2:268px; "/>
  428. <caption id="caption12" class="cell_1" style="left:0px; top:95px; width:90px; height:23px; text-align:center; vertical-align:middle; ">전화(office)</caption>
  429. <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; "/>
  430. <caption id="caption13" style="left:91px; top:196px; width:45px; height:23px; text-align:center; vertical-align:middle; ">직장명</caption>
  431. <caption id="caption14" style="left:91px; top:218px; width:45px; height:23px; text-align:center; vertical-align:middle; ">부서명</caption>
  432. <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; "/>
  433. <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; "/>
  434. <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; "/>
  435. <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; "/>
  436. <caption id="caption15" style="left:310px; top:218px; width:40px; height:23px; text-align:center; vertical-align:middle; ">직급</caption>
  437. <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; "/>
  438. <caption id="caption16" class="cell_1" style="left:255px; top:95px; width:90px; height:23px; text-align:center; vertical-align:middle; ">팩 스</caption>
  439. <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; "/>
  440. </group>
  441. <group id="grp_save2" style="left:0px; top:456px; width:490px; height:35px; vertical-align:top; ">
  442. <button id="btn_save" class="btn4_letter2" style="left:375px; top:7px; width:56px; height:22px; ">
  443. <caption>저장</caption>
  444. <script type="javascript" ev:event="DOMActivate">
  445. <![CDATA[
  446. var innrgrupid = model.getValue("/root/send/innrgrupid");
  447. if(model.getValue("/root/main/item/innrclntnm")==""){
  448. messageBox("이름은","I003");
  449. return;
  450. }
  451. if(innrgrupid == ""){
  452. messageBox("선택된 그룹이","I004");
  453. return;
  454. }else{
  455. var userid = model.getValue("/root/temp/email/userid");
  456. var host = model.getValue("/root/temp/email/host");
  457. if(userid != ""){
  458. var email = userid + "@" + host;
  459. model.setValue("/root/main/item/email", email);
  460. }
  461. var userid2 = model.getValue("/root/temp/email/userid2");
  462. var host2 = model.getValue("/root/temp/email/host2");
  463. if(userid2 != ""){
  464. var email2 = userid2 + "@" + host2;
  465. model.setValue("/root/main/item/addemail", email2);
  466. }
  467. model.setValue("/root/main/item/innrgrupid", innrgrupid);
  468. submit("TXCMS00601");
  469. //부모창 새로고침
  470. opener.javaScript.fGetRefreshTree(innrgrupid);
  471. window.close();
  472. }
  473. ]]>
  474. </script>
  475. </button>
  476. <button id="btn_close" class="btn4_letter2" style="left:434px; top:7px; width:56px; height:22px; ">
  477. <caption>취소</caption>
  478. <script type="javascript" ev:event="DOMActivate">
  479. <![CDATA[
  480. window.close();
  481. ]]>
  482. </script>
  483. </button>
  484. </group>
  485. <group id="grp_get" style="left:0px; top:456px; width:510px; height:35px; vertical-align:top; ">
  486. <button id="btn_update" class="btn6_letter4" navindex="27" style="left:311px; top:7px; width:80px; height:22px; ">
  487. <caption>수정모드</caption>
  488. <script type="javascript" ev:event="DOMActivate">
  489. <![CDATA[
  490. var innrclntflag = model.getValue("/root/fwd/innrclntflag");
  491. model.setValue("/root/main/item/savemode", "U");
  492. fSetStatus("save");
  493. if(innrclntflag == "2"){//교직원일때 소속정보 이름 수정 불가
  494. ipt_innrclntnm.attribute("editable") = "false";
  495. ipt_workplcenm.disabled = true;
  496. ipt_deptnm.disabled = true;
  497. ipt_jobgrad.disabled = true;
  498. ipt_dutinstnm.disabled = false;
  499. ipt_dutdeptnm.disabled = false;
  500. ipt_jobrespnm.disabled = false;
  501. ipt_posinstnm.disabled = false;
  502. ipt_posdeptnm.disabled = false;
  503. } else {
  504. ipt_innrclntnm.attribute("editable") = "true";
  505. ipt_workplcenm.disabled = false;
  506. ipt_deptnm.disabled = false;
  507. ipt_jobgrad.disabled = false;
  508. ipt_dutinstnm.disabled = true;
  509. ipt_dutdeptnm.disabled = true;
  510. ipt_jobrespnm.disabled = true;
  511. ipt_posinstnm.disabled = true;
  512. ipt_posdeptnm.disabled = true;
  513. }
  514. ]]>
  515. </script>
  516. </button>
  517. <button id="btn_delete" class="btn4_letter2" navindex="28" style="left:395px; top:7px; width:56px; height:22px; ">
  518. <caption>삭제</caption>
  519. <script type="javascript" ev:event="DOMActivate">
  520. <![CDATA[
  521. var innrgrupid = model.getValue("/root/send/innrgrupid");
  522. if (messageBox("주소록 정보를","Q001")==6) {
  523. model.setValue("/root/main/item/savemode", "D");
  524. submit("TXCMS00601");
  525. //부모창 새로고침
  526. opener.javaScript.fGetRefreshTree(innrgrupid);
  527. window.close();
  528. }
  529. ]]>
  530. </script>
  531. </button>
  532. <button id="btn_confirm" class="btn4_letter2" navindex="29" style="left:454px; top:7px; width:56px; height:22px; ">
  533. <caption>확인</caption>
  534. <script type="javascript" ev:event="DOMActivate">
  535. <![CDATA[
  536. window.close();
  537. ]]>
  538. </script>
  539. </button>
  540. </group>
  541. <group id="grp_body2" style="left:0px; top:290px; width:510px; height:125px; ">
  542. <caption id="caption17" class="tit_2" style="left:0px; top:0px; width:95px; height:14px; ">상세 정보</caption>
  543. <line id="line12" class="line_1" style="x1:0px; y1:15px; x2:505px; y2:15px; "/>
  544. <caption id="caption18" class="cell_1" style="left:0px; top:20px; width:90px; height:23px; text-align:center; vertical-align:middle; ">생 일</caption>
  545. <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; "/>
  546. <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; ">
  547. <choices>
  548. <item>
  549. <label>양력</label>
  550. <value>1</value>
  551. </item>
  552. <item>
  553. <label>음력</label>
  554. <value>0</value>
  555. </item>
  556. </choices>
  557. </select1>
  558. <line id="line13" class="line_2" style="x1:0px; y1:43px; x2:505px; y2:43px; "/>
  559. <caption id="caption19" class="cell_1" style="left:0px; top:45px; width:90px; height:53px; text-align:center; vertical-align:middle; ">메모</caption>
  560. <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; "/>
  561. <line id="line14" class="line_2" style="x1:0px; y1:98px; x2:505px; y2:98px; "/>
  562. <caption id="caption20" class="cell_1" style="left:0px; top:100px; width:90px; height:23px; text-align:center; vertical-align:middle; ">추가 e-mail</caption>
  563. <line id="line15" class="line_2" style="x1:0px; y1:123px; x2:505px; y2:123px; "/>
  564. <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; "/>
  565. <caption id="caption21" style="left:211px; top:102px; width:20px; height:19px; font-size:11pt; text-align:center; vertical-align:middle; ">@</caption>
  566. <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; "/>
  567. <select1 id="cmb_email2" ref="/root/temp/email/selhost2" navindex="24" overflow="visible" appearance="minimal" style="left:375px; top:102px; width:125px; height:19px; ">
  568. <choices>
  569. <item>
  570. <label>직접입력</label>
  571. <value/>
  572. </item>
  573. <item>
  574. <label>hanmail.net</label>
  575. <value>hanmail.net</value>
  576. </item>
  577. <item>
  578. <label>nate.com</label>
  579. <value>nate.com</value>
  580. </item>
  581. <item>
  582. <label>yahoo.co.kr</label>
  583. <value>yahoo.co.kr</value>
  584. </item>
  585. <item>
  586. <label>naver.com</label>
  587. <value>naver.com</value>
  588. </item>
  589. <item>
  590. <label>empal.com</label>
  591. <value>empal.com</value>
  592. </item>
  593. <item>
  594. <label>paran.com</label>
  595. <value>paran.com</value>
  596. </item>
  597. <item>
  598. <label>hitel.net</label>
  599. <value>hitel.net</value>
  600. </item>
  601. <item>
  602. <label>dreamwiz.com</label>
  603. <value>dreamwiz.com</value>
  604. </item>
  605. <item>
  606. <label>lycos.co.kr</label>
  607. <value>lycos.co.kr</value>
  608. </item>
  609. <item>
  610. <label>chollian.net</label>
  611. <value>chollian.net</value>
  612. </item>
  613. <item>
  614. <label>hotmail.com</label>
  615. <value>hotmail.com</value>
  616. </item>
  617. <item>
  618. <label>unitel.co.kr</label>
  619. <value>unitel.co.kr</value>
  620. </item>
  621. <item>
  622. <label>nownuri.net</label>
  623. <value>nownuri.net</value>
  624. </item>
  625. <item>
  626. <label>hanafos.com</label>
  627. <value>hanafos.com</value>
  628. </item>
  629. <item>
  630. <label>kornet.net</label>
  631. <value>kornet.net</value>
  632. </item>
  633. </choices>
  634. <script type="javascript" ev:event="xforms-select">
  635. <![CDATA[
  636. var selhost = model.getValue("/root/temp/email/selhost2");
  637. model.setValue("/root/temp/email/host2", selhost);
  638. model.refresh();
  639. ]]>
  640. </script>
  641. </select1>
  642. </group>
  643. <group id="grp_save" style="left:0px; top:421px; width:510px; height:35px; vertical-align:top; ">
  644. <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; "/>
  645. <caption id="cpt_addr" class="search_name" style="left:45px; top:9px; width:104px; height:17px; ">주소록 위치 :</caption>
  646. <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; ">
  647. <choices>
  648. <item>
  649. <label>개인</label>
  650. <value>N</value>
  651. </item>
  652. <item>
  653. <label>부서</label>
  654. <value>Y</value>
  655. </item>
  656. </choices>
  657. <script type="javascript" ev:event="xforms-select">
  658. <![CDATA[
  659. submit("TRCCN00501");
  660. ]]>
  661. </script>
  662. </select1>
  663. <select1 id="cmb_innrgroup" ref="/root/send/innrgrupid" navindex="26" appearance="minimal" style="left:300px; top:8px; width:145px; height:19px; ">
  664. <choices>
  665. <itemset nodeset="/root/main/innrgrupinfo/innrgruplist">
  666. <label ref="innrgrupnm"/>
  667. <value ref="innrgrupid"/>
  668. </itemset>
  669. </choices>
  670. </select1>
  671. </group>
  672. </xhtml:body>
  673. </xhtml:html>