SPAYA00600_교육일정등록관리.xrw 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286
  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. <educsche>
  11. <educscheinfo>
  12. <clscd/>
  13. <clsnm/>
  14. <seqno/>
  15. <fromdd/>
  16. <todd/>
  17. <titlnm/>
  18. <fromtm/>
  19. <totm/>
  20. <milehh/>
  21. <milemm/>
  22. <miletm/>
  23. <plcenm/>
  24. <trgtpsnqty/>
  25. <chrgconslrid/>
  26. <chrgconslrnm/>
  27. <goalnm/>
  28. <lactrnm/>
  29. <schecnts/>
  30. <valursltcnts/>
  31. <valubugtcnts/>
  32. <status/>
  33. </educscheinfo>
  34. </educsche>
  35. <attntrlist>
  36. <attntrlistinfo>
  37. <img_st/>
  38. <status/>
  39. <attnrseqno/>
  40. <attntrid/>
  41. <attntrnm/>
  42. <baptnm/>
  43. <depthngnm/>
  44. <attntcnt/>
  45. </attntrlistinfo>
  46. </attntrlist>
  47. </main>
  48. <send>
  49. <reqdata/>
  50. <savedata/>
  51. <conslrpastor/>
  52. </send>
  53. <init>
  54. </init>
  55. <hidden>
  56. <addrowcnt/>
  57. <conslrpastor/>
  58. <attntcnt/>
  59. <grdattnd/>
  60. </hidden>
  61. <temp/>
  62. <popdata/>
  63. </root>
  64. </instance>
  65. <script type="javascript" ev:event="xforms-ready">
  66. <![CDATA[
  67. fInit();
  68. model.toggle("case_schecnts");
  69. ]]>
  70. </script>
  71. <submission id="TRAYA00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/educsche"/>
  72. <submission id="TRAYA00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/attntrlist"/>
  73. <submission id="TRAYA00603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/conslr" resultref="/root/hidden/conslr"/>
  74. <submission id="TRAYA00604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/grdattnd" resultref="/root/main/userpopupinfo"/>
  75. <submission id="TXAYA00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden"/>
  76. <submission id="TRAYA00703" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond/userid" resultref="/root/temp"/>
  77. <submission id="TRAYA01303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/conslrpastor" resultref="/root/hidden/conslrpastor"/>
  78. </model>
  79. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  80. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  81. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  82. <script type="javascript" src="../../../ast/fthcnstweb/js/SPAYA00600.js"/>
  83. </xhtml:head>
  84. <xhtml:body pagewidth="1211" pageheight="769" guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  85. <group id="group3" scroll="auto" style="left:0px; top:0px; width:1195px; height:744px; "/>
  86. <group id="group5" scroll="auto" style="left:0px; top:742px; width:1195px; height:27px; ">
  87. <line id="line37" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  88. <button id="button38" class="btn4_letter3" visibility="hidden" style="left:1005px; top:3px; width:68px; height:22px; ">
  89. <caption>초기화</caption>
  90. </button>
  91. </group>
  92. <group id="group2" style="left:0px; top:0px; width:1195px; height:742px; ">
  93. <caption id="caption1" class="tit_2" style="left:5px; top:11px; width:126px; height:14px; ">교육일정 관련사항</caption>
  94. <line id="line1" class="line_1" style="x1:0px; y1:26px; x2:1194px; y2:26px; "/>
  95. <line id="line2" class="line_2" style="x1:0px; y1:53px; x2:1195px; y2:53px; "/>
  96. <line id="line9" class="line_2" style="x1:0px; y1:77px; x2:1195px; y2:77px; "/>
  97. <button id="button11" class="btn_sw" group="tab" selected="true" style="left:0px; top:109px; width:90px; height:22px; ">
  98. <caption>일정 및 내용</caption>
  99. <toggle case="case_schecnts" ev:event="onclick"/>
  100. </button>
  101. <button id="button3" class="btn_sw" group="tab" style="left:90px; top:109px; width:36px; height:22px; ">
  102. <caption>평가</caption>
  103. <toggle case="case_valu" ev:event="onclick"/>
  104. <script type="javascript" ev:event="DOMActivate">
  105. <![CDATA[
  106. //교직원 리스트 팝업 조회
  107. ]]>
  108. </script>
  109. </button>
  110. <switch id="swt_schevalu" style="left:0px; top:130px; width:1195px; height:610px; border-color:#c7a3cf; border-style:solid; ">
  111. <case id="case_schecnts">
  112. <textarea id="tar_schecnts" ref="/root/main/educsche/educscheinfo/schecnts" style="left:0px; top:0px; width:1185px; height:600px; "/>
  113. </case>
  114. <case id="case_valu" selected="true">
  115. <caption id="caption8" class="tit_2" style="left:430px; top:10px; width:133px; height:13px; ">교육평가</caption>
  116. <line id="line10" class="line_1" style="x1:430px; y1:25px; x2:1188px; y2:25px; "/>
  117. <line id="line7" class="line_1" style="x1:430px; y1:335px; x2:1188px; y2:335px; "/>
  118. <caption id="caption13" class="tit_2" style="left:430px; top:320px; width:133px; height:14px; ">결산내역</caption>
  119. <textarea id="tar_valureccnts" ref="/root/main/educsche/educscheinfo/valursltcnts" navindex="13" style="left:430px; top:30px; width:758px; height:275px; "/>
  120. <textarea id="tar_valubugtcnts" ref="/root/main/educsche/educscheinfo/valubugtcnts" navindex="14" style="left:430px; top:340px; width:758px; height:265px; "/>
  121. <line id="line11" class="line_3" style="x1:430px; y1:305px; x2:1193px; y2:306px; "/>
  122. <button id="button4" class="btn2_letter3" style="left:309px; top:5px; width:53px; height:19px; ">
  123. <caption>행추가</caption>
  124. <script type="javascript" ev:event="DOMActivate">
  125. <![CDATA[
  126. var addRowCnt = model.getValue('/root/hidden/addrowcnt');
  127. if(addRowCnt == '' || addRowCnt < 1){
  128. addRowCnt = 1;
  129. }
  130. var rowCnt = 0;
  131. for(var i = 1; i <= addRowCnt ; i++){
  132. grd_attntrlist.addItem();//행추가
  133. model.setValue(xAttendPath + '[' + grd_attntrlist.row + ']/status', "i");//status
  134. grd_attntrlist.cellStyle("background-image", grd_attntrlist.row, 1) = "../../../com/commonweb/images/icon_i.gif";//insert img
  135. }
  136. //fGetAttendant();
  137. ]]>
  138. </script>
  139. </button>
  140. <button id="button5" class="btn2_letter3" style="left:365px; top:5px; width:53px; height:19px; ">
  141. <caption>행삭제</caption>
  142. <script type="javascript" ev:event="DOMActivate">
  143. <![CDATA[
  144. fDeleteAttendRow();
  145. ]]>
  146. </script>
  147. </button>
  148. <caption id="caption20" class="tit_2" style="left:9px; top:10px; width:74px; height:13px; ">참석현황</caption>
  149. <line id="line13" class="line_1" style="x1:4px; y1:25px; x2:425px; y2:25px; "/>
  150. <caption id="caption12" style="left:158px; top:37px; width:20px; height:15px; vertical-align:middle; ">명</caption>
  151. <caption id="caption6" class="cell_1" style="left:4px; top:30px; width:70px; height:23px; vertical-align:middle; ">참석자</caption>
  152. <input id="input3" ref="/root/main/attntrlist/attntrlistinfo/attntcnt" class="output_fix" appearance="input" style="left:77px; top:32px; width:75px; height:19px; text-align:right; "/>
  153. <datagrid id="grd_attntrlist" nodeset="/root/main/attntrlist/attntrlistinfo" autoresize="true" caption="^status^attnrseqno^사번^성명^세례명^부서명" colsep="^" colwidth="19, 25, 43, 78, 82, 93" dataheight="25" defaultrows="1" explorerbar="sortshowmove" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:4px; top:55px; width:416px; height:550px; ">
  154. <col ref="img_st" style="text-align:center; "/>
  155. <col ref="status" type="output" visibility="hidden"/>
  156. <col ref="attntrseqno" type="output" visibility="hidden"/>
  157. <col ref="attntrid" type="input" _key="true"/>
  158. <col ref="attntrnm" type="inputbutton" _key="true" style="left:20px; top:23px; width:98px; height:18px; "/>
  159. <col ref="baptnm"/>
  160. <col ref="depthngnm"/>
  161. <script type="javascript" ev:event="onbuttonclick">
  162. <![CDATA[
  163. //status가 i인것만 col 5번째를 눌렀을때 팝업을 띄운다.
  164. if(grd_attntrlist.col == 5 && model.getValue('/root/main/attntrlist/attntrlistinfo[' + grd_attntrlist.row + ']/status') == 'i'){
  165. fGetAttendant();
  166. }
  167. ]]>
  168. </script>
  169. <script type="javascript" ev:event="onkeypress">
  170. <![CDATA[
  171. if(event.keyCode == 13){
  172. if(grd_attntrlist.col == 4){
  173. fGetAtdIdNm('userid', grd_attntrlist.valueMatrix(grd_attntrlist.row, grd_attntrlist.col));
  174. }else if(grd_attntrlist.col == 5){
  175. fGetAtdIdNm('usernm', grd_attntrlist.valueMatrix(grd_attntrlist.row, grd_attntrlist.col));
  176. }
  177. }
  178. ]]>
  179. </script>
  180. </datagrid>
  181. <caption id="caption21" class="cell_1" style="left:217px; top:4px; width:58px; height:20px; vertical-align:middle; ">추가행수</caption>
  182. <input id="input10" ref="/root/hidden/addrowcnt" class="input_default" maxlength="2" format="#,###" style="left:277px; top:5px; width:30px; height:19px; "/>
  183. </case>
  184. </switch>
  185. <caption id="caption19" style="left:550px; top:83px; width:26px; height:15px; vertical-align:middle; ">시간</caption>
  186. <input id="input7" ref="/root/main/educsche/educscheinfo/trgtpsnqty" class="input_default" navindex="9" maxlength="3" appearance="input" style="left:339px; top:80px; width:61px; height:19px; text-align:right; "/>
  187. <input id="input13" ref="/root/main/educsche/educscheinfo/lactrnm" class="input_default" navindex="8" maxlength="30" appearance="input" style="left:98px; top:80px; width:142px; height:19px; "/>
  188. <input id="input6" ref="/root/main/educsche/educscheinfo/fromtm" class="input_default" navindex="4" format="hh:nn" appearance="input" style="left:98px; top:55px; width:60px; height:19px; "/>
  189. <caption id="caption4" style="left:1081px; top:32px; width:12px; height:17px; ">~</caption>
  190. <input id="input1" ref="/root/main/educsche/educscheinfo/totm" class="input_default" navindex="5" format="hh:nn" appearance="input" style="left:179px; top:55px; width:60px; height:19px; "/>
  191. <input id="input12" ref="/root/main/educsche/educscheinfo/titlnm" class="input_default" navindex="1" maxlength="100" appearance="input" style="left:339px; top:32px; width:541px; height:19px; "/>
  192. <input id="input9" ref="/root/main/educsche/educscheinfo/goalnm" class="input_default" navindex="12" maxlength="100" appearance="input" style="left:730px; top:80px; width:465px; height:19px; "/>
  193. <input id="input2" ref="/root/main/educsche/educscheinfo/plcenm" class="input_default" navindex="6" maxlength="100" appearance="input" style="left:339px; top:56px; width:541px; height:19px; "/>
  194. <input id="ipt_fromdd" ref="/root/main/educsche/educscheinfo/fromdd" class="input_essential" navindex="2" inputtype="date" style="left:980px; top:32px; width:90px; height:19px; ">
  195. <script type="javascript" ev:event="xforms-value-changed">
  196. <![CDATA[
  197. model.setValue('/root/main/educsche/educscheinfo/todd', model.getValue('/root/main/educsche/educscheinfo/fromdd'));
  198. model.refresh();
  199. ]]>
  200. </script>
  201. </input>
  202. <caption id="caption22" style="left:160px; top:57px; width:12px; height:17px; ">~</caption>
  203. <input id="ipt_todd" ref="/root/main/educsche/educscheinfo/todd" class="input_default" navindex="3" inputtype="date" style="left:1101px; top:32px; width:90px; height:19px; "/>
  204. <caption id="caption10" class="cell_1" style="left:0px; top:55px; width:95px; height:23px; vertical-align:middle; ">교육시간</caption>
  205. <caption id="caption2" class="cell_1" style="left:242px; top:31px; width:95px; height:23px; vertical-align:middle; ">교육제목</caption>
  206. <caption id="caption23" class="cell_1" style="left:882px; top:29px; width:95px; height:23px; vertical-align:middle; ">교육일자</caption>
  207. <caption id="caption14" class="cell_1" style="left:242px; top:79px; width:95px; height:23px; vertical-align:middle; ">대상인원</caption>
  208. <caption id="caption5" class="cell_1" style="left:667px; top:79px; width:60px; height:23px; vertical-align:middle; ">목적</caption>
  209. <caption id="caption7" class="cell_1" style="left:0px; top:31px; width:95px; height:23px; vertical-align:middle; ">교육명</caption>
  210. <caption id="caption17" class="cell_1" style="left:0px; top:79px; width:95px; height:23px; vertical-align:middle; ">강사명</caption>
  211. <caption id="caption9" class="cell_1" style="left:242px; top:55px; width:95px; height:23px; vertical-align:middle; ">장소</caption>
  212. <caption id="caption18" class="cell_1" style="left:882px; top:55px; width:95px; height:23px; vertical-align:middle; ">담당원목자</caption>
  213. <line id="line6" class="line_3" style="x1:0px; y1:102px; x2:1194px; y2:102px; "/>
  214. <input id="opt_clsnm" ref="/root/main/educsche/educscheinfo/clsnm" class="output_fix" style="left:98px; top:32px; width:142px; height:19px; "/>
  215. <output id="input4" ref="/root/main/educsche/educscheinfo/chrgconslrid" class="output_fix" style="left:1075px; top:56px; width:79px; height:19px; "/>
  216. <button id="button8" class="icon_search" style="left:1160px; top:56px; width:16px; height:16px; ">
  217. <caption/>
  218. <script type="javascript" ev:event="DOMActivate">
  219. <![CDATA[
  220. fConslrSearch();
  221. ]]>
  222. </script>
  223. </button>
  224. <caption id="caption3" class="cell_1" style="left:425px; top:79px; width:60px; height:23px; vertical-align:middle; ">적립시간</caption>
  225. <input id="input5" ref="/root/main/educsche/educscheinfo/milehh" class="input_default" navindex="10" maxlength="5" format="#,###" style="left:490px; top:80px; width:55px; height:19px; "/>
  226. <input id="input8" ref="/root/main/educsche/educscheinfo/milemm" class="input_default" navindex="11" maxlength="4" format="#,###" style="left:580px; top:80px; width:55px; height:19px; "/>
  227. <caption id="caption11" style="left:640px; top:83px; width:26px; height:15px; vertical-align:middle; ">분</caption>
  228. <caption id="caption15" style="left:405px; top:83px; width:20px; height:15px; vertical-align:middle; ">명</caption>
  229. <input id="input11" ref="/root/main/educsche/educscheinfo/chrgconslrnm" class="input_default" navindex="7" appearance="input" style="left:980px; top:56px; width:90px; height:19px; ">
  230. <script type="javascript" ev:event="DOMFocusOut">
  231. <![CDATA[
  232. if(input11.currentText == ''){
  233. input4.value= '';
  234. model.refresh();
  235. }
  236. ]]>
  237. </script>
  238. <script type="javascript" ev:event="onkeydown">
  239. <![CDATA[
  240. if(event.keyCode==13)
  241. {
  242. model.resetInstanceNode("/root/popdata");
  243. var pastornm = input11.currentText;
  244. fGetConslrID(pastornm);
  245. model.refresh();
  246. }
  247. ]]>
  248. </script>
  249. <script type="javascript" ev:event="xforms-value-changed">
  250. <![CDATA[
  251. model.setValue("/root/main/educsche/educscheinfo/chrgconslrid", "");
  252. model.refresh();
  253. ]]>
  254. </script>
  255. </input>
  256. <input id="input14" ref="/root/main/educsche/educscheinfo/clscd" visibility="hidden" style="left:185px; top:15px; width:100px; height:20px; "/>
  257. <input id="input15" ref="/root/main/educsche/educscheinfo/seqno" visibility="hidden" style="left:305px; top:15px; width:100px; height:20px; "/>
  258. <button id="bt_save" class="btn4_letter2" style="left:1075px; top:3px; width:56px; height:22px; ">
  259. <caption>저장</caption>
  260. <script type="javascript" ev:event="DOMActivate">
  261. <![CDATA[
  262. fSave();
  263. ]]>
  264. </script>
  265. </button>
  266. <button id="bt_cncl" class="btn4_letter2" style="left:1134px; top:3px; width:56px; height:22px; ">
  267. <caption>취소</caption>
  268. <script type="javascript" ev:event="DOMActivate">
  269. <![CDATA[
  270. model.close();
  271. ]]>
  272. </script>
  273. </button>
  274. </group>
  275. </xhtml:body>
  276. </xhtml:html>