1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * Name : SPCNS00600_SMS상용구관리
- * Summary : SMS상용구관리
- * Programmer : 최정환
- * Date Written : 2007.06.22
- * History : 2008.06.15 차재훈
- * Remark :
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>SMS메시지관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <msgtmpllist>
- <msgsmlcd/>
- <msgcnts/>
- <smstrsmcntcno/>
- <usernm/>
- <msglrgcd/>
- <msgmdlcd/>
- <useyn/>
- <rgstdeptnm/>
- </msgtmpllist>
- <msgtmplkeylist>
- <msglrgcd/>
- <msgmdlcd/>
- <msgsmlcd/>
- <basersrvcnts/>
- <addrsrvcnts/>
- <cmpncnts/>
- <tmpldtmncnts/>
- <chnlflag/>
- <usernm/>
- </msgtmplkeylist>
- </list>
- <msgtmpl>
- <msglrgcd/>
- <msgmdlcd/>
- <msgsmlcd/>
- <msgcnts/>
- <smstrsmcntcno/>
- <useyn/>
- <savemode/>
- <chnlflag/>
- </msgtmpl>
- </main>
- <countnode/>
- <send>
- <data>
- <rgstfromdd/>
- <rgsttodd/>
- <msgcnts/>
- <useyn>Y</useyn>
- <msgmdlcd/>
- <mdlgrupcd/>
- </data>
- <info>
- <msglrgcd/>
- <chnlflag/>
- </info>
- </send>
- <init>
- <chnllrglist>
- <chnllrggrup>
- <msglrgnm/>
- <msglrgcd/>
- </chnllrggrup>
- </chnllrglist>
- <chnlmdllist>
- <chnlmdlgrup>
- <msgmdlnm/>
- <msgmdlcd/>
- <msglrgcd/>
- </chnlmdlgrup>
- </chnlmdllist>
- </init>
- <temp>
- <prvwscrn/>
- <msgsmlcd/>
- <messagecnt/>
- </temp>
- <hidden>
- <messagecnt/>
- <pagecnt/>
- <msgsmlcd/>
- </hidden>
- </root>
- </instance>
- <submission id="TRCNS00204" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list/msgtmplkeylist"/>
- <submission id="TRCNS00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/info" resultref="/root/init/chnllrglist/chnllrggrup"/>
- <submission id="TRCNS00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/info" replace="instance" resultref="/root/init/chnlmdllist/chnlmdlgrup"/>
- <submission id="TRCNS00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list/msgtmpllist"/>
- <submission id="TXCNS00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/msgtmpl"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // SMS 탭버튼 활성
- btn_sms.selected = true;
-
- // SMS메시지 그리드의 col을 초기화 시켜준다.
- model.removenodeset("/root/main/list/msgtmpllist");
-
- // 메시지 분류코드 설정 (SMS : S)
- model.setValue("/root/send/info/chnlflag", "S");
-
- // 메시지 대그룹을 가져온다
- submit("TRCNS00201");
-
- // 입력모드로 표시
- model.setValue("/root/main/msgtmpl/savemode","I");
-
- //저장 수정버튼 활성화 구분
- fGetMsgStatus();
-
- fCheckAuth();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
-
- function fCheckAuth() {
- // 권한체크
- if (!checkAuth("r")) {
- btn_search.disabled=true;
- }
- if (!checkAuth("x")) {
- btn_del.disabled=true;
- btn_save.disabled=true;
- btn_updt.disabled=true;
- }
- }
-
- // 초기화
- function fInitiate() {
- model.resetInstanceNode("/root/main/msgtmpl/msgsmlcd");
- model.resetInstanceNode("/root/main/msgtmpl/msgcnts");
- model.resetInstanceNode("/root/main/msgtmpl/smstrsmcntcno");
- model.resetInstanceNode("/root/temp/prvwscrn");
- model.setValue("/root/hidden/messagecnt", "0");
- model.setValue("/root/main/msgtmpl/savemode", "I");
- model.setValue("/root/temp/messagecnt", "0");
- fGetMsgStatus();
- }
-
- // 입력한글자수 체크
- function fGetCheckMsgCnts() {
-
- var strlen = 0;
- var str = tar_msgcnts.currentText
-
- for (var i=0; i<str.length; i++) {
- strlen += (str.charCodeAt(i) > 128) ? 2 : 1;
- }
- if (strlen > 240) {
- model.setValue("/root/hidden/messagecnt", strlen);
- ipt_messagecnt.refresh();
- messageBox("최대입력글자인 240 byte를 ", "E003");
- return false;
- }else{
- model.setValue("/root/hidden/messagecnt", strlen);
- ipt_messagecnt.refresh();
- return true;
- }
- }
-
- // 그룹관리의 변경된 내용을 새로 적용시켜준다.
- function fChnlLrg() {
- model.removenodeset("/root/init/chnllrglist/chnllrggrup");
- model.removenodeset("/root/init/chnlmdllist/chnlmdlgrup");
- model.resetInstanceNode("/root/main/msgtmpl/msglrgcd");
- model.resetInstanceNode("/root/main/msgtmpl/msgmdlcd");
- submit("TRCNS00201");
- }
-
- // 선택한 채널관리 대분류에 따른 채널관리 중분류를 가져온다.
- function fGetChnlMdlCd() {
-
- var msglrgcd = model.getValue("/root/main/msgtmpl/msglrgcd");
- model.setValue("/root/send/info/msglrgcd",msglrgcd);
- submit("TRCNS00202");
- }
-
- // SMS메시지 관리 등록 및 수정
- function fSaveMsg(savemode) {
- var chnlflag = model.getValue("/root/send/info/chnlflag");
- model.setValue("/root/main/msgtmpl/chnlflag", chnlflag);
-
- if(isRequiredControls("tar_msgcnts")) {
- submit("TXCNS00201");
- messageBox("탬플릿 저장이", "I002", "");
- model.resetInstanceNode("/root/main/msgtmpl/msgsmlcd");
- model.resetInstanceNode("/root/main/msgtmpl/msgcnts");
- model.resetInstanceNode("/root/main/msgtmpl/smstrsmcntcno");
- model.resetInstanceNode("/root/temp/prvwscrn");
- model.resetInstanceNode("/root/hidden/messagecnt");
- model.setValue("/root/main/msgtmpl/savemode", "I");
-
- model.refresh();
- }
- }
-
- //SMS 저장시 정합성 체크
- function fMsgValid(){
- var msgcnts = model.getValue("/root/main/msgtmpl/msgcnts");
- var msglrgcd = model.getValue("/root/main/msgtmpl/msglrgcd");
- var msgmdlcd = model.getValue("/root/main/msgtmpl/msgmdlcd");
- var cnt = fGetCheckMsgCnts();
-
- if(msgcnts == ""){
- messageBox("SMS내용이 입력 되지", "E007");
- return false;
- }
- if(!cnt){
- return false;
- }
- if(msglrgcd == ""){
- messageBox("SMS대분류가 선택 되지", "E007");
- return false;
- }
- if(msgmdlcd == "" || msgmdlcd == "0"){
- messageBox("SMS중분류가 선택 되지", "E007");
- return false;
- }
- return true;
- }
-
- // SMS메시지 리스트 조회
- function fGetMsgTmplList() {
- model.removeNodeset("/root/main/list/msgtmpllist");
- model.setValue("/root/send/data/mdlgrupcd", "")
- submit("TRCNS00203");
-
- var grid_rows = grd_msgtmpllist.rows-1;
- model.setvalue("/root/countnode" , grid_rows);
-
- var msgcnts = model.getValue("/root/main/list/msgtmpllist/msgcnts");
- msgcnts = msgcnts.replace('','');
- }
-
- // SMS정보조회
- function fGetSMSAttr() {
- var row = grd_msgtmpllist.row;
-
- // 선택한 채널관리 리스트항목의 대분류에 따른 채널관리 중분류를 가져온다.
- var msglrgcd = grd_msgtmpllist.valueMatrix(row, grd_msgtmpllist.colRef("msglrgcd"));
- if (msglrgcd != "") {
- model.setValue("/root/main/msgtmpl/msglrgcd",msglrgcd);
- model.setValue("/root/send/info/msglrgcd",msglrgcd);
- submit("TRCNS00202");
-
- // 선택한 채널관리 리스트항목의 중분류를 가져온다.
- var msgmdlcd = grd_msgtmpllist.valueMatrix(row, grd_msgtmpllist.colRef("msgmdlcd"));
- model.setValue("/root/main/msgtmpl/msgmdlcd",msgmdlcd);
-
- // 선택한 채널관리 리스트항목의 내용을 뿌려준다.
- var msgcnts = grd_msgtmpllist.valueMatrix(row, grd_msgtmpllist.colRef("msgcnts"));
- model.setValue("/root/main/msgtmpl/msgcnts",msgcnts);
- var smstrsmcntcno = grd_msgtmpllist.valueMatrix(row, grd_msgtmpllist.colRef("smstrsmcntcno"));
- model.setValue("/root/main/msgtmpl/smstrsmcntcno",smstrsmcntcno);
- var useyn = grd_msgtmpllist.valueMatrix(row, grd_msgtmpllist.colRef("useyn"));
- model.setValue("/root/main/msgtmpl/useyn",useyn);
- var msgsmlcd = grd_msgtmpllist.valueMatrix(row, grd_msgtmpllist.colRef("msgsmlcd"));
- model.setValue("/root/main/msgtmpl/msgsmlcd",msgsmlcd);
-
- // 조회하면 새로가져온다.
- // fGetMsgTmplList();
-
- model.refresh();
- }
- }
-
- //-------------------------//
- // 저장,수정버튼 활성화 //
- //-------------------------//
- function fGetMsgStatus(){
- var msgStatus = model.getValue("/root/main/msgtmpl/savemode");
- if(msgStatus == "I"){
- btn_updt.disabled = true;
- btn_save.disabled = false;
- }else if(msgStatus == "U"){
- btn_updt.disabled = false;
- btn_save.disabled = true;
- }else{
- btn_updt.disabled = true;
- btn_save.disabled = true;
- }
- model.refresh();
- }
-
- // SMS메시지 관리 삭제(사용안함 상태로 바꾸기)
- function fDelMsg(savemode) {
- var chnlflag = model.getValue("/root/send/info/chnlflag");
- model.setValue("/root/main/msgtmpl/chnlflag", chnlflag);
-
- if(isRequiredControls("tar_msgcnts")) {
- submit("TXCNS00201");
- messageBox("탬플릿 삭제가", "I002", "");
- model.resetInstanceNode("/root/main/msgtmpl/msgsmlcd");
- model.resetInstanceNode("/root/main/msgtmpl/msgcnts");
- model.resetInstanceNode("/root/main/msgtmpl/smstrsmcntcno");
- model.resetInstanceNode("/root/temp/prvwscrn");
- model.resetInstanceNode("/root/hidden/messagecnt");
- model.setValue("/root/main/msgtmpl/savemode", "I");
-
- model.refresh();
- }
- }
-
- function fPrvwscrn(){
- var msgcnts = model.getValue("/root/main/msgtmpl/msgcnts")
- var dutplceinstnm = getUserInfo("dutplceinstnm")
- var usernm = getUserInfo("usernm");
- var getdate = getCurrentDate();
- var pmonth = getdate.substr(4,2);
- var pdate = getdate.substr(6,2);
- var gettime = getCurrentTime();
- var phour = gettime.substr(0,2);
- var pmin = gettime.substr(2,2);
-
- msgcnts = msgcnts.replace('<@고객>','홍길동');
- msgcnts = msgcnts.replace('<@진료과>','내과');
- msgcnts = msgcnts.replace('<@진료의>','홍길순');
- msgcnts = msgcnts.replace('<@병원명>',dutplceinstnm);
- msgcnts = msgcnts.replace('<@월>',pmonth);
- msgcnts = msgcnts.replace('<@일>',pdate);
- msgcnts = msgcnts.replace('<@시>',phour);
- msgcnts = msgcnts.replace('<@분>',pmin);
- msgcnts = msgcnts.replace('<@처방코드>','A001');
- msgcnts = msgcnts.replace('<@검사실>','통증치료실');
- msgcnts = msgcnts.replace('<@부서위치>','본관1층');
-
- model.setValue("/root/temp/prvwscrn", msgcnts);
- model.refresh();
-
- var strlen = 0;
- var str = tar_contents.currentText
-
- for (var i=0; i<str.length; i++) {
- strlen += (str.charCodeAt(i) > 128) ? 2 : 1;
- }
- if (strlen > 240) {
- model.setValue("/root/temp/messagecnt", strlen);
- ipt_prvwcnt.refresh();
- messageBox("최대입력글자인 240 byte를 ", "E003");
- return false;
- }else{
- model.setValue("/root/temp/messagecnt", strlen);
- if (strlen > 80) {
- ipt_prvwcnt.visible = false;
- ipt_prvwcntovr.visible = true;
- } else {
- ipt_prvwcnt.visible = true;
- ipt_prvwcntovr.visible = false;
- }
- ipt_prvwcnt.refresh();
- return true;
- }
- }
-
- //=======================//
- //80바이트 넘으면 선긋기 //
- //=======================//
- function fGetLine(){
- var strlen = 0;
- var str = model.getValue("/root/temp/prvwscrn");
- var prvStr = "";
- var chck80 = "N";
- var chck160 = "N";
- for (var i=0; i<str.length; i++) {
- strlen += (str.charCodeAt(i) > 128) ? 2 : 1;
- prvStr += str.charAt(i);
- if (strlen > 80 && chck80 == "N") {
- prvStr += "\n"
- prvStr += "=================";
- chck80 = "Y";
- }
- if (strlen > 160 && chck160 == "N") {
- prvStr += "\n"
- prvStr += "=================";
- chck160 = "Y";
- }
- }
-
- if(chck80 == "Y"){
- model.setValue("/root/temp/prvwscrn", prvStr);
- model.refresh();
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1211" pageheight="784" guideline="2,736;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:145px; height:14px; ">상용구 관리</caption>
- </group>
- <group id="grp_johe" style="left:225px; top:21px; width:665px; height:55px; vertical-align:top; ">
- <caption id="caption4" class="tit_2" style="left:5px; top:0px; width:150px; height:14px; ">SMS</caption>
- <line id="line4" class="line_1" style="x1:0px; y1:14px; x2:665px; y2:14px; "/>
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:20px; width:665px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:29px; width:70px; height:17px; ">내 용 :</caption>
- <input id="ipt_s_dtmntitl" ref="/root/send/data/msgcnts" class="input_search" navindex="1" style="left:85px; top:29px; width:130px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <line id="line1" class="line_4" style="x1:582px; y1:27px; x2:582px; y2:49px; "/>
- <button id="btn_search" class="btn1_letter2" navindex="2" style="left:597px; top:27px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetMsgTmplList();
- // SMS등록화면 초기화
- model.resetInstanceNode("/root/main/msgtmpl");
- model.resetInstanceNode("/root/temp/prvwscrn");
- model.setValue("/root/main/msgtmpl/savemode", "I");
-
- //저장 수정버튼 활성화 구분
- fGetMsgStatus();
- ]]>
- </script>
- </button>
- </group>
- <group id="group2" style="left:224px; top:76px; width:666px; height:267px; ">
- <caption id="caption9" class="tit_2" style="left:5px; top:10px; width:150px; height:13px; ">상용구 리스트</caption>
- <button id="btn_del" class="btn5_letter2" style="left:624px; top:5px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/main/msgtmpl/msgsmlcd")!=""){
- if (messageBox("선택된 SMS 상용구를","Q001")==6){
- submit("TRCNS00204");
- var selKey = grd_msgtmpllist.valueMatrix(grd_msgtmpllist.row,grd_msgtmpllist.colRef("msgsmlcd"));
- var grid = grd_msgtmplkeylist;
- for(i=1; grid.rows>i; i++){
- if(selKey == grid.valueMatrix(i,grid.colRef("msgsmlcd"))){
- var basersrvcnts = grid.valueMatrix(i,grid.colRef("basersrvcnts"));
- var addrsrvcnts = grid.valueMatrix(i,grid.colRef("addrsrvcnts"));
- var cmpncnts = grid.valueMatrix(i,grid.colRef("cmpncnts"));
- var tmpldtmncnts = grid.valueMatrix(i,grid.colRef("tmpldtmncnts"));
-
- if((basersrvcnts == "" || basersrvcnts == "0")
- && (addrsrvcnts == "" || addrsrvcnts == "0")
- && (cmpncnts == "" || cmpncnts == "0")
- && (tmpldtmncnts == "" || tmpldtmncnts == "0")){
-
- grd_msgtmpllist.deleteItem(grd_msgtmpllist.selectedRow(0));
- model.setValue("/root/main/msgtmpl/useyn","N");
- var savemode = "U";
- fDelMsg(savemode);
- }else{
- messageBox("사용중인 SMS 상용구이므로 삭제", "E001");
- return;
- }
- }
- }
- }
- }else{
- messageBox("삭제할 SMS 상용구를", "C002");
- }
- ]]>
- </script>
- </button>
- <line id="line2" class="line_1" style="x1:0px; y1:26px; x2:665px; y2:26px; "/>
- <datagrid id="grd_msgtmpllist" nodeset="/root/main/list/msgtmpllist" allowselection="false" caption="코드^메시지^회신 전화번호^등록자" colsep="^" colwidth="41, 440, 86, 48, 0, 0, 0, 0" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:1px; top:31px; width:664px; height:236px; ">
- <col ref="msgsmlcd" style="text-align:center; "/>
- <col ref="msgcnts"/>
- <col ref="smstrsmcntcno" style="text-align:center; "/>
- <col ref="usernm" style="text-align:center; "/>
- <col ref="msglrgcd" visibility="hidden"/>
- <col ref="msgmdlcd" visibility="hidden"/>
- <col ref="useyn" visibility="hidden"/>
- <col ref="rgstdeptnm" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if( grd_msgtmpllist.isCell(event.target) && grd_msgtmpllist.row >= grd_msgtmpllist.fixedRows ){
- fGetSMSAttr(); // SMS메시지 정보조회
- fGetCheckMsgCnts();//문자 용량
- fPrvwscrn();//미리보기
- fGetLine();
- model.setValue("/root/main/msgtmpl/savemode","U");
- //저장 수정버튼 활성화 구분
- fGetMsgStatus();
- model.setValue("/root/hidden/msgsmlcd",grd_msgtmpllist.valueMatrix(grd_msgtmpllist.row,grd_msgtmpllist.colRef("msgsmlcd")));
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- fGetSMSAttr(); // SMS메시지 정보조회
- fGetCheckMsgCnts();//문자 용량
- fPrvwscrn();//미리보기
- fGetLine();
- model.setValue("/root/main/msgtmpl/savemode","U");
- //저장 수정버튼 활성화 구분
- fGetMsgStatus();
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_msgtmplkeylist" nodeset="/root/main/list/msgtmplkeylist" visibility="hidden" caption="대^중^소^병원전송^부서전송^캠페인^템플릿마이닝^종류^등록자" colsep="^" colwidth="50, 50, 50, 60, 60, 67, 92, 60, 49" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:40px; top:135px; width:580px; height:110px; ">
- <col ref="msglrgcd"/>
- <col ref="msgmdlcd"/>
- <col ref="msgsmlcd"/>
- <col ref="basersrvcnts"/>
- <col ref="addrsrvcnts"/>
- <col ref="cmpncnts"/>
- <col ref="tmpldtmncnts"/>
- <col ref="chnlflag"/>
- <col ref="usernm"/>
- </datagrid>
- </group>
- <group id="group1" style="left:224px; top:345px; width:410px; height:435px; ">
- <shape id="rectangle1" appearance="rectangle" style="left:1px; top:30px; width:409px; height:378px; border-color:#c0c0c0; "/>
- <caption id="caption6" class="tit_2" style="left:5px; top:10px; width:150px; height:13px; ">SMS 상용구 작성</caption>
- <line id="line3" class="line_1" style="x1:1px; y1:25px; x2:410px; y2:25px; "/>
- <img id="img_smsbg" src="../../../com/commonweb/images/sms_half_bg_new.gif" style="left:107px; top:62px; width:204px; height:295px; background-stretch:stretch; "/>
- <caption id="caption8" style="left:251px; top:279px; width:44px; height:25px; font-weight:bold; color:#ffffff; ">/80</caption>
- <input id="ipt_messagecnt" ref="/root/hidden/messagecnt" class="input_default" editable="false" maxlength="20" style="left:227px; top:283px; width:30px; height:19px; font-weight:bold; color:#ffffff; background-color:transparent; border-style:none; "/>
- <textarea id="tar_msgcnts" ref="/root/main/msgtmpl/msgcnts" class="input_default" scroll="vertical" style="left:156px; top:135px; width:127px; height:132px; color:#ffffff; background-color:transparent; border-style:none; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fGetCheckMsgCnts();
- ]]>
- </script>
- </textarea>
- <caption id="cap_smstrsmcntcno" class="cell_1" style="left:114px; top:320px; width:70px; height:23px; text-align:center; background-color:transparent; ">회신 번호</caption>
- <input id="ipt_smstrsmcntcno" ref="/root/main/msgtmpl/smstrsmcntcno" class="input_default" maxlength="20" style="left:181px; top:321px; width:110px; height:19px; background-color:#ffffff; "/>
- <button id="btn_prvw" class="btn5_letter4" style="left:190px; top:411px; width:64px; height:19px; ">
- <caption>미리보기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPrvwscrn();
- fGetLine();
- ]]>
- </script>
- </button>
- <button id="btn_init" class="btn5_letter3" style="left:1px; top:411px; width:53px; height:19px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitiate();
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn5_letter5" style="left:257px; top:411px; width:75px; height:19px; ">
- <caption>메시지저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(fMsgValid()){
- model.setValue("/root/main/msgtmpl/useyn","Y");
- var savemode = model.getValue("/root/main/msgtmpl/savemode");
- fSaveMsg(savemode); //SMS메시지관리 속성 저장(I:등록, U:수정)
-
- model.setValue("/root/send/data/mdlgrupcd", model.getValue("/root/main/msgtmpl/msgmdlcd"));
- submit("TRCNS00203"); //재조회
- model.setValue("/root/send/data/mdlgrupcd", "");
- opener.javascript.fGetChnlLrgCd(); //opener의 메시지 대분류 리로드
- }
- ]]>
- </script>
- </button>
- <button id="btn_updt" class="btn5_letter5" style="left:335px; top:411px; width:75px; height:19px; ">
- <caption>메시지수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(fMsgValid()){
- model.setValue("/root/main/msgtmpl/useyn","Y");
- var savemode = model.getValue("/root/main/msgtmpl/savemode");
- fSaveMsg(savemode); //SMS메시지관리 속성 저장(I:등록, U:수정)
-
- model.setValue("/root/send/data/mdlgrupcd", model.getValue("/root/main/msgtmpl/msgmdlcd"));
- submit("TRCNS00203"); //재조회
- model.setValue("/root/send/data/mdlgrupcd", "");
- opener.javascript.fGetChnlLrgCd(); //opener의 메시지 대분류 리로드
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="group3" style="left:739px; top:345px; width:451px; height:410px; ">
- <shape id="rectangle3" appearance="rectangle" style="left:0px; top:30px; width:451px; height:93px; border-color:#c0c0c0; "/>
- <shape id="rectangle4" appearance="rectangle" style="left:0px; top:155px; width:451px; height:253px; border-color:#c0c0c0; "/>
- <caption id="caption12" class="tit_2" style="left:5px; top:10px; width:85px; height:14px; ">특수문자</caption>
- <line id="line9" class="line_1" style="x1:0px; y1:25px; x2:450px; y2:25px; "/>
- <line id="line5" class="line_1" style="x1:0px; y1:150px; x2:450px; y2:150px; "/>
- <caption id="caption7" class="tit_2" style="left:5px; top:135px; width:85px; height:13px; ">이모티콘</caption>
- <group id="group10" style="left:3px; top:156px; width:447px; height:249px; ">
- <caption id="caption5" style="left:0px; top:0px; width:446px; height:65px; background-color:#e9f7fe; "/>
- <caption id="caption13" style="left:0px; top:70px; width:446px; height:65px; background-color:#e9f7fe; "/>
- <caption id="caption14" style="left:0px; top:140px; width:446px; height:108px; background-color:#e9f7fe; "/>
- <button id="button74" style="left:8px; top:105px; width:45px; height:19px; background-color:transparent; border-style:none; ">
- <caption>n.n</caption>
- </button>
- <button id="button75" style="left:55px; top:105px; width:45px; height:19px; ">
- <caption>^Δ^</caption>
- </button>
- <button id="button76" style="left:107px; top:105px; width:45px; height:19px; ">
- <caption>^v^</caption>
- </button>
- <button id="button77" style="left:394px; top:34px; width:31px; height:19px; ">
- <caption>^.^</caption>
- </button>
- <button id="button78" style="left:280px; top:12px; width:45px; height:19px; ">
- <caption>^_^</caption>
- </button>
- <button id="button79" style="left:159px; top:105px; width:45px; height:19px; ">
- <caption>^O^</caption>
- </button>
- <button id="button80" style="left:8px; top:83px; width:45px; height:19px; ">
- <caption>^L^</caption>
- </button>
- <button id="button81" style="left:332px; top:12px; width:45px; height:19px; ">
- <caption>⌒⌒</caption>
- </button>
- <button id="button82" style="left:226px; top:105px; width:45px; height:19px; ">
- <caption>^.~</caption>
- </button>
- <button id="button83" style="left:55px; top:83px; width:45px; height:19px; ">
- <caption>^ε^</caption>
- </button>
- <button id="button84" style="left:389px; top:12px; width:36px; height:19px; ">
- <caption>^-^b</caption>
- </button>
- <button id="button85" style="left:288px; top:105px; width:45px; height:19px; ">
- <caption>*^^*</caption>
- </button>
- <button id="button86" style="left:107px; top:83px; width:45px; height:19px; ">
- <caption>^▽^</caption>
- </button>
- <button id="button87" style="left:8px; top:34px; width:37px; height:19px; ">
- <caption>=^.^=</caption>
- </button>
- <button id="button88" style="left:345px; top:105px; width:45px; height:19px; ">
- <caption>(^^)γ</caption>
- </button>
- <button id="button89" style="left:159px; top:83px; width:45px; height:19px; ">
- <caption>o(^-^)o</caption>
- </button>
- <button id="button90" style="left:57px; top:34px; width:45px; height:19px; ">
- <caption>(*^-^)</caption>
- </button>
- <button id="button91" style="left:397px; top:105px; width:45px; height:19px; ">
- <caption>(*^o^*)</caption>
- </button>
- <button id="button92" style="left:226px; top:83px; width:45px; height:19px; ">
- <caption>^o^~~♬</caption>
- </button>
- <button id="button93" style="left:109px; top:34px; width:45px; height:19px; ">
- <caption>☞^.^☜</caption>
- </button>
- <button id="button94" style="left:288px; top:83px; width:45px; height:19px; ">
- <caption>S(^.^)b</caption>
- </button>
- <button id="button95" style="left:166px; top:34px; width:45px; height:19px; ">
- <caption>( ̄∇ ̄)</caption>
- </button>
- <button id="button96" style="left:5px; top:12px; width:45px; height:19px; ">
- <caption>(*^-^*)</caption>
- </button>
- <button id="button97" style="left:345px; top:83px; width:45px; height:19px; ">
- <caption>(^o^)/</caption>
- </button>
- <button id="button98" style="left:223px; top:34px; width:45px; height:19px; ">
- <caption>♥.♥</caption>
- </button>
- <button id="button99" style="left:57px; top:12px; width:31px; height:19px; ">
- <caption>♡.♡</caption>
- </button>
- <button id="button100" style="left:397px; top:83px; width:45px; height:19px; ">
- <caption>*♥o♥*</caption>
- </button>
- <button id="button101" style="left:280px; top:34px; width:45px; height:19px; ">
- <caption>(~.^)s</caption>
- </button>
- <button id="button102" style="left:109px; top:12px; width:45px; height:19px; ">
- <caption>☞♡☜</caption>
- </button>
- <button id="button103" style="left:332px; top:34px; width:45px; height:19px; ">
- <caption>γ^ε^γ</caption>
- </button>
- <button id="button104" style="left:166px; top:12px; width:45px; height:19px; ">
- <caption>(♡.♡)</caption>
- </button>
- <button id="button105" style="left:223px; top:12px; width:45px; height:19px; ">
- <caption>(*`0`*)</caption>
- </button>
- <button id="button4" style="left:5px; top:216px; width:55px; height:19px; ">
- <caption>(⌒ε⌒*)</caption>
- </button>
- <button id="button5" style="left:400px; top:187px; width:45px; height:19px; ">
- <caption>(*^}{^*)</caption>
- </button>
- <button id="button7" style="left:5px; top:155px; width:55px; height:19px; ">
- <caption>づ^O^)づ</caption>
- </button>
- <button id="button8" style="left:5px; top:187px; width:55px; height:19px; ">
- <caption>☜(^^*)☞</caption>
- </button>
- <button id="button9" style="left:239px; top:155px; width:55px; height:19px; ">
- <caption>(*^з(^^*)</caption>
- </button>
- <button id="button10" style="left:154px; top:155px; width:45px; height:19px; ">
- <caption>(^*^)</caption>
- </button>
- <button id="button11" style="left:70px; top:155px; width:65px; height:19px; ">
- <caption>(つ^з^)つ</caption>
- </button>
- <button id="button12" style="left:305px; top:155px; width:75px; height:19px; ">
- <caption>(*⌒.^)(^ε⌒*)</caption>
- </button>
- <button id="button13" style="left:305px; top:187px; width:75px; height:19px; ">
- <caption>(*^-^)♡(^o^*)</caption>
- </button>
- <button id="button106" style="left:199px; top:155px; width:45px; height:19px; ">
- <caption>~o~</caption>
- </button>
- <button id="button107" style="left:259px; top:187px; width:45px; height:19px; ">
- <caption>⊙.⊙</caption>
- </button>
- <button id="button108" style="left:199px; top:187px; width:45px; height:19px; ">
- <caption>^----^</caption>
- </button>
- <button id="button109" style="left:154px; top:187px; width:45px; height:19px; ">
- <caption>^.~♥</caption>
- </button>
- <button id="button110" style="left:74px; top:187px; width:61px; height:19px; ">
- <caption>♬(^O^)~♪</caption>
- </button>
- <button id="button111" style="left:75px; top:217px; width:56px; height:19px; ">
- <caption>s( ̄▽ ̄)/</caption>
- </button>
- <button id="button112" style="left:405px; top:156px; width:40px; height:19px; ">
- <caption>(*^.^)</caption>
- </button>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- var trgObj = document.controls.item(event.target);
-
- if( trgObj.elementName == "xforms:button" ) {
-
- var btnMark = trgObj.label;
- var txtSelPos = tar_msgcnts.selBegin;
- var curText = tar_msgcnts.currentText;
- var curTextBefore = curText.substr(0, txtSelPos);
- var curTextAfter = curText.substr(txtSelPos, curText.length);
-
- tar_msgcnts.currentText = curTextBefore + btnMark + curTextAfter;
-
- var endTxt = tar_msgcnts.currentText;
- model.setFocus("tar_msgcnts");
- tar_msgcnts.selBegin = endTxt.length-curTextAfter.length;
- tar_msgcnts.dispatch("onkeyup");
-
- }
-
- ]]>
- </script>
- </group>
- <group id="group4" style="left:2px; top:31px; width:438px; height:90px; ">
- <button id="button1" style="left:5px; top:68px; width:17px; height:19px; background-color:transparent; border-style:none; ">
- <caption>@</caption>
- </button>
- <button id="button2" style="left:27px; top:68px; width:17px; height:19px; ">
- <caption>♨</caption>
- </button>
- <button id="button3" style="left:49px; top:68px; width:17px; height:19px; ">
- <caption>☎</caption>
- </button>
- <button id="button6" style="left:159px; top:24px; width:17px; height:19px; ">
- <caption>♥</caption>
- </button>
- <button id="button14" style="left:115px; top:2px; width:17px; height:19px; ">
- <caption>◎</caption>
- </button>
- <button id="button15" style="left:71px; top:68px; width:17px; height:19px; ">
- <caption>☜</caption>
- </button>
- <button id="button16" style="left:5px; top:46px; width:17px; height:19px; ">
- <caption>♧</caption>
- </button>
- <button id="button17" style="left:137px; top:2px; width:17px; height:19px; ">
- <caption>◇</caption>
- </button>
- <button id="button18" style="left:93px; top:68px; width:17px; height:19px; ">
- <caption>☞</caption>
- </button>
- <button id="button19" style="left:27px; top:46px; width:17px; height:19px; ">
- <caption>♣</caption>
- </button>
- <button id="button20" style="left:159px; top:2px; width:17px; height:19px; ">
- <caption>◆</caption>
- </button>
- <button id="button21" style="left:115px; top:68px; width:17px; height:19px; ">
- <caption>%</caption>
- </button>
- <button id="button22" style="left:49px; top:46px; width:17px; height:19px; ">
- <caption>◁</caption>
- </button>
- <button id="button23" style="left:5px; top:24px; width:17px; height:19px; ">
- <caption>□</caption>
- </button>
- <button id="button24" style="left:137px; top:68px; width:17px; height:19px; ">
- <caption>☏</caption>
- </button>
- <button id="button25" style="left:71px; top:46px; width:17px; height:19px; ">
- <caption>◀</caption>
- </button>
- <button id="button26" style="left:27px; top:24px; width:17px; height:19px; ">
- <caption>■</caption>
- </button>
- <button id="button27" style="left:159px; top:68px; width:17px; height:19px; ">
- <caption>♪</caption>
- </button>
- <button id="button28" style="left:93px; top:46px; width:17px; height:19px; ">
- <caption>▷</caption>
- </button>
- <button id="button29" style="left:49px; top:24px; width:17px; height:19px; ">
- <caption>△</caption>
- </button>
- <button id="button30" style="left:115px; top:46px; width:17px; height:19px; ">
- <caption>▶</caption>
- </button>
- <button id="button31" style="left:71px; top:24px; width:17px; height:19px; ">
- <caption>▲</caption>
- </button>
- <button id="button32" style="left:5px; top:2px; width:17px; height:19px; ">
- <caption>●</caption>
- </button>
- <button id="button33" style="left:137px; top:46px; width:17px; height:19px; ">
- <caption>♤</caption>
- </button>
- <button id="button34" style="left:93px; top:24px; width:17px; height:19px; ">
- <caption>▽</caption>
- </button>
- <button id="button35" style="left:27px; top:2px; width:17px; height:19px; ">
- <caption>※</caption>
- </button>
- <button id="button36" style="left:159px; top:46px; width:17px; height:19px; ">
- <caption>♠</caption>
- </button>
- <button id="button37" style="left:115px; top:24px; width:17px; height:19px; ">
- <caption>▼</caption>
- </button>
- <button id="button38" style="left:49px; top:2px; width:17px; height:19px; ">
- <caption>☆</caption>
- </button>
- <button id="button39" style="left:137px; top:24px; width:17px; height:19px; ">
- <caption>♡</caption>
- </button>
- <button id="button40" style="left:71px; top:2px; width:17px; height:19px; ">
- <caption>★</caption>
- </button>
- <button id="button41" style="left:93px; top:2px; width:17px; height:19px; ">
- <caption>○</caption>
- </button>
- <button id="button42" style="left:179px; top:68px; width:17px; height:19px; ">
- <caption>♬</caption>
- </button>
- <button id="button43" style="left:199px; top:68px; width:17px; height:19px; ">
- <caption>♩</caption>
- </button>
- <button id="button44" style="left:179px; top:24px; width:17px; height:19px; ">
- <caption>ㆀ</caption>
- </button>
- <button id="button45" style="left:179px; top:46px; width:17px; height:19px; ">
- <caption>▣</caption>
- </button>
- <button id="button46" style="left:259px; top:2px; width:17px; height:19px; ">
- <caption>→</caption>
- </button>
- <button id="button47" style="left:239px; top:2px; width:17px; height:19px; ">
- <caption>←</caption>
- </button>
- <button id="button48" style="left:219px; top:2px; width:17px; height:19px; ">
- <caption>▒</caption>
- </button>
- <button id="button49" style="left:199px; top:2px; width:17px; height:19px; ">
- <caption>▦</caption>
- </button>
- <button id="button50" style="left:179px; top:2px; width:17px; height:19px; ">
- <caption>▤</caption>
- </button>
- <button id="button51" style="left:279px; top:2px; width:17px; height:19px; ">
- <caption>Ø</caption>
- </button>
- <button id="button52" style="left:259px; top:24px; width:17px; height:19px; ">
- <caption>↓</caption>
- </button>
- <button id="button53" style="left:239px; top:24px; width:17px; height:19px; ">
- <caption>↑</caption>
- </button>
- <button id="button54" style="left:219px; top:24px; width:17px; height:19px; ">
- <caption>◇</caption>
- </button>
- <button id="button55" style="left:199px; top:24px; width:17px; height:19px; ">
- <caption>▨</caption>
- </button>
- <button id="button56" style="left:259px; top:46px; width:17px; height:19px; ">
- <caption>§</caption>
- </button>
- <button id="button57" style="left:239px; top:46px; width:17px; height:19px; ">
- <caption>⇒</caption>
- </button>
- <button id="button58" style="left:219px; top:46px; width:17px; height:19px; ">
- <caption>◈</caption>
- </button>
- <button id="button59" style="left:199px; top:46px; width:17px; height:19px; ">
- <caption>▩</caption>
- </button>
- <button id="button60" style="left:279px; top:24px; width:17px; height:19px; ">
- <caption>∀</caption>
- </button>
- <button id="button61" style="left:259px; top:68px; width:17px; height:19px; ">
- <caption>◑</caption>
- </button>
- <button id="button62" style="left:239px; top:68px; width:17px; height:19px; ">
- <caption>◐</caption>
- </button>
- <button id="button63" style="left:219px; top:68px; width:17px; height:19px; ">
- <caption>⊙</caption>
- </button>
- <button id="button64" style="left:319px; top:68px; width:17px; height:19px; ">
- <caption>≥</caption>
- </button>
- <button id="button65" style="left:299px; top:68px; width:17px; height:19px; ">
- <caption>≤</caption>
- </button>
- <button id="button66" style="left:379px; top:68px; width:17px; height:19px; ">
- <caption>!</caption>
- </button>
- <button id="button67" style="left:359px; top:68px; width:17px; height:19px; ">
- <caption>』</caption>
- </button>
- <button id="button68" style="left:339px; top:68px; width:17px; height:19px; ">
- <caption>『</caption>
- </button>
- <button id="button69" style="left:279px; top:68px; width:17px; height:19px; ">
- <caption>∏</caption>
- </button>
- <button id="button70" style="left:279px; top:46px; width:17px; height:19px; ">
- <caption>∃</caption>
- </button>
- <button id="button71" style="left:379px; top:46px; width:17px; height:19px; ">
- <caption>≫</caption>
- </button>
- <button id="button72" style="left:359px; top:46px; width:17px; height:19px; ">
- <caption>≪</caption>
- </button>
- <button id="button73" style="left:339px; top:46px; width:17px; height:19px; ">
- <caption>℡</caption>
- </button>
- <button id="button119" style="left:319px; top:46px; width:17px; height:19px; ">
- <caption>»</caption>
- </button>
- <button id="button120" style="left:299px; top:46px; width:17px; height:19px; ">
- <caption>«</caption>
- </button>
- <button id="button121" style="left:379px; top:24px; width:17px; height:19px; ">
- <caption>¥</caption>
- </button>
- <button id="button122" style="left:359px; top:24px; width:17px; height:19px; ">
- <caption>¢</caption>
- </button>
- <button id="button123" style="left:339px; top:24px; width:17px; height:19px; ">
- <caption>⊃</caption>
- </button>
- <button id="button124" style="left:319px; top:24px; width:17px; height:19px; ">
- <caption>≠</caption>
- </button>
- <button id="button125" style="left:299px; top:24px; width:17px; height:19px; ">
- <caption>∽</caption>
- </button>
- <button id="button126" style="left:379px; top:2px; width:17px; height:19px; ">
- <caption>∴</caption>
- </button>
- <button id="button127" style="left:359px; top:2px; width:17px; height:19px; ">
- <caption>∬</caption>
- </button>
- <button id="button128" style="left:339px; top:2px; width:17px; height:19px; ">
- <caption>∪</caption>
- </button>
- <button id="button129" style="left:319px; top:2px; width:17px; height:19px; ">
- <caption>∧</caption>
- </button>
- <button id="button130" style="left:299px; top:2px; width:17px; height:19px; ">
- <caption>∞</caption>
- </button>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- var trgObj = document.controls.item(event.target);
-
- if( trgObj.elementName == "xforms:button" ) {
-
- var btnMark = trgObj.label;
- var txtSelPos = tar_msgcnts.selBegin;
- var curText = tar_msgcnts.currentText;
- var curTextBefore = curText.substr(0, txtSelPos);
- var curTextAfter = curText.substr(txtSelPos, curText.length);
-
- tar_msgcnts.currentText = curTextBefore + btnMark + curTextAfter;
-
- model.setFocus("tar_msgcnts");
- tar_msgcnts.selBegin = txtSelPos + 1;
- tar_msgcnts.dispatch("onkeyup");
-
- }
- ]]>
- </script>
- </group>
- </group>
- <group id="group12" style="left:0px; top:23px; width:225px; height:757px; ">
- <button id="btn_sms" class="btn_sw" group="tab" style="left:0px; top:5px; width:71px; height:22px; ">
- <caption>SMS</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- ]]>
- </script>
- </button>
- <import id="import1" src="./SSCNS00300_채널그룹트리.xrw" style="left:0px; top:30px; width:215px; height:727px; "/>
- </group>
- <group id="group6" style="left:895px; top:10px; width:295px; height:335px; ">
- <caption id="caption3" class="tit_2" style="left:5px; top:10px; width:150px; height:13px; ">미리보기 화면</caption>
- <line id="line6" class="line_1" style="x1:0px; y1:25px; x2:294px; y2:25px; "/>
- <shape id="rectangle2" appearance="rectangle" style="left:0px; top:30px; width:294px; height:305px; border-color:#c0c0c0; "/>
- <img id="img1" src="../../../com/commonweb/images/sms_half_bg_new.gif" style="left:45px; top:32px; width:204px; height:295px; background-stretch:stretch; "/>
- <caption id="caption10" style="left:181px; top:244px; width:44px; height:25px; font-weight:bold; color:#ffffff; ">/80</caption>
- <input id="ipt_prvwcnt" ref="/root/temp/messagecnt" class="input_default" editable="false" maxlength="20" style="left:157px; top:248px; width:30px; height:19px; font-weight:bold; color:#ffffff; background-color:transparent; border-style:none; "/>
- <input id="ipt_prvwcntovr" ref="/root/temp/messagecnt" class="input_default" editable="false" maxlength="20" style="left:157px; top:248px; width:30px; height:19px; font-weight:bold; color:red; background-color:transparent; border-style:none; "/>
- <textarea id="tar_contents" ref="/root/temp/prvwscrn" class="input_default" scroll="vertical" editable="false" maxlength="55" style="left:93px; top:105px; width:127px; height:132px; color:#ffffff; background-color:transparent; border-style:none; "/>
- <caption id="caption11" style="left:59px; top:289px; width:61px; height:23px; text-align:center; ">회신 번호</caption>
- <input id="ipt_smstrsmcntcnoprvw" ref="/root/main/msgtmpl/smstrsmcntcno" class="input_default" disabled="true" maxlength="20" style="left:119px; top:290px; width:110px; height:19px; background-color:transparent; "/>
- </group>
- <group id="group7" style="left:637px; top:345px; width:101px; height:410px; ">
- <shape id="rectangle5" appearance="rectangle" style="left:1px; top:30px; width:96px; height:378px; border-color:#c0c0c0; "/>
- <caption id="caption15" class="tit_2" style="left:5px; top:10px; width:82px; height:14px; ">자동입력어</caption>
- <line id="line7" class="line_1" style="x1:1px; y1:25px; x2:97px; y2:25px; "/>
- <group id="group5" style="left:3px; top:32px; width:75px; height:258px; ">
- <button id="button131" class="btn2_letter3" style="left:5px; top:2px; width:53px; height:19px; ">
- <caption>고객</caption>
- </button>
- <button id="button132" class="btn2_letter3" style="left:5px; top:25px; width:53px; height:19px; ">
- <caption>진료과</caption>
- </button>
- <button id="button133" class="btn2_letter3" style="left:5px; top:48px; width:53px; height:19px; ">
- <caption>진료의</caption>
- </button>
- <button id="button134" class="btn2_letter3" style="left:5px; top:71px; width:53px; height:19px; ">
- <caption>병원명</caption>
- </button>
- <button id="button135" class="btn2_letter3" style="left:5px; top:94px; width:53px; height:19px; ">
- <caption>월</caption>
- </button>
- <button id="button136" class="btn2_letter3" style="left:5px; top:117px; width:53px; height:19px; ">
- <caption>일</caption>
- </button>
- <button id="button137" class="btn2_letter3" style="left:5px; top:140px; width:53px; height:19px; ">
- <caption>시</caption>
- </button>
- <button id="button138" class="btn2_letter3" style="left:5px; top:163px; width:53px; height:19px; ">
- <caption>분</caption>
- </button>
- <button id="button139" class="btn2_letter4" style="left:5px; top:186px; width:53px; height:19px; ">
- <caption>검사실</caption>
- </button>
- <button id="button140" class="btn2_letter4" style="left:5px; top:209px; width:64px; height:19px; ">
- <caption>처방코드</caption>
- </button>
- <button id="button141" class="btn2_letter4" style="left:5px; top:232px; width:64px; height:19px; ">
- <caption>부서위치</caption>
- </button>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var trgObj = document.controls.item(event.target);
-
- if( trgObj.elementName == "xforms:button" ) {
-
- var btnMark = "<@" + trgObj.label + ">";
- var txtSelPos = tar_msgcnts.selBegin;
-
- var curText = tar_msgcnts.currentText;
- var curTextBefore = curText.substr(0, txtSelPos);
- var curTextAfter = curText.substr(txtSelPos, curText.length);
-
- tar_msgcnts.currentText = curTextBefore + btnMark + curTextAfter;
-
- var endTxt = tar_msgcnts.currentText;
- model.setFocus("tar_msgcnts");
- tar_msgcnts.selBegin = endTxt.length-curTextAfter.length;
- tar_msgcnts.dispatch("onkeyup");
-
- }
- ]]>
- </script>
- </group>
- </group>
- <group id="group8" scroll="auto" style="left:750px; top:755px; width:440px; height:22px; ">
- <button id="button113" class="btn4_letter2" style="left:382px; top:0px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // opener.javascript.fGetChnlLrgCd(); //opener의 메시지 대분류 리로드
- window.close();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|