123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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>
- <noticeinfo>
- <noticelist>
- <delivetitl/>
- <attfilenm/>
- <updtrid/>
- <genrdd/>
- <genrno/>
- <fromdd/>
- <todd/>
- <deliveflag/>
- <delivecnts/>
- <trgtint/>
- <histstat/>
- <trgtcmd/>
- <attyn/>
- <trgtnm/>
- <fstrgstdt/>
- <useyn/>
- </noticelist>
- </noticeinfo>
- <listinfo>
- <listinfo>
- <attfilenm/>
- <trgtint/>
- <trgtcmd/>
- <deliveflag/>
- <todd/>
- <fromdd/>
- <delivetitl/>
- <status/>
- <genrno/>
- <genrdd/>
- <updtrid/>
- <delivecnts/>
- <trgtnm/>
- <orddrid/>
- <orddeptcd/>
- <fileyn/>
- </listinfo>
- </listinfo>
- <choideptinfo>
- <choideptlist>
- <deptcd/>
- <deptnm/>
- </choideptlist>
- <getrows/>
- </choideptinfo>
- <choiuserinfo>
- <choiuserlist>
- <userid/>
- <usernm/>
- </choiuserlist>
- <getrows/>
- </choiuserinfo>
- <delivetrgt>
- <delivetrgt>
- <delivetrgt>
- <trgtint/>
- <trgtcount/>
- <genrdd/>
- <genrno/>
- <trgtnm/>
- <trgt/>
- </delivetrgt>
- </delivetrgt>
- <delivedepttrgt>
- <delivedepttrgt>
- <trgtint/>
- <trgtcount/>
- <genrdd/>
- <genrno/>
- </delivedepttrgt>
- </delivedepttrgt>
- <delivedrtrgt>
- <delivedrtrgt>
- <trgtint/>
- <trgtcount/>
- <genrdd/>
- <genrno/>
- </delivedrtrgt>
- </delivedrtrgt>
- </delivetrgt>
- <cond>
- <orddd/>
- <orddeptcd/>
- <orddrid/>
- </cond>
- <choideptinfo>
- <choideptlist>
- <deptcd/>
- <deptnm/>
- </choideptlist>
- <getrows/>
- </choideptinfo>
- <choiuserinfo>
- <choiuserlist>
- <userid/>
- <usernm/>
- </choiuserlist>
- <getrows/>
- </choiuserinfo>
- </main>
- <send>
- <reqdata/>
- <savedata/>
- <file>
- <filename/>
- <genrdd/>
- <genrno/>
- <orddeptcd/>
- </file>
- <save2data/>
- </send>
- <hidden/>
- <init/>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize_SMMMO05000() ;
- btn_mod.disabled = true;
- var openflag = opener.javascript.getParameter("SPMMO05000_openflag");
- var iRow = opener.javascript.getParameter("SPMMO05000_row");
- if (openflag== "P") {
- model.copyNode("/root/main/listinfo/listinfo", "/root/main/noticeinfo/noticelist["+ iRow + "]");
- var username = getUserName();
- var writer = model.getValue("/root/main/listinfo/listinfo/updtrid");
- model.makeValue("/root/temp/username", username);
- model.makeValue("/root/temp/writer", writer);
- if (username == writer) {
- btn_mod.disabled = false;
- }
- model.refresh();
- }
-
- ]]>
- </script>
- <submission id="TRMMO04901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" add="bottom" resultref="/root/main/noticeinfo"/>
- <submission id="TRMMO04903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" add="bottom" resultref="/root/main/delivetrgt"/>
- <submission id="TRMMO04902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/delivetrgt"/>
- <submission id="TRMMB08102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" add="bottom" resultref="/root/main/choideptinfo"/>
- <submission id="TRMMB08203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" add="bottom" resultref="/root/main/choideptinfo"/>
- <submission id="TRMMO04904" mediatype="multipart/form-data" method="form-data-post" resultref="/root/send/filelist"/>
- <submission id="TXMMO04901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/noticeinfo"/>
- <submission id="TXMMO04902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/noticeinfo"/>
- <submission id="TXMMO04903" mediatype="multipart/form-data" method="form-data-post" ref="/root/send/file" resultref="/root/main/noticeinfo"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/SPMMO05000.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="670" pageheight="800" guideline="1,670;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <caption id="cap_cnts" class="cell_1" style="left:0px; top:123px; width:79px; height:250px; vertical-align:middle; ">내용</caption>
- <caption id="caption11" class="cell_1" style="left:0px; top:77px; width:79px; height:20px; vertical-align:middle; ">대상</caption>
- <caption id="caption12" class="cell_1" style="left:0px; top:100px; width:79px; height:20px; vertical-align:middle; ">첨부</caption>
- <group id="group5" scroll="autohscroll" style="left:80px; top:25px; width:570px; height:350px; ">
- <input id="ipt_titl" ref="/root/main/listinfo/listinfo/delivetitl" class="input_essential" maxlength="300" style="left:1px; top:7px; width:567px; height:20px; "/>
- <input id="ipt_fromdd" ref="/root/main/listinfo/listinfo/fromdd" format="yyyy-mm-dd" appearance="input" style="left:0px; top:30px; width:130px; height:20; "/>
- <input id="ipt_todd" ref="/root/main/listinfo/listinfo/todd" format="yyyy-mm-dd" appearance="input" style="left:150px; top:30px; width:125px; height:20; "/>
- <caption id="caption13" style="left:132px; top:30px; width:15px; height:20px; ">~</caption>
- <caption id="caption8" class="cell_1" style="left:280px; top:29px; width:79px; height:20px; vertical-align:middle; ">구분</caption>
- <select1 id="cmb_flag" ref="/root/main/listinfo/listinfo/deliveflag" appearance="minimal" style="left:363px; top:30px; width:205px; height:20; ">
- <choices>
- <item>
- <label>일반</label>
- <value>0</value>
- </item>
- <item>
- <label>긴급</label>
- <value>1</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_trgtcmd" ref="/root/main/listinfo/listinfo/trgtcmd" appearance="minimal" style="left:1px; top:53; width:100px; height:20px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>0</value>
- </item>
- <item>
- <label>개인</label>
- <value>1</value>
- </item>
- <item>
- <label>부서</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var trgtcmd = cmb_trgtcmd.value
- if (trgtcmd != 0) {
- btn_open.disabled = false;
- }
-
- fSchToUserPart();
- ]]>
- </script>
- </select1>
- <input id="ipt_trgtnm" ref="/root/main/listinfo/listinfo/trgtnm" style="left:103px; top:53px; width:442px; height:19px; "/>
- <input id="ipt_att" ref="/root/main/listinfo/listinfo/attfilenm" maxlength="100" style="left:1px; top:76px; width:476px; height:19px; "/>
- <textarea id="ipt_cnts" ref="/root/main/listinfo/listinfo/delivecnts" scroll="auto" maxlength="4000" style="left:0px; top:99; width:567px; height:250px; "/>
- <button id="btn_open" class="icon_search" disabled="true" style="left:547px; top:55px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSchToUserPart();
- ]]>
- </script>
- </button>
- <upload id="upload1" nodeset="/root/send/file/filename" ext="zip" filecount="5" filesize="1048576" validate="true" style="left:461px; top:75px; width:15px; height:15px; "/>
- <button id="btn_filedel" class="btn2_letter2" visibility="hidden" style="left:525px; top:75px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fFileDel();
- ]]>
- </script>
- </button>
- <button id="btn_fileadd" class="btn2_letter2" visibility="hidden" style="left:480px; top:75px; width:40px; height:19px; ">
- <caption>첨부</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fFileAdd();
- ]]>
- </script>
- </button>
- </group>
- <button id="btn_down" class="btn2_letter4" navindex="6" style="left:583px; top:100px; width:64px; height:19px; ">
- <caption>다운로드</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fFileDown();
- ]]>
- </script>
- </button>
- <caption id="caption5" class="cell_1" style="left:0px; top:54px; width:79px; height:20px; vertical-align:middle; ">적응기간</caption>
- <caption id="cap_titl" class="cell_1" style="left:0px; top:31px; width:79px; height:20px; vertical-align:middle; ">제목</caption>
- <line id="line9" class="line_1" style="x1:0px; y1:25px; x2:650px; y2:25px; "/>
- <caption id="caption7" class="tit_2" style="left:0px; top:10px; width:134px; height:13px; ">공지사항</caption>
- <datagrid id="grd_notice" nodeset="/root/main/noticeinfo/noticelist" scroll="vertical" autoresize="true" caption="제목^첨부^작성자^작성자ID^발생일자^발생번호^시작일자^종료일자^전달구분^전달사항내용^전달대상명^이력상태^전달대상^첨부제목^대상이름^선택^게시일시" colsep="^" colwidth="390, 40, 80, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 120" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:415px; width:648px; height:354px; ">
- <col ref="delivetitl"/>
- <col ref="attyn" style="text-align:center; "/>
- <col ref="updtrid" style="text-align:center; "/>
- <col ref="genrdd" format="yyyy-mm-dd"/>
- <col ref="genrno"/>
- <col ref="fromdd"/>
- <col ref="todd"/>
- <col ref="deliveflag"/>
- <col ref="delivecnts"/>
- <col ref="trgtint"/>
- <col ref="histstat"/>
- <col ref="trgtcmd"/>
- <col ref="attfilenm"/>
- <col ref="trgtnm"/>
- <col ref="useyn" type="checkbox"/>
- <col ref="fstrgstdt" format="yyyy/mm/dd hh:nn:ss"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if (isDataCell() == true) {
- fNoticeDetlReq();
- }
- group5.disabled = false;
- btn_fileadd.visible = false;
- btn_filedel.visible = false;
- btn_down.visible = true;
- var username = getUserName();
- var writer = model.getValue("/root/main/listinfo/listinfo/updtrid");
- if (username == writer) {
- btn_mod.disabled = false;
- }
- btn_save.disabled = true;
- ]]>
- </script>
- </datagrid>
- <caption id="caption2" class="tit_2" style="left:0px; top:395px; width:141px; height:13px; text-align:left; ">공지사항 리스트</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:410px; x2:648px; y2:410px; "/>
- <line id="line20" class="line_2" style="x1:0px; y1:51px; x2:650px; y2:51px; "/>
- <line id="line1" class="line_2" style="x1:0px; y1:75px; x2:650px; y2:75px; "/>
- <line id="line3" class="line_2" style="x1:0px; y1:98px; x2:650px; y2:98px; "/>
- <line id="line4" class="line_2" style="x1:0px; y1:121px; x2:650px; y2:121px; "/>
- <line id="line5" class="line_2" style="x1:0px; y1:374px; x2:650px; y2:374px; "/>
- <button id="btn_mod" class="btn2_letter2" navindex="5" style="left:564px; top:5px; width:42px; height:19px; ">
- <caption>수정</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- btn_fileadd.visible = true;
- btn_filedel.visible = true;
- btn_down.visible = false;
- group5.disabled = false;
- btn_save.disabled = false;
-
- model.makeValue("/root/main/listinfo/listinfo/status","u");
- ]]>
- </script>
- </button>
- <button id="btn_new" class="btn2_letter2" navindex="5" style="left:520px; top:5px; width:42px; height:19px; ">
- <caption>신규</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- btn_fileadd.visible = true;
- btn_filedel.visible = true;
- btn_down.visible = false;
- group5.disabled = false;
- ipt_trgtnm.disabled = true;
- ipt_att.disabled = true;
- btn_mod.disabled = true;
- btn_save.disabled = false;
-
- fNewNotice();
-
- model.makeValue("/root/main/listinfo/listinfo/status",'i');
-
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn5_letter2" disabled="true" navindex="5" style="left:608px; top:5px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.copyNode("/root/temp", "/root/main/listinfo/listinfo");
- if (isRequiredControls("ipt_titl","ipt_cnts" ) == false) {
- return;
- }else {
-
- fExeSvae();
- }
- group5.disabled = true;
- btn_fileadd.visible = false;
- btn_filedel.visible = false;
- btn_down.visible = true;
-
- var username = getUserName();
- var writer = model.getValue("/root/main/listinfo/listinfo/updtrid");
- if (username == writer) {
- btn_mod.disabled = false;
- }
- btn_save.disabled = true;
-
- model.copyNode("/root/main/listinfo/listinfo","/root/temp")
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button1" class="btn5_letter2" style="left:605px; top:377px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fNoticeDel();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|