123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * Name : SMCNS00200_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 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", "");
- }
- ]]>
- </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", "");
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="group3" style="left:739px; top:345px; width:451px; height:420px; ">
- <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_dm" class="btn_sw" group="tab" style="left:0px; top:5px; width:71px; height:22px; ">
- <caption>DM</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- navigate("SMCND00200");
- ]]>
- </script>
- </button>
- <button id="btn_mail" class="btn_sw" group="tab" style="left:72px; top:5px; width:71px; height:22px; ">
- <caption>E-mail</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- navigate("SMCNE00200");
- ]]>
- </script>
- </button>
- <button id="btn_sms" class="btn_sw" group="tab" style="left:144px; top:5px; width:71px; height:22px; ">
- <caption>SMS</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- navigate("SMCNS00200");
- ]]>
- </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:420px; ">
- <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:268px; ">
- <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>
- </xhtml:body>
- </xhtml:html>
|