123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * Name : SPCMZ00500_기념일전송설정
- * Summary : 기념일 전송 설정
- * Programmer : Roger Kim
- * Date Written : 2007.09.11
- * History :
- * 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>기념일 전송 설정</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <basiclist>
- <memodayflag/>
- <memodaybfnotidayno/>
- <memodayatnotidayno/>
- </basiclist>
- </list>
- </main>
- <send>
- <data/>
- <memogrid/>
- </send>
- <init>
- <C0021list>
- <cdid/>
- <cdnm/>
- </C0021list>
- </init>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- zbcfGetCodeList( new Array("C0021"), new Array("/root/init/C0021list"), true );
-
- model.removeNodeset("/root/main/list/basiclist");
- submit("TRCMZ00502");
-
- fCheckAuth();
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fCheckAuth() {
- // 권한체크
- //if (!checkAuth("r")) {
- //}
- if (!checkAuth("x")) {
- btn_addmemo.disabled=true;
- btn_delmemo.disabled=true;
- btn_save.disabled=true;
- }
- //if (!checkAuth("p")) {
- //}
- }
- ]]>
- </script>
- <submission id="TXCMZ00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/memogrid" replace="instance"/>
- <submission id="TRCMZ00502" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/main/list"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="510" pageheight="320" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="grp_Condition" style="left:0px; top:0px; width:490px; height:220px; ">
- <caption id="caption9" class="tit_2" style="left:5px; top:10px; width:154px; height:13px; vertical-align:middle; ">기념일 전송 기본 설정</caption>
- <button id="btn_addmemo" class="btn2_letter3" style="left:376px; top:5px; width:53px; height:19px; ">
- <caption>행 추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_basiclist.addRow();
-
- var cur_row = grd_basiclist.row;
- model.setValue("/root/main/list/basiclist[" + cur_row + "]/memodaybfnotidayno", "0" );
- model.setValue("/root/main/list/basiclist[" + cur_row + "]/memodayatnotidayno", "0" );
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_delmemo" class="btn2_letter3" style="left:432px; top:5px; width:53px; height:19px; ">
- <caption>행 삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var row = grd_basiclist.row;
-
- deleteSelectedRows(grd_basiclist, true);
-
- // grd_family.deleteRow(grd_basiclist.row);
- // grd_family.refresh();
- ]]>
- </script>
- </button>
- <line id="line12" class="line_1" style="x1:0px; y1:25px; x2:489px; y2:25px; "/>
- <datagrid id="grd_basiclist" nodeset="/root/main/list/basiclist" allowselection="false" caption="기념일 구분^기념일 전 알림일수^기념일 후 알림일수" colwidth="200, 125, 125" dataheight="23" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" style="left:0px; top:30px; width:488px; height:190px; ">
- <col class="text_center" ref="memodayflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/C0021list/C0021">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col class="text_center" ref="memodaybfnotidayno" type="input" format="9"/>
- <col class="text_center" ref="memodayatnotidayno" type="input" format="9"/>
- </datagrid>
- </group>
- <group id="grp_button" scroll="auto" style="left:0px; top:221px; width:490px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" style="left:373px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var row = grd_basiclist.row;
- var updt_list = getGridUpdateData(grd_basiclist)
-
- if (updt_list != "") {
- model.makeValue("/root/send/memogrid", grd_basiclist.getUpdateData());
- }
-
- if ( submit("TXCMZ00501") ) {
- grd_basiclist.clearStatus(); // submit() 성공하면 그리드의 i,u,d 상태 제거
- messageBox("기념일 전송 기본 설정 저장이 ", "I002");
- model.removeNodeset("/root/main/list/basiclist");
- submit("TRCMZ00502");
- model.removeNodeset("/root/send/memogrid");
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="btn_close" class="btn4_letter2" style="left:432px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <close ev:event="DOMActivate"/>
- </button>
- </group>
- <group id="grp_remark" style="left:0px; top:249px; width:490px; height:53px; ">
- <caption id="caption1" class="hand" style="left:5px; top:10px; width:484px; height:42px; ">
- <![CDATA[ 고객의 기념일 정보 중 위 기념일에 대하여 알림설정을 기념일 전 또는 후
- 라고 설정한 경우 적용되는 기본 설정입니다. 위에서 설정한 기념일 전/후
- 알림일수는 모든 사용자에 적용됩니다.]]>
- </caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|