123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144 |
- <?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>
- <cntmprcplist>
- <item>
- <sortno/>
- <basecd/>
- <basecdflagdesc/>
- <basecdcnts/>
- <basesuppdeptcd/>
- </item>
- </cntmprcplist>
- </main>
- <send>
- <basecd/>
- <req>
- <data/>
- </req>
- <globalinstance>
- <instance1/>
- </globalinstance>
- </send>
- <init/>
- <hidden>
- <item>
- </item>
- </hidden>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <submission id="TRAEB03001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/cntmprcplist"/>
- <submission id="TXAEB03001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/hidden"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- aezfSetSuppDeptcd();
-
- model.removeNodeset("/root/main/cntmprcplist/item");
- model.refresh();
-
- model.setFocus("ipt_basecd");
- ]]>
- </script>
- </model>
- </xhtml:head>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:135px; height:13px; ">오염상황항목관리</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line13" class="line_4" style="x1:1116px; y1:7px; x2:1116px; y2:29px; "/>
- <button id="btn_sea" class="btn1_letter2" style="left:1125px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRAEB03001");
- ]]>
- </script>
- </button>
- <input id="input8" ref="/root/send/basecd" class="input_search" style="left:159px; top:9px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if ( event.keyCode == 13 ) {
- setInputNodeCurText();
- submit("TRAEB03001");
- }
- ]]>
- </script>
- </input>
- <caption id="caption25" class="search_name" style="left:15px; top:9px; width:145px; height:17px; ">오염상황항목코드 :</caption>
- </group>
- <line id="line2" class="line_1" style="x1:0px; y1:72px; x2:1194px; y2:72px; "/>
- <button id="btn_grdadd" class="btn2_letter3" style="left:1085px; top:50px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_cntmprcplist.addRow();
- grd_cntmprcplist.row = grd_cntmprcplist.bottomRow;
-
- var cnt = parseInt(grd_cntmprcplist.row);
-
- model.makeValue("/root/main/cntmprcplist/item[" + cnt + "]/basesuppdeptcd", model.getValue("/root/send/globalinstance/instance1") );
- model.makeValue("/root/main/cntmprcplist/item[" + cnt + "]/basecdflag", "T");
- ]]>
- </script>
- </button>
- <button id="btn_grddel" class="btn2_letter3" style="left:1142px; top:50px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- deleteSelectedRows(grd_cntmprcplist, true);
- ]]>
- </script>
- </button>
- <datagrid id="grd_cntmprcplist" nodeset="/root/main/cntmprcplist/item" caption="순번^코드^항목명^비고" colsep="^" colwidth="100, 241, 409, 400, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:77px; width:1195px; height:667px; ">
- <col ref="sortno" type="input"/>
- <col ref="basecd" type="input"/>
- <col ref="basecdflagdesc" type="input"/>
- <col ref="basecdcnts" type="input"/>
- <col ref="basecdflag" type="input" visibility="hidden"/>
- <col ref="basesuppdeptcd" visibility="hidden"/>
- </datagrid>
- </group>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" style="left:1138px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( messageBox("","Q002")==6 ) {
- var update = getGridUpdateData(grd_cntmprcplist);
- if(update == ""){
- messageBox("업데이트 정보가 없습니다.", "I");
- return 0;
- } else {
- model.setValue("/root/send/req/data", update);
- submit("TXAEB03001");
- }
-
- }
- submit("TRAEB03001");
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusIn">
- <![CDATA[
- checkKeyColumn("grd_cntmprcplist");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|