123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247 |
- <?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">
- <script type="javascript">
- <![CDATA[
-
- function fInitialize()
- {
- model.removeNodeset("/root/main/list");
- model.makeNode("/root/main/list");
- submit('TRPMC00907');
- submit('TRPMC04901');
- model.copyNode("/root/main/list/grdcourtlist[3]", "/root/init/courtlist/court[3]");
- model.refresh();
- }
-
-
- ]]>
- </script>
- <xhtml:head>
- <xhtml:title>법원리스트 관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <send>
- <data1>
- <courtcd/>
- <courttel/>
- </data1>
- <data2>
- <nm/>
- <cd/>
- <tel/>
- </data2>
- </send>
- <main>
- <list>
- <grdcourtlist>
- <cd/>
- <nm/>
- <tel/>
- </grdcourtlist>
- </list>
- </main>
- <hidden>
- <init>
- <disccd>
- <cd/>
- <nm/>
- </disccd>
- <insukind>
- <cd/>
- <nm/>
- </insukind>
- <suppkind>
- <cd/>
- <nm/>
- <up/>
- <io/>
- </suppkind>
- <orddeptcd>
- <cd/>
- <nm/>
- </orddeptcd>
- <orddrid>
- <cd/>
- <nm/>
- <dp/>
- <sp/>
- </orddrid>
- <wardcd>
- <cd/>
- <nm/>
- <of/>
- </wardcd>
- <roomcd>
- <cd/>
- <nm/>
- <wd/>
- <gr/>
- <ty/>
- </roomcd>
- <flag>
- <prestdd/>
- <mskindflag/>
- </flag>
- </init>
- </hidden>
- <init>
- <courtlist>
- <court>
- <nm/>
- <cd/>
- <tel/>
- </court>
- </courtlist>
- </init>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init"/>
- <submission id="TRPMI00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" replace="instance" resultref="/root/hidden/init"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize(); // 기본데이터 초기화
-
- ]]>
- </script>
- <submission id="TRPMC00907" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init/courtlist"/>
- <submission id="TRPMC04901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" resultref="/root/main/list"/>
- <submission id="TXPMC04901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" resultref="/root/main/list"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="610" pageheight="581" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:580px; height:580px; ">
- <group id="group2" style="left:0px; top:10px; width:580px; height:35px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:579px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption32" class="search_name" style="left:15px; top:9px; width:90px; height:17px; ">법원명 :</caption>
- <button id="btn_srch" class="btn1_letter2" style="left:521px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 법원보관금 청구현황 조회
- if(submit("TRPMC04901")) {
-
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <line id="line1" class="line_4" style="x1:506px; y1:5px; x2:506px; y2:27px; border-color:#ffcc99; border-style:solid; "/>
- <caption id="caption1" class="search_name" visibility="hidden" style="left:258px; top:9px; width:91px; height:17px; ">전화번호 :</caption>
- <select1 id="combo1" ref="/root/send/data1/courttel" visibility="hidden" appearance="minimal" style="left:353px; top:8px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/courtlist/court">
- <label ref="tel"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo2" ref="/root/send/data1/courtcd" appearance="minimal" style="left:93px; top:8px; width:132px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/courtlist/court">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <caption id="caption2" class="tit_2" style="left:5px; top:105px; width:170px; height:13px; font-family:돋움; vertical-align:middle; ">법원보관금 청구현황</caption>
- <line id="line4" class="line_1" style="x1:0px; y1:120px; x2:580px; y2:120px; "/>
- <button id="button3" class="btn5_letter2" style="left:447px; top:50px; width:42px; height:19px; ">
- <caption>입력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var message = messageBox("데이터를 ", "Q002");
-
- model.makeNode("/root/send/data2/flag");
- model.setValue("/root/send/data2/flag", "I");
- if(message == 6){
- submit("TXPMC04901");
- }
-
- model.refresh();
- ]]>
- </script>
- </button>
- <group id="group3" style="left:0px; top:550px; width:580 px; height:30px; ">
- <button id="button2" class="btn4_letter2" style="left:520px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:580px; y2:0px; "/>
- </group>
- <line id="line2" class="line_1" style="x1:0px; y1:70px; x2:580px; y2:70px; "/>
- <caption id="caption3" class="tit_2" style="left:5px; top:55px; width:170px; height:14px; font-family:돋움; vertical-align:middle; ">법원내역수정</caption>
- <line id="line3" class="line_3" style="x1:0px; y1:95px; x2:580px; y2:95px; "/>
- <caption id="caption5" class="cell_1" style="left:0px; top:75px; width:75px; height:20px; text-align:center; ">법원코드</caption>
- <input id="input2" ref="/root/send/data2/cd" maxlength="3" style="left:77px; top:75px; width:90px; height:19px; "/>
- <caption id="caption6" class="cell_1" style="left:170px; top:75px; width:75px; height:20px; text-align:center; ">법원명</caption>
- <input id="input3" ref="/root/send/data2/nm" maxlength="30" style="left:248px; top:75px; width:150px; height:19px; "/>
- <caption id="caption7" class="cell_1" style="left:402px; top:75px; width:75px; height:20px; text-align:center; ">전화번호</caption>
- <input id="input4" ref="/root/send/data2/tel" maxlength="15" style="left:480px; top:75px; width:100px; height:19px; "/>
- <button id="button1" class="btn5_letter2" style="left:492px; top:50px; width:42px; height:19px; ">
- <caption>수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var message = messageBox("데이터 수정을 ", "Q004");
-
- model.makeNode("/root/send/data2/flag");
- model.setValue("/root/send/data2/flag", "U");
-
- if(message == 6){
- submit("TXPMC04901");
- }
- ]]>
- </script>
- </button>
- <button id="button4" class="btn5_letter2" style="left:537px; top:50px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var message = messageBox("데이터를 ", "Q001");
-
- model.makeNode("/root/send/data2/flag");
- model.setValue("/root/send/data2/flag", "D");
-
- if(message == 6){
-
- submit("TXPMC04901");
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_court" nodeset="/root/main/list/grdcourtlist" caption="법원코드^법원명^전화번호" colsep="^" colwidth="139, 231, 169" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:125px; width:580px; height:413px; ">
- <col ref="cd" style="text-align:center; "/>
- <col ref="nm" style="text-align:left; "/>
- <col ref="tel" style="text-align:right; "/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var cur_row = grd_court.row;
-
- if(cur_row > 0){
-
- model.copyNode("/root/send/data2", "/root/main/list/grdcourtlist[" +cur_row+ "]");
- }
-
- model.refresh();
-
- ]]>
- </script>
- </datagrid>
- </group>
- </xhtml:body>
- </xhtml:html>
|