SMAYS05000_원목행정통계.xrw 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784
  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. <![CDATA[]]>
  6. <xhtml:title>원목행정통계</xhtml:title>
  7. <model id="model1">
  8. <instance id="instance1">
  9. <root xmlns="">
  10. <main>
  11. <fthadminstatlist>
  12. <fthadminstatinfo>
  13. <conslrnm/>
  14. <jobrespcd/>
  15. <col1/>
  16. <col2/>
  17. <col3/>
  18. <col4/>
  19. <col5/>
  20. <col6/>
  21. <col7/>
  22. <col8/>
  23. <col9/>
  24. <totcnt/>
  25. </fthadminstatinfo>
  26. </fthadminstatlist>
  27. <search>
  28. <fromdd/>
  29. <todd/>
  30. <fthflag/>
  31. <year/>
  32. <sort/>
  33. <entry/>
  34. <fromyear/>
  35. <toyear/>
  36. </search>
  37. <aaa>
  38. <printname>RPAYS05001</printname>
  39. <sort>RPAYS05101</sort>
  40. </aaa>
  41. <sss/>
  42. </main>
  43. <send>
  44. <reqdata/>
  45. </send>
  46. <init>
  47. </init>
  48. </root>
  49. </instance>
  50. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  51. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  52. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  53. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  54. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  55. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  56. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  57. <script type="javascript" ev:event="xforms-ready">
  58. <![CDATA[
  59. fInit();
  60. fGetFthStats();
  61. makeReportPreview(0,0,1180,700);
  62. //instcd 클라이언트 에서 세션, 값 가져오기...
  63. ]]>
  64. </script>
  65. <submission id="TRAYS05001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/fthadminstatlist"/>
  66. </model>
  67. <script type="javascript">
  68. <![CDATA[
  69. /**========================================================================================================================================
  70. * 화면 오픈시
  71. =========================================================================================================================================*/
  72. function fInit() {
  73. ipt_fromdd.visible = false;
  74. ipt_todd.visible = false;
  75. rdo_sort.visible = false;
  76. caption1.visible = false;
  77. cmb_year.visible = false;
  78. out_search.visible = false;
  79. ipt_entry.visible = false;
  80. ipt_fromyear.visible = false;
  81. ipt_toyear.visible = false;
  82. var CurrentDate = getCurrentDate();
  83. var currentYearMonthDate = CurrentDate.substring(0, 6) ; //현재년월의 시작일
  84. model.setValue("/root/main/search/fromdd" , currentYearMonthDate);
  85. model.setValue("/root/main/search/todd" , currentYearMonthDate);
  86. model.setValue("/root/main/search/entry" , currentYearMonthDate);
  87. model.makeValue("/root/main/search/fthflag","1"); //부서별 교직원 종교 현황조회 되도록 1셋팅
  88. model.refresh();
  89. }
  90. /**========================================================================================================================================
  91. * 통계구분에 따른 조회구분표시여부
  92. =========================================================================================================================================*/
  93. function fGetFthStats(){
  94. var currentDate = getCurrentDate();
  95. var currentYear = currentDate.substring(0, 4);
  96. //model.setValue("/root/main/search/fromyear" ,currentYear);
  97. //model.setValue("/root/main/search/toyear" ,currentYear);
  98. var srch = model.getValue("/root/main/aaa/printname");
  99. // 부서별교직원종교현황
  100. if(srch == "RPAYS05001"){
  101. ipt_fromdd.visible = false;
  102. ipt_todd.visible = false;
  103. rdo_sort.visible = false;
  104. caption1.visible = false;
  105. cmb_year.visible = false;
  106. out_search.visible = false;
  107. ipt_entry.visible = false;
  108. ipt_fromyear.visible = false;
  109. ipt_toyear.visible = false;
  110. caption2.visible = false;
  111. model.refresh();
  112. model.refresh();
  113. // 원목상담현황
  114. }else if(srch == "RPAYS05101"){
  115. rdo_sort.select(0);
  116. ipt_fromdd.visible = true;
  117. ipt_todd.visible = true;
  118. rdo_sort.visible = true;
  119. caption1.visible = true;
  120. out_search.visible = true;
  121. ipt_entry.visible = false;
  122. ipt_fromyear.visible = false;
  123. ipt_toyear.visible = false;
  124. ipt_fromdd.attribute("width") = "80";
  125. ipt_todd.attribute("width") = "80";
  126. ipt_fromdd.attribute('format') = 'yyyy-mm';
  127. ipt_todd.attribute('format') = 'yyyy-mm';
  128. model.refresh();
  129. // 교직원신앙교육현황
  130. }else if(srch == "RPAYS05201"){
  131. ipt_fromdd.visible = true;
  132. ipt_todd.visible = true;
  133. rdo_sort.visible = false;
  134. caption1.visible = true;
  135. cmb_year.visible = false;
  136. out_search.visible = true;
  137. ipt_entry.visible = false;
  138. ipt_fromyear.visible = false;
  139. ipt_toyear.visible = false;
  140. caption2.visible = false;
  141. ipt_fromdd.attribute("width") = "80";
  142. ipt_todd.attribute("width") = "80";
  143. ipt_fromdd.attribute('format') = 'yyyy-mm';
  144. ipt_todd.attribute('format') = 'yyyy-mm';
  145. model.refresh();
  146. // 성사수여자 현황
  147. }else if(srch == "RPAYS05301"){
  148. ipt_fromdd.visible = true;
  149. ipt_todd.visible = true;
  150. rdo_sort.visible = false;
  151. caption1.visible = true;
  152. cmb_year.visible = false;
  153. out_search.visible = true;
  154. ipt_entry.visible = false;
  155. ipt_fromyear.visible = false;
  156. ipt_toyear.visible = false;
  157. caption2.visible = false;
  158. ipt_fromdd.attribute("width") = "80";
  159. ipt_todd.attribute("width") = "80";
  160. ipt_fromdd.attribute('format') = 'yyyy-mm';
  161. ipt_todd.attribute('format') = 'yyyy-mm';
  162. model.refresh();
  163. // 미사 / 행사 / 기도 수행횟수 및 참석현황
  164. }else if(srch == "RPAYS05401"){
  165. var curDt = getCurrentDate();
  166. var curYearDt =curDt.substring(0, 4) ;
  167. model.makeValue("/root/main/search/fromyear",curYearDt);
  168. ipt_entry.visible = false;
  169. ipt_fromdd.visible = false;
  170. ipt_todd.visible = false;
  171. rdo_sort.visible = false;
  172. caption1.visible = false;
  173. cmb_year.visible = false;
  174. out_search.visible = true;
  175. ipt_fromyear.visible = true;
  176. ipt_toyear.visible = false;
  177. caption2.visible = false;
  178. model.refresh();
  179. // 주례자별 전례및 성사진행현황
  180. }else if(srch == "RPAYS05501"||srch == "RPAYS05901"){
  181. ipt_fromdd.visible = true;
  182. ipt_todd.visible = true;
  183. rdo_sort.visible = false;
  184. caption1.visible = true;
  185. cmb_year.visible = false;
  186. out_search.visible = true;
  187. ipt_entry.visible = false;
  188. ipt_fromyear.visible = false;
  189. ipt_toyear.visible = false;
  190. caption2.visible = false;
  191. ipt_fromdd.attribute("width") = "80";
  192. ipt_todd.attribute("width") = "80";
  193. ipt_fromdd.attribute('format') = 'yyyy-mm';
  194. ipt_todd.attribute('format') = 'yyyy-mm';
  195. model.refresh();
  196. // 회의별 참석현황
  197. }else if(srch == "RPAYS05601"){
  198. ipt_fromdd.visible = true;
  199. ipt_todd.visible = true;
  200. rdo_sort.visible = false;
  201. caption1.visible = true;
  202. cmb_year.visible = false;
  203. out_search.visible = true;
  204. ipt_entry.visible = false;
  205. ipt_fromyear.visible = false;
  206. ipt_toyear.visible = false;
  207. caption2.visible = false;
  208. ipt_fromdd.attribute("width") = "80";
  209. ipt_todd.attribute("width") = "80";
  210. ipt_fromdd.attribute('format') = 'yyyy-mm';
  211. ipt_todd.attribute('format') = 'yyyy-mm';
  212. model.refresh();
  213. // 원목자교육및 연간일정현황
  214. }else if(srch == "RPAYS05701"){
  215. ipt_fromdd.visible = true;
  216. ipt_todd.visible = true;
  217. rdo_sort.visible = false;
  218. caption1.visible = true;
  219. cmb_year.visible = false;
  220. out_search.visible = true;
  221. ipt_entry.visible = false;
  222. ipt_fromyear.visible = false;
  223. ipt_toyear.visible = false;
  224. caption2.visible = false;
  225. ipt_fromdd.attribute("width") = "80";
  226. ipt_todd.attribute("width") = "80";
  227. ipt_fromdd.attribute('format') = 'yyyy-mm';
  228. ipt_todd.attribute('format') = 'yyyy-mm';
  229. model.refresh();
  230. // 예비자교리현황
  231. }else if(srch == "RPAYS05801"){
  232. ipt_fromdd.visible = true;
  233. ipt_todd.visible = true;
  234. rdo_sort.visible = false;
  235. caption1.visible = true;
  236. cmb_year.visible = false;
  237. out_search.visible = true;
  238. ipt_entry.visible = false;
  239. ipt_fromyear.visible = false;
  240. ipt_toyear.visible = false;
  241. caption2.visible = false;
  242. ipt_fromdd.attribute("width") = "80";
  243. ipt_todd.attribute("width") = "80";
  244. ipt_fromdd.attribute('format') = 'yyyy-mm';
  245. ipt_todd.attribute('format') = 'yyyy-mm';
  246. model.refresh();
  247. }
  248. }
  249. /**========================================================================================================================================
  250. * 원목자별상담현황 조회구분(원목자별/월별/분기별/년도별)
  251. =========================================================================================================================================*/
  252. function fDate(){
  253. var currentDate = getCurrentDate();
  254. var currentYear = currentDate.substring(0, 4);
  255. var sort = model.getValue("/root/main/aaa/sort");
  256. //원목자별
  257. if(sort == "RPAYS05101" ){
  258. model.makeValue("/root/main/search/sort","11");
  259. var curDt = getCurrentDate();
  260. ipt_fromdd.visible = true;
  261. ipt_todd.visible = true;
  262. caption1.visible = true;
  263. cmb_year.visible = false;
  264. ipt_entry.visible = false;
  265. ipt_fromyear.visible = false;
  266. ipt_toyear.visible = false;
  267. caption2.visible = false;
  268. ipt_fromdd.attribute("width") = "80";
  269. ipt_todd.attribute("width") = "80";
  270. ipt_fromdd.attribute('format') = 'yyyy-mm';
  271. ipt_todd.attribute('format') = 'yyyy-mm';
  272. model.refresh();
  273. }
  274. //월별
  275. else if(sort == "RPAYS05102"){
  276. model.makeValue("/root/main/search/sort","12");
  277. var curDt = getCurrentDate();
  278. var curYearDt = curDt.substring(0, 4);
  279. ipt_fromdd.visible = true;
  280. ipt_todd.visible = true;
  281. caption1.visible = true;
  282. cmb_year.visible = false;
  283. ipt_entry.visible = false;
  284. ipt_fromyear.visible = false;
  285. ipt_toyear.visible = false;
  286. caption2.visible = false;
  287. ipt_fromdd.attribute("width") = "80";
  288. ipt_todd.attribute("width") = "80";
  289. ipt_fromdd.attribute('format') = 'yyyy-mm';
  290. ipt_todd.attribute('format') = 'yyyy-mm';
  291. model.refresh();
  292. }
  293. //분기별
  294. else if(sort == "RPAYS05103"){
  295. model.makeValue("/root/main/search/sort","13");
  296. var curDt = getCurrentDate();
  297. var curYearDt =curDt.substring(0, 4) ;
  298. model.makeValue("/root/main/search/entry",curYearDt);
  299. ipt_entry.visible = true;
  300. ipt_todd.visible = false;
  301. rdo_sort.visible = true;
  302. caption1.visible = false;
  303. cmb_year.visible = false;;
  304. out_search.visible = true;
  305. ipt_fromdd.visible = false;
  306. ipt_fromyear.visible = false;
  307. ipt_toyear.visible = false;
  308. caption2.visible = false;
  309. ipt_entry.attribute("width") = "55";
  310. ipt_entry.attribute('format') = 'yyyy';
  311. model.refresh();
  312. }
  313. //년도별
  314. else if(sort == "RPAYS05104"){
  315. model.makeValue("/root/main/search/sort","14");
  316. var curDt = getCurrentDate();
  317. var curYearDt = curDt.substring(0, 4);
  318. model.makeValue("/root/main/search/fromyear" , curYearDt);
  319. model.makeValue("/root/main/search/toyear" , curYearDt);
  320. ipt_fromdd.visible = false;
  321. ipt_todd.visible = false;
  322. ipt_entry.visible = false;
  323. rdo_sort.visible = true;
  324. caption1.visible = true;
  325. cmb_year.visible = false;
  326. out_search.visible = true;
  327. ipt_fromyear.visible = true;
  328. ipt_toyear.visible = true;
  329. caption2.visible = true;
  330. ipt_fromyear.attribute('format') = 'yyyy';
  331. ipt_toyear.attribute('format') = 'yyyy';
  332. model.refresh();
  333. }
  334. }
  335. /**========================================================================================================================================
  336. * 원목자별상담현황 조회함수
  337. =========================================================================================================================================*/
  338. function fReqFthAdminStat()
  339. {
  340. var fthflag = model.getValue("/root/main/search/fthflag");
  341. var fromdd = model.getValue("/root/main/search/fromdd");
  342. var todd = model.getValue("/root/main/search/todd");
  343. var entry = model.getValue("/root/main/search/entry");
  344. var fromyear = model.getValue("/root/main/search/fromyear");
  345. var toyear = model.getValue("/root/main/search/toyear");
  346. var srch = model.getValue("/root/main/aaa/printname");
  347. var sort = model.getValue("/root/main/aaa/sort");
  348. // 교직원신앙교육현황
  349. if(srch == "RPAYS05201"){
  350. if( fromdd == "" || todd ==""){
  351. messageBox("조회기간을","C001" );
  352. model.refresh();
  353. return;
  354. }
  355. // 성사수여자 현황
  356. }else if(srch == "RPAYS05301"){
  357. if( fromdd == "" || todd ==""){
  358. messageBox("조회기간을","C001" );
  359. model.refresh();
  360. return;
  361. }
  362. // 미사 / 행사 / 기도 수행횟수 및 참석현황
  363. }else if(srch == "RPAYS05401"){
  364. if( fromyear == "" ){
  365. messageBox("조회년도를","C001" );
  366. model.refresh();
  367. return;
  368. }
  369. // 주례자별 전례및 성사진행현황
  370. }else if(srch == "RPAYS05501"||srch == "RPAYS05901"){
  371. if( fromdd == "" || todd ==""){
  372. messageBox("조회기간을","C001" );
  373. model.refresh();
  374. return;
  375. }
  376. // 회의별 참석현황
  377. }else if(srch == "RPAYS05601"){
  378. if( fromdd == "" || todd ==""){
  379. messageBox("조회기간을","C001" );
  380. model.refresh();
  381. return;
  382. }
  383. // 원목자교육및 연간일정현황
  384. }else if(srch == "RPAYS05701"){
  385. if( fromdd == "" || todd ==""){
  386. messageBox("조회기간을","C001" );
  387. model.refresh();
  388. return;
  389. }
  390. // 예비자교리현황
  391. }else if(srch == "RPAYS05801"){
  392. if( fromdd == "" || todd ==""){
  393. messageBox("조회기간을","C001" );
  394. model.refresh();
  395. return;
  396. }
  397. //원목상담현황 - 원목자별
  398. }else if(srch == "RPAYS05101"){
  399. if( fromdd == "" || todd ==""){
  400. messageBox("조회기간을","C001" );
  401. model.refresh();
  402. return;
  403. }
  404. }else if(srch == "RPAYS05102"){
  405. if( fromdd == "" || todd ==""){
  406. messageBox("조회기간을","C001" );
  407. model.refresh();
  408. return;
  409. }
  410. }else if(srch == "RPAYS05103"){
  411. if( entry == "" ){
  412. messageBox("조회년도를","C001" );
  413. model.refresh();
  414. return;
  415. }
  416. }else if(srch == "RPAYS05104"){
  417. if( fromyear == "" || toyear ==""){
  418. messageBox("조회년도를","C001" );
  419. model.refresh();
  420. return;
  421. }
  422. }
  423. model.removeNodeset("/root/main/fthadminstatlist/fthadminstatinfo");
  424. model.removeNodeset("/root/send/reqdata");
  425. model.makeNode("/root/send/reqdata");
  426. model.copyNode("/root/send/reqdata","/root/main/search");
  427. submit("TRAYS05001");
  428. if(cmb_stats.value == "RPAYS05101"){
  429. if(rdo_sort.value == "RPAYS05101"){
  430. //alert(cmb_stats.value+"11");
  431. model.makeValue("/root/main/search/searchflag","10");
  432. model.makeValue("/root/main/aaa/sort","RPAYS05101");
  433. }
  434. else if(rdo_sort.value == "RPAYS05102"){
  435. //alert(cmb_stats.value+"22");
  436. model.makeValue("/root/main/search/searchflag","11");
  437. model.makeValue("/root/main/aaa/sort","RPAYS05102");
  438. }
  439. else if(rdo_sort.value =="RPAYS05103"){
  440. //alert(cmb_stats.value+"33");
  441. model.makeValue("/root/main/search/searchflag","12");
  442. model.makeValue("/root/main/aaa/sort","RPAYS05103");
  443. if( entry == "" ){
  444. messageBox("조회년도를","C001" );
  445. model.refresh();
  446. return;
  447. }
  448. }
  449. else if(rdo_sort.value =="RPAYS05104"){
  450. //alert(cmb_stats.value+"44");
  451. model.makeValue("/root/main/search/searchflag","13");
  452. model.makeValue("/root/main/aaa/sort","RPAYS05104");
  453. if( fromyear == "" || toyear ==""){
  454. messageBox("조회년도를","C001" );
  455. model.refresh();
  456. return;
  457. }
  458. }
  459. var srch = model.getValue("/root/main/aaa/sort")
  460. model.refresh();
  461. }
  462. else
  463. {
  464. var srch = model.getValue("/root/main/aaa/printname")
  465. }
  466. exeReportPreview(srch, "XMLSTR", "/root/main/search");
  467. //model.removeNodeset("/root/main/search");
  468. model.refresh();
  469. }
  470. ]]>
  471. </script>
  472. </xhtml:head>
  473. <xhtml:body guideline="1,1195;1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  474. <group id="grp_tle" style="left:0px; top:0px; width:1180px; height:13px; ">
  475. <caption id="caption6" class="tit_1" visibility="visible" style="left:0px; top:0px; width:160px; height:14px; ">원목 통계</caption>
  476. </group>
  477. <group id="grp_biz" scroll="auto" style="left:0px; top:60px; width:1180px; height:710px; ">
  478. <datagrid id="grd_voluntrattdabsninfo" nodeset="/root/main/fthadminstatlist/fthadminstatinfo" visibility="hidden" caption="^^^^^^^^^^^^" colsep="^" colwidth="52, 51, 55, 24, 32, 46, 45, 47, 45, 31, 27, 27, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:130px; top:15px; width:690px; height:55px; ">
  479. <col ref="conslrnm"/>
  480. <col ref="jobrespcd"/>
  481. <col ref="col1"/>
  482. <col ref="col2"/>
  483. <col ref="col3"/>
  484. <col ref="col4"/>
  485. <col ref="col5"/>
  486. <col ref="col6"/>
  487. <col ref="col7"/>
  488. <col ref="col8"/>
  489. <col ref="col9"/>
  490. <col ref="totcnt"/>
  491. </datagrid>
  492. </group>
  493. <group id="group1" style="left:0px; top:15px; width:1180px; height:40px; vertical-align:top; ">
  494. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:2px; width:1180px; height:35px; "/>
  495. <caption id="caption3" class="search_name" style="left:10px; top:11px; width:91px; height:17px; ">통계화면 :</caption>
  496. <button id="button2" class="btn1_letter2" style="left:1089px; top:10px; width:56px; height:22px; ">
  497. <caption>조회</caption>
  498. <script type="javascript" ev:event="DOMActivate">
  499. <![CDATA[
  500. fReqFthAdminStat();
  501. ]]>
  502. </script>
  503. </button>
  504. <line id="line1" class="line_4" style="x1:1071px; y1:7px; x2:1071px; y2:29px; "/>
  505. <caption id="out_search" class="search_name" visibility="hidden" style="left:398px; top:11px; width:86px; height:17px; ">조회기간 :</caption>
  506. <caption id="caption1" visibility="hidden" style="left:577px; top:11px; width:15px; height:20px; font-weight:bold; ">~</caption>
  507. <input id="ipt_todd" ref="/root/main/search/todd" class="input_search" navindex="2" visibility="hidden" inputtype="date" style="left:594px; top:10px; width:105px; height:19px; text-align:center; "/>
  508. <script type="javascript" ev:event="ondayselect">
  509. <![CDATA[
  510. // ipt_todd.attribute("width") = "80";
  511. // ipt_todd.attribute('format')='yyyy-mm';
  512. ]]>
  513. </script>
  514. <input id="ipt_fromdd" ref="/root/main/search/fromdd" class="input_search" navindex="1" visibility="hidden" inputtype="date" style="left:488px; top:10px; width:105px; height:19px; text-align:center; "/>
  515. <script type="javascript" ev:event="ondayselect">
  516. <![CDATA[
  517. // ipt_fromdd.attribute("width") = "80";
  518. // ipt_fromdd.attribute('format')='yyyy-mm';
  519. ]]>
  520. </script>
  521. <select1 id="cmb_stats" ref="/root/main/aaa/printname" class="combo_search" appearance="minimal" style="left:100px; top:11px; width:265px; height:19px; ">
  522. <choices>
  523. <item>
  524. <label>부서별교직원종교현황</label>
  525. <value>RPAYS05001</value>
  526. </item>
  527. <item>
  528. <label>교직원신앙교육현황</label>
  529. <value>RPAYS05201</value>
  530. </item>
  531. <item>
  532. <label>성사수여자현황</label>
  533. <value>RPAYS05301</value>
  534. </item>
  535. <item>
  536. <label>미사/행사/기도 수행횟수 및 참석현황</label>
  537. <value>RPAYS05401</value>
  538. </item>
  539. <item>
  540. <label>주례자별 전례집행현황</label>
  541. <value>RPAYS05501</value>
  542. </item>
  543. <item>
  544. <label>주례자별 성사집행현황</label>
  545. <value>RPAYS05901</value>
  546. </item>
  547. <item>
  548. <label>회의별 참석현황</label>
  549. <value>RPAYS05601</value>
  550. </item>
  551. <item>
  552. <label>원목자의 교육 및 연간일정현황</label>
  553. <value>RPAYS05701</value>
  554. </item>
  555. <item>
  556. <label>예비자 교리현황</label>
  557. <value>RPAYS05801</value>
  558. </item>
  559. <item>
  560. <label>원목상담현황</label>
  561. <value>RPAYS05101</value>
  562. </item>
  563. </choices>
  564. <script type="javascript" ev:event="xforms-value-changed">
  565. <![CDATA[
  566. if(cmb_stats.value=="RPAYS05001")
  567. {
  568. model.makeValue("/root/main/search/fthflag","1");
  569. }
  570. if(cmb_stats.value=="RPAYS05201")
  571. {
  572. model.makeValue("/root/main/search/fthflag","2");
  573. }
  574. if(cmb_stats.value=="RPAYS05301")
  575. {
  576. model.makeValue("/root/main/search/fthflag","3");
  577. }
  578. if(cmb_stats.value=="RPAYS05401")
  579. {
  580. model.makeValue("/root/main/search/fthflag","4");
  581. }
  582. if(cmb_stats.value=="RPAYS05501")
  583. {
  584. model.makeValue("/root/main/search/fthflag","5");
  585. }
  586. if(cmb_stats.value=="RPAYS05901")
  587. {
  588. model.makeValue("/root/main/search/fthflag","6");
  589. }
  590. if(cmb_stats.value=="RPAYS05601")
  591. {
  592. model.makeValue("/root/main/search/fthflag","7");
  593. }
  594. if(cmb_stats.value=="RPAYS05701")
  595. {
  596. model.makeValue("/root/main/search/fthflag","8");
  597. }
  598. if(cmb_stats.value=="RPAYS05801")
  599. {
  600. model.makeValue("/root/main/search/fthflag","9");
  601. }
  602. if(cmb_stats.value=="RPAYS05101")
  603. {
  604. if(rdo_sort.value == "RPAYS05101"){
  605. model.makeValue("/root/main/search/fthflag","10");
  606. //model.makeValue("/root/main/search/searchflag","10");
  607. }
  608. else if(rdo_sort.value == "RPAYS05102"){
  609. model.makeValue("/root/main/search/fthflag","11");
  610. //model.makeValue("/root/main/search/searchflag","11");
  611. }
  612. else if(rdo_sort.value =="RPAYS05103"){
  613. model.makeValue("/root/main/search/fthflag","12");
  614. //model.makeValue("/root/main/search/searchflag","12");
  615. }
  616. else if(rdo_sort.value =="RPAYS05104"){
  617. model.makeValue("/root/main/search/fthflag","13");
  618. //model.makeValue("/root/main/search/searchflag","13");
  619. }
  620. }
  621. fGetFthStats();
  622. //fReqFthAdminStat(); //조회
  623. ]]>
  624. </script>
  625. </select1>
  626. <select1 id="rdo_sort" ref="/root/main/aaa/sort" visibility="hidden" appearance="full" cols="4" overflow="visible" style="left:711px; top:12px; width:229px; height:20px; border-style:none; ">
  627. <choices>
  628. <item>
  629. <label>원목자별</label>
  630. <value>RPAYS05101</value>
  631. </item>
  632. <item>
  633. <label>월별</label>
  634. <value>RPAYS05102</value>
  635. </item>
  636. <item>
  637. <label>분기별</label>
  638. <value>RPAYS05103</value>
  639. </item>
  640. <item>
  641. <label>년도별</label>
  642. <value>RPAYS05104</value>
  643. </item>
  644. </choices>
  645. <script type="javascript" ev:event="xforms-select">
  646. <![CDATA[
  647. if(rdo_sort.value == "RPAYS05101"){
  648. model.makeValue("/root/main/search/fthflag","10");
  649. }
  650. else if(rdo_sort.value == "RPAYS05102"){
  651. model.makeValue("/root/main/search/fthflag","11");
  652. }
  653. else if(rdo_sort.value =="RPAYS05103"){
  654. model.makeValue("/root/main/search/fthflag","12");
  655. }
  656. else if(rdo_sort.value =="RPAYS05104"){
  657. model.makeValue("/root/main/search/fthflag","13");
  658. }
  659. fDate();
  660. model.removeNodeset("/root/main/fthadminstatlist/fthadminstatinfo");
  661. model.removeNodeset("/root/send/reqdata");
  662. model.makeNode("/root/send/reqdata");
  663. model.copyNode("/root/send/reqdata","/root/main/search");
  664. //submit("TRAYS05001");
  665. //var srch = model.getValue("/root/main/aaa/printname")
  666. //exeReportPreview(srch, "XMLSTR", "/root/main/search");
  667. //fReqFthAdminStat();
  668. model.refresh();
  669. ]]>
  670. </script>
  671. </select1>
  672. <select1 id="cmb_year" ref="/root/main/aaa/year" visibility="hidden" appearance="minimal" style="left:568px; top:10px; width:100px; height:19px; ">
  673. <choices>
  674. <item>
  675. <label>1분기</label>
  676. <value>1</value>
  677. </item>
  678. <item>
  679. <label>2분기</label>
  680. <value>2</value>
  681. </item>
  682. <item>
  683. <label>3분기</label>
  684. <value>3</value>
  685. </item>
  686. <item>
  687. <label>4분기</label>
  688. <value>4</value>
  689. </item>
  690. </choices>
  691. </select1>
  692. <input id="ipt_entry" ref="/root/main/search/entry" visibility="hidden" style="left:490px; top:10px; width:100px; height:19px; "/>
  693. <input id="ipt_toyear" ref="/root/main/search/toyear" visibility="hidden" style="left:565px; top:10px; width:55px; height:19px; "/>
  694. <input id="ipt_fromyear" ref="/root/main/search/fromyear" visibility="hidden" style="left:490px; top:10px; width:55px; height:19px; "/>
  695. <caption id="caption2" visibility="hidden" style="left:545px; top:10px; width:20px; height:20px; font-weight:bold; text-align:center; ">~</caption>
  696. </group>
  697. </xhtml:body>
  698. </xhtml:html>