SPAYA01300_행사일정등록관리.xrw 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339
  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>
  9. <main>
  10. <festivschelist>
  11. <festivschelistinfo>
  12. <clsnm/>
  13. <titlnm/>
  14. <fromdd/>
  15. <todd/>
  16. <fromtm/>
  17. <totm/>
  18. <plcenm/>
  19. <formflagcd/>
  20. <pastornm/>
  21. <pastorid/>
  22. <voluntrnm/>
  23. <trgtpsnqty/>
  24. <chrgconslrid/>
  25. <chrgconslrnm/>
  26. <schecnts/>
  27. <valursltcnts/>
  28. <valubugtcnts/>
  29. <attntrqty/>
  30. <attntrlist/>
  31. <clscd/>
  32. <status/>
  33. </festivschelistinfo>
  34. </festivschelist>
  35. <festivdetaillist>
  36. <festivdetaillistinfo>
  37. <rownum/>
  38. <clscd/>
  39. <prcsseqno/>
  40. <seqno/>
  41. <prcsdd/>
  42. <actnm/>
  43. <fromtm/>
  44. <totm/>
  45. <progrscnts/>
  46. <prepcnts/>
  47. <rem/>
  48. </festivdetaillistinfo>
  49. </festivdetaillist>
  50. <cond>
  51. <clscd/>
  52. <seqno/>
  53. </cond>
  54. </main>
  55. <send>
  56. <reqdata/>
  57. <sFestivData/>
  58. <sFestivDetailData/>
  59. <conslrpastor/>
  60. </send>
  61. <init/>
  62. <hidden>
  63. <clscd/>
  64. <fromdd/>
  65. <seqno/>
  66. <addrowcnt/>
  67. <conslrpastor/>
  68. <prepoppsn>
  69. <id/>
  70. <nm/>
  71. </prepoppsn>
  72. </hidden>
  73. </root>
  74. </instance>
  75. <script type="javascript" ev:event="xforms-ready">
  76. <![CDATA[
  77. fInit();
  78. model.toggle("case_prcslist");
  79. ]]>
  80. </script>
  81. <submission id="TXAYA01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/festivdetaillist"/>
  82. <submission id="TRAYA01302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/festivdetaillist"/>
  83. <submission id="TRAYA01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/festivschelist"/>
  84. <submission id="TRAYA01303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/conslrpastor" resultref="/root/tmp/conslrpastor"/>
  85. </model>
  86. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  87. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  88. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  89. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  90. <script type="javascript" src="../../../ast/fthcnstweb/js/SPAYA01300.js"/>
  91. </xhtml:head>
  92. <xhtml:body pagewidth="1211" pageheight="769" guideline="1,1195;1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  93. <group id="group3" scroll="auto" style="left:0px; top:0px; width:1195px; height:744px; "/>
  94. <group id="group5" scroll="auto" style="left:0px; top:742px; width:1195px; height:27px; ">
  95. <button id="button4" class="btn4_letter3" visibility="hidden" style="left:1011px; top:3px; width:68px; height:22px; ">
  96. <caption>초기화</caption>
  97. <script type="javascript" ev:event="DOMActivate">
  98. <![CDATA[/*
  99. //수정하지 않은 원상태 데이터로 복구한다.
  100. if(messageBox('입력 또는 수정하신 데이터는 저장되지 않습니다. 초기화를', 'Q004')){
  101. fInit(true);
  102. } */
  103. ]]>
  104. </script>
  105. </button>
  106. <line id="line37" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  107. </group>
  108. <group id="group2" style="left:0px; top:0px; width:1195px; height:742px; ">
  109. <switch id="switch1" style="left:0px; top:130px; width:1195px; height:610px; border-color:#c7a3cf; border-style:solid; ">
  110. <case id="case_prcslist" selected="true">
  111. <datagrid id="grd_progrssche" nodeset="/root/main/festivdetaillist/festivdetaillistinfo" caption="^진행일련번호^활동명^진행일자^시작시간^종료시간^내용^준비물^참고사항" colsep="^" colwidth="20, 132, 124, 86, 86, 86, 327, 150, 150" dataheight="25" defaultrows="1" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:4px; top:30px; width:1184px; height:575px; ">
  112. <col ref="rownum" type="output" visibility="hidden" style="text-align:right; background-color:#BDDDFF; "/>
  113. <col ref="prcsseqno" visibility="hidden"/>
  114. <col autonext="true" ref="actnm" type="input"/>
  115. <col autonext="true" ref="prcsdd" type="inputdate" style="text-align:center; "/>
  116. <col autonext="true" ref="fromtm" type="input" format="hh:nn" maxlength="4" style="text-align:center; "/>
  117. <col autonext="true" ref="totm" type="input" format="hh:nn" maxlength="4" style="text-align:center; "/>
  118. <col autonext="true" ref="progrscnts" type="input" maxlength="300"/>
  119. <col autonext="true" ref="prepcnts" type="input" maxlength="300"/>
  120. <col autonext="true" ref="rem" type="input" maxlength="300"/>
  121. <script type="javascript" ev:event="onclick">
  122. <![CDATA[
  123. grd_progrssche.cellStyle("background-color", grd_progrssche.row, 1) = '#BDDDFF';
  124. ]]>
  125. </script>
  126. </datagrid>
  127. <caption id="caption8" class="cell_1" style="left:986px; top:1px; width:58px; height:23px; vertical-align:middle; ">추가행수</caption>
  128. <button id="button53" class="btn2_letter3" style="left:1081px; top:4px; width:53px; height:19px; ">
  129. <caption>행추가</caption>
  130. <script type="javascript" ev:event="DOMActivate">
  131. <![CDATA[
  132. var addRowCnt = model.getValue('/root/hidden/addrowcnt');
  133. if(addRowCnt == '' || addRowCnt < 1){
  134. addRowCnt = 1;
  135. }
  136. for(var i = 1; i <= addRowCnt ; i++){
  137. grd_progrssche.addItem();//행추가
  138. }
  139. /*
  140. var rowCnt = grd_progrssche.rows;
  141. var prcsdd = currentdate; //행추가시 진행일자 default로 현재일자 넣어줌..
  142. if(model.getValue('/root/main/festivschelist/festivschelistinfo/fromdd') != ''){
  143. //행사일자 입력됐을때 진행일자에 default 행사일자를 넣어줌.
  144. prcsdd = model.getValue('/root/main/festivschelist/festivschelistinfo/fromdd');
  145. }
  146. model.setValue('/root/main/festivdetaillist/festivdetaillistinfo[' + grd_progrssche.row + ']/prcsdd', prcsdd);
  147. */
  148. ]]>
  149. </script>
  150. </button>
  151. <button id="button54" class="btn2_letter3" style="left:1137px; top:4px; width:53px; height:19px; ">
  152. <caption>행삭제</caption>
  153. <script type="javascript" ev:event="DOMActivate">
  154. <![CDATA[
  155. if(grd_progrssche.row > -1){
  156. if(grd_progrssche.rowStatus(grd_progrssche.row) == 1 || grd_progrssche.rowStatus(grd_progrssche.row) == 3){
  157. grd_progrssche.deleteRow(grd_progrssche.row);
  158. }else{
  159. grd_progrssche.addStatus(grd_progrssche.row,"delete");
  160. }
  161. }
  162. ]]>
  163. </script>
  164. </button>
  165. <line id="line5" class="line_1" style="x1:4px; y1:25px; x2:1188px; y2:25px; "/>
  166. <input id="input5" ref="/root/hidden/addrowcnt" maxlength="2" format="#,###" style="left:1045px; top:4px; width:30px; height:19px; text-align:right; "/>
  167. </case>
  168. <case id="case_schecnts">
  169. <line id="line10" class="line_1" style="x1:3px; y1:25px; x2:1187px; y2:25px; "/>
  170. <caption id="caption16" class="tit_2" style="left:10px; top:10px; width:133px; height:13px; ">행사내용</caption>
  171. <textarea id="tar_schecnts" ref="/root/main/festivschelist/festivschelistinfo/schecnts" navindex="9" style="left:4px; top:32px; width:1184px; height:570px; "/>
  172. </case>
  173. <case id="case_valu">
  174. <line id="line1" class="line_1" style="x1:3px; y1:25px; x2:1187px; y2:25px; "/>
  175. <caption id="caption1" class="tit_2" style="left:10px; top:10px; width:133px; height:13px; ">행사평가</caption>
  176. <caption id="caption13" class="tit_2" style="left:10px; top:320px; width:133px; height:13px; ">결산내역</caption>
  177. <textarea id="tar_valureccnts" ref="/root/main/festivschelist/festivschelistinfo/valursltcnts" navindex="10" style="left:3px; top:30px; width:1184px; height:275px; "/>
  178. <textarea id="tar_valubugtcnts" ref="/root/main/festivschelist/festivschelistinfo/valubugtcnts" navindex="12" style="left:3px; top:340px; width:1184px; height:265px; "/>
  179. <line id="line7" class="line_1" style="x1:3px; y1:335px; x2:1187px; y2:335px; "/>
  180. </case>
  181. </switch>
  182. <button id="button11" class="btn_sw" group="tab" selected="true" style="left:0px; top:109px; width:72px; height:22px; ">
  183. <caption>진행일정</caption>
  184. <toggle case="case_prcslist" ev:event="onclick"/>
  185. </button>
  186. <button id="button2" class="btn_sw" group="tab" style="left:72px; top:109px; width:72px; height:22px; ">
  187. <caption>행사내용</caption>
  188. <toggle case="case_schecnts" ev:event="onclick"/>
  189. </button>
  190. <button id="button3" class="btn_sw" group="tab" style="left:144px; top:109px; width:36px; height:22px; ">
  191. <caption>평가</caption>
  192. <toggle case="case_valu" ev:event="onclick"/>
  193. </button>
  194. <line id="line20" class="line_3" style="x1:0px; y1:102px; x2:1194px; y2:102px; "/>
  195. <line id="line11" class="line_1" style="x1:0px; y1:26px; x2:1194px; y2:26px; "/>
  196. <caption id="caption22" class="tit_2" style="left:5px; top:11px; width:126px; height:14px; ">행사일정 관련사항</caption>
  197. <button id="button8" class="icon_search" style="left:294px; top:81px; width:16px; height:16px; ">
  198. <caption/>
  199. <script type="javascript" ev:event="DOMActivate">
  200. <![CDATA[
  201. fPastorConslrSearch('pastor');//주례자 선택
  202. ]]>
  203. </script>
  204. </button>
  205. <caption id="caption25" class="cell_1" style="left:865px; top:55px; width:95px; height:23px; vertical-align:middle; ">담당원목자</caption>
  206. <caption id="caption37" class="cell_1" style="left:0px; top:31px; width:95px; height:23px; vertical-align:middle; ">전례/행사명</caption>
  207. <input id="input12" ref="/root/main/festivschelist/festivschelistinfo/titlnm" class="input_default" navindex="1" maxlength="100" appearance="input" style="left:414px; top:32px; width:426px; height:19px; "/>
  208. <caption id="caption2" class="cell_1" style="left:315px; top:31px; width:95px; height:23px; vertical-align:middle; ">내용</caption>
  209. <caption id="caption3" class="cell_1" style="left:865px; top:31px; width:95px; height:23px; vertical-align:middle; ">행사일자</caption>
  210. <caption id="caption10" class="cell_1" style="left:0px; top:55px; width:95px; height:23px; vertical-align:middle; ">시간</caption>
  211. <caption id="caption4" style="left:175px; top:59px; width:12px; height:17px; ">~</caption>
  212. <input id="input2" ref="/root/main/festivschelist/festivschelistinfo/totm" class="input_default" navindex="5" format="hh:nn" appearance="input" style="left:195px; top:56px; width:65px; height:19px; "/>
  213. <input id="input3" ref="/root/main/festivschelist/festivschelistinfo/plcenm" class="input_default" navindex="6" maxlength="100" appearance="input" style="left:414px; top:56px; width:426px; height:19px; "/>
  214. <caption id="caption9" class="cell_1" style="left:315px; top:55px; width:95px; height:23px; vertical-align:middle; ">장소</caption>
  215. <input id="input6" ref="/root/main/festivschelist/festivschelistinfo/fromtm" class="input_default" navindex="4" format="hh:nn" appearance="input" style="left:98px; top:56px; width:67px; height:19px; "/>
  216. <input id="input7" ref="/root/main/festivschelist/festivschelistinfo/trgtpsnqty" class="input_default" navindex="7" maxlength="3" format="#,###" appearance="input" style="left:414px; top:80px; width:61px; height:19px; text-align:right; "/>
  217. <caption id="caption14" class="cell_1" style="left:315px; top:79px; width:95px; height:23px; vertical-align:middle; ">참석인원</caption>
  218. <caption id="caption19" style="left:476px; top:83px; width:20px; height:15px; vertical-align:middle; ">명</caption>
  219. <line id="line9" class="line_2" style="x1:1px; y1:77px; x2:1194px; y2:77px; "/>
  220. <line id="line2" class="line_2" style="x1:50px; y1:53px; x2:1194px; y2:53px; "/>
  221. <input id="input13" ref="/root/main/festivschelist/festivschelistinfo/pastorid" class="output_fix" disabled="true" appearance="input" style="left:195px; top:80px; width:94px; height:19px; "/>
  222. <input id="input17" ref="/root/main/festivschelist/festivschelistinfo/pastornm" class="input_default" appearance="input" style="left:98px; top:80px; width:94px; height:19px; ">
  223. <script type="javascript" ev:event="onkeyup">
  224. <![CDATA[
  225. //input13.currentText = '';
  226. //주례자명 입력후 엔터키 치면 실제 주례자팝업 조회쿼리에서 아이디를 찾는다.
  227. //명칭 입력한 것에 대한 아이디가 없으면 주례자선택하는 팝업을 띄워준다.
  228. if(event.keyCode==13){
  229. model.resetInstanceNode("/root/popdata");
  230. fgetPastorConslrId('pastor', input17.currentText);
  231. model.refresh();
  232. }
  233. ]]>
  234. </script>
  235. <script type="javascript" ev:event="DOMFocusOut">
  236. <![CDATA[
  237. model.resetInstanceNode("/root/popdata");
  238. var pastornm = input17.currentText;
  239. if (pastornm == "")
  240. {
  241. model.setValue('/root/main/festivschelist/festivschelistinfo/pastorid', '');
  242. model.setValue('/root/main/festivschelist/festivschelistinfo/pastornm', '');
  243. }
  244. model.refresh();
  245. ]]>
  246. </script>
  247. <script type="javascript" ev:event="xforms-value-changed">
  248. <![CDATA[
  249. model.setValue("/root/main/festivschelist/festivschelistinfo/pastorid", "");
  250. model.refresh();
  251. ]]>
  252. </script>
  253. </input>
  254. <caption id="caption5" class="cell_1" style="left:0px; top:79px; width:95px; height:23px; vertical-align:middle; ">주례/진행자</caption>
  255. <output id="opt_clsnm" ref="/root/main/festivschelist/festivschelistinfo/clsnm" class="output_fix" style="left:98px; top:32px; width:190px; height:19px; "/>
  256. <output id="output1" ref="/root/main/festivschelist/festivschelistinfo/clscd" visibility="hidden" style="left:115px; top:15px; width:172px; height:19px; "/>
  257. <caption id="caption6" style="left:1059px; top:34px; width:12px; height:17px; ">~</caption>
  258. <input id="input14" ref="/root/main/festivschelist/festivschelistinfo/fromdd" class="input_default" navindex="2" inputtype="date" style="left:963px; top:32px; width:94px; height:19px; ">
  259. <script type="javascript" ev:event="xforms-value-changed">
  260. <![CDATA[
  261. //시작일자 입력시 종료일자를 시작일자로 자동표시
  262. var sdate = model.getValue('/root/main/festivschelist/festivschelistinfo/fromdd');
  263. if(sdate != ''){
  264. model.setValue('/root/main/festivschelist/festivschelistinfo/todd', sdate);
  265. model.refresh();
  266. }
  267. ]]>
  268. </script>
  269. </input>
  270. <input id="input15" ref="/root/main/festivschelist/festivschelistinfo/todd" class="input_default" navindex="3" inputtype="date" style="left:1074px; top:32px; width:94px; height:19px; "/>
  271. <button id="button9" class="icon_search" style="left:1172px; top:57px; width:16px; height:16px; ">
  272. <caption/>
  273. <script type="javascript" ev:event="DOMActivate">
  274. <![CDATA[
  275. fPastorConslrSearch('chrgconslr'); //원목자선택
  276. ]]>
  277. </script>
  278. </button>
  279. <input id="input4" ref="/root/main/festivschelist/festivschelistinfo/chrgconslrnm" class="input_default" appearance="input" style="left:963px; top:56px; width:107px; height:19px; ">
  280. <script type="javascript" ev:event="onkeyup">
  281. <![CDATA[
  282. //input16.currentText = '';
  283. //원목자명 입력후 엔터키 치면 실제 원목자팝업 조회쿼리에서 아이디를 찾는다.
  284. //명칭 입력한 것에 대한 아이디가 없으면 원목자선택하는 팝업을 띄워준다.
  285. if(event.keyCode==13){
  286. model.resetInstanceNode("/root/popdata");
  287. fgetPastorConslrId('chrgconslr', input4.currentText);
  288. model.refresh();
  289. }
  290. ]]>
  291. </script>
  292. <script type="javascript" ev:event="DOMFocusOut">
  293. <![CDATA[
  294. model.resetInstanceNode("/root/popdata");
  295. var pastornm = input4.currentText;
  296. if (pastornm == "")
  297. {
  298. model.setValue('/root/main/festivschelist/festivschelistinfo/chrgconslrid', '');
  299. model.setValue('/root/main/festivschelist/festivschelistinfo/chrgconslrnm', '');
  300. }
  301. model.refresh();
  302. ]]>
  303. </script>
  304. </input>
  305. <input id="input16" ref="/root/main/festivschelist/festivschelistinfo/chrgconslrid" class="output_fix" disabled="true" visibility="visible" appearance="input" style="left:1074px; top:56px; width:94px; height:19px; "/>
  306. <input id="input1" ref="/root/main/festivschelist/festivschelistinfo/voluntrnm" class="input_default" navindex="8" maxlength="60" appearance="input" style="left:963px; top:80px; width:202px; height:19px; "/>
  307. <caption id="caption7" class="cell_1" style="left:865px; top:79px; width:95px; height:23px; vertical-align:middle; ">봉사자</caption>
  308. <button id="button1" class="btn4_letter2" style="left:1081px; top:3px; width:56px; height:22px; ">
  309. <caption>저장</caption>
  310. <script type="javascript" ev:event="DOMActivate">
  311. <![CDATA[
  312. fSave();
  313. ]]>
  314. </script>
  315. </button>
  316. <button id="button46" class="btn4_letter2" style="left:1139px; top:3px; width:56px; height:22px; ">
  317. <caption>취소</caption>
  318. <script type="javascript" ev:event="DOMActivate">
  319. <![CDATA[
  320. model.close();
  321. ]]>
  322. </script>
  323. </button>
  324. </group>
  325. </xhtml:body>
  326. </xhtml:html>