123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707 |
- <?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="">
- <send>
- <reqdata/>
- </send>
- <main>
- <search>
- <fromdd/>
- <todd/>
- <actdeptcd/>
- <voluntractdwcd>1</voluntractdwcd>
- <voluntractteamcd/>
- <actstatflag/>
- <joinflag/>
- <festivfromdd/>
- <festivtodd/>
- <smsrecvyn/>
- <servkind/>
- <actdivscd/>
- </search>
- <voluntrspec>
- <voluntrspecinfo>
- <chk/>
- <actdeptcd/>
- <actdeptdetlnm/>
- <voluntractdwcd/>
- <voluntractteamcd/>
- <voluntrnm/>
- <baptnm/>
- <festivdd/>
- <joinorgdd/>
- <quitorgdd/>
- <joinflag/>
- <actstatflag/>
- <email/>
- <mpphontel/>
- <addr/>
- <rrgstno/>
- <voluntrid/>
- <photo/>
- <smsrecvyn/>
- </voluntrspecinfo>
- </voluntrspec>
- <report/>
- <repopuplist/>
- <voluntrreport/>
- <cond>
- <title/>
- </cond>
- </main>
- <init>
- <comcd/>
- </init>
- <hidden>
- <init>
- <comcd/>
- <comcd1/>
- </init>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit();
-
- ]]>
- </script>
- <submission id="TRAAA01901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/voluntrspec"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZBC00105" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZBC00122" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZBP00102" mediatype="application/x-www-form-urlencoded" method="post"/>
- </model>
- </xhtml:head>
- <script src="../../../com/commonweb/js/common.js" type="javascript"/>
- <script src="../../../com/commonweb/js/utilHelper.js" type="javascript"/>
- <script src="../../../com/commonweb/js/tfHelper.js" type="javascript"/>
- <script src="../../../com/commonweb/js/stringHelper.js" type="javascript"/>
- <script src="../../../com/commonweb/js/dateHelper.js" type="javascript"/>
- <script src="../../../com/basiccodeweb/js/ZBC001.js" type="javascript"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript">
- <![CDATA[
- // 초기값
- function fInit()
- {
-
- var SMAAA01900_param=getScreenMenuParameter();
- if(SMAAA01900_param=='2'||SMAAA01900_param=='3')
- {
- button95.visible=false;
- button2.visible=false;
- }
-
- zbcfGetCodeList( new Array("A0359","A0360","A0503","A0524","A0361", "A0654"),
- new Array("/root/hidden/init/comcd","/root/hidden/init/comcd","/root/hidden/init/comcd","/root/hidden/init/comcd","/root/hidden/init/comcd",
- "/root/hidden/init/comcd"));
-
- zbcfGetCodeList( new Array("A0359","A0360","A0503","A0524","A0361"),
- new Array("/root/hidden/init/comcd1","/root/hidden/init/comcd1","/root/hidden/init/comcd1","/root/hidden/init/comcd1",
- "/root/hidden/init/comcd1"));
-
- zbcfGetKindCodeList(new Array("A0018"), new Array("A0507"),new Array("/root/hidden/init/comcd1"),true,new Array("dispseq"),new Array("asc"));
-
- addComboItem("cmb_actdeptcd","- 전 체 -","%","above");
- addComboItem("cmb_voluntractdwcd","- 전 체 -","%","above");
- addComboItem("cmb_voluntractteamcd","- 전 체 -","%","above");
- addComboItem("cmb_actstatflag","- 전 체 -","%","above");
- addComboItem("cmb_joinflag","- 전 체 -","%","above");
- addComboItem("cmb_servkind","- 전 체 -","%","above");
- addComboItem("cmb_actdivscd","- 전 체 -","%","above");
-
-
- cmb_servkind.select(0);
- cmb_actdeptcd.select(0);
- cmb_voluntractdwcd.select(0);
- cmb_voluntractteamcd.select(0);
- cmb_actstatflag.select(0);
- cmb_joinflag.select(0);
- cmb_smsrecvyn.select(0);
- cmb_actdivscd.select(0);
- var CurrentDate = getCurrentDate();
- var CurrentDatedd=CurrentDate.substr(0,6);
- model.makeValue("/root/main/search/fromdd","00010101");
- model.makeValue("/root/main/search/todd","99991231");
-
- grd_voluntrspecinfo.fixedcellcheckbox(0,1)=true; //체크박스 위에 전체 선택 하는 콤보 셋팅
-
-
- model.refresh();
-
- }
-
- function fVoluntrCondInfoReq() // 자원봉사자 명단 조회 함수
- {
- model.removeNodeset("/root/send/reqdata");
- model.makeNode("/root/send/reqdata");
- var fromdd=model.getValue("/root/main/search/festivfromdd");
- var todd=model.getValue("/root/main/search/festivtodd");
- var smsrecvyn=model.getValue("/root/main/search/smsrecvyn");
-
- if(fromdd==""&& todd=="")
- {
- model.makeValue("/root/send/reqdata/festivfromdd","");
- model.makeValue("/root/send/reqdata/festivtodd","");
- }
- if(fromdd==""&& todd!='')
- {
- model.makeValue("/root/send/reqdata/festivfromdd","0101");
- model.makeValue("/root/send/reqdata/festivtodd",model.getValue("/root/main/search/festivtodd"));
- }
- if(fromdd!=''&& todd=="")
- {
- model.makeValue("/root/send/reqdata/festivfromdd",model.getValue("/root/main/search/festivfromdd"));
- model.makeValue("/root/send/reqdata/festivtodd","1231");
- }
- if(fromdd!=''&& todd!='')
- {
- model.makeValue("/root/send/reqdata/festivfromdd",model.getValue("/root/main/search/festivfromdd"));
- model.makeValue("/root/send/reqdata/festivtodd",model.getValue("/root/main/search/festivtodd"));
- }
- model.makeValue("/root/send/reqdata/servkind",model.getValue("/root/main/search/servkind"));
- //alert(model.getValue("/root/main/search/smsrecvyn"));
- model.makeValue("/root/send/reqdata/smsrecvyn",model.getValue("/root/main/search/smsrecvyn"));
- model.makeValue("/root/send/reqdata/fromdd",model.getValue("/root/main/search/fromdd"));
- model.makeValue("/root/send/reqdata/todd",model.getValue("/root/main/search/todd"));
- model.makeValue("/root/send/reqdata/actdeptcd",model.getValue("/root/main/search/actdeptcd"));
- model.makeValue("/root/send/reqdata/voluntractdwcd",model.getValue("/root/main/search/voluntractdwcd"));
- model.makeValue("/root/send/reqdata/voluntractteamcd",model.getValue("/root/main/search/voluntractteamcd"));
- model.makeValue("/root/send/reqdata/actstatflag",model.getValue("/root/main/search/actstatflag"));
- model.makeValue("/root/send/reqdata/joinflag",model.getValue("/root/main/search/joinflag"));
-
- grd_voluntrspecinfo.fixedcellischeck(0,1)=false;
- //체크박스 전체 선택 해지
-
- submit("TRAAA01901");
-
- model.refresh();
- }
- //엑셀 저장 함수
- function fSaveExcel()
- {
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_voluntrspecinfo.saveExcel(fileName, "SheetName", false, false, "", "", false);
- }
- }
- // 초기화 함수
- function fVoluntrcondClear()
- {
- var btn=messageBox("초기화를","Q004");
- if(btn=='6')
- {
- model.removeNodeset("/root/main/voluntrspec");
- grd_voluntrspecinfo.fixedcellischeck(0,1)=false; //전체 선택된 체크박스 해제
- model.refresh();
- }
- else
- {
- return;
- }
- //model.resetInstanceNode("/root/main/search");
- }
- ]]>
- </script>
- <xhtml:body guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:207px; height:14px; ">자원봉사자현황조회</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="group2" visibility="hidden" style="left:575px; top:85px; width:290px; height:30px; ">
- <caption id="caption7" class="search_name" style="left:0px; top:0px; width:130px; height:17px; ">축 일 :</caption>
- <input id="ipt_festivfromdd" ref="/root/main/search/festivfromdd" class="input_search" navindex="8" inputtype="date" format="mm-dd" style="left:135px; top:0px; width:65px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var year=eval(getCurrentDate().substr(0,4)); //현재 년도
- var months=ipt_festivfromdd.currentText.substr(0,2); // 축일 선택한 월
- var month=(eval(ipt_festivfromdd.currentText.substr(0,2))-1);
- var EndDate=new Date(year,month); //현재년도와 선택한 월을 new Dat함수에 셋팅
- var MonthlastDay=EndDate.getMonthDay(); //현재년도와 선택한 월의 마지막 일자 구함
-
- model.makeValue("/root/main/search/festivtodd",months+MonthlastDay); //축일 종료 기간에 셋팅
- model.refresh();
-
- ]]>
- </script>
- </input>
- <caption id="caption8" class="search_no_b" style="left:200px; top:0px; width:12px; height:17px; ">~</caption>
- <input id="ipt_festivtodd" ref="/root/main/search/festivtodd" class="input_search" navindex="8" inputtype="date" format="mm-dd" style="left:215px; top:0px; width:65px; height:19px; "/>
- </group>
- <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:70px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:69px; font-family:돋움체; "/>
- <button id="button1" class="btn1_letter2" style="left:1123px; top:21px; width:56px; height:22px; font-family:돋움체; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fVoluntrCondInfoReq();
-
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1109px; y1:5px; x2:1109px; y2:63px; font-family:돋움체; "/>
- <caption id="caption3" class="search_name" style="left:9px; top:12px; width:99px; height:17px; font-family:돋움체; ">활동상태:</caption>
- <caption id="caption5" class="search_no_b" style="left:240px; top:39px; width:12px; height:17px; font-family:돋움체; ">~</caption>
- <input id="ipt_todd" ref="/root/main/search/todd" class="input_search" navindex="6" inputtype="date" style="left:251px; top:41px; width:87px; height:19px; font-family:돋움체; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode==13)
- {
- fVoluntrCondInfoReq();
- }
-
- ]]>
- </script>
- </input>
- <input id="ipt_fromdd" ref="/root/main/search/fromdd" class="input_search" navindex="5" inputtype="date" style="left:151px; top:41px; width:87px; height:19px; font-family:돋움체; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
-
- if(event.keyCode==13)
- {
- fVoluntrCondInfoReq();
- }
- ]]>
- </script>
- </input>
- <caption id="caption12" class="search_name" style="left:413px; top:40px; width:86px; height:17px; font-family:돋움체; ">조회구분:</caption>
- <caption id="caption14" class="search_name" style="left:414px; top:12px; width:90px; height:17px; font-family:돋움체; ">소속센터:</caption>
- <select1 id="cmb_voluntractteamcd" ref="/root/main/search/voluntractteamcd" class="combo_search" navindex="4" appearance="minimal" style="left:816px; top:12px; width:109px; height:19px; font-family:돋움체; ">
- <choices>
- <itemset nodeset="/root/hidden/init/comcd/A0360">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
-
- fVoluntrCondInfoReq();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_voluntractdwcd" ref="/root/main/search/voluntractdwcd" class="combo_search" navindex="3" appearance="minimal" style="left:746px; top:12px; width:65px; height:19px; font-family:돋움체; ">
- <choices>
- <itemset nodeset="/root/hidden/init/comcd/A0359">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
-
- //fVoluntrCondInfoReq();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_actdeptcd" ref="/root/main/search/actdeptcd" class="combo_search" navindex="2" appearance="minimal" style="left:499px; top:12px; width:95px; height:19px; font-family:돋움체; ">
- <choices>
- <itemset nodeset="/root/hidden/init/comcd/A0503">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
-
- //fVoluntrCondInfoReq();
- ]]>
- </script>
- </select1>
- <caption id="caption2" class="search_name" style="left:617px; top:12px; width:132px; height:17px; font-family:돋움체; ">활동요일/시간대:</caption>
- <select1 id="cmb_joinflag" ref="/root/main/search/joinflag" class="combo_search" disabled="false" navindex="7" appearance="minimal" style="left:499px; top:41px; width:95px; height:19px; font-family:돋움체; ">
- <choices>
- <itemset nodeset="/root/hidden/init/comcd/A0361">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //fVoluntrCondInfoReq();
- ]]>
- </script>
- </select1>
- <caption id="caption4" class="search_name" style="left:10px; top:40px; width:156px; height:17px; font-family:돋움체; ">자원봉사자 등록일:</caption>
- <select1 id="cmb_actstatflag" ref="/root/main/search/actstatflag" class="combo_search" disabled="false" navindex="1" appearance="minimal" style="left:95px; top:12px; width:85px; height:19px; font-family:돋움체; ">
- <choices>
- <itemset nodeset="/root/hidden/init/comcd/A0524">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if(model.getValue("/root/main/search/actstatflag")=="2") //탈단중이면
- {
- model.removeNodeset("/root/main/search/fromdd");
- model.removeNodeset("/root/main/search/todd");
- var CurrentDate = getCurrentDate();
- var CurrentDatedd=CurrentDate.substr(0,6);
- model.makeValue("/root/main/search/fromdd",CurrentDatedd+"01");
- model.makeValue("/root/main/search/todd",CurrentDate);
- model.refresh();
- }
- else //활동중이거나 전체 일때
- {
- model.removeNodeset("/root/main/search/fromdd");
- model.removeNodeset("/root/main/search/todd");
-
- model.makeValue("/root/main/search/fromdd","00000000");
- model.makeValue("/root/main/search/todd","99991231");
- model.refresh();
-
- }
-
- ]]>
- </script>
- </select1>
- <caption id="caption9" class="search_name" style="left:885px; top:40px; width:116px; height:17px; font-family:돋움체; ">SMS수신여부 :</caption>
- <select1 id="cmb_smsrecvyn" ref="/root/main/search/smsrecvyn" class="combo_search" navindex="3" appearance="minimal" style="left:998px; top:39px; width:75px; height:19px; font-family:돋움체; ">
- <choices>
- <item>
- <label>- 전 체 -</label>
- <value>%</value>
- </item>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
-
- //fVoluntrCondInfoReq();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_servkind" ref="/root/main/search/servkind" class="combo_search" navindex="3" visibility="visible" appearance="minimal" style="left:723px; top:41px; width:75px; height:19px; font-family:돋움체; ">
- <choices>
- <itemset nodeset="/root/hidden/init/comcd1/A0018A0507">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
-
- //fVoluntrCondInfoReq();
- ]]>
- </script>
- </select1>
- <caption id="caption10" class="search_name" visibility="visible" style="left:617px; top:40px; width:111px; height:17px; font-family:돋움체; ">봉 사 구 분:</caption>
- <caption id="caption11" class="search_name" style="left:205px; top:12px; width:98px; height:17px; font-family:돋움체; ">소속분야:</caption>
- <select1 id="cmb_actdivscd" ref="/root/main/search/actdivscd" class="combo_search" appearance="minimal" style="left:290px; top:12px; width:100px; height:19px; font-family:돋움체; ">
- <col disabled="true" ref="actdivscd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/hidden/init/comcd/A0654">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- </select1>
- </group>
- <datagrid id="grd_voluntrspecinfo" nodeset="/root/main/voluntrspec/voluntrspecinfo" class="datagrid2" caption="^소속분야^소속센터^소속센터^활동요일^활동시간대^성명^세례명^축일^지원봉사자
등록일^활동
정지일^재등록여부^현재상태^E-mail^휴대전화^SMS
수신^주소^주민등록번호^voluntrid" colsep="^" colwidth="32, 100, 120, 80, 57, 110, 89, 0, 0, 75, 72, 70, 56, 174, 100, 48, 364, 109, 44" dataheight="25" explorerbar="sort" extendlastcol="scroll" frozencols="7" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:112px; width:1194px; height:624px; ">
- <col checkvalue="1,0" ref="chk" type="checkbox"/>
- <col disabled="true" ref="actdivscd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/hidden/init/comcd/A0654">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="actdeptcd" type="combo">
- <choices>
- <itemset nodeset="/root/hidden/init/comcd1/A0503">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="actdeptdetlnm">
- <choices/>
- </col>
- <col disabled="true" ref="voluntractdwcd" type="combo">
- <choices>
- <itemset nodeset="/root/hidden/init/comcd1/A0359">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="voluntractteamcd" type="combo">
- <choices>
- <itemset nodeset="/root/hidden/init/comcd1/A0360">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="voluntrnm"/>
- <col ref="baptnm" visibility="hidden" format="mm-dd"/>
- <col ref="festivdd" visibility="hidden" format="mm-dd" style="text-align:center; "/>
- <col ref="joinorgdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="quitorgdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="joinflag" type="combo">
- <choices>
- <itemset nodeset="/root/hidden/init/comcd1/A0361">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="actstatflag" type="combo">
- <choices>
- <itemset nodeset="/root/hidden/init/comcd1/A0524">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="email"/>
- <col ref="mpphontel"/>
- <col ref="smsrecvyn" style="text-align:center; "/>
- <col ref="addr"/>
- <col ref="rrgstno"/>
- <col ref="voluntrid" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(grd_voluntrspecinfo.isCell(event.target) && grd_voluntrspecinfo.mouseRow>=grd_voluntrspecinfo.fixedRows)
- {
- var idxRow=grd_voluntrspecinfo.row; //선택한 로우 행 반환
- var voluntrid=model.getValue("/root/main/voluntrspec/voluntrspecinfo"+"["+idxRow+"]/voluntrid"); // 해당 로우의 자원봉사 아이디 저장
- model.makeValue("/root/main/repopuplist/voluntrid",voluntrid);
- model.makeValue("/root/main/repopuplist/reqpopupflag","A"); //자원봉사자 현황 조회에서 호출했다는 팝업 플래그 의미인 A 저장
- modal("SMAAA00100", "1","150", "150", "SMAAA00100", "/root/main/repopuplist", "/root/main/reqpopup/reqpopuplist"); // prizsource 경로에 담긴 정보 팝업창의 root/main/prizsource 노드로 보냄
- fVoluntrCondInfoReq();
- }
- else
- {
- return;
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
-
- //if(grd_voluntrspecinfo.isCell(event.target) && grd_voluntrspecinfo.mouseRow>=grd_voluntrspecinfo.fixedRows)
- //{
- grd_voluntrspecinfo.gridToInstance(); // sorting시 데이터 순서 그대로 가져갈 수 있도록
- //}
- //else
- //{
- // return;
- //}
- ]]>
- </script>
- </datagrid>
- <button id="button11" class="btn2_letter4" style="left:1122px; top:84px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveExcel();
- ]]>
- </script>
- </button>
- <group id="group4" visibility="hidden" style="left:25px; top:610px; width:170px; height:95px; background-color:#8cf1fb; ">
- <caption id="caption13" style="left:10px; top:15px; width:100px; height:14px; font-weight:bold; ">명단출력 타이틀</caption>
- <input id="input1" ref="/root/main/cond/title" style="left:5px; top:30px; width:160px; height:19px; "/>
- <button id="button5" class="btn5_letter2" style="left:75px; top:55px; width:42px; height:19px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var idxRow=grd_voluntrspecinfo.rows;
- var idxRows=grd_voluntrspecinfo.fixedRows;
- var chkCount=0;
-
- for(i=1;i<=idxRow-idxRows;i++) // 그리드에 체크된 개수만큼 for문 돌려서 값을 체크한다.
- {
- var chkFlag=model.getValue("/root/main/voluntrspec/voluntrspecinfo"+"["+i+"]/chk");
-
- if(chkFlag=='1')
- {
- var NodeCnt=eval(getNodesetCount("/root/hidden/voluntrspec/voluntrspecinfo"))+1; //선택된 자원봉사자 갯수를 셈
-
- model.makeNode("/root/hidden/voluntrspec/voluntrspecinfo["+NodeCnt+"]");
- model.copyNode("/root/hidden/voluntrspec/voluntrspecinfo["+NodeCnt+"]","/root/main/voluntrspec/voluntrspecinfo["+i+"]");
- // 체크가 된 봉사자 갯수만큼 해당 값 복사해서 넘긴다.
- chkCount=chkCount+1;
- // 체크된 봉사자 갯수를 세서 없을 때는 메시지 처리 한다.
- }
- }
- if(chkCount=='0')
- {
- messageBox("명찰 출력할 자원봉사자를 선택하십시오.","I");
- return;
- }
- //명찰리스트 출력시
- exeReportPreview("RPAAA01903", "XMLSTR","/root/hidden/voluntrspec"); //미리보기
- model.removeNodeset("/root/hidden/voluntrspec");
-
- model.makeNode("/root/hidden/voluntrspec");
- model.refresh();
- group4.visible = false;
- ]]>
- </script>
- </button>
- <button id="button6" class="btn5_letter2" style="left:120px; top:55px; width:42px; height:19px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- group4.visible = false;
- ]]>
- </script>
- </button>
- </group>
- </group>
- <group id="group5" scroll="auto" style="left:0px; top:752px; width:1195px; height:27px; ">
- <line id="line37" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- <button id="button95" class="btn6_letter4" style="left:0px; top:4px; width:108px; height:22px; ">
- <caption>명단출력</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- group4.visible = true;
-
- ]]>
- </script>
- </button>
- <button id="button3" class="btn4_letter3" style="left:1114px; top:3px; width:80px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fVoluntrcondClear();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn6_letter4" style="left:85px; top:4px; width:80px; height:22px; ">
- <caption>사진출력</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- var idxRow=grd_voluntrspecinfo.rows;
- var idxRows=grd_voluntrspecinfo.fixedRows;
- var chkCount=0;
-
- for(i=1;i<=idxRow-idxRows;i++) // 그리드에 체크된 개수만큼 for문 돌려서 값을 체크한다.
- {
-
- var chkFlag=model.getValue("/root/main/voluntrspec/voluntrspecinfo"+"["+i+"]/chk");
-
- if(chkFlag=='1')
- {
- var NodeCnt=eval(getNodesetCount("/root/hidden/voluntrspec/voluntrspecinfo"))+1;
- // 비어있는 hidden노드에 1을 더해 count개수 1를 만든다.
- model.makeNode("/root/hidden/voluntrspec/voluntrspecinfo["+NodeCnt+"]");
- //hidden노드에 첫번째 행을 만든뒤, 체크된 자원봉사자 정보 hidden에 넘겨준다.
- model.copyNode("/root/hidden/voluntrspec/voluntrspecinfo["+NodeCnt+"]","/root/main/voluntrspec/voluntrspecinfo["+i+"]");
- // 체크가 된 봉사자 갯수만큼 해당 값 복사해서 넘긴다.
- chkCount=chkCount+1;
- }
- }
- if(chkCount=='0')
- {
- messageBox("사진 출력할 자원봉사자를 선택하십시오.","I");
- return;
- }
-
- exeReportPreview("RPAAA01902", "XMLSTR","/root/hidden/voluntrspec"); //미리보기
- model.removeNodeset("/root/hidden/voluntrspec");
-
- model.makeNode("/root/hidden/voluntrspec");
- model.refresh();
-
-
- ]]>
- </script>
- </button>
- <button id="button4" class="btn3_letter4" style="left:1030px; top:3px; width:80px; height:22px; ">
- <caption>SMS전송</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //model.removeNodeset("/root/main/smsdata");
- //model.removeNodeset("/root/main/recvrlist");
- model.removeNodeset("/root/hidden/voluntrspec");
-
- var idxRow=grd_voluntrspecinfo.rows;
- var idxRows=grd_voluntrspecinfo.fixedRows;
- var chkCount=0;
-
- for(i=1;i<=idxRow-idxRows;i++) // 그리드에 체크된 개수만큼 for문 돌려서 값을 체크한다.
- {
-
- var chkFlag=model.getValue("/root/main/voluntrspec/voluntrspecinfo"+"["+i+"]/chk");
- var smsrecvyn=model.getValue("/root/main/voluntrspec/voluntrspecinfo"+"["+i+"]/smsrecvyn");
-
-
- if(chkFlag=='1')
- {
- if(smsrecvyn=='Y') //수신여부가 Y인것만 sms 전송
- {
- var NodeCnt=eval(getNodesetCount("/root/hidden/voluntrspec/voluntrspecinfo"))+1;
- // 비어있는 hidden노드에 1을 더해 count개수 1를 만든다.
-
- model.makeNode("/root/hidden/voluntrspec/voluntrspecinfo["+NodeCnt+"]");
- //hidden노드에 첫번째 행을 만든뒤, 체크된 자원봉사자 정보 hidden에 넘겨준다.
-
- model.makeValue("/root/hidden/voluntrspec/voluntrspecinfo["+NodeCnt+"]/chk",model.getValue("/root/main/voluntrspec/voluntrspecinfo["+i+"]/chk"));
- model.makeValue("/root/hidden/voluntrspec/voluntrspecinfo["+NodeCnt+"]/pid",model.getValue("/root/main/voluntrspec/voluntrspecinfo["+i+"]/voluntrid"));
- model.makeValue("/root/hidden/voluntrspec/voluntrspecinfo["+NodeCnt+"]/recvrnm",model.getValue("/root/main/voluntrspec/voluntrspecinfo["+i+"]/voluntrnm"));
- model.makeValue("/root/hidden/voluntrspec/voluntrspecinfo["+NodeCnt+"]/recvrtelno",model.getValue("/root/main/voluntrspec/voluntrspecinfo["+i+"]/mpphontel"));
- // 체크가 된 봉사자 갯수만큼 해당 값 복사해서 넘긴다.
- chkCount=chkCount+1;
- }
- }
- }
- if(chkCount=='0')
- {
- messageBox("SMS를 전송할 자원봉사자를 선택하십시오.","I");
- return;
- }
- //modal("SPAAA03400",null,null,null, "SPAAA03400", "/root/hidden/voluntrspec", " /root/main/recvrlist","width:500px;height:200px");
- modal("SPAAA03400", "1","150", "150", "SPAAA03400", "/root/hidden/voluntrspec", " /root/main/recvrlist");
- if(model.getValue("/root/main/voluntrreport/flag")=='S') // sms전송이 완료되었다는 의미의 플래그
- {
- fVoluntrCondInfoReq();
- }
- // /root/hidden/voluntrspec 경로에 담긴 정보 팝업창의 /root/main/sendmsg 노드로 보냄
- // model.removeNodeset("/root/hidden/voluntrspec");
-
- // model.makeNode("/root/hidden/voluntrspec");
- model.removeNodeset("/root/main/voluntrreport/flag");
- model.refresh();
-
-
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:104px; width:139px; height:13px; ">자원봉사자명단</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:121px; x2:1194px; y2:121px; "/>
- </xhtml:body>
- </xhtml:html>
|