123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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>
- <noticelist>
- <rows>
- <valifromdd/>
- <valitodd/>
- <content/>
- <lastupdtrnm/>
- <lastupdtdt/>
- <notino/>
- </rows>
- </noticelist>
- </main>
- <send>
- <savenotice>
- <valifromdd/>
- <valitodd/>
- <content/>
- <notino/>
- <status/>
- </savenotice>
- <search>
- <fromdd/>
- <todd/>
- <searchkeyword/>
- </search>
- </send>
- </root>
- </instance>
- <submission id="TRZUM01601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/noticelist"/>
- <submission id="TXZUM01601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savenotice" resultref="/root/temp"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit();
- model.setFocus("ipt_searchkeyword");
- model.refresh();
- ]]>
- </script>
- </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/stringHelper.js"/>
- <script type="javascript">
- <![CDATA[
- function fInit(){
- model.resetInstanceNode("/root/send");
- model.removeNodeset("/root/main/noticelist/rows");
- var toDay = getCurrentDate();
- model.setValue("/root/send/search/fromdd",toDay);
- model.setValue("/root/send/search/todd",toDay);
- model.setValue("/root/send/savenotice/valifromdd",toDay);
- model.setValue("/root/send/savenotice/valitodd",toDay);
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body>
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:142px; height:14px; ">시스템 공지사항 관리</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
- <input id="ipt_valifromdd" ref="/root/send/savenotice/valifromdd" inputtype="date" style="left:762px; top:76px; width:90px; height:19px; "/>
- <input id="ipt_valitodd" ref="/root/send/savenotice/valitodd" inputtype="date" style="left:870px; top:76px; width:90px; height:19px; "/>
- <textarea id="tar_content" ref="/root/send/savenotice/content" style="left:762px; top:100px; width:430px; height:115px; "/>
- <caption id="caption3" class="cell_1" style="left:700px; top:99px; width:60px; height:116px; ">공지내용</caption>
- <caption id="caption4" class="tit_2" style="left:5px; top:55px; width:82px; height:14px; ">공지리스트</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:690px; y2:70px; "/>
- <line id="line2" class="line_2" style="x1:700px; y1:97px; x2:1194px; y2:97px; "/>
- <caption id="caption2" class="search_no_b" style="left:855px; top:76px; width:15px; height:17px; ">~</caption>
- <caption id="caption1" class="cell_1" style="left:700px; top:75px; width:60px; height:20px; ">공지기간</caption>
- <line id="line6" class="line_3" style="x1:700px; y1:216px; x2:1194px; y2:216px; "/>
- <datagrid id="grd_noticelist" nodeset="/root/main/noticelist/rows" autoresize="true" caption="공지기간^공지기간^공지내용^등록자^등록일시^순번" colsep="^" colwidth="70, 70, 340, 70, 120, 30" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:75px; width:690px; height:640px; ">
- <col ref="valifromdd" format="yyyy-mm-dd"/>
- <col ref="valitodd" format="yyyy-mm-dd"/>
- <col ref="content"/>
- <col ref="lastupdtrnm"/>
- <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="notino" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_noticelist.isCell(event.target) && grd_noticelist.row >= grd_noticelist.fixedRows){
- var row = grd_noticelist.row;
- model.copyNode("/root/send/savenotice", "/root/main/noticelist/rows["+row+"]");
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption5" class="tit_2" style="left:705px; top:55px; width:82px; height:13px; ">공지등록</caption>
- <line id="line3" class="line_1" style="x1:700px; y1:70px; x2:1194px; y2:70px; "/>
- <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; ">
- <shape id="roundrect1" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
- <caption id="caption7" class="search_name" style="left:16px; top:9px; width:73px; height:17px; ">검색어 :</caption>
- <input id="ipt_searchkeyword" ref="/root/send/search/searchkeyword" class="input_search" navindex="1" style="left:92px; top:8px; width:130px; height:14px; "/>
- <caption id="caption9" class="search_name" style="left:565px; top:9px; width:86px; height:17px; ">공지기간 :</caption>
- <input id="ipt_fromdd" ref="/root/send/search/fromdd" class="input_s_essential" navindex="3" inputtype="date" format="yyyy-mm-dd" style="left:654px; top:8px; width:90px; height:19px; "/>
- <caption id="caption10" class="search_no_b" style="left:746px; top:8px; width:12px; height:17px; ">~</caption>
- <input id="ipt_todd" ref="/root/send/search/todd" class="input_s_essential" navindex="4" inputtype="date" format="yyyy-mm-dd" style="left:760px; top:8px; width:90px; height:19px; "/>
- <button id="button1" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRZUM01601");
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
- </group>
- <line id="line4" class="line_3" style="x1:0px; y1:716px; x2:690px; y2:716px; "/>
- <button id="btn_delete" class="btn5_letter2" style="left:1152px; top:50px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(messageBox("공지를","Q001") == "6"){
- model.setValue("/root/send/savenotice/status","D");
- submit("TXZUM01601",false);
- model.resetInstanceNode("/root/send/savenotice");
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <output id="opt_notino" ref="/root/send/savenotice/notino" visibility="hidden" style="left:970px; top:76px; width:100px; height:19px; "/>
- <button id="btn_insert" class="btn2_letter2" style="left:1062px; top:50px; width:42px; height:19px; ">
- <caption>신규</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("/root/send/savenotice");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn5_letter2" style="left:1107px; top:50px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var content = model.getValue("/root/send/savenotice/content");
- var status = "I";
-
- if(content.isByteSize(300)){
- if(model.getValue("/root/send/savenotice/notino") != "") {
- status = "U";
- }
- model.setValue("/root/send/savenotice/status",status);
- submit("TXZUM01601",false);
- model.resetInstanceNode("/root/send/savenotice");
- model.refresh();
- }else{
- messageBox("공지내용이","E003");
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_btn" style="left:0px; top:13px; width:1195px; height:27px; ">
- <button id="btn_init" class="btn4_letter3" style="left:1126px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInit();
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line14" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|