123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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>
- <efcylist>
- <item>
- <efcycd/>
- <efcynm/>
- <efcylevel/>
- </item>
- </efcylist>
- </main>
- <send>
- <srchcomcd/>
- <srchcomnm/>
- </send>
- <init/>
- <hidden>
- <receiveref/>
- </hidden>
- </root>
- </instance>
- <submission id="TRADB61401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/efcylist"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- submit("TRADB61401");
- setTree(grd_efcylist, grd_efcylist.colRef("efcylevel"),grd_efcylist.colRef("efcycd"), true );
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/hismainweb/js/DocTitle.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="535" pageheight="578" guideline="1,1194;2,576;1,517;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:518px; height:550px; ">
- <group id="group2" style="left:0px; top:0px; width:518px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:517px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line13" style="x1:429px; y1:7px; x2:429px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_sea" class="btn1_letter2" style="left:445px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRADB61401");
- setTree(grd_efcylist, grd_efcylist.colRef("efcylevel"),grd_efcylist.colRef("efcycd"), true );
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_name" style="left:165px; top:8px; width:60px; height:17px; ">명칭 :</caption>
- <caption id="caption3" class="search_name" style="left:5px; top:8px; width:60px; height:17px; ">코드 :</caption>
- <input id="input1" ref="/root/send/srchcomnm" class="input_search" style="left:230px; top:8px; width:190px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == "13") {
- setInputNodeCurText();
- btn_sea.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </input>
- <input id="input2" ref="/root/send/srchcomcd" class="input_search" style="left:70px; top:8px; width:85px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == "13") {
- setInputNodeCurText();
- btn_sea.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </input>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:46px; width:95px; height:14px; ">효능조회</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:61px; x2:517px; y2:61px; "/>
- <datagrid id="grd_efcylist" nodeset="/root/main/efcylist/item" caption="효능코드^효능명칭^레벨" colsep="^" colwidth="154, 325, 26" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:65px; width:515px; height:480px; ">
- <col ref="efcycd"/>
- <col ref="efcynm"/>
- <col ref="efcylevel" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if ( checkOpener() ) {
- //opener.model.setValue("/root/hidden/temp/comcd",model.getValue( "/root/main/grid/item["+grd_com.row+"]/comcd"));
- //opener.model.setValue("/root/hidden/temp/comnm",model.getValue( "/root/main/grid/item["+grd_com.row+"]/comnm"));
- //opener.model.copyNode(receiveref, "/root/hidden/temp");
- //opener.javascript.fSetComCode(model.getValue( "/root/main/grid/item["+grd_com.row+"]/comcd"),model.getValue( "/root/main/grid/item["+grd_com.row+"]/comnm"));
- if ( opener.javascript.getParameter("textval") != "Y" ) {
- astfInsertGridData(grd_efcylist, opener.grd_efcy, "1", "", "", "efcycd,efcycd");
- } else {
- opener.model.setValue( model.getValue("/root/hidden/receiveref"), model.getValue("/root/main/efcylist/item["+grd_efcylist.row+"]/efcycd") );
- }
- opener.model.refresh();
- window.close();
- } else {
- alert("상위화면이 변경되어 데이터를 전달할 수 없습니다.");
- }
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group1" scroll="auto" style="left:0px; top:550px; width:518px; height:27px; ">
- <button id="btn_cfm" class="btn4_letter2" style="left:402px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- </button>
- <button id="btn_cls" class="btn4_letter2" style="left:461px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <close ev:event="DOMActivate"/>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|