SPPMC04900_법원리스트관리.xrw 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <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">
  4. <script type="javascript">
  5. <![CDATA[
  6. function fInitialize()
  7. {
  8. model.removeNodeset("/root/main/list");
  9. model.makeNode("/root/main/list");
  10. submit('TRPMC00907');
  11. submit('TRPMC04901');
  12. model.copyNode("/root/main/list/grdcourtlist[3]", "/root/init/courtlist/court[3]");
  13. model.refresh();
  14. }
  15. ]]>
  16. </script>
  17. <xhtml:head>
  18. <xhtml:title>법원리스트 관리</xhtml:title>
  19. <model id="model1">
  20. <instance id="instance1">
  21. <root xmlns="">
  22. <send>
  23. <data1>
  24. <courtcd/>
  25. <courttel/>
  26. </data1>
  27. <data2>
  28. <nm/>
  29. <cd/>
  30. <tel/>
  31. </data2>
  32. </send>
  33. <main>
  34. <list>
  35. <grdcourtlist>
  36. <cd/>
  37. <nm/>
  38. <tel/>
  39. </grdcourtlist>
  40. </list>
  41. </main>
  42. <hidden>
  43. <init>
  44. <disccd>
  45. <cd/>
  46. <nm/>
  47. </disccd>
  48. <insukind>
  49. <cd/>
  50. <nm/>
  51. </insukind>
  52. <suppkind>
  53. <cd/>
  54. <nm/>
  55. <up/>
  56. <io/>
  57. </suppkind>
  58. <orddeptcd>
  59. <cd/>
  60. <nm/>
  61. </orddeptcd>
  62. <orddrid>
  63. <cd/>
  64. <nm/>
  65. <dp/>
  66. <sp/>
  67. </orddrid>
  68. <wardcd>
  69. <cd/>
  70. <nm/>
  71. <of/>
  72. </wardcd>
  73. <roomcd>
  74. <cd/>
  75. <nm/>
  76. <wd/>
  77. <gr/>
  78. <ty/>
  79. </roomcd>
  80. <flag>
  81. <prestdd/>
  82. <mskindflag/>
  83. </flag>
  84. </init>
  85. </hidden>
  86. <init>
  87. <courtlist>
  88. <court>
  89. <nm/>
  90. <cd/>
  91. <tel/>
  92. </court>
  93. </courtlist>
  94. </init>
  95. </root>
  96. </instance>
  97. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init"/>
  98. <submission id="TRPMI00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" replace="instance" resultref="/root/hidden/init"/>
  99. <script type="javascript" ev:event="xforms-ready">
  100. <![CDATA[
  101. fInitialize(); // 기본데이터 초기화
  102. ]]>
  103. </script>
  104. <submission id="TRPMC00907" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init/courtlist"/>
  105. <submission id="TRPMC04901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" resultref="/root/main/list"/>
  106. <submission id="TXPMC04901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" resultref="/root/main/list"/>
  107. </model>
  108. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  109. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  110. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  111. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  112. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  113. </xhtml:head>
  114. <xhtml:body pagewidth="610" pageheight="581" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  115. <group id="group1" style="left:0px; top:0px; width:580px; height:580px; ">
  116. <group id="group2" style="left:0px; top:10px; width:580px; height:35px; ">
  117. <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; "/>
  118. <caption id="caption32" class="search_name" style="left:15px; top:9px; width:90px; height:17px; ">법원명 :</caption>
  119. <button id="btn_srch" class="btn1_letter2" style="left:521px; top:7px; width:56px; height:22px; ">
  120. <caption>조회</caption>
  121. <script type="javascript" ev:event="DOMActivate">
  122. <![CDATA[
  123. // 법원보관금 청구현황 조회
  124. if(submit("TRPMC04901")) {
  125. model.refresh();
  126. }
  127. ]]>
  128. </script>
  129. </button>
  130. <line id="line1" class="line_4" style="x1:506px; y1:5px; x2:506px; y2:27px; border-color:#ffcc99; border-style:solid; "/>
  131. <caption id="caption1" class="search_name" visibility="hidden" style="left:258px; top:9px; width:91px; height:17px; ">전화번호 :</caption>
  132. <select1 id="combo1" ref="/root/send/data1/courttel" visibility="hidden" appearance="minimal" style="left:353px; top:8px; width:110px; height:19px; ">
  133. <choices>
  134. <itemset nodeset="/root/init/courtlist/court">
  135. <label ref="tel"/>
  136. <value ref="cd"/>
  137. </itemset>
  138. </choices>
  139. </select1>
  140. <select1 id="combo2" ref="/root/send/data1/courtcd" appearance="minimal" style="left:93px; top:8px; width:132px; height:19px; ">
  141. <choices>
  142. <itemset nodeset="/root/init/courtlist/court">
  143. <label ref="nm"/>
  144. <value ref="cd"/>
  145. </itemset>
  146. </choices>
  147. </select1>
  148. </group>
  149. <caption id="caption2" class="tit_2" style="left:5px; top:105px; width:170px; height:13px; font-family:돋움; vertical-align:middle; ">법원보관금 청구현황</caption>
  150. <line id="line4" class="line_1" style="x1:0px; y1:120px; x2:580px; y2:120px; "/>
  151. <button id="button3" class="btn5_letter2" style="left:447px; top:50px; width:42px; height:19px; ">
  152. <caption>입력</caption>
  153. <script type="javascript" ev:event="DOMActivate">
  154. <![CDATA[
  155. var message = messageBox("데이터를 ", "Q002");
  156. model.makeNode("/root/send/data2/flag");
  157. model.setValue("/root/send/data2/flag", "I");
  158. if(message == 6){
  159. submit("TXPMC04901");
  160. }
  161. model.refresh();
  162. ]]>
  163. </script>
  164. </button>
  165. <group id="group3" style="left:0px; top:550px; width:580 px; height:30px; ">
  166. <button id="button2" class="btn4_letter2" style="left:520px; top:5px; width:56px; height:22px; ">
  167. <caption>닫기</caption>
  168. <script type="javascript" ev:event="DOMActivate">
  169. <![CDATA[
  170. window.close();
  171. ]]>
  172. </script>
  173. </button>
  174. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:580px; y2:0px; "/>
  175. </group>
  176. <line id="line2" class="line_1" style="x1:0px; y1:70px; x2:580px; y2:70px; "/>
  177. <caption id="caption3" class="tit_2" style="left:5px; top:55px; width:170px; height:14px; font-family:돋움; vertical-align:middle; ">법원내역수정</caption>
  178. <line id="line3" class="line_3" style="x1:0px; y1:95px; x2:580px; y2:95px; "/>
  179. <caption id="caption5" class="cell_1" style="left:0px; top:75px; width:75px; height:20px; text-align:center; ">법원코드</caption>
  180. <input id="input2" ref="/root/send/data2/cd" maxlength="3" style="left:77px; top:75px; width:90px; height:19px; "/>
  181. <caption id="caption6" class="cell_1" style="left:170px; top:75px; width:75px; height:20px; text-align:center; ">법원명</caption>
  182. <input id="input3" ref="/root/send/data2/nm" maxlength="30" style="left:248px; top:75px; width:150px; height:19px; "/>
  183. <caption id="caption7" class="cell_1" style="left:402px; top:75px; width:75px; height:20px; text-align:center; ">전화번호</caption>
  184. <input id="input4" ref="/root/send/data2/tel" maxlength="15" style="left:480px; top:75px; width:100px; height:19px; "/>
  185. <button id="button1" class="btn5_letter2" style="left:492px; top:50px; width:42px; height:19px; ">
  186. <caption>수정</caption>
  187. <script type="javascript" ev:event="DOMActivate">
  188. <![CDATA[
  189. var message = messageBox("데이터 수정을 ", "Q004");
  190. model.makeNode("/root/send/data2/flag");
  191. model.setValue("/root/send/data2/flag", "U");
  192. if(message == 6){
  193. submit("TXPMC04901");
  194. }
  195. ]]>
  196. </script>
  197. </button>
  198. <button id="button4" class="btn5_letter2" style="left:537px; top:50px; width:42px; height:19px; ">
  199. <caption>삭제</caption>
  200. <script type="javascript" ev:event="DOMActivate">
  201. <![CDATA[
  202. var message = messageBox("데이터를 ", "Q001");
  203. model.makeNode("/root/send/data2/flag");
  204. model.setValue("/root/send/data2/flag", "D");
  205. if(message == 6){
  206. submit("TXPMC04901");
  207. }
  208. ]]>
  209. </script>
  210. </button>
  211. <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; ">
  212. <col ref="cd" style="text-align:center; "/>
  213. <col ref="nm" style="text-align:left; "/>
  214. <col ref="tel" style="text-align:right; "/>
  215. <script type="javascript" ev:event="onclick">
  216. <![CDATA[
  217. var cur_row = grd_court.row;
  218. if(cur_row > 0){
  219. model.copyNode("/root/send/data2", "/root/main/list/grdcourtlist[" +cur_row+ "]");
  220. }
  221. model.refresh();
  222. ]]>
  223. </script>
  224. </datagrid>
  225. </group>
  226. </xhtml:body>
  227. </xhtml:html>