123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154 |
- <?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>
- <list>
- <code>
- <cdid/>
- <cdengabbrnm/>
- <cdnm/>
- <detldesc/>
- <cdval/>
- <minval/>
- <maxval/>
- <minopercd/>
- <maxopercd/>
- </code>
- </list>
- <searchcondition>cdid</searchcondition>
- <searchterm/>
- </main>
- <send>
- <cdgrupid/>
- <cdid/>
- <cdnm/>
- </send>
- </root>
- </instance>
- <script type="javascript" src="../../../com/basiccodeweb/js/basiccodeweb.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- var cdgrupid = opener.window.javascript.getParameter("codeGroupID");
- var recv_cdid_path = opener.window.javascript.getParameter("receiveCodeIDPath");
- var recv_cdnm_path = opener.window.javascript.getParameter("receiveCodeNamePath");
- var search_condition = opener.window.javascript.getParameter("searchCondition");
- var search_term = opener.window.javascript.getParameter("searchTerm");
- model.setValue("/root/main/searchcondition", search_condition);
- model.setValue("/root/main/searchterm", search_term);
-
- if(search_condition=="cdid"){
- model.setValue("/root/send/cdid", search_term);
- model.setValue("/root/send/cdnm", "");
- }else if(search_condition=="cdnm"){
- model.setValue("/root/send/cdnm", search_term);
- model.setValue("/root/send/cdid", "");
- }
-
- model.setValue("/root/send/cdgrupid", cdgrupid);
- submit("TRZBC00114");
- model.refresh();
-
- ]]>
- </script>
- <submission id="TRZBC00114" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/list"/>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="534" pageheight="343" guideline="1,518; 2,343;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:518px; height:316px; ">
- <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; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:8px; width:86px; height:17px; ">검색조건 :</caption>
- <button id="btn_search" class="btn1_letter2" style="left:445px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var search_condition = model.getValue("/root/main/searchcondition");
- if(search_condition=="cdid"){
- model.setValue("/root/send/cdid", model.getValue("/root/main/searchterm"));
- model.setValue("/root/send/cdnm", "");
- }else if(search_condition=="cdnm"){
- model.setValue("/root/send/cdnm", model.getValue("/root/main/searchterm"));
- model.setValue("/root/send/cdid", "");
- }
- submit("TRZBC00114");
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line13" style="x1:429px; y1:7px; x2:429px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <select1 id="combo1" ref="/root/main/searchcondition" class="combo_search" appearance="minimal" style="left:101px; top:8px; width:80px; height:19px; ">
- <choices>
- <item>
- <label>코드ID</label>
- <value>cdid</value>
- </item>
- <item>
- <label>코드명</label>
- <value>cdnm</value>
- </item>
- </choices>
- </select1>
- <input id="input3" ref="/root/main/searchterm" class="input_search" style="left:184px; top:8px; width:100px; height:19px; "/>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:46px; width:100px; height:14px; ">공통코드 목록</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:61px; x2:517px; y2:61px; "/>
- <datagrid id="grd_cdlist" nodeset="/root/main/list/code" caption="코드SID^코드군ID^코드ID^코드이름^상세설명^출력순서^코드값^최소값^최대값^최소연산자^최대연산자^코드영문약어^유효시작일자^유효종료일자^최초등록자ID^최초등록일시^최종수정자ID^최종수정일시" colwidth="200, 100, 100, 100, 150, 68, 100, 100, 100, 68, 68, 100, 100, 100, 100, 150, 100, 150" dataheight="25" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" tooltip="true" style="left:0px; top:66px; width:517px; height:250px; ">
- <col ref="cdsid" visibility="hidden"/>
- <col ref="cdgrupid"/>
- <col ref="cdid"/>
- <col ref="cdnm"/>
- <col ref="detldesc"/>
- <col ref="dispseq" visibility="hidden"/>
- <col ref="cdval" visibility="hidden"/>
- <col ref="minval" visibility="hidden"/>
- <col ref="maxval" visibility="hidden"/>
- <col ref="minopercd" visibility="hidden"/>
- <col ref="maxopercd" visibility="hidden"/>
- <col ref="cdengabbrnm" visibility="hidden"/>
- <col ref="valifromdd" visibility="hidden" format="yyyy-mm-dd"/>
- <col ref="valitodd" visibility="hidden" format="yyyy-mm-dd"/>
- <col ref="fstrgstrid" visibility="hidden"/>
- <col ref="fstrgstdt" visibility="hidden" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="lastupdtrid" visibility="hidden"/>
- <col ref="lastupdtdt" visibility="hidden" format="yyyy-mm-dd hh:nn:ss"/>
- </datagrid>
- </group>
- <group id="group1" scroll="auto" style="left:0px; top:316px; width:518px; height:27px; ">
- <button id="btn_confirm" class="btn4_letter2" style="left:402px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var cdidpath = opener.window.javascript.getParameter("receiveCodeIDPath");
- var cdnmpath = opener.window.javascript.getParameter("receiveCodeNamePath");
-
- var row = grd_cdlist.row;
- var cdid = grd_cdlist.valueMatrix( row, grd_cdlist.colRef("cdid"));
- var cdnm = grd_cdlist.textmatrix( row, grd_cdlist.colRef("cdnm"));
- opener.model.setValue(cdidpath, cdid);
- opener.model.setValue(cdnmpath, cdnm);
- opener.model.refresh();
-
- window.close();
-
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" style="left:461px; top:5px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|