SMAYA01200_행사관리.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <main>
  10. <festivclslist>
  11. <festivclslistinfo>
  12. <clsflag/>
  13. <clscd/>
  14. <clssupcd/>
  15. <clsnm/>
  16. <scrncd/>
  17. <depth/>
  18. <pathcd/>
  19. </festivclslistinfo>
  20. </festivclslist>
  21. <cond>
  22. <clsnm/>
  23. <reffromdd/>
  24. <reftodd/>
  25. <sort/>
  26. <conslrid/>
  27. <clscd/>
  28. <scrncd/>
  29. <clsflag>B</clsflag>
  30. </cond>
  31. <festivschelist>
  32. <festivschelistinfo>
  33. <clscd/>
  34. <seqno/>
  35. <titlnm>
  36. </titlnm>
  37. <fromdd/>
  38. <todd/>
  39. <fromtm/>
  40. <totm/>
  41. <plcenm/>
  42. <pastornm/>
  43. <userid/>
  44. <trgtpsnqty/>
  45. <voluntrnm/>
  46. <chrgconslrid/>
  47. <chrgconslrnm/>
  48. </festivschelistinfo>
  49. </festivschelist>
  50. </main>
  51. <send>
  52. <removedata/>
  53. <reqdata/>
  54. </send>
  55. <init>
  56. <chrgconslrlist>
  57. <chrgconslrlistinfo>
  58. <conslrnm/>
  59. <conslrid/>
  60. </chrgconslrlistinfo>
  61. </chrgconslrlist>
  62. </init>
  63. <hidden>
  64. <keys>
  65. <clscd/>
  66. <fromdd/>
  67. <prcsdd/>
  68. <seqno/>
  69. </keys>
  70. </hidden>
  71. </root>
  72. </instance>
  73. <script type="javascript" ev:event="xforms-ready">
  74. <![CDATA[
  75. fInit();
  76. ]]>
  77. </script>
  78. <submission id="TRAYA01201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/init" resultref="/root/main/festivclslist"/>
  79. <submission id="TRAYA02801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/chrgconslrlist"/>
  80. <submission id="TRAYA01202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/cond" resultref="/root/main/festivschelist"/>
  81. <submission id="TXAYA01301" ref="/root/send" resultref="/root/main/festivdetaillist"/>
  82. </model>
  83. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  84. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  85. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  86. <script type="javascript" src="../../../ast/fthcnstweb/js/SMAYA01200.js"/>
  87. </xhtml:head>
  88. <xhtml:body guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  89. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  90. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:149px; height:14px; ">행사관리</caption>
  91. </group>
  92. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  93. <group id="group4" style="left:295px; top:10px; width:899px; height:70px; vertical-align:top; ">
  94. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:899px; height:70px; "/>
  95. <button id="button5" class="btn1_letter2" style="left:825px; top:27px; width:56px; height:22px; ">
  96. <caption>조회</caption>
  97. <script type="javascript" ev:event="DOMActivate">
  98. <![CDATA[
  99. //트리에서 선택한 행사에 해당하는 행사일정을 조회한다.
  100. fFestivscheListSearch();
  101. ]]>
  102. </script>
  103. </button>
  104. <line id="line13" class="line_4" style="x1:807px; y1:7px; x2:807px; y2:65px; "/>
  105. <caption id="caption3" class="search_name" style="left:15px; top:10px; width:110px; height:17px; ">행 사 명 :</caption>
  106. <caption id="caption4" class="search_name" style="left:305px; top:10px; width:91px; height:17px; ">조회기간 :</caption>
  107. <input id="input2" ref="/root/main/cond/reftodd" class="input_search" inputtype="date" style="left:575px; top:10px; width:130px; height:19px; "/>
  108. <caption id="caption7" class="search_no_b" style="left:548px; top:10px; width:12px; height:17px; ">~</caption>
  109. <input id="input3" ref="/root/main/cond/reffromdd" class="input_search" inputtype="date" style="left:405px; top:10px; width:130px; height:19px; "/>
  110. <output id="opt_clsnm" ref="/root/main/cond/clsnm" class="output_search" style="left:130px; top:10px; width:135px; height:19px; "/>
  111. <caption id="caption2" class="search_name" style="left:15px; top:40px; width:110px; height:17px; ">담당 원목자 :</caption>
  112. <caption id="caption8" class="search_name" style="left:305px; top:40px; width:91px; height:17px; ">정렬기준 :</caption>
  113. <select1 id="radio2" ref="/root/main/cond/sort" class="radio_search" navindex="4" appearance="full" cols="5" overflow="visible" style="left:405px; top:40px; width:300px; height:20px; background-color:transparent; border-style:none; ">
  114. <choices>
  115. <item>
  116. <label>일자별</label>
  117. <value>date</value>
  118. </item>
  119. <item>
  120. <label>행사명별</label>
  121. <value>festnm</value>
  122. </item>
  123. <item>
  124. <label>주례자별</label>
  125. <value>pastor</value>
  126. </item>
  127. <item>
  128. <label>담당원목자별</label>
  129. <value>conslr</value>
  130. </item>
  131. </choices>
  132. <script type="javascript" ev:event="xforms-value-changed">
  133. <![CDATA[
  134. fFestivscheListSearch();//행사일정을 조회한다.
  135. /*
  136. fPamcChange();
  137. fSearch();
  138. model.resetInstanceNode("");
  139. */
  140. ]]>
  141. </script>
  142. </select1>
  143. <select1 id="cmb_conslrid" ref="/root/main/cond/conslrid" class="combo_default" navindex="3" appearance="minimal" style="left:130px; top:40px; width:135px; height:19px; ">
  144. <choices>
  145. <itemset nodeset="/root/init/chrgconslrlist/chrgconslrlistinfo">
  146. <label ref="conslrnm"/>
  147. <value ref="conslrid"/>
  148. </itemset>
  149. </choices>
  150. <script type="javascript" ev:event="xforms-select">
  151. <![CDATA[
  152. fFestivscheListSearch();//행사일정을 조회한다.
  153. ]]>
  154. </script>
  155. </select1>
  156. <input id="inpt_clscd" ref="/root/main/cond/clscd" visibility="hidden" style="left:30px; top:0px; width:100px; height:19px; "/>
  157. </group>
  158. <caption id="caption5" class="tit_2" style="left:5px; top:10px; width:145px; height:14px; ">행사 리스트</caption>
  159. <line id="line12" class="line_1" style="x1:0px; y1:25px; x2:290px; y2:25px; "/>
  160. <line id="line5" class="line_1" style="x1:295px; y1:105px; x2:1194px; y2:105px; "/>
  161. <treeview id="trv_festivclslist" ref="/root/main/festivclslist/festivclslistinfo" expanddepth="3" itemsettype="depth" style="left:0px; top:30px; width:290px; height:710px; ">
  162. <itemset nodeset="/root/main/festivclslist/festivclslistinfo">
  163. <label ref="clsnm"/>
  164. <value ref="clscd"/>
  165. <depth ref="depth"/>
  166. </itemset>
  167. <script type="javascript" ev:event="xforms-select">
  168. <![CDATA[
  169. //행사 리스트 트리구조 선택시 조회조건의 행사명에 셋팅
  170. //var clscd = model.getValue("/root/main/festivclslist/festivclslistinfo["+(trv_festivclslist.focusIndex + 1)+"]/clssupcd");
  171. //alert(clscd);
  172. //var clsupcd = model.getValue("/root/main/festivclslist/festivclslistinfo[clscd=" + clscd +"]/clsnm");
  173. //alert(clsupcd);
  174. model.setValue("/root/main/cond/clsnm", model.getValue("/root/main/festivclslist/festivclslistinfo["+(trv_festivclslist.focusIndex + 1)+"]/clsnm"));
  175. model.setValue("/root/main/cond/clscd", model.getValue("/root/main/festivclslist/festivclslistinfo["+(trv_festivclslist.focusIndex + 1)+"]/clscd"));
  176. model.setValue("/root/main/cond/scrncd", model.getValue("/root/main/festivclslist/festivclslistinfo["+(trv_festivclslist.focusIndex + 1)+"]/scrncd"));
  177. model.refresh();
  178. ]]>
  179. </script>
  180. <script type="javascript" ev:event="ondblclick">
  181. <![CDATA[
  182. //등록버튼 클릭시 이벤트와 동일
  183. fNewFestivSche(true);
  184. ]]>
  185. </script>
  186. </treeview>
  187. <caption id="caption1" class="tit_2" style="left:300px; top:90px; width:200px; height:13px; ">행사일정 조회</caption>
  188. <button id="button10" class="btn2_letter2" style="left:1125px; top:85px; width:42px; height:19px; ">
  189. <caption>출력</caption>
  190. <script type="javascript" ev:event="DOMActivate">
  191. <![CDATA[
  192. //그리드에 조회된 행사일정 결과를 rexpert를 이용해 출력
  193. exeReportPreview("RPAYA01201", "XMLSTR"); //미리보기
  194. ]]>
  195. </script>
  196. </button>
  197. <datagrid id="grd_festivschelist" nodeset="/root/main/festivschelist/festivschelistinfo" autoresize="true" caption="전례 / 행사명^행사코드^시퀀스^기관코드^내용^시작일자^종료일자^시작시간^종료시간^장소^주례/진행자^봉사자^참석인원^담당원목자" colsep="^" colwidth="101, 100, 100, 100, 121, 70, 70, 60, 60, 106, 75, 71, 57, 85" dataheight="25" explorerbar="sortshowmove" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:295px; top:110px; width:899px; height:630px; ">
  198. <col ref="clsnm"/>
  199. <col ref="clscd" visibility="hidden"/>
  200. <col ref="seqno" visibility="hidden"/>
  201. <col ref="instcd" visibility="hidden"/>
  202. <col allowuserresize="true" autonext="true" ref="titlnm"/>
  203. <col ref="fromdd" format="yyyy-mm-dd" style="text-align:center; "/>
  204. <col ref="todd" format="yyyy-mm-dd" style="text-align:center; "/>
  205. <col ref="fromtm" format="hh:nn" style="text-align:center; "/>
  206. <col ref="totm" format="hh:nn" style="text-align:center; "/>
  207. <col allowuserresize="true" autonext="true" ref="plcenm"/>
  208. <col ref="pastornm" style="text-align:center; "/>
  209. <col ref="voluntrnm" style="text-align:center; "/>
  210. <col ref="trgtpsnqty" style="text-align:right; "/>
  211. <col ref="chrgconslrnm" style="text-align:center; "/>
  212. <script type="javascript" ev:event="ondblclick">
  213. <![CDATA[
  214. if(grd_festivschelist.row > 0){
  215. //수정팝업
  216. fUpdtFestivSche();
  217. }
  218. ]]>
  219. </script>
  220. <script type="javascript" ev:event="onaftersort">
  221. <![CDATA[
  222. grd_festivschelist.gridToInstance();
  223. ]]>
  224. </script>
  225. </datagrid>
  226. <input id="input1" ref="/root/main/cond/scrncd" visibility="hidden" style="left:450px; top:85px; width:100px; height:20px; "/>
  227. </group>
  228. <group id="group5" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
  229. <button id="button2" class="btn4_letter2" style="left:1080px; top:3px; width:56px; height:22px; ">
  230. <caption>수정</caption>
  231. <script type="javascript" ev:event="DOMActivate">
  232. <![CDATA[
  233. fUpdtFestivSche();
  234. ]]>
  235. </script>
  236. </button>
  237. <button id="button3" class="btn4_letter2" style="left:1138px; top:3px; width:56px; height:22px; ">
  238. <caption>삭제</caption>
  239. <script type="javascript" ev:event="DOMActivate">
  240. <![CDATA[
  241. fDelFestivSche();
  242. ]]>
  243. </script>
  244. </button>
  245. <button id="button4" class="btn4_letter2" style="left:1020px; top:3px; width:56px; height:22px; ">
  246. <caption>등록</caption>
  247. <script type="javascript" ev:event="DOMActivate">
  248. <![CDATA[
  249. fNewFestivSche();
  250. ]]>
  251. </script>
  252. </button>
  253. <line id="line37" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  254. </group>
  255. </xhtml:body>
  256. </xhtml:html>