123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116 |
- <?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="">
- <cond>
- <pid/>
- <cretno/>
- <orddd/>
- <carerecseqno/>
- <status/>
- <itemorigincd/>
- <itemnm/>
- </cond>
- <main>
- <chngitemnm/>
- </main>
- <stay>
- <itemnm/>
- </stay>
- <send/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- finit();
- ]]>
- </script>
- <submission id="TXMNR06101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/rtnvalue"/>
- </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/dateHelper.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
- <script type="javascript">
- <![CDATA[
- function finit(){
- var sParamMsgInfo = "";
- sParamMsgInfo = opener.javascript.getParameter("SPMNR06100_Param");
- model.setValue("/root/cond/status", getArrayData(sParamMsgInfo, 0 ,0) );
- model.setValue("/root/cond/itemorigincd", getArrayData(sParamMsgInfo, 0 ,1) );
- model.setValue("/root/cond/carerecseqno", getArrayData(sParamMsgInfo, 0 ,2) );
- model.setValue("/root/cond/pid", getArrayData(sParamMsgInfo, 0 ,3) );
- model.setValue("/root/cond/orddd", getArrayData(sParamMsgInfo, 0 ,4) );
- model.setValue("/root/cond/cretno", getArrayData(sParamMsgInfo, 0 ,5) );
- model.setValue("/root/cond/itemnm", getArrayData(sParamMsgInfo, 0 ,6) );
- model.setFocus("ipt_chngitemnm");
- }
-
- function fSaveExtNm(){
- var sRtnParamInfo = "";
- var sChngNm = "";
- var sChagYn = false;
-
- if(model.getValue("/root/cond/itemorigincd") == "04"){
- sChngNm = model.getValue("/root/cond/itemnm")+"("+ model.getValue("/root/main/chngitemnm") +")" ;
- }else{
- sChngNm = model.getValue("/root/main/chngitemnm");
- }
-
- if(model.getValue("/root/cond/status") == "upd"){
- model.copyNode("/root/send", "/root/cond");
- model.makeValue("/root/send/chngitemnm", sChngNm );
- submit("TXMNR06101") ;
-
- sChagYn = model.getValue("/root/temp/rtnvalue/rtninfo");
- }
- sRtnParamInfo += model.getValue("/root/cond/status") + "▦"
- + model.getValue("/root/cond/carerecseqno") + "▦"
- + model.getValue("/root/cond/itemnm")+"("+ model.getValue("/root/main/chngitemnm") +")" + "▦"
- + sChngNm + "▦"
- + sChagYn + "▩";
-
- opener.javascript.setParameter("SPMNR06100_RtnParam", sRtnParamInfo);
- window.close();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="265" pageheight="70" guideline="1,1190;1,240;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group2" style="left:0px; top:0px; width:245px; height:70px; ">
- <button id="btn_close" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:184px; top:45px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:124px; top:45px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveExtNm();
- ]]>
- </script>
- </button>
- <shape id="roundrect3" class="roundrect_btnset" appearance="roundrect" style="left:0px; top:0px; width:241px; height:40px; background-color:#f2fafe; border-color:#7cbbdd; "/>
- <caption id="caption2" style="left:15px; top:12px; width:40px; height:20px; ">확장명</caption>
- <input id="ipt_chngitemnm" ref="/root/main/chngitemnm" style="left:57px; top:11px; width:170px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == "13"){
- setInputNodeCurText();
- btn_save.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </input>
- </group>
- </xhtml:body>
- </xhtml:html>
|