SPCVO03000_VOC홈페이지민원검색.xrw 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * Name : SPCVO03000_VOC홈페이지민원검색
  4. * Summary : 민원검색
  5. * Programmer : 황현석
  6. * Date Written : 2010.12.29
  7. * History :
  8. * Remark :
  9. -->
  10. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  11. <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">
  12. <xhtml:head>
  13. <xhtml:title>홈페이지 민원검색</xhtml:title>
  14. <model id="model1">
  15. <instance id="instance1">
  16. <root xmlns="">
  17. <main>
  18. <list>
  19. <vocdatalist>
  20. <acptdd/>
  21. <clntnm/>
  22. <resdnrgstno1/>
  23. <acpttype/>
  24. <acpttitl/>
  25. <acptcnts/>
  26. <replcnts/>
  27. <stateflag/>
  28. <deptnm/>
  29. <etctelno/>
  30. <emailaddr/>
  31. <hmpgsqno/>
  32. <acptseq/>
  33. <hmpgid/>
  34. </vocdatalist>
  35. </list>
  36. </main>
  37. <send>
  38. <data>
  39. <srchacptdd1/>
  40. <srchacptdd2/>
  41. <stateflag/>
  42. </data>
  43. </send>
  44. </root>
  45. </instance>
  46. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  47. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  48. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  49. <script type="javascript" ev:event="xforms-ready">
  50. <![CDATA[
  51. // 시작 화면에 오늘 날짜 & 1달 전 보여주기
  52. model.setValue("/root/send/data/srchacptdd1", getCurrentDate().toDate().getAddDate(-1,"M").getDateFormat());
  53. model.setValue("/root/send/data/srchacptdd2", getCurrentDate());
  54. model.setValue("/root/send/data/stateflag", "A");
  55. model.removeNodeset("/root/main/list/vocdatalist");
  56. submit("TRCVO03001");
  57. model.refresh();
  58. ]]>
  59. </script>
  60. <submission id="TRCVO03001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data" resultref="/root/main/list/vocdatalist"/>
  61. </model>
  62. </xhtml:head>
  63. <xhtml:body pagewidth="1150" pageheight="650" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  64. <group id="grp_Condition" scroll="auto" style="left:0px; top:0px; width:1100px; height:600px; ">
  65. <group id="group2" style="left:0px; top:0px; width:1100px; height:35px; vertical-align:top; ">
  66. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:200px; top:0px; width:900px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  67. <caption id="caption1" class="search_name" style="left:220px; top:9px; width:117px; height:17px; ">접수기간</caption>
  68. <line id="line1" style="x1:1018px; y1:7px; x2:1018px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  69. <button id="btn_search" class="btn1_letter2" style="left:1033px; top:7px; width:56px; height:22px; ">
  70. <caption>조회</caption>
  71. <script type="javascript" ev:event="DOMActivate">
  72. <![CDATA[
  73. var srchacptdd1 = model.getValue("/root/send/data/srchacptdd1");
  74. var srchacptdd2 = model.getValue("/root/send/data/srchacptdd2");
  75. if ((srchacptdd1 == "") && (srchacptdd2 == "")){
  76. messageBox("접수기간은 ", "I003");
  77. model.setFocus("ipt_srchacptdd1");
  78. } else {
  79. submit("TRCVO03001");
  80. model.refresh();
  81. }
  82. ]]>
  83. </script>
  84. </button>
  85. <input id="ipt_srchacptdd2" ref="/root/send/data/srchacptdd2" class="input_s_essential" inputtype="date" style="left:473px; top:8px; width:122px; height:19px; ">
  86. <script type="javascript" ev:event="onkeyup">
  87. <![CDATA[
  88. inputEnterKey("btn_search", "DOMActivate");
  89. ]]>
  90. </script>
  91. </input>
  92. <input id="ipt_srchacptdd1" ref="/root/send/data/srchacptdd1" class="input_s_essential" inputtype="date" appearance="minimal" style="left:318px; top:8px; width:130px; height:19px; "/>
  93. <caption id="caption2" style="left:455px; top:8px; width:15px; height:20px; ">~</caption>
  94. <caption id="caption3" class="search_name" style="left:615px; top:9px; width:100px; height:17px; ">진행상태</caption>
  95. <select1 id="combo1" ref="/root/send/data/stateflag" appearance="minimal" style="left:700px; top:8px; width:140px; height:19px; ">
  96. <choices>
  97. <item>
  98. <label>전체</label>
  99. <value/>
  100. </item>
  101. <item>
  102. <label>미접수</label>
  103. <value>A</value>
  104. </item>
  105. <item>
  106. <label>접수</label>
  107. <value>B</value>
  108. </item>
  109. <item>
  110. <label>처리완료</label>
  111. <value>C</value>
  112. </item>
  113. </choices>
  114. </select1>
  115. </group>
  116. <caption id="caption9" class="tit_2" style="left:5px; top:40px; width:111px; height:14px; vertical-align:middle; ">부서 조회</caption>
  117. <line id="line12" class="line_1" style="x1:0px; y1:55px; x2:1100px; y2:55px; "/>
  118. <datagrid id="grd_deptlist" nodeset="/root/main/list/vocdatalist" allowselection="false" autoresize="true" caption="Seq^접수일자^민원인성명^주민등록번호^민원종류^민원제목^민원내용^회신내용^상태구분^접수부서^전화번호^E-mail^홈페이지ID" colwidth="50, 100, 90, 90, 90, 200, 300, 300, 100, 100, 100, 150, 90, 0" defaultrows="0" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" style="left:0px; top:60px; width:1100px; height:513px; ">
  119. <col ref="hmpgsqno"/>
  120. <col ref="acptdd"/>
  121. <col ref="clntnm"/>
  122. <col ref="resdnrgstno1"/>
  123. <col ref="acpttype"/>
  124. <col ref="acpttitl"/>
  125. <col ref="acptcnts"/>
  126. <col ref="replcnts"/>
  127. <col ref="stateflag"/>
  128. <col ref="deptnm"/>
  129. <col ref="etctelno"/>
  130. <col ref="emailaddr"/>
  131. <col ref="hmpgid"/>
  132. <col ref="acptseq" visibility="visible"/>
  133. <script type="javascript" ev:event="ondblclick">
  134. <![CDATA[
  135. var clntnm_path = opener.window.javascript.getParameter("clntnm");
  136. var resdnrgstno1_path = opener.window.javascript.getParameter("resdnrgstno1");
  137. var mpphonno_path = opener.window.javascript.getParameter("mpphonno");
  138. var emailaddr_path = opener.window.javascript.getParameter("emailaddr");
  139. var acpviewdd_path = opener.window.javascript.getParameter("acpviewdd");
  140. var acpttitl_path = opener.window.javascript.getParameter("acpttitl");
  141. var acptcnts_path = opener.window.javascript.getParameter("acptcnts");
  142. var hmpgsqno_path = opener.window.javascript.getParameter("hmpgsqno");
  143. var row = grd_deptlist.row;
  144. var clntnm = grd_deptlist.valueMatrix(row, grd_deptlist.colRef("clntnm"));
  145. var resdnrgstno1 = grd_deptlist.valueMatrix(row, grd_deptlist.colRef("resdnrgstno1"));
  146. var etctelno = grd_deptlist.valueMatrix(row, grd_deptlist.colRef("etctelno"));
  147. var emailaddr = grd_deptlist.valueMatrix(row, grd_deptlist.colRef("emailaddr"));
  148. var acptdd = grd_deptlist.valueMatrix(row, grd_deptlist.colRef("acptdd"));
  149. var acpttitl = grd_deptlist.valueMatrix(row, grd_deptlist.colRef("acpttitl"));
  150. var acptcnts = grd_deptlist.valueMatrix(row, grd_deptlist.colRef("acptcnts"));
  151. var hmpgsqno = grd_deptlist.valueMatrix(row, grd_deptlist.colRef("hmpgsqno"));
  152. if ((grd_deptlist.row > 0) && grd_deptlist.isCell(event.target)){
  153. opener.model.setValue(clntnm_path, clntnm);
  154. opener.model.setValue(resdnrgstno1_path, resdnrgstno1);
  155. opener.model.setValue(mpphonno_path, etctelno);
  156. opener.model.setValue(emailaddr_path, emailaddr);
  157. opener.model.setValue(acpviewdd_path, acptdd);
  158. opener.model.setValue(acpttitl_path, acpttitl);
  159. opener.model.setValue(acptcnts_path, acptcnts);
  160. opener.model.setValue(hmpgsqno_path, hmpgsqno);
  161. opener.model.refresh();
  162. window.close();
  163. }
  164. ]]>
  165. </script>
  166. </datagrid>
  167. </group>
  168. <group id="group5" scroll="auto" style="left:0px; top:573px; width:1100px; height:27px; ">
  169. <button id="button2" class="btn4_letter2" style="left:493px; top:5px; width:56px; height:22px; ">
  170. <caption>확인</caption>
  171. <script type="javascript" ev:event="DOMActivate">
  172. <![CDATA[
  173. var clntnm_path = opener.window.javascript.getParameter("clntnm");
  174. var resdnrgstno1_path = opener.window.javascript.getParameter("resdnrgstno1");
  175. var mpphonno_path = opener.window.javascript.getParameter("mpphonno");
  176. var emailaddr_path = opener.window.javascript.getParameter("emailaddr");
  177. var acpviewdd_path = opener.window.javascript.getParameter("acpviewdd");
  178. var acpttitl_path = opener.window.javascript.getParameter("acpttitl");
  179. var acptcnts_path = opener.window.javascript.getParameter("acptcnts");
  180. var hmpgsqno_path = opener.window.javascript.getParameter("hmpgsqno");
  181. var row = grd_deptlist.row;
  182. var clntnm = grd_deptlist.valueMatrix(row, grd_deptlist.colRef("clntnm"));
  183. var resdnrgstno1 = grd_deptlist.valueMatrix(row, grd_deptlist.colRef("resdnrgstno1"));
  184. var etctelno = grd_deptlist.valueMatrix(row, grd_deptlist.colRef("etctelno"));
  185. var emailaddr = grd_deptlist.valueMatrix(row, grd_deptlist.colRef("emailaddr"));
  186. var acptdd = grd_deptlist.valueMatrix(row, grd_deptlist.colRef("acptdd"));
  187. var acpttitl = grd_deptlist.valueMatrix(row, grd_deptlist.colRef("acpttitl"));
  188. var acptcnts = grd_deptlist.valueMatrix(row, grd_deptlist.colRef("acptcnts"));
  189. var hmpgsqno = grd_deptlist.valueMatrix(row, grd_deptlist.colRef("hmpgsqno"));
  190. if ((grd_deptlist.row > 0) && grd_deptlist.isCell(event.target)){
  191. opener.model.setValue(clntnm_path, clntnm);
  192. opener.model.setValue(resdnrgstno1_path, resdnrgstno1);
  193. opener.model.setValue(mpphonno_path, etctelno);
  194. opener.model.setValue(emailaddr_path, emailaddr);
  195. opener.model.setValue(acpviewdd_path, acptdd);
  196. opener.model.setValue(acpttitl_path, acpttitl);
  197. opener.model.setValue(acptcnts_path, acptcnts);
  198. opener.model.setValue(hmpgsqno_path, hmpgsqno);
  199. opener.model.refresh();
  200. window.close();
  201. }
  202. ]]>
  203. </script>
  204. </button>
  205. <button id="button3" class="btn4_letter2" style="left:552px; top:5px; width:56px; height:22px; ">
  206. <caption>닫기</caption>
  207. <script type="javascript" ev:event="DOMActivate">
  208. <![CDATA[
  209. window.close();
  210. ]]>
  211. </script>
  212. </button>
  213. </group>
  214. </xhtml:body>
  215. </xhtml:html>