123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196 |
- <?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>봉사자확인서발급이력조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <cond>
- <flag/>
- <fromdd/>
- <todd/>
- </cond>
- <cnfmreptref>
- <cnfmreptreflist>
- <voluntrflag/>
- <voluntrnm/>
- <baptnm/>
- <brthdd/>
- <issdd/>
- <issseqno/>
- <isspsn/>
- <reisstims/>
- </cnfmreptreflist>
- </cnfmreptref>
- <report>
- <usernm/>
- </report>
- </main>
- <init>
- <voluntrflag/>
- </init>
- <send>
- <reqdata/>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit();
- ]]>
- </script>
- <submission id="TRZBC00101" method="post" mediatype="application/x-www-form-urlencoded"/>
- <submission id="TRAAA01801" ref="/root/send/reqdata" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main/cnfmreptref"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.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>
- <script type="javascript">
- <![CDATA[
- //초기화
- function fInit()
- {
- model.removeNodeset("/root/main/cnfmreptref/cnfmreptreflist");
- //조회기간 세팅(월의 첫날짜와 마지막 날짜)
- var sDate = getNewDate();
- var CurrentDate = getCurrentDate();
-
- var usernm = getUserInfo("usernm"); //담당자.
- model.setValue("/root/main/report/usernm", usernm);
-
- lastDate = sDate.getFullYear();
- lastDate = lastDate.toString() + (( sDate.getMonth() + 1 > 9 ) ? sDate.getMonth() + 1 : "0" + (sDate.getMonth() + 1));
- lastDate = lastDate.toString() + sDate.getMonthDay();
-
- model.setValue("/root/main/cond/fromdd", CurrentDate.substr(0,6)+"01");
- model.setValue("/root/main/cond/todd", lastDate);
-
- addComboItem("rdo_voluntrflag", "전체", "%", "above");
- zbcfGetCodeList( new Array("A0510"), new Array("/root/init/voluntrflag"), true);
- model.setValue("/root/main/cond/flag", "%");
-
- model.refresh();
- }
-
- //초기화버튼 클릭시
- function fReset(){
- var btn = messageBox("초기화를 ", "Q004");
-
- if (btn == '6') {
- model.removeNodeset("/root/main/cnfmreptref/cnfmreptreflist");
- var sDate = getNewDate();
- var CurrentDate = getCurrentDate();
-
- lastDate = sDate.getFullYear();
- lastDate = lastDate.toString() + (( sDate.getMonth() + 1 > 9 ) ? sDate.getMonth() + 1 : "0" + (sDate.getMonth() + 1));
- lastDate = lastDate.toString() + sDate.getMonthDay();
-
- model.setValue("/root/main/cond/fromdd", CurrentDate.substr(0,6)+"01");
- model.setValue("/root/main/cond/todd", lastDate);
- model.setValue("/root/main/cond/flag", "%");
- model.refresh();
- } else if (btn == '7') {
- return;
- }
- }//fReset END
-
- //조회버튼클릭시
- function fCnfmReptRefList() {
- if (model.getValue("/root/main/cond/fromdd") == "" ) {
- messageBox("발급기간은 ","I003");
- model.setFocus("ipt_fromdd");
- return false;
- }
- if (model.getValue("/root/main/cond/fromdd").length != 8 ) {
- messageBox("올바른 발급기간 항목을","C001");
- model.setFocus("ipt_fromdd");
- return false;
- }
- if (model.getValue("/root/main/cond/todd") == "" ) {
- messageBox("발급기간은 ","I003");
- model.setFocus("ipt_todd");
- return false;
- }
- if (model.getValue("/root/main/cond/todd").length != 8 ) {
- messageBox("올바른 발급기간 항목을","C001");
- model.setFocus("ipt_todd");
- return false;
- }
- if (model.getValue("/root/main/cond/fromdd") > model.getValue("/root/main/cond/todd")) {
- messageBox("올바른 발급기간을","C001");
- model.setFocus("ipt_fromdd");
- return false;
- }
- model.removenode("/root/send/reqdata");
- model.makeNode("/root/send/reqdata");
- model.copyNode("/root/send/reqdata", "/root/main/cond");
- submit("TRAAA01801");
-
- model.refresh();
- }
- ]]>
- </script>
- <xhtml:body guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:184px; height:14px; ">확인서 발급이력 조회</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:58px; width:215px; height:13px; ">봉사자확인서 발급이력조회</caption>
- <line id="line12" class="line_1" style="x1:0px; y1:72px; x2:1194px; y2:72px; "/>
- <group id="group1" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="button6" class="btn1_letter2" style="left:1122px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fCnfmReptRefList();
- ]]>
- </script>
- </button>
- <caption id="cap_fromdd" class="search_name" style="left:15px; top:9px; width:110px; height:17px; ">확인서구분 :</caption>
- <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
- <select1 id="rdo_voluntrflag" ref="/root/main/cond/flag" overflow="visible" appearance="full" cols="4" cellspacing="15" style="left:124px; top:10px; width:356px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/voluntrflag/A0510">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption2" class="search_name" style="left:570px; top:10px; width:95px; height:17px; ">발급기간 :</caption>
- <input id="ipt_fromdd" ref="/root/main/cond/fromdd" class="input_search" inputtype="date" style="left:663px; top:10px; width:90px; height:19px; "/>
- <input id="ipt_todd" ref="/root/main/cond/todd" class="input_search" inputtype="date" style="left:781px; top:10px; width:90px; height:19px; "/>
- <caption id="cap_middle" style="left:766px; top:10px; width:16px; height:19px; ">~</caption>
- </group>
- <datagrid id="grd_studvoluntrlist" nodeset="/root/main/cnfmreptref/cnfmreptreflist" autoresize="true" caption="확인서구분^봉사자명^세례명^생년월일^발행일자^발행번호^발행자^재발행수" colwidth="130, 130, 130, 180, 180, 180, 130, 130" dataheight="25" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" colsep="^" style="left:0px; top:76px; width:1194px; height:665px; ">
- <col ref="voluntrflag" style="text-align:left; "/>
- <col ref="voluntrnm" style="text-align:left; "/>
- <col ref="baptnm" style="text-align:left; "/>
- <col ref="brthdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="issdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="issseqno" style="text-align:center; "/>
- <col ref="isspsn" style="text-align:center; "/>
- <col ref="reisstims" style="text-align:center; "/>
- </datagrid>
- </group>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="button10" class="btn4_letter3" style="left:1126px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fReset();
- ]]>
- </script>
- </button>
- <line id="line16" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- <line id="line37" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|