123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137 |
- <?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/>
- <memocnts/>
- <seqno/>
- <pid/>
- <memoitemflag/>
- <seqno/>
- <recdd_b/>
- <rectm_b/>
- <indd/>
- <cretno/>
- <instcd/>
- <status/>
- </memoinfo>
- </memo>
- </main>
- <send>
- </send>
- <init>
- </init>
- <hidden/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit();
- ]]>
- </script>
- <submission id="TXMNW09401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- <submission id="TRMNW09401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/memo"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript">
- <![CDATA[
- //화면 오픈시
- function fInit() {
- if (checkOpener()) {
- var recdd = opener.javascript.getParameter("recdd");
- var wardcd = opener.javascript.getParameter("wardcd");
- var rectm = opener.javascript.getParameter("rectm");
- var pid = opener.javascript.getParameter("pid");
- var indd = opener.javascript.getParameter("indd");
- var cretno = opener.javascript.getParameter("cretno");
- var status = opener.javascript.getParameter("status");
- }
- model.removenode("/root/send");
- model.makeValue("/root/send/recdd", recdd);
- model.makeValue("/root/send/recdd_b", recdd);
- model.makeValue("/root/send/rectm", rectm);
- model.makeValue("/root/send/rectm_b", rectm);
- model.makeValue("/root/send/memoitemflag", "04");
- model.makeValue("/root/send/pid", pid);
- model.makeValue("/root/send/indd", indd);
- model.makeValue("/root/send/cretno", cretno);
- model.makeValue("/root/send/wardcd", wardcd);
- model.makeValue("/root/send/status", "02");
- if(submit("TRMNW09401")){
- if(model.getValue("/root/main/memo/memoinfo/recdd")==""){
- model.makeValue("/root/main/memo/memoinfo/recdd",recdd);
- model.makeValue("/root/main/memo/memoinfo/rectm",rectm);
- model.makeValue("/root/main/memo/memoinfo/recdd_b",recdd);
- model.makeValue("/root/main/memo/memoinfo/rrectm_b",rectm);
- model.makeValue("/root/main/memo/memoinfo/memoitemflag","04");
- 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/wardcd",wardcd);
- model.makeValue("/root/main/memo/memoinfo/status","i");
- model.makeValue("/root/main/memo/memoinfo/memocnts","");
- }else{
- model.setValue("/root/main/memo/memoinfo/status","u");
- }
- }
- model.refresh();
- }
-
- //저장버튼 클릭시
- function fSaveMemo() {
- model.removenode("/root/send");
- model.makeValue("/root/send/recdd" , model.getValue("/root/main/memo/memoinfo/recdd"));
- model.makeValue("/root/send/recdd_b" , model.getValue("/root/main/memo/memoinfo/recdd_b"));
- model.makeValue("/root/send/rectm" , model.getValue("/root/main/memo/memoinfo/rectm"));
- model.makeValue("/root/send/rectm_b" , model.getValue("/root/main/memo/memoinfo/rectm_b"));
- model.makeValue("/root/send/memoitemflag", model.getValue("/root/main/memo/memoinfo/memoitemflag"));
- 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/memocnts" , model.getValue("/root/main/memo/memoinfo/memocnts"));
- model.makeValue("/root/send/status" , model.getValue("/root/main/memo/memoinfo/status"));
- submit("TXMNW09401");
- 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/memocnts" 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>
|