123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206 |
- <?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>
- <list>
- <scrnlist/>
- </list>
- <item>
- <scrncd/>
- <scrnflag/>
- <scrnurl/>
- <scrnpos/>
- <useyn/>
- </item>
- </main>
- <send>
- <scrnkind/>
- <scrnurl/>
- <scrnlist/>
- </send>
- <init>
- <comcd/>
- </init>
- <hidden>
- <comcd/>
- </hidden>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 검색조건에서 기본으로 첫번째 항목이 나타나도록 한다.
- fInitComcd();
- fInitialize();
- btn_search.disabled = !checkAuth("R") ;
-
- ]]>
- </script>
- <submission id="TRZSA20501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list">
- </submission>
- <submission id="TRZBC00101" method="post" replace="instance"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/authinfoweb/js/ZSA001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript">
- <![CDATA[
-
- /**
- * @group :
- * @ver : 2006.12.20
- * @by : 이상준
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 공통코드 초기화
- * @return :
- * @---------------------------------------------------
- */
- function fInitComcd() {
- zbcfGetCodeList( new Array("Z0005"), new Array("/root/init/comcd"));
- fInsertInstance("Z0005", "전체", "-");
- }
-
-
- /**
- * @group :
- * @ver : 2006.12.20
- * @by : 이상준
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 초기화
- * @return :
- * @---------------------------------------------------
- */
- function fInitialize() {
- model.removeNodeset("/root/main/list/scrnlist");
- model.resetInstanceNode("/root/send");
- model.resetInstanceNode("/root/main/item");
-
- model.refresh();
- cmc_scrncd.select(0);
- }
-
- /* @group :
- * @ver : 2006.12.26
- * @by : 이상준
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 조회 및 검색
- */
- function fbtnSearch() {
-
- //model.send("TRZSA20501");
- submit("TRZSA20501");
- //grd_scrnlist.select(1, 3)=true;
- grd_scrnlist.row=1;
- }
-
- /* @group :
- * @ver : 2006.12.26
- * @by : 이상준
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 팝업 선택
- */
- function fbtnSelect() {
-
- var iRow = grd_scrnlist.row;
-
- if (iRow<=0)
- {
- alert("전달할 데이터가 없습니다");
- return;
- }
- var scrncd = model.getValue("/root/main/list/scrnlist["+iRow+"]/scrncd");
- var scrnnm = model.getValue("/root/main/list/scrnlist["+iRow+"]/scrnnm");
-
- if (checkOpener())
- {
- opener.javascript.setParameter("SPZSA20500_",scrncd+"|"+scrnnm);
- }
- window.close();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="534" pageheight="360" guideline="1,518;2,343;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="grp_grid" scroll="auto" style="left:0px; top:0px; width:518px; height:316px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:45px; width:136px; height:14px; ">화면 및 보고서 목록</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:60px; x2:517px; y2:60px; "/>
- <datagrid id="grd_scrnlist" nodeset="/root/main/list/scrnlist" caption="화면코드^화면URL" colsep="^" colwidth="175, 310" dataheight="23" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:64px; width:517px; height:251px; ">
- <col ref="scrncd"/>
- <col ref="scrnurl"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fbtnSelect();
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="grp_btn" 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[
- fbtnSelect();
-
- ]]>
- </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>
- <group id="grp_search" style="left:0px; top:0px; width:518px; height:35px; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:517px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption3" class="search_name" style="left:16px; top:8px; width:86px; height:17px; ">검색조건</caption>
- <line id="line2" style="x1:429px; y1:5px; x2:429px; y2:27px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption22" class="search_name" style="left:196px; top:10px; width:94px; height:17px; ">화면URL</caption>
- <input id="ipt_scrnnm" ref="/root/send/scrnurl" class="input_search" style="left:275px; top:8px; width:125px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keycode == 13)
- {
- ipt_scrnnm.value = ipt_scrnnm.currentText;
- fbtnSearch();
- }
- ]]>
- </script>
- </input>
- <button id="btn_search" class="btn1_letter2" style="left:445px; top:5px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //model.send("TRZSS00101");
- submit("TRZSA20501");
- //grd_scrnlist.select(1, 3)=true;
- grd_scrnlist.row=1;
- ]]>
- </script>
- </button>
- <select1 id="cmc_scrncd" ref="/root/send/scrnkind" class="combo_default" appearance="minimal" style="left:100px; top:8px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/comcd/Z0005">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- </group>
- </xhtml:body>
- </xhtml:html>
|