123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- <?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>
- <memo>
- <memoinfo>
- <recdd/>
- <rectm/>
- <memo/>
- <pid/>
- <indd/>
- <cretno/>
- <visitno/>
- <instcd/>
- <status/>
- </memoinfo>
- </memo>
- </main>
- <send>
- </send>
- <init>
- </init>
- <hidden/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit();
- ]]>
- </script>
- <submission id="TRMNE07601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/memo"/>
- <submission id="TXMNE07601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript">
- <![CDATA[
- //화면 오픈시
- function fInit() {
- if (checkOpener()) {
- var pid = opener.javascript.getParameter("pid");
- var indd = opener.javascript.getParameter("indd");
- var cretno = opener.javascript.getParameter("cretno");
- var visitno = opener.javascript.getParameter("visitno");
- var status = opener.javascript.getParameter("status");
- }
- model.removenode("/root/send");
- model.makeValue("/root/send/pid", pid);
- model.makeValue("/root/send/indd", indd);
- model.makeValue("/root/send/cretno", cretno);
- model.makeValue("/root/send/visitno", visitno);
- model.makeValue("/root/send/status", status);
- submit("TRMNE07601", false);
- model.makeValue("/root/main/memo/memoinfo/status","U");
-
- if(model.getValue("/root/main/memo/memoinfo/recdd")==""){
- model.makeValue("/root/main/memo/memoinfo/pid",pid);
- model.makeValue("/root/main/memo/memoinfo/indd",indd);
- model.makeValue("/root/main/memo/memoinfo/cretno",cretno);
- model.makeValue("/root/main/memo/memoinfo/visitno",visitno);
- model.makeValue("/root/main/memo/memoinfo/memo","");
- }
-
- model.refresh();
- }
-
- //저장버튼 클릭시
- function fSaveMemo() {
- if(model.getValue("/root/main/memo/memoinfo/memo") == "" ){
- messageBox("저장할 Memo 내용을 입력하십시요","I");
- return;
- }
- model.removenode("/root/send");
- model.makeValue("/root/send/pid" , model.getValue("/root/main/memo/memoinfo/pid"));
- model.makeValue("/root/send/indd" , model.getValue("/root/main/memo/memoinfo/indd"));
- model.makeValue("/root/send/cretno" , model.getValue("/root/main/memo/memoinfo/cretno"));
- model.makeValue("/root/send/visitno" , model.getValue("/root/main/memo/memoinfo/visitno"));
- model.makeValue("/root/send/memo" , model.getValue("/root/main/memo/memoinfo/memo"));
- model.makeValue("/root/send/status" , model.getValue("/root/main/memo/memoinfo/status"));
- submit("TXMNE07601");
- opener.window.javascript.fSeletedSrcTool();
- model.close();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="396" pageheight="221" guideline="1,891;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" scroll="auto" style="left:0px; top:0px; width:380px; height:221px; ">
- <line id="line8" class="line_2" style="x1:0px; y1:50px; x2:380px; y2:50px; "/>
- <textarea id="textarea1" ref="/root/main/memo/memoinfo/memo" scroll="autovscroll" imemode="hangul" maxlength="666" style="left:82px; top:52px; width:298px; height:167px; "/>
- <caption id="caption5" class="cell_1" style="left:0px; top:27px; width:79px; height:23px; vertical-align:middle; ">작성일자</caption>
- <caption id="caption18" class="cell_1" style="left:0px; top:52px; width:79px; height:167px; vertical-align:middle; ">메모내용</caption>
- <line id="line7" class="line_3" style="x1:0px; y1:220px; x2:380px; y2:220px; "/>
- <caption id="caption11" class="cell_1" style="left:210px; top:27px; width:79px; height:23px; vertical-align:middle; ">작성시간</caption>
- <output id="output4" ref="/root/main/memo/memoinfo/recdd" class="output_fix" format="yyyy-mm-dd" style="left:82px; top:28px; width:125px; height:19px; "/>
- <output id="output1" ref="/root/main/memo/memoinfo/rectm" class="output_fix" format="hh:nn" style="left:292px; top:28px; width:88px; height:19px; "/>
- <button id="btn_save" class="btn5_letter2" style="left:291px; top:2px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveMemo();
- ]]>
- </script>
- </button>
- <line id="line29" class="line_1" style="x1:0px; y1:22px; x2:380px; y2:22px; "/>
- <caption id="caption3" class="tit_2" style="left:5px; top:7px; width:212px; height:13px; ">메모등록</caption>
- <button id="button1" class="btn5_letter2" style="left:335px; top:2px; width:42px; height:19px; ">
- <caption>종료</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.close();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|