SMAAA01900_자원봉사자현황조회.xrw 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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. <xhtml:head>
  5. <xhtml:title>자원봉사자현황조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <send>
  10. <reqdata/>
  11. </send>
  12. <main>
  13. <search>
  14. <fromdd/>
  15. <todd/>
  16. <actdeptcd/>
  17. <voluntractdwcd>1</voluntractdwcd>
  18. <voluntractteamcd/>
  19. <actstatflag/>
  20. <joinflag/>
  21. <festivfromdd/>
  22. <festivtodd/>
  23. <smsrecvyn/>
  24. <servkind/>
  25. <actdivscd/>
  26. </search>
  27. <voluntrspec>
  28. <voluntrspecinfo>
  29. <chk/>
  30. <actdeptcd/>
  31. <actdeptdetlnm/>
  32. <voluntractdwcd/>
  33. <voluntractteamcd/>
  34. <voluntrnm/>
  35. <baptnm/>
  36. <festivdd/>
  37. <joinorgdd/>
  38. <quitorgdd/>
  39. <joinflag/>
  40. <actstatflag/>
  41. <email/>
  42. <mpphontel/>
  43. <addr/>
  44. <rrgstno/>
  45. <voluntrid/>
  46. <photo/>
  47. <smsrecvyn/>
  48. </voluntrspecinfo>
  49. </voluntrspec>
  50. <report/>
  51. <repopuplist/>
  52. <voluntrreport/>
  53. <cond>
  54. <title/>
  55. </cond>
  56. </main>
  57. <init>
  58. <comcd/>
  59. </init>
  60. <hidden>
  61. <init>
  62. <comcd/>
  63. <comcd1/>
  64. </init>
  65. </hidden>
  66. </root>
  67. </instance>
  68. <script type="javascript" ev:event="xforms-ready">
  69. <![CDATA[
  70. fInit();
  71. ]]>
  72. </script>
  73. <submission id="TRAAA01901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/voluntrspec"/>
  74. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  75. <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post"/>
  76. <submission id="TRZBC00105" mediatype="application/x-www-form-urlencoded" method="post"/>
  77. <submission id="TRZBC00122" mediatype="application/x-www-form-urlencoded" method="post"/>
  78. <submission id="TRZBP00102" mediatype="application/x-www-form-urlencoded" method="post"/>
  79. </model>
  80. </xhtml:head>
  81. <script src="../../../com/commonweb/js/common.js" type="javascript"/>
  82. <script src="../../../com/commonweb/js/utilHelper.js" type="javascript"/>
  83. <script src="../../../com/commonweb/js/tfHelper.js" type="javascript"/>
  84. <script src="../../../com/commonweb/js/stringHelper.js" type="javascript"/>
  85. <script src="../../../com/commonweb/js/dateHelper.js" type="javascript"/>
  86. <script src="../../../com/basiccodeweb/js/ZBC001.js" type="javascript"/>
  87. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  88. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  89. <script type="javascript">
  90. <![CDATA[
  91. // 초기값
  92. function fInit()
  93. {
  94. var SMAAA01900_param=getScreenMenuParameter();
  95. if(SMAAA01900_param=='2'||SMAAA01900_param=='3')
  96. {
  97. button95.visible=false;
  98. button2.visible=false;
  99. }
  100. zbcfGetCodeList( new Array("A0359","A0360","A0503","A0524","A0361", "A0654"),
  101. new Array("/root/hidden/init/comcd","/root/hidden/init/comcd","/root/hidden/init/comcd","/root/hidden/init/comcd","/root/hidden/init/comcd",
  102. "/root/hidden/init/comcd"));
  103. zbcfGetCodeList( new Array("A0359","A0360","A0503","A0524","A0361"),
  104. new Array("/root/hidden/init/comcd1","/root/hidden/init/comcd1","/root/hidden/init/comcd1","/root/hidden/init/comcd1",
  105. "/root/hidden/init/comcd1"));
  106. zbcfGetKindCodeList(new Array("A0018"), new Array("A0507"),new Array("/root/hidden/init/comcd1"),true,new Array("dispseq"),new Array("asc"));
  107. addComboItem("cmb_actdeptcd","- 전 체 -","%","above");
  108. addComboItem("cmb_voluntractdwcd","- 전 체 -","%","above");
  109. addComboItem("cmb_voluntractteamcd","- 전 체 -","%","above");
  110. addComboItem("cmb_actstatflag","- 전 체 -","%","above");
  111. addComboItem("cmb_joinflag","- 전 체 -","%","above");
  112. addComboItem("cmb_servkind","- 전 체 -","%","above");
  113. addComboItem("cmb_actdivscd","- 전 체 -","%","above");
  114. cmb_servkind.select(0);
  115. cmb_actdeptcd.select(0);
  116. cmb_voluntractdwcd.select(0);
  117. cmb_voluntractteamcd.select(0);
  118. cmb_actstatflag.select(0);
  119. cmb_joinflag.select(0);
  120. cmb_smsrecvyn.select(0);
  121. cmb_actdivscd.select(0);
  122. var CurrentDate = getCurrentDate();
  123. var CurrentDatedd=CurrentDate.substr(0,6);
  124. model.makeValue("/root/main/search/fromdd","00010101");
  125. model.makeValue("/root/main/search/todd","99991231");
  126. grd_voluntrspecinfo.fixedcellcheckbox(0,1)=true; //체크박스 위에 전체 선택 하는 콤보 셋팅
  127. model.refresh();
  128. }
  129. function fVoluntrCondInfoReq() // 자원봉사자 명단 조회 함수
  130. {
  131. model.removeNodeset("/root/send/reqdata");
  132. model.makeNode("/root/send/reqdata");
  133. var fromdd=model.getValue("/root/main/search/festivfromdd");
  134. var todd=model.getValue("/root/main/search/festivtodd");
  135. var smsrecvyn=model.getValue("/root/main/search/smsrecvyn");
  136. if(fromdd==""&& todd=="")
  137. {
  138. model.makeValue("/root/send/reqdata/festivfromdd","");
  139. model.makeValue("/root/send/reqdata/festivtodd","");
  140. }
  141. if(fromdd==""&& todd!='')
  142. {
  143. model.makeValue("/root/send/reqdata/festivfromdd","0101");
  144. model.makeValue("/root/send/reqdata/festivtodd",model.getValue("/root/main/search/festivtodd"));
  145. }
  146. if(fromdd!=''&& todd=="")
  147. {
  148. model.makeValue("/root/send/reqdata/festivfromdd",model.getValue("/root/main/search/festivfromdd"));
  149. model.makeValue("/root/send/reqdata/festivtodd","1231");
  150. }
  151. if(fromdd!=''&& todd!='')
  152. {
  153. model.makeValue("/root/send/reqdata/festivfromdd",model.getValue("/root/main/search/festivfromdd"));
  154. model.makeValue("/root/send/reqdata/festivtodd",model.getValue("/root/main/search/festivtodd"));
  155. }
  156. model.makeValue("/root/send/reqdata/servkind",model.getValue("/root/main/search/servkind"));
  157. //alert(model.getValue("/root/main/search/smsrecvyn"));
  158. model.makeValue("/root/send/reqdata/smsrecvyn",model.getValue("/root/main/search/smsrecvyn"));
  159. model.makeValue("/root/send/reqdata/fromdd",model.getValue("/root/main/search/fromdd"));
  160. model.makeValue("/root/send/reqdata/todd",model.getValue("/root/main/search/todd"));
  161. model.makeValue("/root/send/reqdata/actdeptcd",model.getValue("/root/main/search/actdeptcd"));
  162. model.makeValue("/root/send/reqdata/voluntractdwcd",model.getValue("/root/main/search/voluntractdwcd"));
  163. model.makeValue("/root/send/reqdata/voluntractteamcd",model.getValue("/root/main/search/voluntractteamcd"));
  164. model.makeValue("/root/send/reqdata/actstatflag",model.getValue("/root/main/search/actstatflag"));
  165. model.makeValue("/root/send/reqdata/joinflag",model.getValue("/root/main/search/joinflag"));
  166. grd_voluntrspecinfo.fixedcellischeck(0,1)=false;
  167. //체크박스 전체 선택 해지
  168. submit("TRAAA01901");
  169. model.refresh();
  170. }
  171. //엑셀 저장 함수
  172. function fSaveExcel()
  173. {
  174. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  175. if (fileName != "")
  176. {
  177. grd_voluntrspecinfo.saveExcel(fileName, "SheetName", false, false, "", "", false);
  178. }
  179. }
  180. // 초기화 함수
  181. function fVoluntrcondClear()
  182. {
  183. var btn=messageBox("초기화를","Q004");
  184. if(btn=='6')
  185. {
  186. model.removeNodeset("/root/main/voluntrspec");
  187. grd_voluntrspecinfo.fixedcellischeck(0,1)=false; //전체 선택된 체크박스 해제
  188. model.refresh();
  189. }
  190. else
  191. {
  192. return;
  193. }
  194. //model.resetInstanceNode("/root/main/search");
  195. }
  196. ]]>
  197. </script>
  198. <xhtml:body guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  199. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  200. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:207px; height:14px; ">자원봉사자현황조회</caption>
  201. </group>
  202. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  203. <group id="group2" visibility="hidden" style="left:575px; top:85px; width:290px; height:30px; ">
  204. <caption id="caption7" class="search_name" style="left:0px; top:0px; width:130px; height:17px; ">축 일 :</caption>
  205. <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; ">
  206. <script type="javascript" ev:event="xforms-value-changed">
  207. <![CDATA[
  208. var year=eval(getCurrentDate().substr(0,4)); //현재 년도
  209. var months=ipt_festivfromdd.currentText.substr(0,2); // 축일 선택한 월
  210. var month=(eval(ipt_festivfromdd.currentText.substr(0,2))-1);
  211. var EndDate=new Date(year,month); //현재년도와 선택한 월을 new Dat함수에 셋팅
  212. var MonthlastDay=EndDate.getMonthDay(); //현재년도와 선택한 월의 마지막 일자 구함
  213. model.makeValue("/root/main/search/festivtodd",months+MonthlastDay); //축일 종료 기간에 셋팅
  214. model.refresh();
  215. ]]>
  216. </script>
  217. </input>
  218. <caption id="caption8" class="search_no_b" style="left:200px; top:0px; width:12px; height:17px; ">~</caption>
  219. <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; "/>
  220. </group>
  221. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:70px; vertical-align:top; ">
  222. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:69px; font-family:돋움체; "/>
  223. <button id="button1" class="btn1_letter2" style="left:1123px; top:21px; width:56px; height:22px; font-family:돋움체; ">
  224. <caption>조회</caption>
  225. <script type="javascript" ev:event="onclick">
  226. <![CDATA[
  227. fVoluntrCondInfoReq();
  228. ]]>
  229. </script>
  230. </button>
  231. <line id="line13" class="line_4" style="x1:1109px; y1:5px; x2:1109px; y2:63px; font-family:돋움체; "/>
  232. <caption id="caption3" class="search_name" style="left:9px; top:12px; width:99px; height:17px; font-family:돋움체; ">활동상태:</caption>
  233. <caption id="caption5" class="search_no_b" style="left:240px; top:39px; width:12px; height:17px; font-family:돋움체; ">~</caption>
  234. <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:돋움체; ">
  235. <script type="javascript" ev:event="onkeydown">
  236. <![CDATA[
  237. if(event.keyCode==13)
  238. {
  239. fVoluntrCondInfoReq();
  240. }
  241. ]]>
  242. </script>
  243. </input>
  244. <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:돋움체; ">
  245. <script type="javascript" ev:event="onkeydown">
  246. <![CDATA[
  247. if(event.keyCode==13)
  248. {
  249. fVoluntrCondInfoReq();
  250. }
  251. ]]>
  252. </script>
  253. </input>
  254. <caption id="caption12" class="search_name" style="left:413px; top:40px; width:86px; height:17px; font-family:돋움체; ">조회구분:</caption>
  255. <caption id="caption14" class="search_name" style="left:414px; top:12px; width:90px; height:17px; font-family:돋움체; ">소속센터:</caption>
  256. <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:돋움체; ">
  257. <choices>
  258. <itemset nodeset="/root/hidden/init/comcd/A0360">
  259. <label ref="cdnm"/>
  260. <value ref="cdid"/>
  261. </itemset>
  262. </choices>
  263. <script type="javascript" ev:event="xforms-select">
  264. <![CDATA[
  265. fVoluntrCondInfoReq();
  266. ]]>
  267. </script>
  268. </select1>
  269. <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:돋움체; ">
  270. <choices>
  271. <itemset nodeset="/root/hidden/init/comcd/A0359">
  272. <label ref="cdnm"/>
  273. <value ref="cdid"/>
  274. </itemset>
  275. </choices>
  276. <script type="javascript" ev:event="xforms-select">
  277. <![CDATA[
  278. //fVoluntrCondInfoReq();
  279. ]]>
  280. </script>
  281. </select1>
  282. <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:돋움체; ">
  283. <choices>
  284. <itemset nodeset="/root/hidden/init/comcd/A0503">
  285. <label ref="cdnm"/>
  286. <value ref="cdid"/>
  287. </itemset>
  288. </choices>
  289. <script type="javascript" ev:event="xforms-select">
  290. <![CDATA[
  291. //fVoluntrCondInfoReq();
  292. ]]>
  293. </script>
  294. </select1>
  295. <caption id="caption2" class="search_name" style="left:617px; top:12px; width:132px; height:17px; font-family:돋움체; ">활동요일/시간대:</caption>
  296. <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:돋움체; ">
  297. <choices>
  298. <itemset nodeset="/root/hidden/init/comcd/A0361">
  299. <label ref="cdnm"/>
  300. <value ref="cdid"/>
  301. </itemset>
  302. </choices>
  303. <script type="javascript" ev:event="xforms-value-changed">
  304. <![CDATA[
  305. //fVoluntrCondInfoReq();
  306. ]]>
  307. </script>
  308. </select1>
  309. <caption id="caption4" class="search_name" style="left:10px; top:40px; width:156px; height:17px; font-family:돋움체; ">자원봉사자 등록일:</caption>
  310. <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:돋움체; ">
  311. <choices>
  312. <itemset nodeset="/root/hidden/init/comcd/A0524">
  313. <label ref="cdnm"/>
  314. <value ref="cdid"/>
  315. </itemset>
  316. </choices>
  317. <script type="javascript" ev:event="xforms-select">
  318. <![CDATA[
  319. if(model.getValue("/root/main/search/actstatflag")=="2") //탈단중이면
  320. {
  321. model.removeNodeset("/root/main/search/fromdd");
  322. model.removeNodeset("/root/main/search/todd");
  323. var CurrentDate = getCurrentDate();
  324. var CurrentDatedd=CurrentDate.substr(0,6);
  325. model.makeValue("/root/main/search/fromdd",CurrentDatedd+"01");
  326. model.makeValue("/root/main/search/todd",CurrentDate);
  327. model.refresh();
  328. }
  329. else //활동중이거나 전체 일때
  330. {
  331. model.removeNodeset("/root/main/search/fromdd");
  332. model.removeNodeset("/root/main/search/todd");
  333. model.makeValue("/root/main/search/fromdd","00000000");
  334. model.makeValue("/root/main/search/todd","99991231");
  335. model.refresh();
  336. }
  337. ]]>
  338. </script>
  339. </select1>
  340. <caption id="caption9" class="search_name" style="left:885px; top:40px; width:116px; height:17px; font-family:돋움체; ">SMS수신여부 :</caption>
  341. <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:돋움체; ">
  342. <choices>
  343. <item>
  344. <label>- 전 체 -</label>
  345. <value>%</value>
  346. </item>
  347. <item>
  348. <label>Y</label>
  349. <value>Y</value>
  350. </item>
  351. <item>
  352. <label>N</label>
  353. <value>N</value>
  354. </item>
  355. </choices>
  356. <script type="javascript" ev:event="xforms-select">
  357. <![CDATA[
  358. //fVoluntrCondInfoReq();
  359. ]]>
  360. </script>
  361. </select1>
  362. <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:돋움체; ">
  363. <choices>
  364. <itemset nodeset="/root/hidden/init/comcd1/A0018A0507">
  365. <label ref="cdnm"/>
  366. <value ref="cdid"/>
  367. </itemset>
  368. </choices>
  369. <script type="javascript" ev:event="xforms-select">
  370. <![CDATA[
  371. //fVoluntrCondInfoReq();
  372. ]]>
  373. </script>
  374. </select1>
  375. <caption id="caption10" class="search_name" visibility="visible" style="left:617px; top:40px; width:111px; height:17px; font-family:돋움체; ">봉 사 구 분:</caption>
  376. <caption id="caption11" class="search_name" style="left:205px; top:12px; width:98px; height:17px; font-family:돋움체; ">소속분야:</caption>
  377. <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:돋움체; ">
  378. <col disabled="true" ref="actdivscd" type="combo" style="text-align:center; ">
  379. <choices>
  380. <itemset nodeset="/root/hidden/init/comcd/A0654">
  381. <label ref="cdnm"/>
  382. <value ref="cdid"/>
  383. </itemset>
  384. </choices>
  385. </col>
  386. </select1>
  387. </group>
  388. <datagrid id="grd_voluntrspecinfo" nodeset="/root/main/voluntrspec/voluntrspecinfo" class="datagrid2" caption="^소속분야^소속센터^소속센터^활동요일^활동시간대^성명^세례명^축일^지원봉사자&#xA;등록일^활동&#xA;정지일^재등록여부^현재상태^E-mail^휴대전화^SMS&#xA;수신^주소^주민등록번호^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; ">
  389. <col checkvalue="1,0" ref="chk" type="checkbox"/>
  390. <col disabled="true" ref="actdivscd" type="combo" style="text-align:center; ">
  391. <choices>
  392. <itemset nodeset="/root/hidden/init/comcd/A0654">
  393. <label ref="cdnm"/>
  394. <value ref="cdid"/>
  395. </itemset>
  396. </choices>
  397. </col>
  398. <col disabled="true" ref="actdeptcd" type="combo">
  399. <choices>
  400. <itemset nodeset="/root/hidden/init/comcd1/A0503">
  401. <label ref="cdnm"/>
  402. <value ref="cdid"/>
  403. </itemset>
  404. </choices>
  405. </col>
  406. <col disabled="true" ref="actdeptdetlnm">
  407. <choices/>
  408. </col>
  409. <col disabled="true" ref="voluntractdwcd" type="combo">
  410. <choices>
  411. <itemset nodeset="/root/hidden/init/comcd1/A0359">
  412. <label ref="cdnm"/>
  413. <value ref="cdid"/>
  414. </itemset>
  415. </choices>
  416. </col>
  417. <col disabled="true" ref="voluntractteamcd" type="combo">
  418. <choices>
  419. <itemset nodeset="/root/hidden/init/comcd1/A0360">
  420. <label ref="cdnm"/>
  421. <value ref="cdid"/>
  422. </itemset>
  423. </choices>
  424. </col>
  425. <col ref="voluntrnm"/>
  426. <col ref="baptnm" visibility="hidden" format="mm-dd"/>
  427. <col ref="festivdd" visibility="hidden" format="mm-dd" style="text-align:center; "/>
  428. <col ref="joinorgdd" format="yyyy-mm-dd" style="text-align:center; "/>
  429. <col ref="quitorgdd" format="yyyy-mm-dd" style="text-align:center; "/>
  430. <col disabled="true" ref="joinflag" type="combo">
  431. <choices>
  432. <itemset nodeset="/root/hidden/init/comcd1/A0361">
  433. <label ref="cdnm"/>
  434. <value ref="cdid"/>
  435. </itemset>
  436. </choices>
  437. </col>
  438. <col disabled="true" ref="actstatflag" type="combo">
  439. <choices>
  440. <itemset nodeset="/root/hidden/init/comcd1/A0524">
  441. <label ref="cdnm"/>
  442. <value ref="cdid"/>
  443. </itemset>
  444. </choices>
  445. </col>
  446. <col ref="email"/>
  447. <col ref="mpphontel"/>
  448. <col ref="smsrecvyn" style="text-align:center; "/>
  449. <col ref="addr"/>
  450. <col ref="rrgstno"/>
  451. <col ref="voluntrid" visibility="hidden"/>
  452. <script type="javascript" ev:event="ondblclick">
  453. <![CDATA[
  454. if(grd_voluntrspecinfo.isCell(event.target) && grd_voluntrspecinfo.mouseRow>=grd_voluntrspecinfo.fixedRows)
  455. {
  456. var idxRow=grd_voluntrspecinfo.row; //선택한 로우 행 반환
  457. var voluntrid=model.getValue("/root/main/voluntrspec/voluntrspecinfo"+"["+idxRow+"]/voluntrid"); // 해당 로우의 자원봉사 아이디 저장
  458. model.makeValue("/root/main/repopuplist/voluntrid",voluntrid);
  459. model.makeValue("/root/main/repopuplist/reqpopupflag","A"); //자원봉사자 현황 조회에서 호출했다는 팝업 플래그 의미인 A 저장
  460. modal("SMAAA00100", "1","150", "150", "SMAAA00100", "/root/main/repopuplist", "/root/main/reqpopup/reqpopuplist"); // prizsource 경로에 담긴 정보 팝업창의 root/main/prizsource 노드로 보냄
  461. fVoluntrCondInfoReq();
  462. }
  463. else
  464. {
  465. return;
  466. }
  467. ]]>
  468. </script>
  469. <script type="javascript" ev:event="onaftersort">
  470. <![CDATA[
  471. //if(grd_voluntrspecinfo.isCell(event.target) && grd_voluntrspecinfo.mouseRow>=grd_voluntrspecinfo.fixedRows)
  472. //{
  473. grd_voluntrspecinfo.gridToInstance(); // sorting시 데이터 순서 그대로 가져갈 수 있도록
  474. //}
  475. //else
  476. //{
  477. // return;
  478. //}
  479. ]]>
  480. </script>
  481. </datagrid>
  482. <button id="button11" class="btn2_letter4" style="left:1122px; top:84px; width:64px; height:19px; ">
  483. <caption>엑셀저장</caption>
  484. <script type="javascript" ev:event="DOMActivate">
  485. <![CDATA[
  486. fSaveExcel();
  487. ]]>
  488. </script>
  489. </button>
  490. <group id="group4" visibility="hidden" style="left:25px; top:610px; width:170px; height:95px; background-color:#8cf1fb; ">
  491. <caption id="caption13" style="left:10px; top:15px; width:100px; height:14px; font-weight:bold; ">명단출력 타이틀</caption>
  492. <input id="input1" ref="/root/main/cond/title" style="left:5px; top:30px; width:160px; height:19px; "/>
  493. <button id="button5" class="btn5_letter2" style="left:75px; top:55px; width:42px; height:19px; ">
  494. <caption>확인</caption>
  495. <script type="javascript" ev:event="DOMActivate">
  496. <![CDATA[
  497. var idxRow=grd_voluntrspecinfo.rows;
  498. var idxRows=grd_voluntrspecinfo.fixedRows;
  499. var chkCount=0;
  500. for(i=1;i<=idxRow-idxRows;i++) // 그리드에 체크된 개수만큼 for문 돌려서 값을 체크한다.
  501. {
  502. var chkFlag=model.getValue("/root/main/voluntrspec/voluntrspecinfo"+"["+i+"]/chk");
  503. if(chkFlag=='1')
  504. {
  505. var NodeCnt=eval(getNodesetCount("/root/hidden/voluntrspec/voluntrspecinfo"))+1; //선택된 자원봉사자 갯수를 셈
  506. model.makeNode("/root/hidden/voluntrspec/voluntrspecinfo["+NodeCnt+"]");
  507. model.copyNode("/root/hidden/voluntrspec/voluntrspecinfo["+NodeCnt+"]","/root/main/voluntrspec/voluntrspecinfo["+i+"]");
  508. // 체크가 된 봉사자 갯수만큼 해당 값 복사해서 넘긴다.
  509. chkCount=chkCount+1;
  510. // 체크된 봉사자 갯수를 세서 없을 때는 메시지 처리 한다.
  511. }
  512. }
  513. if(chkCount=='0')
  514. {
  515. messageBox("명찰 출력할 자원봉사자를 선택하십시오.","I");
  516. return;
  517. }
  518. //명찰리스트 출력시
  519. exeReportPreview("RPAAA01903", "XMLSTR","/root/hidden/voluntrspec"); //미리보기
  520. model.removeNodeset("/root/hidden/voluntrspec");
  521. model.makeNode("/root/hidden/voluntrspec");
  522. model.refresh();
  523. group4.visible = false;
  524. ]]>
  525. </script>
  526. </button>
  527. <button id="button6" class="btn5_letter2" style="left:120px; top:55px; width:42px; height:19px; ">
  528. <caption>닫기</caption>
  529. <script type="javascript" ev:event="DOMActivate">
  530. <![CDATA[
  531. group4.visible = false;
  532. ]]>
  533. </script>
  534. </button>
  535. </group>
  536. </group>
  537. <group id="group5" scroll="auto" style="left:0px; top:752px; width:1195px; height:27px; ">
  538. <line id="line37" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  539. <button id="button95" class="btn6_letter4" style="left:0px; top:4px; width:108px; height:22px; ">
  540. <caption>명단출력</caption>
  541. <script type="javascript" ev:event="onclick">
  542. <![CDATA[
  543. group4.visible = true;
  544. ]]>
  545. </script>
  546. </button>
  547. <button id="button3" class="btn4_letter3" style="left:1114px; top:3px; width:80px; height:22px; ">
  548. <caption>초기화</caption>
  549. <script type="javascript" ev:event="onclick">
  550. <![CDATA[
  551. fVoluntrcondClear();
  552. ]]>
  553. </script>
  554. </button>
  555. <button id="button2" class="btn6_letter4" style="left:85px; top:4px; width:80px; height:22px; ">
  556. <caption>사진출력</caption>
  557. <script type="javascript" ev:event="onclick">
  558. <![CDATA[
  559. var idxRow=grd_voluntrspecinfo.rows;
  560. var idxRows=grd_voluntrspecinfo.fixedRows;
  561. var chkCount=0;
  562. for(i=1;i<=idxRow-idxRows;i++) // 그리드에 체크된 개수만큼 for문 돌려서 값을 체크한다.
  563. {
  564. var chkFlag=model.getValue("/root/main/voluntrspec/voluntrspecinfo"+"["+i+"]/chk");
  565. if(chkFlag=='1')
  566. {
  567. var NodeCnt=eval(getNodesetCount("/root/hidden/voluntrspec/voluntrspecinfo"))+1;
  568. // 비어있는 hidden노드에 1을 더해 count개수 1를 만든다.
  569. model.makeNode("/root/hidden/voluntrspec/voluntrspecinfo["+NodeCnt+"]");
  570. //hidden노드에 첫번째 행을 만든뒤, 체크된 자원봉사자 정보 hidden에 넘겨준다.
  571. model.copyNode("/root/hidden/voluntrspec/voluntrspecinfo["+NodeCnt+"]","/root/main/voluntrspec/voluntrspecinfo["+i+"]");
  572. // 체크가 된 봉사자 갯수만큼 해당 값 복사해서 넘긴다.
  573. chkCount=chkCount+1;
  574. }
  575. }
  576. if(chkCount=='0')
  577. {
  578. messageBox("사진 출력할 자원봉사자를 선택하십시오.","I");
  579. return;
  580. }
  581. exeReportPreview("RPAAA01902", "XMLSTR","/root/hidden/voluntrspec"); //미리보기
  582. model.removeNodeset("/root/hidden/voluntrspec");
  583. model.makeNode("/root/hidden/voluntrspec");
  584. model.refresh();
  585. ]]>
  586. </script>
  587. </button>
  588. <button id="button4" class="btn3_letter4" style="left:1030px; top:3px; width:80px; height:22px; ">
  589. <caption>SMS전송</caption>
  590. <script type="javascript" ev:event="onclick">
  591. <![CDATA[
  592. //model.removeNodeset("/root/main/smsdata");
  593. //model.removeNodeset("/root/main/recvrlist");
  594. model.removeNodeset("/root/hidden/voluntrspec");
  595. var idxRow=grd_voluntrspecinfo.rows;
  596. var idxRows=grd_voluntrspecinfo.fixedRows;
  597. var chkCount=0;
  598. for(i=1;i<=idxRow-idxRows;i++) // 그리드에 체크된 개수만큼 for문 돌려서 값을 체크한다.
  599. {
  600. var chkFlag=model.getValue("/root/main/voluntrspec/voluntrspecinfo"+"["+i+"]/chk");
  601. var smsrecvyn=model.getValue("/root/main/voluntrspec/voluntrspecinfo"+"["+i+"]/smsrecvyn");
  602. if(chkFlag=='1')
  603. {
  604. if(smsrecvyn=='Y') //수신여부가 Y인것만 sms 전송
  605. {
  606. var NodeCnt=eval(getNodesetCount("/root/hidden/voluntrspec/voluntrspecinfo"))+1;
  607. // 비어있는 hidden노드에 1을 더해 count개수 1를 만든다.
  608. model.makeNode("/root/hidden/voluntrspec/voluntrspecinfo["+NodeCnt+"]");
  609. //hidden노드에 첫번째 행을 만든뒤, 체크된 자원봉사자 정보 hidden에 넘겨준다.
  610. model.makeValue("/root/hidden/voluntrspec/voluntrspecinfo["+NodeCnt+"]/chk",model.getValue("/root/main/voluntrspec/voluntrspecinfo["+i+"]/chk"));
  611. model.makeValue("/root/hidden/voluntrspec/voluntrspecinfo["+NodeCnt+"]/pid",model.getValue("/root/main/voluntrspec/voluntrspecinfo["+i+"]/voluntrid"));
  612. model.makeValue("/root/hidden/voluntrspec/voluntrspecinfo["+NodeCnt+"]/recvrnm",model.getValue("/root/main/voluntrspec/voluntrspecinfo["+i+"]/voluntrnm"));
  613. model.makeValue("/root/hidden/voluntrspec/voluntrspecinfo["+NodeCnt+"]/recvrtelno",model.getValue("/root/main/voluntrspec/voluntrspecinfo["+i+"]/mpphontel"));
  614. // 체크가 된 봉사자 갯수만큼 해당 값 복사해서 넘긴다.
  615. chkCount=chkCount+1;
  616. }
  617. }
  618. }
  619. if(chkCount=='0')
  620. {
  621. messageBox("SMS를 전송할 자원봉사자를 선택하십시오.","I");
  622. return;
  623. }
  624. //modal("SPAAA03400",null,null,null, "SPAAA03400", "/root/hidden/voluntrspec", " /root/main/recvrlist","width:500px;height:200px");
  625. modal("SPAAA03400", "1","150", "150", "SPAAA03400", "/root/hidden/voluntrspec", " /root/main/recvrlist");
  626. if(model.getValue("/root/main/voluntrreport/flag")=='S') // sms전송이 완료되었다는 의미의 플래그
  627. {
  628. fVoluntrCondInfoReq();
  629. }
  630. // /root/hidden/voluntrspec 경로에 담긴 정보 팝업창의 /root/main/sendmsg 노드로 보냄
  631. // model.removeNodeset("/root/hidden/voluntrspec");
  632. // model.makeNode("/root/hidden/voluntrspec");
  633. model.removeNodeset("/root/main/voluntrreport/flag");
  634. model.refresh();
  635. ]]>
  636. </script>
  637. </button>
  638. </group>
  639. <caption id="caption1" class="tit_2" style="left:5px; top:104px; width:139px; height:13px; ">자원봉사자명단</caption>
  640. <line id="line1" class="line_1" style="x1:0px; y1:121px; x2:1194px; y2:121px; "/>
  641. </xhtml:body>
  642. </xhtml:html>