123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?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>
- <ermainnotinfo>
- <ermainnotilist>
- <orddd/>
- <msg/>
- <msgfromtm/>
- <msgtotm/>
- </ermainnotilist>
- </ermainnotinfo>
- </main>
- <send>
- <con/>
- </send>
- <hidden/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fGetData();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fGetData(){
- model.makeValue("/root/send/con/orddd", "99999999");
- model.makeValue("/root/send/con/msgfromtm", "0000");
- model.makeValue("/root/send/con/msgtotm", "2359");
- model.makeValue("/root/send/con/rownum", "");
-
- submit("TRMNV06210");
- }
- ]]>
- </script>
- <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/codeinfo"/>
- <submission id="TXMNV06211" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/ermainnotinfo"/>
- <submission id="TRMNV06210" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/con" resultref="/root/main/ermainnotinfo"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="535" pageheight="350" guideline="1,531;1,529;1,530;2,441;">
- <caption id="caption6" class="tit_1" style="left:145px; top:30px; width:250px; height:13px; ">응급실 재원현황판 공지사항 관리</caption>
- <button id="button1" class="btn5_letter2" style="left:482px; top:32px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn1_letter6.gif; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( ! getGridUpdateData(grd_ermainnoti) ) {
- messageBox("입력","E013"); // 그리드에 데이터가 업데이트 되지 않으면 "입력된 데이터가 없습니다."는 메시지 출력
- return ;
- }
- for(var i=1; i<=grd_ermainnoti.rows;i++){
- grd_ermainnoti.rowStatus(i) = 1;
- }
- model.makeValue("/root/send/savedata", grd_ermainnoti.getUpdateData("insert,update")); // 분류코드의 업데이트 된 내용을 savedata에 넣는다
-
- submit("TXMNV06211");
-
- ]]>
- </script>
- </button>
- <button id="button3" class="btn2_letter2" style="left:392px; top:32px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn1_letter6.gif; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_ermainnoti.addRow();
- model.setValue("/root/main/ermainnotinfo/ermainnotilist[" + grd_ermainnoti.row + "]/orddd","99999999");
- model.setValue("/root/main/ermainnotinfo/ermainnotilist[" + grd_ermainnoti.row + "]/msgfromtm","0000");
- model.setValue("/root/main/ermainnotinfo/ermainnotilist[" + grd_ermainnoti.row + "]/msgtotm","2359");
- ]]>
- </script>
- </button>
- <button id="button4" class="btn2_letter2" style="left:437px; top:32px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn1_letter6.gif; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_ermainnoti.deleteRow(grd_ermainnoti.row, false);
- ]]>
- </script>
- </button>
- <datagrid id="grd_ermainnoti" nodeset="/root/main/ermainnotinfo/ermainnotilist" caption="공지 내용^orddd^orddeptcd^msgfromtm^msgtotm" colsep="^" colwidth="478, 0, 0, 0" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:60px; width:520px; height:245px; ">
- <col ref="msg" type="input"/>
- <col ref="orddd" visibility="hidden"/>
- <col ref="msgfromtm" visibility="hidden"/>
- <col ref="msgtotm" visibility="hidden"/>
- </datagrid>
- <caption id="caption2" class="tit_2" style="left:13px; top:34px; width:131px; height:13px; font-size:12pxptpt; ">공지사항 관리</caption>
- <line id="line2" class="line_1" style="x1:6px; y1:55px; x2:525px; y2:55px; "/>
- <button id="btn_cls" class="btn4_letter2" style="left:460px; top:315px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <close ev:event="DOMActivate"/>
- </button>
- </xhtml:body>
- </xhtml:html>
|