123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228 |
- <?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>Untitle</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <test/>
- <main>
- <destlist>
- <dstlist/>
- </destlist>
- <equiplist>
- <eqlist/>
- </equiplist>
- <destitem>
- <destnm/>
- <destdesc/>
- <fstrgstrid/>
- <fstrgstdt/>
- <lastupdtrid/>
- <lastupdtdt/>
- </destitem>
- </main>
- <send>
- <searchcond/>
- <searchvalue/>
- <destnm/>
- <destlist/>
- <eqlist/>
- </send>
- <init>
- <comcd>
- </comcd>
- </init>
- <hidden>
- <comcd/>
- <msg/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <submission id="TRZMR00101" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main/destlist">
- <script type="javascript" ev:event="xforms-submit-error">
- <![CDATA[
-
- ]]>
- </script>
- </submission>
- <submission id="TRZMR00102" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main/equiplist"/>
- <submission id="TXZMR00101" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main/destlist"/>
- <submission id="TXZMR00102" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main/equiplist"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/remotealertweb/js/ZMR00101.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,1360;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:199px; height:14px; ">원격목적지관리</caption>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <button id="btn_init" class="btn4_letter3" style="left:1126px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- </group>
- <group id="group5" scroll="auto" style="left:0px; top:40px; width:1195px; height:740px; ">
- <line id="line3" class="line_2" style="x1:463px; y1:80px; x2:1195px; y2:80px; "/>
- <caption id="caption26" class="tit_2" style="left:6px; top:61px; width:180px; height:13px; ">원격목적지</caption>
- <line id="line9" class="line_1" style="x1:0px; y1:77px; x2:450px; y2:77px; "/>
- <datagrid id="grd_destlist" nodeset="/root/main/destlist/dstlist" caption="목적지명^목적지설명^수정일시" colwidth="90, 206, 120" dataheight="25" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" style="left:0px; top:80px; width:450px; height:655px; text-align:center; border-color:#808080; ">
- <col ref="destnm" type="input"/>
- <col ref="destdesc" type="input" style="text-align:center; "/>
- <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClickGrid();
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fEditGrid();
- ]]>
- </script>
- </datagrid>
- <button id="btn_save_acntitem" class="btn5_letter2" style="left:407px; top:57px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!checkGridUpdate(grd_destlist))
- {
- messageBox("저장할 자료가 존재하지 않습니다.", "E999");
- return;
- }
-
- if(checkGridField(grd_destlist,"destnm")==false)
- {
- messageBox("데이터중에 비어있는 필수필드가 있습니다.", "E999");
- return;
- }
- model.setValue("/root/send/destlist",grd_destlist.getUpdateData());
- if ( submit("TXZMR00101") ) {
- grd_destlist.clearStatus(); // submit() 성공하면 그리드의 i,u,d 상태 제거
- }
- ]]>
- </script>
- </button>
- <line id="line1" class="line_1" style="x1:463px; y1:108px; x2:1195px; y2:108px; "/>
- <datagrid id="grd_eqlist" nodeset="/root/main/equiplist/eqlist" caption="관계^장비ID^목적지명^장비명^장비설명^프린터명^수정일시" colwidth="30, 0, 0, 130, 288, 130, 120" dataheight="25" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" style="left:463px; top:111px; width:732px; height:624px; text-align:center; border-color:#808080; ">
- <col ref="relation" type="checkbox" checkvalue="Y,N"/>
- <col ref="eqmtid"/>
- <col ref="destnm"/>
- <col ref="eqmtnm" type="input" style="text-align:center; "/>
- <col ref="eqmtpos" type="input"/>
- <col ref="prntrnm" type="input" style="text-align:center; "/>
- <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn:ss"/>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
- grd_eqlist.addStatus(grd_eqlist.row,"update");
- ]]>
- </script>
- </datagrid>
- <button id="button3" class="btn5_letter2" style="left:1151px; top:88px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!checkGridUpdate(grd_eqlist))
- {
- messageBox("저장할 자료가 존재하지 않습니다.", "E999");
- return;
- }
-
- if(checkGridField(grd_eqlist,"eqmtnm")==false)
- {
- messageBox("데이터중에 비어있는 필수필드가 있습니다.", "E999");
- return;
- }
- model.setValue("/root/send/eqlist",grd_eqlist.getUpdateData());
- model.setValue("/root/send/destnm", model.getValue("/root/main/destitem/destnm"));
- if ( submit("TXZMR00102") ) {
- grd_eqlist.clearStatus(); // submit() 성공하면 그리드의 i,u,d 상태 제거
- }
- ]]>
- </script>
- </button>
- <caption id="caption1" class="tit_2" style="left:469px; top:92px; width:180px; height:13px; ">원격장비</caption>
- <group id="group3" style="left:0px; top:14px; width:450px; height:35px; vertical-align:top; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:450px; height:35px; "/>
- <button id="button5" class="btn1_letter2" style="left:387px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRZMR00101");
- ]]>
- </script>
- </button>
- <line id="line2" class="line_4" style="x1:371px; y1:7px; x2:371px; y2:29px; "/>
- <caption id="caption3" class="search_name" style="left:16px; top:8px; width:120px; height:17px; ">원격목적지 조회</caption>
- <select1 id="cmb_search" ref="/root/send/searchcond" class="combo_search" appearance="minimal" style="left:140px; top:8px; width:95px; height:19px; ">
- <choices>
- <item>
- <label>목적지명</label>
- <value>name</value>
- </item>
- <item>
- <label>목적지설명</label>
- <value>desc</value>
- </item>
- </choices>
- </select1>
- <input id="input1" ref="/root/send/searchvalue" class="input_search" style="left:245px; top:8px; width:95px; height:19px; "/>
- </group>
- <line id="line10" class="line_1" style="x1:463px; y1:29px; x2:1195px; y2:29px; "/>
- <caption id="caption32" class="cell_1" style="left:463px; top:34px; width:100px; height:23px; text-align:left; vertical-align:middle; ">목적지명</caption>
- <line id="line14" class="line_2" style="x1:463px; y1:56px; x2:1195px; y2:56px; "/>
- <input id="ipt_destdesc" ref="/root/main/destitem/destdesc" class="input_default" disabled="true" style="left:802px; top:35px; width:151px; height:19px; "/>
- <input id="ipt_destnm" ref="/root/main/destitem/destnm" class="input_default" disabled="true" style="left:566px; top:35px; width:130px; height:19px; "/>
- <caption id="caption27" class="tit_2" style="left:469px; top:14px; width:247px; height:14px; ">선택된 원격목적지</caption>
- <caption id="caption28" class="cell_1" style="left:699px; top:34px; width:100px; height:23px; text-align:left; vertical-align:middle; ">목적지설명</caption>
- <button id="button8" class="btn2_letter3" style="left:351px; top:57px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_destlist.addItem(); // 입력할 행 추가.
- ]]>
- </script>
- </button>
- <button id="button1" class="btn2_letter3" style="left:1039px; top:88px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_eqlist.addItem(); // 입력할 행 추가.
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter3" style="left:1095px; top:88px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDeleteGrid(grd_eqlist);
- ]]>
- </script>
- </button>
- <input id="ipt_fstrgstrid" ref="/root/main/destitem/fstrgstrid" class="input_default" disabled="true" style="left:1060px; top:35px; width:130px; height:19px; "/>
- <caption id="caption2" class="cell_1" style="left:957px; top:34px; width:100px; height:23px; text-align:left; vertical-align:middle; ">최초등록자ID</caption>
- <caption id="caption4" class="cell_1" style="left:463px; top:58px; width:100px; height:23px; text-align:left; vertical-align:middle; ">최초등록일시</caption>
- <caption id="caption5" class="cell_1" style="left:957px; top:58px; width:100px; height:23px; text-align:left; vertical-align:middle; ">최종수정일시</caption>
- <input id="ipt_lastupdtrid" ref="/root/main/destitem/lastupdtrid" class="input_default" disabled="true" style="left:802px; top:59px; width:151px; height:19px; "/>
- <input id="ipt_fstrgstdt" ref="/root/main/destitem/fstrgstdt" class="input_default" disabled="true" format="yyyy-mm-dd hh:nn:ss" style="left:566px; top:59px; width:130px; height:19px; "/>
- <input id="ipt_lastupdtdt" ref="/root/main/destitem/lastupdtdt" class="input_default" disabled="true" format="yyyy-mm-dd hh:nn:ss" style="left:1060px; top:59px; width:130px; height:19px; "/>
- <caption id="caption7" class="cell_1" style="left:699px; top:58px; width:100px; height:23px; text-align:left; vertical-align:middle; ">최종수정자ID</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|