123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * Name : SPCVO03000_VOC홈페이지민원검색
- * Summary : 민원검색
- * Programmer : 황현석
- * Date Written : 2010.12.29
- * History :
- * Remark :
- -->
- <?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">
- <xhtml:head>
- <xhtml:title>홈페이지 민원검색</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <vocdatalist>
- <acptdd/>
- <clntnm/>
- <resdnrgstno1/>
- <acpttype/>
- <acpttitl/>
- <acptcnts/>
- <replcnts/>
- <stateflag/>
- <deptnm/>
- <etctelno/>
- <emailaddr/>
- <hmpgsqno/>
- <acptseq/>
- <hmpgid/>
- </vocdatalist>
- </list>
- </main>
- <send>
- <data>
- <srchacptdd1/>
- <srchacptdd2/>
- <stateflag/>
- </data>
- </send>
- </root>
- </instance>
- <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" ev:event="xforms-ready">
- <![CDATA[
- // 시작 화면에 오늘 날짜 & 1달 전 보여주기
- model.setValue("/root/send/data/srchacptdd1", getCurrentDate().toDate().getAddDate(-1,"M").getDateFormat());
- model.setValue("/root/send/data/srchacptdd2", getCurrentDate());
-
- model.setValue("/root/send/data/stateflag", "A");
-
- model.removeNodeset("/root/main/list/vocdatalist");
-
- submit("TRCVO03001");
-
- model.refresh();
-
- ]]>
- </script>
- <submission id="TRCVO03001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data" resultref="/root/main/list/vocdatalist"/>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="1150" pageheight="650" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="grp_Condition" scroll="auto" style="left:0px; top:0px; width:1100px; height:600px; ">
- <group id="group2" style="left:0px; top:0px; width:1100px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:200px; top:0px; width:900px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption1" class="search_name" style="left:220px; top:9px; width:117px; height:17px; ">접수기간</caption>
- <line id="line1" style="x1:1018px; y1:7px; x2:1018px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1033px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var srchacptdd1 = model.getValue("/root/send/data/srchacptdd1");
- var srchacptdd2 = model.getValue("/root/send/data/srchacptdd2");
-
- if ((srchacptdd1 == "") && (srchacptdd2 == "")){
- messageBox("접수기간은 ", "I003");
- model.setFocus("ipt_srchacptdd1");
- } else {
-
- submit("TRCVO03001");
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <input id="ipt_srchacptdd2" ref="/root/send/data/srchacptdd2" class="input_s_essential" inputtype="date" style="left:473px; top:8px; width:122px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <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; "/>
- <caption id="caption2" style="left:455px; top:8px; width:15px; height:20px; ">~</caption>
- <caption id="caption3" class="search_name" style="left:615px; top:9px; width:100px; height:17px; ">진행상태</caption>
- <select1 id="combo1" ref="/root/send/data/stateflag" appearance="minimal" style="left:700px; top:8px; width:140px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>미접수</label>
- <value>A</value>
- </item>
- <item>
- <label>접수</label>
- <value>B</value>
- </item>
- <item>
- <label>처리완료</label>
- <value>C</value>
- </item>
- </choices>
- </select1>
- </group>
- <caption id="caption9" class="tit_2" style="left:5px; top:40px; width:111px; height:14px; vertical-align:middle; ">부서 조회</caption>
- <line id="line12" class="line_1" style="x1:0px; y1:55px; x2:1100px; y2:55px; "/>
- <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; ">
- <col ref="hmpgsqno"/>
- <col ref="acptdd"/>
- <col ref="clntnm"/>
- <col ref="resdnrgstno1"/>
- <col ref="acpttype"/>
- <col ref="acpttitl"/>
- <col ref="acptcnts"/>
- <col ref="replcnts"/>
- <col ref="stateflag"/>
- <col ref="deptnm"/>
- <col ref="etctelno"/>
- <col ref="emailaddr"/>
- <col ref="hmpgid"/>
- <col ref="acptseq" visibility="visible"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var clntnm_path = opener.window.javascript.getParameter("clntnm");
- var resdnrgstno1_path = opener.window.javascript.getParameter("resdnrgstno1");
- var mpphonno_path = opener.window.javascript.getParameter("mpphonno");
- var emailaddr_path = opener.window.javascript.getParameter("emailaddr");
- var acpviewdd_path = opener.window.javascript.getParameter("acpviewdd");
- var acpttitl_path = opener.window.javascript.getParameter("acpttitl");
- var acptcnts_path = opener.window.javascript.getParameter("acptcnts");
- var hmpgsqno_path = opener.window.javascript.getParameter("hmpgsqno");
-
- var row = grd_deptlist.row;
- var clntnm = grd_deptlist.valueMatrix(row, grd_deptlist.colRef("clntnm"));
- var resdnrgstno1 = grd_deptlist.valueMatrix(row, grd_deptlist.colRef("resdnrgstno1"));
- var etctelno = grd_deptlist.valueMatrix(row, grd_deptlist.colRef("etctelno"));
- var emailaddr = grd_deptlist.valueMatrix(row, grd_deptlist.colRef("emailaddr"));
- var acptdd = grd_deptlist.valueMatrix(row, grd_deptlist.colRef("acptdd"));
- var acpttitl = grd_deptlist.valueMatrix(row, grd_deptlist.colRef("acpttitl"));
- var acptcnts = grd_deptlist.valueMatrix(row, grd_deptlist.colRef("acptcnts"));
- var hmpgsqno = grd_deptlist.valueMatrix(row, grd_deptlist.colRef("hmpgsqno"));
-
- if ((grd_deptlist.row > 0) && grd_deptlist.isCell(event.target)){
- opener.model.setValue(clntnm_path, clntnm);
- opener.model.setValue(resdnrgstno1_path, resdnrgstno1);
- opener.model.setValue(mpphonno_path, etctelno);
- opener.model.setValue(emailaddr_path, emailaddr);
- opener.model.setValue(acpviewdd_path, acptdd);
- opener.model.setValue(acpttitl_path, acpttitl);
- opener.model.setValue(acptcnts_path, acptcnts);
- opener.model.setValue(hmpgsqno_path, hmpgsqno);
- opener.model.refresh();
- window.close();
- }
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group5" scroll="auto" style="left:0px; top:573px; width:1100px; height:27px; ">
- <button id="button2" class="btn4_letter2" style="left:493px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var clntnm_path = opener.window.javascript.getParameter("clntnm");
- var resdnrgstno1_path = opener.window.javascript.getParameter("resdnrgstno1");
- var mpphonno_path = opener.window.javascript.getParameter("mpphonno");
- var emailaddr_path = opener.window.javascript.getParameter("emailaddr");
- var acpviewdd_path = opener.window.javascript.getParameter("acpviewdd");
- var acpttitl_path = opener.window.javascript.getParameter("acpttitl");
- var acptcnts_path = opener.window.javascript.getParameter("acptcnts");
- var hmpgsqno_path = opener.window.javascript.getParameter("hmpgsqno");
-
- var row = grd_deptlist.row;
- var clntnm = grd_deptlist.valueMatrix(row, grd_deptlist.colRef("clntnm"));
- var resdnrgstno1 = grd_deptlist.valueMatrix(row, grd_deptlist.colRef("resdnrgstno1"));
- var etctelno = grd_deptlist.valueMatrix(row, grd_deptlist.colRef("etctelno"));
- var emailaddr = grd_deptlist.valueMatrix(row, grd_deptlist.colRef("emailaddr"));
- var acptdd = grd_deptlist.valueMatrix(row, grd_deptlist.colRef("acptdd"));
- var acpttitl = grd_deptlist.valueMatrix(row, grd_deptlist.colRef("acpttitl"));
- var acptcnts = grd_deptlist.valueMatrix(row, grd_deptlist.colRef("acptcnts"));
- var hmpgsqno = grd_deptlist.valueMatrix(row, grd_deptlist.colRef("hmpgsqno"));
-
- if ((grd_deptlist.row > 0) && grd_deptlist.isCell(event.target)){
- opener.model.setValue(clntnm_path, clntnm);
- opener.model.setValue(resdnrgstno1_path, resdnrgstno1);
- opener.model.setValue(mpphonno_path, etctelno);
- opener.model.setValue(emailaddr_path, emailaddr);
- opener.model.setValue(acpviewdd_path, acptdd);
- opener.model.setValue(acpttitl_path, acpttitl);
- opener.model.setValue(acptcnts_path, acptcnts);
- opener.model.setValue(hmpgsqno_path, hmpgsqno);
- opener.model.refresh();
- window.close();
- }
- ]]>
- </script>
- </button>
- <button id="button3" class="btn4_letter2" style="left:552px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|