SMCMS00400_고객정보내용.xrw 59 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * Name : SMCMS00400_고객정보내용
  4. * Summary : 고객정보내용
  5. * Programmer : 최정환
  6. * Date Written : 2007.03.29
  7. * History : 2007.05.23 김준규 수정, 2008.08.01 차재훈 수정
  8. * Remark :
  9. -->
  10. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <list>
  19. <outlist>
  20. <orddd/>
  21. <orddeptnm/>
  22. <orddrnm/>
  23. <specordyn/>
  24. <fsexamflag/>
  25. <insukind/>
  26. <diagnm/>
  27. <rqstflag/>
  28. <rqsthospcd/>
  29. </outlist>
  30. <inlist>
  31. <orddd/>
  32. <dschdd/>
  33. <hd/>
  34. <orddeptnm/>
  35. <medispclnm/>
  36. <atdoctnm/>
  37. <diagdd/>
  38. <diagnm/>
  39. <roomcd/>
  40. <hospiceyn/>
  41. <bmtyn/>
  42. </inlist>
  43. <oplist>
  44. <opcnfmdd/>
  45. <opflagcd/>
  46. <orddeptnm/>
  47. <anstreqflag/>
  48. <opnm/>
  49. <perfdeptnm/>
  50. <perfdrnm/>
  51. </oplist>
  52. <healexamlist>
  53. <rsrvdd/>
  54. <healexamflag/>
  55. <pkgnm/>
  56. <healexamdetlflag/>
  57. <testnm/>
  58. </healexamlist>
  59. <cmpnlist>
  60. <cmpnrgstdt/>
  61. <cmpnnm/>
  62. <cmpnexecdt/>
  63. <execyn/>
  64. <smsuseyn/>
  65. <emailuseyn/>
  66. </cmpnlist>
  67. <voclist>
  68. <acptseq/>
  69. <acptdd/>
  70. <acpttypenm/>
  71. <acptkindlrgnm/>
  72. <acpttitl/>
  73. <deptnm/>
  74. <empnm/>
  75. <prcsstatnm/>
  76. <fstrgstrnm/>
  77. <acptcnts/>
  78. </voclist>
  79. <remlist>
  80. <hisstatnm/>
  81. <ordpossyn/>
  82. <acptresn/>
  83. <endresn/>
  84. </remlist>
  85. <delivelist>
  86. <trnstype/>
  87. <trsmdd/>
  88. <bizflagnm/>
  89. <bizdetlnm/>
  90. <recvr/>
  91. <cnts/>
  92. </delivelist>
  93. </list>
  94. <vocpopup>
  95. <title/>
  96. <contents/>
  97. <inputmode/>
  98. <receive_path/>
  99. </vocpopup>
  100. <clntdata>
  101. <basic>
  102. <pid/>
  103. <rrgstno1/>
  104. <rrgstno2/>
  105. <hngnm/>
  106. <sex/>
  107. <age/>
  108. <brthdd/>
  109. <lunarsolarflag/>
  110. <mpphontel/>
  111. <hometel/>
  112. <etctelno1/>
  113. <etctelno2/>
  114. <faxno/>
  115. <chosresncd/>
  116. <zipcd1/>
  117. <zipcd2/>
  118. <zipcdseq/>
  119. <zipcdaddr/>
  120. <citycd/>
  121. <citycntyareacd/>
  122. <blokcd/>
  123. <detladdr/>
  124. <email/>
  125. <dethyn/>
  126. <smsaprvyn/>
  127. <emailuseaprvyn/>
  128. <postdeliveuseyn/>
  129. <maryyn/>
  130. <inhospyn/>
  131. <forgeryn/>
  132. <animyn/>
  133. <btype/>
  134. <rh/>
  135. <bindpid/>
  136. <religncd/>
  137. <nati/>
  138. <chchnm/>
  139. <baptnm/>
  140. <recmyn/>
  141. <recmernm/>
  142. <recmerid/>
  143. <recmerrela/>
  144. <fstchosdt/>
  145. <lastchosdt/>
  146. <healexamyn/>
  147. <healexamchospath/>
  148. <healexamvipgrde/>
  149. <healexamtelno/>
  150. <healexammpphon/>
  151. <healexamemail/>
  152. <healexamzipcd11/>
  153. <healexamzipcd12/>
  154. <healexamzipcdseq1/>
  155. <healexamzipcdaddr1/>
  156. <healexamdetladdr1/>
  157. <healexamzipcd21/>
  158. <healexamzipcd22/>
  159. <healexamzipcdseq2/>
  160. <healexamzipcdaddr2/>
  161. <healexamdetladdr2/>
  162. <hospicedethdd/>
  163. <empkindcd/>
  164. </basic>
  165. <familygrid>
  166. <famypatnm/>
  167. <sex/>
  168. <brthdd/>
  169. <famyrela/>
  170. <famyinfomemo/>
  171. <famycd/>
  172. <pid/>
  173. <insukind/>
  174. <todd/>
  175. <seqno/>
  176. </familygrid>
  177. <clntgroupgrid>
  178. <lrggroupnm/>
  179. <lrggroupcd/>
  180. <mdlgroupnm/>
  181. <mdlgroupcd/>
  182. <smlgroupnm/>
  183. <smlgroupcd/>
  184. <pid/>
  185. </clntgroupgrid>
  186. <innrgruplistpat>
  187. <publnm/>
  188. <innrgrupnm/>
  189. <innrgrupid/>
  190. </innrgruplistpat>
  191. <vipgrid>
  192. <vipyn/>
  193. <vipgrde/>
  194. <viprem/>
  195. <reladeptnm/>
  196. <reladept/>
  197. <pid/>
  198. </vipgrid>
  199. <memogrid>
  200. <memodayflag/>
  201. <memotypeflag/>
  202. <memodd/>
  203. <ownrela/>
  204. <lunarsolarflag/>
  205. <noticncttel1/>
  206. <noticncttel2/>
  207. <msgcnts/>
  208. <basedaybfatflag/>
  209. <delivehour/>
  210. <delivemnt/>
  211. <memouseyn/>
  212. <pid/>
  213. <memodayseq/>
  214. </memogrid>
  215. </clntdata>
  216. <clntdatatemp>
  217. <groupinit>
  218. <lrggroup>
  219. <lrggroupcd/>
  220. <lrggroupnm/>
  221. </lrggroup>
  222. <mdlgroup>
  223. <mdlgroupcd/>
  224. <mdlgroupnm/>
  225. </mdlgroup>
  226. <smlgroup>
  227. <smlgroupcd/>
  228. <smlgroupnm/>
  229. </smlgroup>
  230. </groupinit>
  231. <grouptemp>
  232. <tmplrggroupcd/>
  233. <tmpmdlgroupcd/>
  234. <tmpsmlgroupcd/>
  235. <tmppid/>
  236. </grouptemp>
  237. <viptemp>
  238. <tmpvipyn/>
  239. <tmpvipgrde/>
  240. <tmpviprem/>
  241. <tmpreladeptnm/>
  242. <tmpreladept/>
  243. </viptemp>
  244. <memoinfo>
  245. <memodayflag/>
  246. <memotypeflag>O</memotypeflag>
  247. <memodd/>
  248. <ownrela/>
  249. <lunarsolarflag>1</lunarsolarflag>
  250. <noticncttel1/>
  251. <noticncttel2/>
  252. <msgcnts/>
  253. <basedaybfatflag>B</basedaybfatflag>
  254. <delivehour/>
  255. <delivemnt/>
  256. <memouseyn>Y</memouseyn>
  257. <pid/>
  258. <memodayseq/>
  259. <inputmode>i</inputmode>
  260. </memoinfo>
  261. </clntdatatemp>
  262. </main>
  263. <send>
  264. <data>
  265. </data>
  266. <familygrid/>
  267. <clntgroupgrid/>
  268. <vipgrid/>
  269. <sndgrup>
  270. <lrggroupcd/>
  271. <mdlgroupcd/>
  272. </sndgrup>
  273. </send>
  274. <temp>
  275. <data>
  276. <srchfstchosdd1/>
  277. <srchfstchosdd2/>
  278. <srchpid/>
  279. <srchhometel/>
  280. <srchlastchosdd1/>
  281. <srchlastchosdd2/>
  282. <srchhngnm/>
  283. <srchmpphontel/>
  284. </data>
  285. <key>
  286. <sndpid/>
  287. <inputmode/>
  288. </key>
  289. <grupinfo>
  290. <lrgrupgcd/>
  291. <mdlgrupcd/>
  292. <smlgrupcd/>
  293. </grupinfo>
  294. <patlist/>
  295. <email>
  296. <user/>
  297. <host/>
  298. <selhost/>
  299. </email>
  300. <grupkey>
  301. <sndpublnm/>
  302. <sndinnrgrupnm/>
  303. <sndinnrgrupid/>
  304. </grupkey>
  305. <list/>
  306. </temp>
  307. <init>
  308. <A0070list>
  309. <cdid/>
  310. <cdnm/>
  311. </A0070list>
  312. <A0068list>
  313. <cdid/>
  314. <cdnm/>
  315. </A0068list>
  316. <M0013list>
  317. <cdid/>
  318. <cdnm/>
  319. </M0013list>
  320. <P0329list>
  321. <cdid/>
  322. <cdnm/>
  323. </P0329list>
  324. <P0008list>
  325. <cdid/>
  326. <cdnm/>
  327. </P0008list>
  328. <P0021list>
  329. <cdid/>
  330. <cdnm/>
  331. </P0021list>
  332. <A0118list>
  333. <cdid/>
  334. <cdnm/>
  335. </A0118list>
  336. <A0115list>
  337. <cdid/>
  338. <cdnm/>
  339. </A0115list>
  340. <P0016list>
  341. <cdid/>
  342. <cdnm/>
  343. </P0016list>
  344. <P0157list>
  345. <cdid/>
  346. <cdnm/>
  347. </P0157list>
  348. <P0327list>
  349. <cdid/>
  350. <cdnm/>
  351. </P0327list>
  352. <P0349list>
  353. <cdid/>
  354. <cdnm/>
  355. </P0349list>
  356. <P0400list>
  357. <cdid/>
  358. <cdnm/>
  359. </P0400list>
  360. </init>
  361. </root>
  362. </instance>
  363. <submission id="TRCMS00406" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/list/key" replace="instance" resultref="/root/main/clntdata/innrgruplistpat"/>
  364. <submission id="TRCMS00109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/list/key" replace="instance" resultref="/root/main/list/delivelist"/>
  365. <submission id="TRCMS00108" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/list/key" replace="instance" resultref="/root/main/list/remlist"/>
  366. <submission id="TRCMS00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/list/key" replace="instance" resultref="/root/main/list/voclist"/>
  367. <submission id="TRCMS00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/list/key" replace="instance" resultref="/root/main/list/cmpnlist"/>
  368. <submission id="TRCMS00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/list/key" replace="instance" resultref="/root/main/list/healexamlist"/>
  369. <submission id="TRCMS00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/list/key" replace="instance" resultref="/root/main/list/oplist"/>
  370. <submission id="TRCMS00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/list/key" replace="instance" resultref="/root/main/list/inlist"/>
  371. <submission id="TRCMS00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/list/key" replace="instance" resultref="/root/main/list/outlist"/>
  372. <submission id="TRCMS00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/list/key" replace="instance" resultref="/root/main/clntdata"/>
  373. <submission id="TXCMS00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/familygrid" replace="instance"/>
  374. <submission id="TXCMS00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/clntgroupgrid" replace="instance"/>
  375. <submission id="TXCMS00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/vipgrid" replace="instance"/>
  376. <submission id="TRCMS00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/list/key" replace="instance" resultref="/root/main/clntdata/familygrid"/>
  377. <submission id="TRCMS00403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/list/key" replace="instance" resultref="/root/main/clntdata/clntgroupgrid"/>
  378. <submission id="TRCMS00404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/list/key" replace="instance" resultref="/root/main/clntdata/vipgrid"/>
  379. <submission id="TRCMS00405" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/list/key" replace="instance" resultref="/root/main/clntdata/memogrid"/>
  380. <submission id="TRCMZ00200" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/main/clntdatatemp/groupinit/lrggroup"/>
  381. <submission id="TRCMZ00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/sndgrup" replace="instance" resultref="/root/main/clntdatatemp/groupinit/mdlgroup"/>
  382. <submission id="TRCMZ00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/sndgrup" replace="instance" resultref="/root/main/clntdatatemp/groupinit/smlgroup"/>
  383. <submission id="TXCMS00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/clntdata/basic" replace="instance"/>
  384. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  385. <script type="javascript" ev:event="xforms-model-construct-done">
  386. <![CDATA[
  387. var reSmlGrupCD = model.getValue("/root/temp/grupinfo/smlgrupcd")
  388. //model.setValue("/root/hidden/grupinfo/smlgrupcd", reSmlGrupCD);
  389. model.makeValue("/root/hidden/grupinfo/smlgrupcd", reSmlGrupCD);
  390. grd_in.mergeCol(0) = false;
  391. grd_in.mergeCol(4) = false;
  392. grd_in.mergeCol(5) = false;
  393. grd_in.mergeCol(6) = false;
  394. grd_in.mergeCol(7) = false;
  395. grd_in.mergeCol(8) = false;
  396. grd_in.mergeCol(9) = false;
  397. grd_in.mergeCol(10) = false;
  398. grd_in.mergeCol(11) = false;
  399. ]]>
  400. </script>
  401. <script type="javascript" ev:event="xforms-ready">
  402. <![CDATA[
  403. var reSndPID = model.getValue("/root/temp/list/key/sndpid");
  404. if ( reSndPID == "" || reSndPID == null ) {
  405. var rtn = messageBox("조회에 필요한 항목이 전달되지", "E007");
  406. //if(rtn == 1){
  407. navigate("SMCMS00200");
  408. //}
  409. } else {
  410. 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 );
  411. model.removeNodeset("/root/main/clntdata/family/grid");
  412. model.removeNodeset("/root/main/clntdata/clntgroup/clntgrid");
  413. model.removeNodeset("/root/main/clntdata/memolist/memogrid");
  414. model.removeNodeset("/root/main/clntdata/vipinfo/vipgrid");
  415. submit("TRCMS00401");//환자 상세정보조회
  416. var btype = model.getValue("/root/main/clntdata/basic/btype");
  417. if (btype == "-" || btype == "") {
  418. model.setValue("/root/main/clntdata/basic/rh", "");
  419. }
  420. submit("TRCMS00406");//환자 고객그룹조회
  421. submit("TRCMZ00200");//그룹대분류조회
  422. model.removenodeset("/root/main/clntdatatemp/groupinit/mdlgroup");
  423. model.removenodeset("/root/main/clntdatatemp/groupinit/smlgroup");
  424. var sync_dd = getCurrentDate();
  425. var ReMonth = "C" + getCurrentDate().substring(2, 6);
  426. //model.setValue("/root/send/srch/syncfromdd", sync_dd);
  427. //model.setValue("/root/send/srch/synctodd", sync_dd);
  428. // 외래화면 및 voc를 보여준다.
  429. model.toggle("case1");
  430. model.toggle("case10");
  431. btn_out.selected = true;
  432. btn_voc.selected = true;
  433. submit("TRCMS00102");//외래
  434. submit("TRCMS00107"); //VOC 조회
  435. //email체크
  436. fGetEmai();
  437. }
  438. //fCheckAuth();
  439. model.refresh();
  440. var hname = model.getValue("/root/main/clntdata/basic/hngnm");
  441. if(hname == ""){
  442. messageBox("등록번호가", "I004");
  443. model.setValue("/root/temp/list/key/sndpid", "");
  444. }
  445. ]]>
  446. </script>
  447. <script type="javascript">
  448. <![CDATA[
  449. //////////=================///////////
  450. //e-mail체크 해서 id와 host구분하기 //
  451. //////////================////////////
  452. function fGetEmai(){
  453. var str = model.getValue("/root/main/clntdata/basic/email");
  454. if (str != "") {
  455. var str_find = String(str.match(/[a-z0-9._-]+@[a-z0-9.-]+\.[a-z]{2,6}/i))
  456. var str_index = str_find.indexOf("@")
  457. var str_user = str_find.substring(0, str_index)
  458. var str_host = str_find.substring(str_index + 1)
  459. if(str_host != "" && str_host != "null"){
  460. model.makeValue("/root/temp/email/host", str_host);
  461. }
  462. if(str_user != "" && str_user != "null"){
  463. model.makeValue("/root/temp/email/user", str_user);
  464. }
  465. }
  466. model.refresh();
  467. }
  468. function fCheckAuth() {
  469. // 권한체크
  470. if (!checkAuth("r")) {
  471. btnicon_search3.disabled = true;
  472. btnicon_search4.disabled = true;
  473. }
  474. if (!checkAuth("x")) {
  475. btn_addFamily.disabled = true;
  476. btn_delFamily.disabled = true;
  477. btn_save2.disabled = true;
  478. }
  479. // if (!checkAuth("p")) {
  480. // }
  481. }
  482. ]]>
  483. </script>
  484. </model>
  485. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  486. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  487. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  488. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  489. <script type="javascript" src="../../../crm/crmweb/js/CCZ001.js"/>
  490. </xhtml:head>
  491. <xhtml:body guideline="1,1187;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  492. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  493. <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:146px; height:14px; ">고객(환자) 정보 관리</caption>
  494. </group>
  495. <group id="grp_basic" style="left:0px; top:23px; width:970px; height:262px; ">
  496. <caption id="caption2" class="tit_2" style="left:5px; top:0px; width:111px; height:14px; ">기본 정보</caption>
  497. <line id="line1" class="line_1" style="x1:0px; y1:15px; x2:483px; y2:15px; "/>
  498. <line id="line2" class="line_2" style="x1:0px; y1:42px; x2:483px; y2:42px; "/>
  499. <caption id="caption3" class="cell_1" style="left:0px; top:20px; width:105px; height:23px; text-align:center; vertical-align:middle; ">등록번호</caption>
  500. <input id="ipt_PID" ref="/root/main/clntdata/basic/pid" class="input_default" style="left:108px; top:21px; width:112px; height:19px; ">
  501. <script type="javascript" ev:event="onkeyup">
  502. <![CDATA[
  503. if(event.keyCode == 13){
  504. model.setValue("/root/temp/list/key/sndpid", ipt_PID.currentText);
  505. model.resetInstanceNode("/root/main/clntdata/basic");
  506. submit("TRCMS00401");//환자 상세정보조회
  507. model.refresh();
  508. var hname = model.getValue("/root/main/clntdata/basic/hngnm");
  509. if(hname == ""){
  510. messageBox("등록번호가", "I004");
  511. }
  512. }
  513. ]]>
  514. </script>
  515. </input>
  516. <caption id="caption4" class="cell_1" style="left:245px; top:20px; width:105px; height:23px; text-align:center; vertical-align:middle; ">주민등록번호</caption>
  517. <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; "/>
  518. <caption id="caption5" style="left:403px; top:21px; width:15px; height:21px; text-align:center; vertical-align:middle; ">-</caption>
  519. <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; "/>
  520. <line id="line4" class="line_2" style="x1:0px; y1:66px; x2:483px; y2:66px; "/>
  521. <line id="line5" class="line_2" style="x1:488px; y1:42px; x2:970px; y2:42px; "/>
  522. <caption id="caption6" class="cell_1" style="left:0px; top:44px; width:105px; height:23px; text-align:center; vertical-align:middle; ">성명</caption>
  523. <output id="ipt_hngnm" ref="/root/main/clntdata/basic/hngnm" class="output_fix" maxlength="50" style="left:108px; top:45px; width:125px; height:19px; "/>
  524. <button id="btnicon_search2" class="icon_search" style="left:223px; top:22px; width:16px; height:16px; ">
  525. <caption/>
  526. <script type="javascript" ev:event="DOMActivate">
  527. <![CDATA[
  528. var search_condition = "pid";
  529. var search_term = "";
  530. var receive_pid_path = "/root/temp/list/key/sndpid";
  531. var receive_patnm_path = "";
  532. var receive_path = "crmpid";
  533. setParameter("search_condition", search_condition);
  534. setParameter("search_term", search_term);
  535. setParameter("receive_pid_path", receive_pid_path);
  536. setParameter("receive_patnm_path", receive_patnm_path);
  537. setParameter("receive_path", receive_path);
  538. modal("SPCCM00100")
  539. clearParameter("search_condition");
  540. clearParameter("search_term");
  541. clearParameter("receive_pid_path");
  542. clearParameter("receive_patnm_path");
  543. clearParameter("receive_path");
  544. ]]>
  545. </script>
  546. </button>
  547. <caption id="caption7" class="cell_1" style="left:245px; top:44px; width:105px; height:23px; text-align:center; vertical-align:middle; ">성별/연령</caption>
  548. <select1 id="rdo_sex" ref="/root/main/clntdata/basic/sex" appearance="minimal" overflow="visible" style="left:353px; top:45px; width:55px; height:19px; ">
  549. <choices>
  550. <item>
  551. <label>남</label>
  552. <value>M</value>
  553. </item>
  554. <item>
  555. <label>여</label>
  556. <value>F</value>
  557. </item>
  558. <item>
  559. <label>동물</label>
  560. <value>A</value>
  561. </item>
  562. </choices>
  563. <hint>
  564. <![CDATA[성별]]>
  565. </hint>
  566. </select1>
  567. <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; "/>
  568. <caption id="caption9" style="left:457px; top:45px; width:20px; height:19px; text-align:center; vertical-align:middle; ">세</caption>
  569. <line id="line6" class="line_2" style="x1:0px; y1:90px; x2:483px; y2:90px; "/>
  570. <line id="line7" class="line_2" style="x1:488px; y1:66px; x2:970px; y2:66px; "/>
  571. <caption id="caption8" class="cell_1" style="left:0px; top:68px; width:105px; height:23px; text-align:center; vertical-align:middle; ">생년월일</caption>
  572. <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; "/>
  573. <select1 id="cmb_lunarsolarflag" ref="/root/main/clntdata/basic/lunarsolarflag" appearance="minimal" overflow="visible" style="left:186px; top:69px; width:52px; height:19px; ">
  574. <choices>
  575. <item>
  576. <label>양력</label>
  577. <value>1</value>
  578. </item>
  579. <item>
  580. <label>음력</label>
  581. <value>0</value>
  582. </item>
  583. </choices>
  584. <hint>
  585. <![CDATA[음력/양력]]>
  586. </hint>
  587. </select1>
  588. <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; ">
  589. <choices>
  590. <item>
  591. <label>교직원</label>
  592. <value>Y</value>
  593. </item>
  594. </choices>
  595. </select>
  596. <caption id="caption18" class="cell_1" style="left:0px; top:140px; width:105px; height:23px; text-align:center; vertical-align:middle; ">휴대폰[1]</caption>
  597. <input id="ipt_mobile" ref="/root/main/clntdata/basic/mpphontel" class="input_default" maxlength="15" style="left:108px; top:141px; width:125px; height:19px; "/>
  598. <line id="line8" class="line_2" style="x1:0px; y1:234px; x2:483px; y2:234px; "/>
  599. <line id="line13" class="line_2" style="x1:488px; y1:90px; x2:970px; y2:90px; "/>
  600. <line id="line14" class="line_2" style="x1:0px; y1:210px; x2:483px; y2:210px; "/>
  601. <caption id="caption13" class="cell_1" style="left:0px; top:188px; width:105px; height:23px; text-align:center; vertical-align:middle; ">전화번호</caption>
  602. <input id="ipt_hometel" ref="/root/main/clntdata/basic/hometel" class="input_default" maxlength="15" style="left:108px; top:189px; width:125px; height:19px; ">
  603. <hint>
  604. <![CDATA[자택 전화번호]]>
  605. </hint>
  606. </input>
  607. <line id="line16" class="line_2" style="x1:488px; y1:114px; x2:970px; y2:114px; "/>
  608. <caption id="caption14" class="cell_1" style="left:245px; top:188px; width:105px; height:23px; text-align:center; vertical-align:middle; ">팩스번호</caption>
  609. <input id="ipt_faxno" ref="/root/main/clntdata/basic/faxno" class="input_default" maxlength="15" style="left:353px; top:189px; width:125px; height:19px; "/>
  610. <line id="line17" class="line_2" style="x1:0px; y1:257px; x2:483px; y2:257px; "/>
  611. <caption id="caption19" class="cell_1" style="left:245px; top:140px; width:105px; height:23px; text-align:center; vertical-align:middle; ">휴대폰[2]</caption>
  612. <caption id="caption15" class="cell_1" style="left:0px; top:212px; width:105px; height:46px; text-align:center; vertical-align:middle; ">주소</caption>
  613. <output id="ipt_ZipCd1" ref="/root/main/clntdata/basic/zipcd1" class="output_fix" style="left:108px; top:213px; width:45px; height:19px; "/>
  614. <output id="ipt_ZipCd2" ref="/root/main/clntdata/basic/zipcd2" class="output_fix" style="left:156px; top:213px; width:45px; height:19px; "/>
  615. <output id="opt_zipcdseq" ref="/root/main/clntdata/basic/zipcdseq" class="output_fix" style="left:204px; top:213px; width:20px; height:19px; "/>
  616. <button id="btnicon_search3" class="icon_search" style="left:228px; top:214px; width:16px; height:16px; ">
  617. <caption/>
  618. <script type="javascript" ev:event="DOMActivate">
  619. <![CDATA[
  620. var search_condition = "srchzipcd";
  621. var search_term1 = model.getValue("/root/main/clntdata/basic/zipcd1");
  622. var search_term2 = model.getValue("/root/main/clntdata/basic/zipcd2");
  623. var search_term = search_term1 + "-" + search_term2;
  624. var receive_zipcd1_path = "/root/main/clntdata/basic/zipcd1";
  625. var receive_zipcd2_path = "/root/main/clntdata/basic/zipcd2";
  626. var receive_zipcdseq_path = "/root/main/clntdata/basic/zipcdseq";
  627. var receive_zipcdaddr_path = "/root/main/clntdata/basic/zipcdaddr";
  628. var receive_citycd_path = "/root/main/clntdata/basic/citycd";
  629. var receive_citycntyareacd_path = "/root/main/clntdata/basic/citycntyareacd";
  630. var receive_blokcd_path = "/root/main/clntdata/basic/blokcd";
  631. setParameter("search_condition", search_condition);
  632. setParameter("search_term", search_term);
  633. setParameter("receive_zipcd1_path", receive_zipcd1_path);
  634. setParameter("receive_zipcd2_path", receive_zipcd2_path);
  635. setParameter("receive_zipcdseq_path", receive_zipcdseq_path);
  636. setParameter("receive_zipcdaddr_path", receive_zipcdaddr_path);
  637. setParameter("receive_citycd_path", receive_citycd_path);
  638. setParameter("receive_citycntyareacd_path", receive_citycntyareacd_path);
  639. setParameter("receive_blokcd_path", receive_blokcd_path);
  640. modal("SPCCM00200")
  641. clearParameter("search_condition");
  642. clearParameter("search_term");
  643. clearParameter("receive_zipcd1_path");
  644. clearParameter("receive_zipcd2_path");
  645. clearParameter("receive_zipcdseq_path");
  646. clearParameter("receive_zipcdaddr_path");
  647. clearParameter("receive_citycd_path");
  648. clearParameter("receive_citycntyareacd_path");
  649. clearParameter("receive_blokcd_path");
  650. ]]>
  651. </script>
  652. </button>
  653. <output id="ipt_zipcdaddr" ref="/root/main/clntdata/basic/zipcdaddr" class="output_fix" style="left:248px; top:213px; width:230px; height:19px; "/>
  654. <output id="output9" ref="/root/main/clntdata/basic/citycd" class="output_fix" visibility="hidden" style="left:450px; top:212px; width:7px; height:19px; "/>
  655. <output id="output10" ref="/root/main/clntdata/basic/citycntyareacd" class="output_fix" visibility="hidden" style="left:460px; top:212px; width:7px; height:19px; "/>
  656. <output id="output11" ref="/root/main/clntdata/basic/blokcd" class="output_fix" visibility="hidden" style="left:470px; top:212px; width:7px; height:19px; "/>
  657. <input id="ipt_detladdr" ref="/root/main/clntdata/basic/detladdr" class="input_default" maxlength="66" style="left:108px; top:237px; width:370px; height:19px; "/>
  658. <line id="line19" class="line_2" style="x1:0px; y1:186px; x2:483px; y2:186px; "/>
  659. <caption id="caption20" class="cell_1" style="left:0px; top:164px; width:105px; height:23px; text-align:center; vertical-align:middle; ">이메일</caption>
  660. <caption id="caption21" class="cell_1" style="left:0px; top:116px; width:105px; height:23px; text-align:center; vertical-align:middle; ">정보이용</caption>
  661. <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; "/>
  662. <caption id="caption39" style="left:129px; top:120px; width:47px; height:15px; ">
  663. <![CDATA[SMS ]]>
  664. <script type="javascript" ev:event="onclick">
  665. <![CDATA[
  666. if( chk_sms.selected ){
  667. chk_sms.selected = false;
  668. }
  669. else {
  670. chk_sms.selected = true;
  671. }
  672. ]]>
  673. </script>
  674. </caption>
  675. <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; "/>
  676. <caption id="caption40" style="left:212px; top:120px; width:37px; height:15px; ">
  677. <![CDATA[메일 ]]>
  678. <script type="javascript" ev:event="onclick">
  679. <![CDATA[
  680. if( chk_email.selected ){
  681. chk_email.selected = false;
  682. }
  683. else {
  684. chk_email.selected = true;
  685. }
  686. ]]>
  687. </script>
  688. </caption>
  689. <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; "/>
  690. <caption id="caption41" style="left:287px; top:120px; width:37px; height:15px; ">
  691. <![CDATA[우편 ]]>
  692. <script type="javascript" ev:event="onclick">
  693. <![CDATA[
  694. if( chk_post.selected ){
  695. chk_post.selected = false;
  696. }
  697. else {
  698. chk_post.selected = true;
  699. }
  700. ]]>
  701. </script>
  702. </caption>
  703. <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; "/>
  704. <caption id="caption11" style="left:130px; top:97px; width:35px; height:15px; ">
  705. <![CDATA[재원]]>
  706. <script type="javascript" ev:event="onclick">
  707. <![CDATA[
  708. if( chk_hosp.selected ){
  709. chk_hosp.selected = false;
  710. }
  711. else {
  712. chk_hosp.selected = true;
  713. }
  714. ]]>
  715. </script>
  716. </caption>
  717. <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; "/>
  718. <caption id="caption12" style="left:211px; top:97px; width:30px; height:15px; ">
  719. <![CDATA[사망]]>
  720. <script type="javascript" ev:event="onclick">
  721. <![CDATA[
  722. if( chk_dead.selected ){
  723. chk_dead.selected = false;
  724. }
  725. else {
  726. chk_dead.selected = true;
  727. }
  728. ]]>
  729. </script>
  730. </caption>
  731. <caption id="caption37" class="tit_2" style="left:493px; top:129px; width:111px; height:13px; ">가족 정보</caption>
  732. <button id="btn_memorialday" class="btn2_letter5" style="left:581px; top:124px; width:75px; height:19px; ">
  733. <caption>기념일 정보</caption>
  734. <script type="javascript" ev:event="DOMActivate">
  735. <![CDATA[
  736. model.makeValue("/root/temp/list/key/mpphontel", model.getValue("/root/main/clntdata/basic/mpphontel") );
  737. model.makeValue("/root/temp/list/key/etctelno1", model.getValue("/root/main/clntdata/basic/etctelno1") );
  738. model.refresh();
  739. window.load("SPCMS00900_고객기념일정보.xrw", "modal", "memo_pop", "align:center;", "/root/temp/list/key", "/root/temp/list/key");
  740. ]]>
  741. </script>
  742. </button>
  743. <button id="btn_addFamily" class="btn2_letter3" style="left:791px; top:124px; width:53px; height:19px; ">
  744. <caption>행 추가</caption>
  745. <script type="javascript" ev:event="DOMActivate">
  746. <![CDATA[
  747. grd_family.addRow();
  748. var cur_row = grd_family.row;
  749. model.setValue("/root/main/clntdata/familygrid[" + cur_row + "]/pid", model.getValue("/root/main/clntdata/basic/pid") );
  750. model.setValue("/root/main/clntdata/familygrid[" + cur_row + "]/insukind", "ZZ" );
  751. model.setValue("/root/main/clntdata/familygrid[" + cur_row + "]/todd",getCurrentDate().toDate().getAddDate(100,"Y").getDateFormat());
  752. model.refresh();
  753. ]]>
  754. </script>
  755. </button>
  756. <button id="btn_delFamily" class="btn2_letter3" style="left:847px; top:124px; width:53px; height:19px; ">
  757. <caption>행 삭제</caption>
  758. <script type="javascript" ev:event="DOMActivate">
  759. <![CDATA[
  760. var row = grd_family.row;
  761. deleteSelectedRows(grd_family, true);
  762. // grd_family.deleteRow(grd_family.row);
  763. // grd_family.refresh();
  764. ]]>
  765. </script>
  766. </button>
  767. <button id="btn_saveFamily" class="btn5_letter4" style="left:903px; top:124px; width:64px; height:19px; ">
  768. <caption>가족 저장</caption>
  769. <script type="javascript" ev:event="DOMActivate">
  770. <![CDATA[
  771. var row = grd_family.row;
  772. if (grd_family.row > 0){
  773. model.makeValue("/root/send/familygrid", grd_family.getUpdateData());
  774. if ( submit("TXCMS00102") ) {
  775. grd_family.clearStatus(); // submit() 성공하면 그리드의 i,u,d 상태 제거
  776. messageBox("가족 정보 저장이 ", "I002");
  777. model.removeNodeset("/root/main/clntdata/familygrid");
  778. submit("TRCMS00402");
  779. model.removeNodeset("/root/send/familygrid");
  780. model.refresh();
  781. }
  782. } else {
  783. messageBox("저장할 가족 정보가 ","I004");
  784. model.SetFocus("btn_addFamily");
  785. }
  786. ]]>
  787. </script>
  788. </button>
  789. <line id="line21" class="line_1" style="x1:488px; y1:146px; x2:970px; y2:146px; "/>
  790. <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; ">
  791. <col class="text_center" ref="famypatnm" type="input"/>
  792. <col class="text_center" ref="sex" type="combo">
  793. <choices>
  794. <item>
  795. <label>선택</label>
  796. <value/>
  797. </item>
  798. <item>
  799. <label>남</label>
  800. <value>M</value>
  801. </item>
  802. <item>
  803. <label>여</label>
  804. <value>F</value>
  805. </item>
  806. </choices>
  807. </col>
  808. <col class="text_center" ref="brthdd" type="input" format="yyyy-mm-dd" maxlength="8"/>
  809. <col class="text_center" ref="famyrela" type="combo">
  810. <choices>
  811. <itemset nodeset="/root/init/P0016list/P0016">
  812. <label ref="cdnm"/>
  813. <value ref="cdid"/>
  814. </itemset>
  815. </choices>
  816. </col>
  817. <col ref="famyinfomemo" type="input" maxlength="240"/>
  818. <col ref="famycd" visibility="hidden"/>
  819. <col ref="pid" visibility="hidden"/>
  820. <col ref="insukind" visibility="hidden"/>
  821. <col ref="todd" visibility="hidden"/>
  822. <col ref="seqno" visibility="hidden"/>
  823. </datagrid>
  824. <caption id="caption36" class="tit_2" style="left:494px; top:0px; width:111px; height:14px; ">추가 정보</caption>
  825. <line id="line12" class="line_1" style="x1:488px; y1:15px; x2:970px; y2:15px; "/>
  826. <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; ">
  827. <choices>
  828. <item>
  829. <label>기혼</label>
  830. <value>Y</value>
  831. </item>
  832. </choices>
  833. </select>
  834. <caption id="caption24" class="cell_1" style="left:488px; top:20px; width:105px; height:23px; text-align:center; vertical-align:middle; ">혈액형</caption>
  835. <select1 id="cmb_btype" ref="/root/main/clntdata/basic/btype" class="combo_default" appearance="minimal" style="left:596px; top:21px; width:67px; height:19px; ">
  836. <choices>
  837. <item>
  838. <label>A형</label>
  839. <value>A</value>
  840. </item>
  841. <item>
  842. <label>B형</label>
  843. <value>B</value>
  844. </item>
  845. <item>
  846. <label>O형</label>
  847. <value>O</value>
  848. </item>
  849. <item>
  850. <label>AB형</label>
  851. <value>AB</value>
  852. </item>
  853. </choices>
  854. <hint>
  855. <![CDATA[ABO형]]>
  856. </hint>
  857. </select1>
  858. <select1 id="cmb_rh" ref="/root/main/clntdata/basic/rh" class="combo_default" appearance="minimal" style="left:666px; top:21px; width:60px; height:19px; ">
  859. <choices>
  860. <item>
  861. <label>선택</label>
  862. <value/>
  863. </item>
  864. <item>
  865. <label>RH +</label>
  866. <value>+</value>
  867. </item>
  868. <item>
  869. <label>RH -</label>
  870. <value>-</value>
  871. </item>
  872. </choices>
  873. <hint>
  874. <![CDATA[RH +/-형]]>
  875. </hint>
  876. </select1>
  877. <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; ">
  878. <choices>
  879. <item>
  880. <label>외국인</label>
  881. <value>Y</value>
  882. </item>
  883. </choices>
  884. </select>
  885. <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; ">
  886. <choices>
  887. <item>
  888. <label>동물여부</label>
  889. <value>Y</value>
  890. </item>
  891. </choices>
  892. </select>
  893. <caption id="caption26" class="cell_1" style="left:488px; top:44px; width:105px; height:23px; text-align:center; vertical-align:middle; ">종교</caption>
  894. <select1 id="cmb_religncd" ref="/root/main/clntdata/basic/religncd" class="combo_default" appearance="minimal" style="left:596px; top:45px; width:130px; height:19px; ">
  895. <choices>
  896. <itemset nodeset="/root/init/P0157list/P0157">
  897. <label ref="cdnm"/>
  898. <value ref="cdid"/>
  899. </itemset>
  900. </choices>
  901. </select1>
  902. <caption id="caption29" class="cell_1" style="left:488px; top:68px; width:105px; height:23px; text-align:center; vertical-align:middle; ">국적</caption>
  903. <select1 id="ipt_nati" ref="/root/main/clntdata/basic/nati" class="combo_default" appearance="minimal" style="left:596px; top:69px; width:130px; height:19px; ">
  904. <choices>
  905. <itemset nodeset="/root/init/P0400list/P0400">
  906. <label ref="cdnm"/>
  907. <value ref="cdid"/>
  908. </itemset>
  909. </choices>
  910. </select1>
  911. <caption id="caption31" class="cell_1" style="left:730px; top:20px; width:105px; height:23px; text-align:center; vertical-align:middle; ">성당명</caption>
  912. <input id="ipt_chchnm" ref="/root/main/clntdata/basic/chchnm" class="input_default" maxlength="20" style="left:838px; top:21px; width:125px; height:19px; "/>
  913. <caption id="caption30" class="cell_1" style="left:730px; top:44px; width:105px; height:23px; text-align:center; vertical-align:middle; ">세례명</caption>
  914. <input id="ipt_baptnm" ref="/root/main/clntdata/basic/baptnm" class="input_default" maxlength="20" style="left:838px; top:45px; width:125px; height:19px; "/>
  915. <caption id="caption32" class="cell_1" style="left:488px; top:92px; width:105px; height:23px; text-align:center; vertical-align:middle; ">추천인</caption>
  916. <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; ">
  917. <choices>
  918. <item>
  919. <label>직원 소개</label>
  920. <value>Y</value>
  921. </item>
  922. </choices>
  923. </select>
  924. <output id="ipt_recmernm" ref="/root/main/clntdata/basic/recmernm" class="output_fix" style="left:700px; top:93px; width:93px; height:19px; "/>
  925. <output id="ipt_recmerid" ref="/root/main/clntdata/basic/recmerid" class="output_fix" visibility="hidden" style="left:820px; top:93px; width:8px; height:19px; "/>
  926. <button id="btnicon_search4" class="icon_search" style="left:796px; top:94px; width:16px; height:16px; ">
  927. <caption/>
  928. <script type="javascript" ev:event="DOMActivate">
  929. <![CDATA[
  930. var search_condition = "empnm";
  931. var search_term = model.getValue("/root/main/clntdata/basic/recmernm");
  932. var receive_empid_path = "/root/main/clntdata/basic/recmerid";
  933. var receive_empnm_path = "/root/main/clntdata/basic/recmernm";
  934. var receive_deptcd_path = "";
  935. var receive_deptnm_path = "";
  936. setParameter("search_condition", search_condition);
  937. setParameter("search_term", search_term);
  938. setParameter("receive_empid_path", receive_empid_path);
  939. setParameter("receive_empnm_path", receive_empnm_path);
  940. setParameter("receive_deptcd_path", receive_deptcd_path);
  941. setParameter("receive_deptnm_path", receive_deptnm_path);
  942. modal("SPCCM00400")
  943. clearParameter("search_condition");
  944. clearParameter("search_term");
  945. clearParameter("receive_empid_path");
  946. clearParameter("receive_empnm_path");
  947. clearParameter("receive_deptcd_path");
  948. clearParameter("receive_deptnm_path");
  949. ]]>
  950. </script>
  951. </button>
  952. <select1 id="cmb_recmerrela" ref="/root/main/clntdata/basic/recmerrela" class="combo_default" appearance="minimal" style="left:831px; top:93px; width:125px; height:19px; ">
  953. <choices>
  954. <itemset nodeset="/root/init/P0327list/P0327">
  955. <label ref="cdnm"/>
  956. <value ref="cdid"/>
  957. </itemset>
  958. </choices>
  959. </select1>
  960. <caption id="caption16" class="cell_1" style="left:0px; top:92px; width:105px; height:23px; text-align:center; vertical-align:middle; ">현재상태</caption>
  961. <line id="line10" class="line_2" style="x1:0px; y1:114px; x2:483px; y2:114px; "/>
  962. <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; "/>
  963. <line id="line11" class="line_2" style="x1:0px; y1:138px; x2:483px; y2:138px; "/>
  964. <input id="input2" ref="/root/main/clntdata/basic/etctelno1" class="input_default" maxlength="15" style="left:353px; top:141px; width:125px; height:19px; "/>
  965. <line id="line18" class="line_2" style="x1:0px; y1:162px; x2:483px; y2:162px; "/>
  966. <input id="input3" ref="/root/temp/email/host" class="input_default" imemode="disabled" maxlength="50" style="left:235px; top:165px; width:105px; height:19px; "/>
  967. <input id="ipt_email" ref="/root/temp/email/user" class="input_default" maxlength="50" style="left:108px; top:165px; width:105px; height:19px; "/>
  968. <caption id="caption10" style="left:214px; top:166px; width:20px; height:19px; font-size:11pt; text-align:center; vertical-align:middle; ">@</caption>
  969. <select1 id="cmb_email" ref="/root/temp/email/selhost" appearance="minimal" overflow="visible" style="left:353px; top:165px; width:125px; height:19px; ">
  970. <choices>
  971. <item>
  972. <label>직접입력</label>
  973. <value/>
  974. </item>
  975. <item>
  976. <label>hanmail.net</label>
  977. <value>hanmail.net</value>
  978. </item>
  979. <item>
  980. <label>nate.com</label>
  981. <value>nate.com</value>
  982. </item>
  983. <item>
  984. <label>yahoo.co.kr</label>
  985. <value>yahoo.co.kr</value>
  986. </item>
  987. <item>
  988. <label>naver.com</label>
  989. <value>naver.com</value>
  990. </item>
  991. <item>
  992. <label>empal.com</label>
  993. <value>empal.com</value>
  994. </item>
  995. <item>
  996. <label>paran.com</label>
  997. <value>paran.com</value>
  998. </item>
  999. <item>
  1000. <label>hitel.net</label>
  1001. <value>hitel.net</value>
  1002. </item>
  1003. <item>
  1004. <label>dreamwiz.com</label>
  1005. <value>dreamwiz.com</value>
  1006. </item>
  1007. <item>
  1008. <label>lycos.co.kr</label>
  1009. <value>lycos.co.kr</value>
  1010. </item>
  1011. <item>
  1012. <label>chollian.net</label>
  1013. <value>chollian.net</value>
  1014. </item>
  1015. <item>
  1016. <label>hotmail.com</label>
  1017. <value>hotmail.com</value>
  1018. </item>
  1019. <item>
  1020. <label>unitel.co.kr</label>
  1021. <value>unitel.co.kr</value>
  1022. </item>
  1023. <item>
  1024. <label>nownuri.net</label>
  1025. <value>nownuri.net</value>
  1026. </item>
  1027. <item>
  1028. <label>hanafos.com</label>
  1029. <value>hanafos.com</value>
  1030. </item>
  1031. <item>
  1032. <label>kornet.net</label>
  1033. <value>kornet.net</value>
  1034. </item>
  1035. <item>
  1036. <label>catholic.ac.kr</label>
  1037. <value>catholic.ac.kr</value>
  1038. </item>
  1039. <item>
  1040. <label>cmcnu.or.kr</label>
  1041. <value>cmcnu.or.kr</value>
  1042. </item>
  1043. </choices>
  1044. <script type="javascript" ev:event="xforms-select">
  1045. <![CDATA[
  1046. var selhost = model.getValue("/root/temp/email/selhost");
  1047. model.setValue("/root/temp/email/host", selhost);
  1048. model.refresh();
  1049. ]]>
  1050. </script>
  1051. </select1>
  1052. </group>
  1053. <group id="grp_add" style="left:0px; top:288px; width:1186px; height:222px; ">
  1054. <caption id="caption23" class="cell_1" style="left:709px; top:5px; width:105px; height:23px; text-align:center; vertical-align:middle; ">최종 내원일</caption>
  1055. <caption id="caption25" class="cell_1" style="left:951px; top:5px; width:105px; height:23px; text-align:center; vertical-align:middle; ">최초 내원일</caption>
  1056. <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; "/>
  1057. <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; "/>
  1058. <button id="btn_out" class="btn_sw2" group="tab" style="left:0px; top:10px; width:40px; height:22px; ">
  1059. <caption>외래</caption>
  1060. <script type="javascript" ev:event="DOMActivate">
  1061. <![CDATA[
  1062. model.toggle("case1");
  1063. //외래 불러오기
  1064. submit("TRCMS00102");
  1065. ]]>
  1066. </script>
  1067. </button>
  1068. <button id="btn_in" class="btn_sw2" group="tab" style="left:45px; top:10px; width:40px; height:22px; ">
  1069. <caption>입원</caption>
  1070. <script type="javascript" ev:event="DOMActivate">
  1071. <![CDATA[
  1072. model.toggle("case2");
  1073. submit("TRCMS00103");//입원 조회
  1074. var grid = grd_in;
  1075. var rows = grid.rows-1;
  1076. if(rows>=1){
  1077. var toDay = getCurrentDate().substring(0, 8);
  1078. var stDay = "";
  1079. var enDay = "";
  1080. var hd = "";
  1081. for(i=1; i<=rows; i++){
  1082. stDay = grid.valuematrix(i,grid.colRef("orddd"));
  1083. enDay = grid.valuematrix(i,grid.colRef("dschdd"));
  1084. if(enDay == "99991231"){//입원중
  1085. hd = getDateInterval(stDay ,toDay);
  1086. hd += "일"
  1087. model.setValue("/root/main/list/inlist[" + i + "]/hd", hd);
  1088. model.setValue("/root/main/list/inlist[" + i + "]/dschdd", "입원중");
  1089. }else{ //퇴원
  1090. hd = getDateInterval(stDay ,enDay);
  1091. hd += "일"
  1092. model.setValue("/root/main/list/inlist[" + i + "]/hd", hd);
  1093. }
  1094. }
  1095. }
  1096. model.refresh();
  1097. ]]>
  1098. </script>
  1099. </button>
  1100. <button id="btn_op" class="btn_sw2" group="tab" style="left:90px; top:10px; width:40px; height:22px; text-align:center; ">
  1101. <caption>수술</caption>
  1102. <script type="javascript" ev:event="DOMActivate">
  1103. <![CDATA[
  1104. model.toggle("case3");
  1105. submit("TRCMS00104");//수술 조회
  1106. ]]>
  1107. </script>
  1108. </button>
  1109. <button id="btn_healexam" class="btn_sw2" group="tab" style="left:135px; top:10px; width:40px; height:22px; ">
  1110. <caption>건진</caption>
  1111. <script type="javascript" ev:event="DOMActivate">
  1112. <![CDATA[
  1113. model.toggle("case4");
  1114. submit("TRCMS00105");//건진 조회
  1115. ]]>
  1116. </script>
  1117. </button>
  1118. <line id="line36" class="line_1" style="x1:0px; y1:29px; x2:1186px; y2:29px; "/>
  1119. <switch id="switch1" style="left:0px; top:33px; width:1186px; height:185px; border-color:#c7a3cf; border-style:solid; ">
  1120. <case id="case1" selected="true">
  1121. <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; ">
  1122. <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
  1123. <col ref="orddeptnm" style="text-align:center; "/>
  1124. <col ref="orddrnm" style="text-align:center; "/>
  1125. <col ref="specordyn" style="text-align:center; "/>
  1126. <col disabled="true" ref="fsexamflag" type="combo" style="text-align:center; ">
  1127. <choices>
  1128. <itemset nodeset="/root/init/P0021list/P0021">
  1129. <label ref="cdnm"/>
  1130. <value ref="cdid"/>
  1131. </itemset>
  1132. </choices>
  1133. </col>
  1134. <col disabled="true" ref="insukind" type="combo" style="text-align:center; ">
  1135. <choices>
  1136. <itemset nodeset="/root/init/P0008list/P0008">
  1137. <label ref="cdnm"/>
  1138. <value ref="cdid"/>
  1139. </itemset>
  1140. </choices>
  1141. </col>
  1142. <col ref="diagnm" style="text-align:center; "/>
  1143. <col disabled="true" ref="rqstflag" type="combo" style="text-align:center; ">
  1144. <choices>
  1145. <itemset nodeset="/root/init/P0329list/P0329">
  1146. <label ref="cdnm"/>
  1147. <value ref="cdid"/>
  1148. </itemset>
  1149. </choices>
  1150. </col>
  1151. <col ref="rqsthospcd" style="text-align:center; "/>
  1152. </datagrid>
  1153. </case>
  1154. <case id="case2">
  1155. <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; ">
  1156. <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
  1157. <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
  1158. <col ref="hd" style="text-align:center; "/>
  1159. <col ref="orddeptnm" style="text-align:center; "/>
  1160. <col ref="medispclnm" style="text-align:center; "/>
  1161. <col ref="atdoctnm" style="text-align:center; "/>
  1162. <col ref="diagdd" format="yyyy-mm-dd" style="text-align:center; "/>
  1163. <col ref="diagnm" style="text-align:center; "/>
  1164. <col ref="roomcd" style="text-align:center; "/>
  1165. <col ref="hospiceyn" style="text-align:center; "/>
  1166. <col ref="bmtyn" style="text-align:center; "/>
  1167. </datagrid>
  1168. </case>
  1169. <case id="case3">
  1170. <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; ">
  1171. <col ref="opcnfmdd" format="yyyy-mm-dd" style="text-align:center; "/>
  1172. <col disabled="true" ref="opflagcd" type="combo" style="text-align:center; ">
  1173. <choices>
  1174. <itemset nodeset="/root/init/M0013list/M0013">
  1175. <label ref="cdnm"/>
  1176. <value ref="cdid"/>
  1177. </itemset>
  1178. </choices>
  1179. </col>
  1180. <col ref="orddeptnm" style="text-align:center; "/>
  1181. <col ref="anstreqflag" style="text-align:center; "/>
  1182. <col ref="opnm" style="text-align:center; "/>
  1183. <col ref="perfdeptnm" style="text-align:center; "/>
  1184. <col ref="perfdrnm" style="text-align:center; "/>
  1185. </datagrid>
  1186. </case>
  1187. <case id="case4">
  1188. <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; ">
  1189. <col ref="rsrvdd" format="yyyy-mm-dd" style="text-align:center; "/>
  1190. <col disabled="true" ref="healexamflag" type="combo" style="text-align:center; ">
  1191. <choices>
  1192. <itemset nodeset="/root/init/A0068list/A0068">
  1193. <label ref="cdnm"/>
  1194. <value ref="cdid"/>
  1195. </itemset>
  1196. </choices>
  1197. </col>
  1198. <col ref="pkgnm" style="text-align:center; "/>
  1199. <col disabled="true" ref="healexamdetlflag" type="combo" style="text-align:center; ">
  1200. <choices>
  1201. <itemset nodeset="/root/init/A0070list/A0070">
  1202. <label ref="cdnm"/>
  1203. <value ref="cdid"/>
  1204. </itemset>
  1205. </choices>
  1206. </col>
  1207. <col ref="testnm" style="text-align:center; "/>
  1208. </datagrid>
  1209. </case>
  1210. </switch>
  1211. </group>
  1212. <group id="grp_voc" style="left:1px; top:523px; width:1186px; height:222px; ">
  1213. <button id="btn_voc" class="btn_sw5" group="tab2" style="left:0px; top:0px; width:40px; height:22px; ">
  1214. <caption>VOC 이력</caption>
  1215. <script type="javascript" ev:event="DOMActivate">
  1216. <![CDATA[
  1217. model.toggle("case10");
  1218. submit("TRCMS00107");//VOC 조회
  1219. ]]>
  1220. </script>
  1221. </button>
  1222. <button id="btn_rem" class="btn_sw8" group="tab2" style="left:81px; top:0px; width:89px; height:22px; ">
  1223. <caption>교직원 참고사항</caption>
  1224. <script type="javascript" ev:event="DOMActivate">
  1225. <![CDATA[
  1226. model.toggle("case11");
  1227. submit("TRCMS00108");//교직원 참고사항 조회
  1228. ]]>
  1229. </script>
  1230. </button>
  1231. <button id="btn_delive" class="btn_sw5" group="tab2" style="left:198px; top:0px; width:76px; height:22px; ">
  1232. <caption>발송 이력</caption>
  1233. <script type="javascript" ev:event="DOMActivate">
  1234. <![CDATA[
  1235. model.toggle("case12");
  1236. submit("TRCMS00109");//발송이력 조회
  1237. ]]>
  1238. </script>
  1239. </button>
  1240. <button id="btn_cmpn" class="btn_sw6" group="tab2" style="left:279px; top:0px; width:40px; height:22px; ">
  1241. <caption>캠페인 이력</caption>
  1242. <script type="javascript" ev:event="DOMActivate">
  1243. <![CDATA[
  1244. model.toggle("case13");
  1245. submit("TRCMS00106");//캠페인 조회
  1246. ]]>
  1247. </script>
  1248. </button>
  1249. <line id="line3" class="line_1" style="x1:0px; y1:19px; x2:1186px; y2:19px; "/>
  1250. <switch id="switch2" style="left:0px; top:23px; width:1186px; height:195px; border-color:#c7a3cf; border-style:solid; ">
  1251. <case id="case10">
  1252. <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; ">
  1253. <col ref="acptseq" style="text-align:center; "/>
  1254. <col ref="acptdd" format="yyyy-mm-dd" style="text-align:center; "/>
  1255. <col ref="acpttypenm" style="text-align:center; "/>
  1256. <col ref="acptkindlrgnm" style="text-align:center; "/>
  1257. <col ref="acpttitl" style="text-align:center; "/>
  1258. <col ref="deptnm" style="text-align:center; "/>
  1259. <col ref="empnm" style="text-align:center; "/>
  1260. <col ref="prcsstatnm" style="text-align:center; "/>
  1261. <col ref="fstrgstrnm" style="text-align:center; "/>
  1262. <col ref="acptcnts" visibility="hidden"/>
  1263. <script type="javascript" ev:event="ondblclick">
  1264. <![CDATA[
  1265. var s_contents = grd_voc.valueMatrix(grd_voc.row, grd_voc.colRef("acptcnts"));
  1266. model.setValue("/root/main/vocpopup/title", "민원 내용");
  1267. model.setValue("/root/main/vocpopup/contents", s_contents);
  1268. model.makeValue("/root/main/vocpopup/inputmode", "");
  1269. model.makeValue("/root/main/vocpopup/receive_path", "");
  1270. open("SPCVD00500", "", "", "", "SPCVD00500", "/root/main/vocpopup", "/root/main/vocpopup");
  1271. model.setValue("/root/main/vocpopup/title", "");
  1272. model.setValue("/root/main/vocpopup/contents", "");
  1273. model.refresh();
  1274. ]]>
  1275. </script>
  1276. </datagrid>
  1277. </case>
  1278. <case id="case11">
  1279. <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; ">
  1280. <col ref="hisstatnm" style="text-align:center; "/>
  1281. <col ref="ordpossyn" style="text-align:center; "/>
  1282. <col ref="acptresn" style="text-align:center; "/>
  1283. <col ref="endresn" style="text-align:center; "/>
  1284. </datagrid>
  1285. </case>
  1286. <case id="case12" selected="true">
  1287. <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; ">
  1288. <col ref="trnstype" style="text-align:center; "/>
  1289. <col ref="trsmdd" format="yyyy-mm-dd" style="text-align:center; "/>
  1290. <col ref="bizflagnm" style="text-align:center; "/>
  1291. <col ref="bizdetlnm" style="text-align:center; "/>
  1292. <col ref="recvr" style="text-align:center; "/>
  1293. <col ref="cnts" style="text-align:center; "/>
  1294. </datagrid>
  1295. </case>
  1296. <case id="case13">
  1297. <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; ">
  1298. <col ref="cmpnrgstdt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
  1299. <col ref="cmpnnm" style="text-align:center; "/>
  1300. <col ref="cmpnexecdt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
  1301. <col ref="execyn" style="text-align:center; "/>
  1302. <col ref="smsuseyn" style="text-align:center; "/>
  1303. <col ref="emailuseyn" style="text-align:center; "/>
  1304. </datagrid>
  1305. </case>
  1306. </switch>
  1307. </group>
  1308. <group id="grp_btn" scroll="auto" style="left:0px; top:748px; width:1187px; height:27px; ">
  1309. <button id="btn_innr" class="btn6_letter6" style="left:0px; top:5px; width:56px; height:22px; ">
  1310. <caption>고객정보검색</caption>
  1311. <script type="javascript" ev:event="DOMActivate">
  1312. <![CDATA[
  1313. var reInputMode = model.getValue("/root/temp/list/key/inputmode")
  1314. if ( reInputMode == "R" ) {
  1315. navigate("SMCMS00200", "", "", "", "SMCVA00200", "/root/temp", "/root/send");
  1316. } else {
  1317. navigate("SMCMS00300", "", "", "", "SMCVA00300", "/root/temp", "/root/send");
  1318. }
  1319. ]]>
  1320. </script>
  1321. </button>
  1322. <button id="btn_addr" class="btn6_letter3" style="left:108px; top:5px; width:56px; height:22px; ">
  1323. <caption>주소록</caption>
  1324. <script type="javascript" ev:event="DOMActivate">
  1325. <![CDATA[
  1326. navigate("SMCMS00500", "", "", "", "SMCMS00500", "", "");
  1327. ]]>
  1328. </script>
  1329. </button>
  1330. <button id="btn_clear" class="btn4_letter3" style="left:1119px; top:5px; width:68px; height:22px; ">
  1331. <caption>초기화</caption>
  1332. <script type="javascript" ev:event="DOMActivate">
  1333. <![CDATA[
  1334. model.removeNodeset("/root/init/A0118list/A0118");
  1335. model.removeNodeset("/root/init/A0115list/A0115");
  1336. model.removeNodeset("/root/init/C0021list/C0021");
  1337. model.removeNodeset("/root/init/P0015list/P0015");
  1338. model.removeNodeset("/root/init/P0016list/P0016");
  1339. model.removeNodeset("/root/init/P0157list/P0157");
  1340. model.removeNodeset("/root/init/P0327list/P0327");
  1341. model.removeNodeset("/root/init/P0349list/P0349");
  1342. model.dispatch("xforms-ready");
  1343. ]]>
  1344. </script>
  1345. </button>
  1346. <button id="btn_save2" class="btn4_letter2" style="left:1060px; top:5px; width:56px; height:22px; ">
  1347. <caption>저장</caption>
  1348. <script type="javascript" ev:event="DOMActivate">
  1349. <![CDATA[
  1350. if(model.getValue("/root/temp/list/key/sndpid")==model.getValue("/root/main/clntdata/basic/pid")){
  1351. var user = model.getValue("/root/temp/email/user");
  1352. var host = model.getValue("/root/temp/email/host");
  1353. if(user != ""){
  1354. var email = user + "@" + host;
  1355. model.setValue("/root/main/clntdata/basic/email", email);
  1356. }
  1357. if ( submit("TXCMS00401") ) {
  1358. messageBox("개인 정보 저장이 ", "I002");
  1359. }
  1360. }else{
  1361. messageBox("등록번호가", "E004");
  1362. }
  1363. ]]>
  1364. </script>
  1365. </button>
  1366. </group>
  1367. <group id="grp_leftmenu" style="left:970px; top:23px; width:215px; height:262px; ">
  1368. <caption id="caption61" class="tit_2" style="left:0px; top:0px; width:165px; height:13px; ">나의 고객 그룹 위치</caption>
  1369. <line id="line37" class="line_1" style="x1:5px; y1:15px; x2:215px; y2:15px; "/>
  1370. <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; ">
  1371. <col class="text_center" ref="publnm"/>
  1372. <col class="text_center" ref="innrgrupnm"/>
  1373. <col ref="innrgrupid" visibility="hidden"/>
  1374. <script type="javascript" ev:event="ondblclick">
  1375. <![CDATA[
  1376. var row = grd_innrgruplistpat.row;
  1377. var receive_publnm = grd_innrgruplistpat.valueMatrix(row, grd_innrgruplistpat.colRef("publnm"));
  1378. var receive_innrgrupnm = grd_innrgruplistpat.valueMatrix(row, grd_innrgruplistpat.colRef("innrgrupnm"));
  1379. var receive_innrgrupid = grd_innrgruplistpat.valueMatrix(row, grd_innrgruplistpat.colRef("innrgrupid"));
  1380. if ((grd_innrgruplistpat.row > 0) && grd_innrgruplistpat.isCell(event.target)){
  1381. model.setValue("/root/temp/grupkey/sndpublnm", receive_publnm);
  1382. model.setValue("/root/temp/grupkey/sndinnrgrupnm", receive_innrgrupnm);
  1383. model.setValue("/root/temp/grupkey/sndinnrgrupid", receive_innrgrupid);
  1384. navigate("SMCMS00500", "", "", "", "SMCMS00500", "/root/temp/grupkey", "/root/temp/grupkey");
  1385. } else {
  1386. }
  1387. ]]>
  1388. </script>
  1389. </datagrid>
  1390. </group>
  1391. </xhtml:body>
  1392. </xhtml:html>