SMAYA03100_기타원목활동등록.xrw 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMAYA03100기타원목활동등록.xrw
  4. * 설 명 : 기타원목활동내역관리
  5. * 작 성 자 : 김다영
  6. * 작 성 일 : 2007.11.10
  7. * 수정이력 :
  8. * 기 타 :
  9. -->
  10. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  11. <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">
  12. <xhtml:head>
  13. <xhtml:title>기타원목활동등록</xhtml:title>
  14. <model id="model1">
  15. <instance id="instance1">
  16. <root xmlns="">
  17. <main>
  18. <remfthlist>
  19. <remfthlistinfo>
  20. <clsflag/>
  21. <clscd/>
  22. <clssupcd/>
  23. <clsnm/>
  24. <scrncd/>
  25. <depth/>
  26. <pathcd/>
  27. <conslrid/>
  28. <conslrnm/>
  29. </remfthlistinfo>
  30. </remfthlist>
  31. <cond>
  32. <clscd/>
  33. <reffromdd/>
  34. <reftodd/>
  35. <conslrid/>
  36. <scrncd/>
  37. <clsnm/>
  38. <conslrnm/>
  39. </cond>
  40. <remfthschelist>
  41. <remfthschelistinfo>
  42. <fthactdd/>
  43. <clssupnm/>
  44. <clsnm/>
  45. <acttims/>
  46. <acttmmnt/>
  47. <actspec/>
  48. <clssupcd/>
  49. <clscd/>
  50. <conslrid/>
  51. <acttm/>
  52. <status/>
  53. <acttmhour/>
  54. <acttmminu/>
  55. </remfthschelistinfo>
  56. </remfthschelist>
  57. <remfthaddlist>
  58. <remfthaddlistinfo>
  59. <fthactdd/>
  60. <clssupnm/>
  61. <clsnm/>
  62. <acttims/>
  63. <acttm/>
  64. <actspec/>
  65. <clssupcd/>
  66. <clscd/>
  67. <conslrid/>
  68. <acttmmnt/>
  69. <status/>
  70. <conslrnm/>
  71. <acttmhour/>
  72. <acttmminu/>
  73. </remfthaddlistinfo>
  74. </remfthaddlist>
  75. </main>
  76. <send>
  77. <reqdata/>
  78. <savedata/>
  79. <removedata/>
  80. </send>
  81. <init>
  82. </init>
  83. <hidden/>
  84. </root>
  85. </instance>
  86. <script type="javascript" ev:event="xforms-ready">
  87. <![CDATA[
  88. fInit();
  89. ]]>
  90. </script>
  91. <submission id="TRAYA03101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/init" replace="instance" resultref="/root/main/remfthlist"/>
  92. <submission id="TXAYA03101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" replace="instance" resultref="/root/main/remfthschelist/remfthschelistinfo"/>
  93. <submission id="TRAYA03102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" replace="instance" resultref="/root/main/remfthschelist"/>
  94. </model>
  95. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  96. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  97. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  98. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  99. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  100. <script type="javascript">
  101. <![CDATA[
  102. /**========================================================================================================================================
  103. * 화면 오픈시
  104. =========================================================================================================================================*/
  105. function fInit() {
  106. //기타원목활동내역 그리드 초기화
  107. model.removeNodeset("/root/main/remfthschelist/remfthschelistinfo");
  108. grd_remfthlist.refresh();
  109. //신심단체/사목회 트리구조를 조회
  110. model.makeNode("/root/send/clsflag");
  111. model.makeValue("/root/init/clsflag",'E'); //clsflag값을 'E'로 넘기기
  112. submit("TRAYA03101");
  113. //조회기간 오늘 날짜로 세팅
  114. var CurrentDate = getCurrentDate();
  115. model.setValue("/root/main/cond/reffromdd", CurrentDate);
  116. model.setValue("/root/main/cond/reftodd", CurrentDate);
  117. model.setValue("/root/main/remfthaddlist/remfthaddlistinfo/fthactdd", CurrentDate);
  118. //사용자명 (입력자 또는 로그인한 사용자명)
  119. var usernm = getUserInfo("usernm");
  120. model.setValue(opt_conslrid.attribute("ref"), usernm);
  121. model.refresh();
  122. var userid = getUserInfo("userid");
  123. model.setValue("/root/main/cond/conslrid", userid);
  124. model.refresh();
  125. fRef();
  126. }
  127. /**========================================================================================================================================
  128. * 조회버튼 클릭시
  129. =========================================================================================================================================*/
  130. function fRef() {
  131. ipt_fthactdd.disabled = true;
  132. model.resetInstanceNode("/root/main/remfthaddlist/remfthaddlistinfo");
  133. var clscd = model.getValue("/root/main/cond/clscd");
  134. var depth = model.getValue("/root/main/remfthlist/remfthlistinfo[clscd='" + clscd + "']/depth");
  135. /*
  136. if (depth == '1') {
  137. messageBox("최상위 레벨은 조회", "E001");
  138. return;
  139. }
  140. */
  141. model.makeNode("/root/send/reqdata");
  142. model.copyNode("/root/send/reqdata","/root/main/cond");
  143. model.refresh();
  144. submit("TRAYA03102");
  145. }
  146. /**========================================================================================================================================
  147. * 트리리스트 클릭시
  148. =========================================================================================================================================*/
  149. function fSelectedTree() {
  150. ipt_fthactdd.disabled = false;
  151. //트리리스트에서 선택한 clscd 값
  152. var clscd = model.getValue("/root/main/cond/clscd");
  153. var clssupnm = model.getValue("/root/main/remfthlist/remfthlistinfo[clssupcd='" + clscd +"']/clsnm");
  154. var clssupcd = model.getValue("/root/main/remfthlist/remfthlistinfo[clscd ='" + clscd +"']/clssupcd");
  155. var clssupnm = model.getValue("/root/main/remfthlist/remfthlistinfo[clscd ='" + clssupcd+"']/clsnm");
  156. var clsnm = model.getValue("/root/main/remfthlist/remfthlistinfo[clscd ='" + clscd +"']/clsnm");
  157. var scrncd = model.getValue("/root/main/remfthlist/remfthlistinfo[clscd ='" + clscd +"']/scrncd");
  158. var clsflag = model.getValue("/root/main/remfthlist/remfthlistinfo[clscd='" + clscd + "']/clsflag");
  159. var CurrentDate = getCurrentDate();
  160. if(clscd != '' && (scrncd.charAt(0) != clsflag)){
  161. messageBox("'" + clsnm +"'" + "하위에 기타원목활동이 존재합니다. 최하위 기타원목활동을", "C002");
  162. return;
  163. }
  164. else {
  165. model.resetInstanceNode("/root/main/remfthaddlist/remfthaddlistinfo");
  166. model.setValue("/root/main/remfthaddlist/remfthaddlistinfo/clssupnm",clssupnm);
  167. model.setValue("/root/main/remfthaddlist/remfthaddlistinfo/clsnm", clsnm);
  168. model.setValue("/root/main/remfthaddlist/remfthaddlistinfo/fthactdd", CurrentDate);
  169. model.setValue("/root/main/remfthaddlist/remfthaddlistinfo/clscd", clscd);
  170. model.setValue("/root/main/remfthaddlist/remfthaddlistinfo/clssupcd", clssupcd);
  171. model.setValue("/root/main/remfthaddlist/remfthaddlistinfo/conslrid", getUserInfo("userid"));
  172. model.setValue("/root/main/remfthaddlist/remfthaddlistinfo/status", "i");
  173. model.setValue("/root/main/cond/scrncd", scrncd);
  174. model.refresh();
  175. }
  176. }
  177. /**========================================================================================================================================
  178. * 초기화
  179. =========================================================================================================================================*/
  180. function fInitCtrl() {
  181. model.resetInstanceNode("/root/main/remfthaddlist/remfthaddlistinfo/clssupnm");
  182. model.resetInstanceNode("/root/main/remfthaddlist/remfthaddlistinfo/clsnm");
  183. model.resetInstanceNode("/root/main/remfthaddlist/remfthaddlistinfo/fthactdd");
  184. model.resetInstanceNode("/root/main/remfthaddlist/remfthaddlistinfo/acttm");
  185. model.resetInstanceNode("/root/main/remfthaddlist/remfthaddlistinfo/acttims");
  186. model.resetInstanceNode("/root/main/remfthaddlist/remfthaddlistinfo/actspec");
  187. model.resetInstanceNode("/root/main/remfthaddlist/remfthaddlistinfo/acttmhour");
  188. model.resetInstanceNode("/root/main/remfthaddlist/remfthaddlistinfo/acttmminu");
  189. model.refresh();
  190. }
  191. function fGetGridList() {
  192. var idx = grd_remfthlist.row;
  193. if( idx < 1) return ;
  194. //model.copyNode("/root/main/remfthaddlist/remfthaddlistinfo", grd_remfthlist.nodeset + "[" + idx + "]");
  195. ipt_fthactdd.disabled = true;
  196. model.resetInstanceNode("/root/hidden/main/remfthaddlist/remfthaddlistinfo");
  197. model.copyNode("/root/main/remfthaddlist/remfthaddlistinfo", grd_remfthlist.nodeset + "[" + idx + "]");
  198. // hidden에 내용 복사
  199. model.removeNodeset("/root/hidden/main/remfthaddlist/remfthaddlistinfo");
  200. model.makeValue("/root/hidden/main/remfthaddlist/remfthaddlistinfo", grd_remfthlist.nodeset + "[" + idx + "]");
  201. //model.setValue("/root/hidden/main/remfthaddlist/remfthaddlistinfo/status", "u");
  202. model.setValue("/root/main/remfthaddlist/remfthaddlistinfo/status", "u");
  203. model.refresh();
  204. }
  205. /**========================================================================================================================================
  206. * 기타원목활동조회 팝업
  207. =========================================================================================================================================*/
  208. function fAYA03000()
  209. {
  210. modal("SMAYA03000",1,100,100);
  211. //modal("SMAYA03000",null,null,null, "SMAYA03000", "/root/actsource", "/root/main/actsource");
  212. }
  213. /**========================================================================================================================================
  214. * 삭제버튼클릭시
  215. =========================================================================================================================================*/
  216. function fGetDelGridList(){
  217. var idx = grd_remfthlist.row;
  218. if ( model.getValue("/root/main/remfthschelist/remfthschelistinfo[" + idx + "]/clsnm") != ""){
  219. var btn = messageBox("선택 일정을 ", "Q001");
  220. if (btn == '6') {
  221. model.setValue("/root/main/remfthaddlist/remfthaddlistinfo/status",'d');
  222. model.makeNode("/root/send/savedata");
  223. model.copyNode("/root/send/savedata","/root/main/remfthaddlist");
  224. if (submit("TXAYA03101", "false") == true)
  225. {
  226. fRef();
  227. }
  228. } else if (btn == '7') {
  229. return;
  230. }
  231. } else {
  232. messageBox("삭제할 일정을", "C002");
  233. }
  234. }
  235. /**========================================================================================================================================
  236. * 저장버튼클릭시
  237. =========================================================================================================================================*/
  238. function fSaveData() {
  239. var clscd = model.getValue("/root/main/remfthaddlist/remfthaddlistinfo/clscd");
  240. var clsnm = model.getValue("/root/main/remfthaddlist/remfthaddlistinfo/clsnm");
  241. var clsflag = model.getValue("/root/main/remfthlist/remfthlistinfo[clscd='" + clscd + "']/clsflag");
  242. var scrncd = model.getValue("/root/main/remfthlist/remfthlistinfo[clscd='" + clscd + "']/scrncd");
  243. if(clscd != '' && (scrncd.charAt(0) != clsflag)){
  244. messageBox("'" + clsnm + "하위에 기타원목활동이 존재합니다. 최하위 기타원목활동을", "C002");
  245. return;
  246. }
  247. else if (ipt_lactrnm.currentText == "" || ipt_lactrnm.currentText == "0")
  248. {
  249. messageBox("수행횟수를", "C001");
  250. model.setFocus("ipt_lactrnm");
  251. return;
  252. }
  253. var status = model.getValue("/root/main/remfthaddlist/remfthaddlistinfo/status");
  254. //alert("status="+status);
  255. //중복체크
  256. if (status == "i") { //등록
  257. //if (seqno == "") { //등록
  258. var fthactdd = '';
  259. var clscd = '';
  260. for(var i = 1; i < grd_remfthlist.rows; i++){
  261. fthactdd = model.getValue("/root/main/remfthschelist/remfthschelistinfo"+ '[' + i + ']/fthactdd');
  262. clscd = model.getValue("/root/main/remfthschelist/remfthschelistinfo"+ '[' + i + ']/clscd');
  263. //clssupcd = model.getValue("/root/main/remfthschelist/remfthschelistinfo"+ '[' + i + ']/clssupcd);
  264. if(fthactdd == model.getValue("/root/main/remfthaddlist/remfthaddlistinfo/fthactdd")&&(clscd == model.getValue("/root/main/remfthaddlist/remfthaddlistinfo/clscd"))){
  265. messageBox('데이터가 ', 'E006')
  266. return;
  267. }
  268. }
  269. var clscd = model.getValue("/root/main/remfthaddlist/remfthaddlistinfo/clscd");
  270. var depth = model.getValue("/root/main/remfthlist/remfthlistinfo[clscd='" + clscd + "']/depth");
  271. if (depth == '1') {
  272. return;
  273. }
  274. var acttmhour = model.getValue("/root/main/remfthaddlist/remfthaddlistinfo/acttmhour");
  275. var acttmminu = model.getValue("/root/main/remfthaddlist/remfthaddlistinfo/acttmminu");
  276. acttmhour = (acttmhour == '')? 0 : acttmhour;
  277. acttmminu = (acttmminu == '')? 0 : acttmminu;
  278. var acttm = (eval(acttmhour)*60) + eval(acttmminu)
  279. //alert(acttm);
  280. if(acttm == ''){
  281. acttm = 0;
  282. }
  283. model.setValue("/root/main/remfthaddlist/remfthaddlistinfo/acttm",acttm);
  284. //model.setValue("/root/main/remfthschelist/remfthschelistinfo/acttmmnt",acttm);
  285. //alert(model.getValue("/root/main/remfthaddlist/remfthaddlistinfo/acttm"));
  286. model.removeNodeset("/root/send/savedata");
  287. model.makeNode("/root/send/savedata");
  288. model.copyNode("/root/send/savedata","/root/main/remfthaddlist/remfthaddlistinfo");
  289. submit("TXAYA03101");
  290. fRef();
  291. } else if (status == "u") { //수정
  292. //} else if (seqno != "") { //수정
  293. //변경여부체크
  294. if (instance1.selectSingleNode("/root/hidden/main/remfthaddlist").xml == instance1.selectSingleNode("/root/main/remfthaddlist").xml) {
  295. messageBox("변경된 데이터가 ","I004");
  296. return;
  297. } else {
  298. var acttmhour = model.getValue("/root/main/remfthaddlist/remfthaddlistinfo/acttmhour");
  299. var acttmminu = model.getValue("/root/main/remfthaddlist/remfthaddlistinfo/acttmminu");
  300. acttmhour = (acttmhour == '')? 0 : acttmhour;
  301. acttmminu = (acttmminu == '')? 0 : acttmminu;
  302. var acttm = (eval(acttmhour)*60) + eval(acttmminu)
  303. //alert(acttm);
  304. model.setValue("/root/main/remfthaddlist/remfthaddlistinfo/acttm",acttm);
  305. model.removeNodeset("/root/send/savedata");
  306. model.makeNode("/root/send/savedata");
  307. model.copyNode("/root/send/savedata","/root/main/remfthaddlist/remfthaddlistinfo");
  308. submit("TXAYA03101");
  309. fRef();
  310. }
  311. }
  312. }
  313. /**========================================================================================================================================
  314. * grid node set sort
  315. * param : nodeset : 그리드 nodeset path
  316. trgtref : sort 타켓 instance명
  317. mode : 내림차, 또는 올림차 (desc, asc)
  318. =========================================================================================================================================*/
  319. function nodeListSort( nodeset, trgRef, mode ){
  320. var nodesetCnt = model.getXPathValue("count(" + nodeset + ")");
  321. if(nodesetCnt == 0) return;
  322. var tmpVal1, tmpVal2;
  323. var tmpIndx;
  324. for(var i = 1; i <= nodesetCnt; i++){
  325. for(var j = i + 1 ; j <= nodesetCnt; j++){
  326. tmpVal1 = model.getValue(nodeset + "[" + i + "]/" + trgRef);
  327. tmpVal2 = model.getValue(nodeset + "[" + j + "]/" + trgRef);
  328. if(isNumber(tmpVal1)==true){tmpVal1 = Number(tmpVal1);}
  329. if(isNumber(tmpVal2)==true){tmpVal2 = Number(tmpVal2);}
  330. if(mode == "desc"){
  331. if(tmpVal1 < tmpVal2){
  332. model.duplicate(instance1.selectSingleNode(nodeset).parentNode, nodeset + "[" + j + "]", "*[" + i + "]");
  333. model.removenode(nodeset + "[" + (j + 1) + "]");
  334. model.duplicate(instance1.selectSingleNode(nodeset).parentNode, nodeset + "[" + (i + 1) + "]", "*[" + j + "]");
  335. model.removenode(nodeset + "[" + (i + 1) + "]");
  336. }
  337. }else if(mode == "asc"){
  338. if(tmpVal1 > tmpVal2){
  339. model.duplicate(instance1.selectSingleNode(nodeset).parentNode, nodeset + "[" + j + "]", "*[" + i + "]");
  340. model.removenode(nodeset + "[" + (j + 1) + "]");
  341. model.duplicate(instance1.selectSingleNode(nodeset).parentNode, nodeset + "[" + (i + 1) + "]", "*[" + j + "]");
  342. model.removenode(nodeset + "[" + (i + 1) + "]");
  343. }
  344. }
  345. }
  346. }
  347. }
  348. function isNumber(str) {
  349. str += ''; // 문자열로 변환
  350. str = str.replace(/^\s*|\s*$/g, ''); // 좌우 공백 제거
  351. if (str == '' || isNaN(str)) return false;
  352. return true;
  353. }
  354. var gmode = "asc";
  355. ]]>
  356. </script>
  357. </xhtml:head>
  358. <xhtml:body guideline="1,1193;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  359. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  360. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:155px; height:14px; ">기타 원목활동내역 관리</caption>
  361. </group>
  362. <group id="group5" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
  363. <line id="line37" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  364. </group>
  365. <group id="group2" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  366. <caption id="caption21" class="tit_2" style="left:295px; top:50px; width:190px; height:13px; ">기타 원목활동내역</caption>
  367. <group id="group4" style="left:295px; top:10px; width:899px; height:35px; vertical-align:top; ">
  368. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:899px; height:35px; "/>
  369. <button id="button2" class="btn1_letter2" style="left:827px; top:7px; width:56px; height:22px; ">
  370. <caption>조회</caption>
  371. <script type="javascript" ev:event="DOMActivate">
  372. <![CDATA[
  373. fRef();
  374. ]]>
  375. </script>
  376. </button>
  377. <caption id="caption25" class="search_name" style="left:20px; top:10px; width:86px; height:17px; ">조회일자 :</caption>
  378. <line id="line2" style="x1:815px; y1:5px; x2:815px; y2:27px; border-color:#ffe4bb; border-left-style:solid; "/>
  379. <input id="ipt_reffromdd" ref="/root/main/cond/reffromdd" class="input_default" navindex="13" inputtype="date" style="left:120px; top:10px; width:100px; height:19px; "/>
  380. <input id="ipt_reftodd" ref="/root/main/cond/reftodd" class="input_default" navindex="13" inputtype="date" style="left:240px; top:10px; width:100px; height:19px; "/>
  381. <caption id="caption9" class="search_no_b" style="left:225px; top:10px; width:12px; height:17px; ">~</caption>
  382. <caption id="caption1" class="search_name" style="left:365px; top:11px; width:86px; height:17px; ">원목자 :</caption>
  383. <output id="opt_conslrid" ref="/root/main/cond/conslrnm" class="output_fix" style="left:450px; top:10px; width:105px; height:19px; "/>
  384. </group>
  385. <datagrid id="grd_remfthlist" nodeset="/root/main/remfthschelist/remfthschelistinfo" autoresize="true" caption="활동일자^항목^하위항목^수행횟수^소요시간^비고^acttmhour^acttmminu" colsep="^" colwidth="79, 122, 125, 68, 100, 370, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:295px; top:75px; width:890px; height:540px; ">
  386. <col ref="fthactdd" format="yyyy-mm-dd"/>
  387. <col ref="clssupnm"/>
  388. <col ref="clsnm"/>
  389. <col ref="acttims" style="text-align:center; "/>
  390. <col ref="acttmmnt" style="text-align:center; "/>
  391. <col ref="actspec"/>
  392. <col ref="acttmhour" visibility="hidden"/>
  393. <col ref="acttmminu" visibility="hidden"/>
  394. <script type="javascript" ev:event="onclick">
  395. <![CDATA[
  396. var curcol = grd_remfthlist.col;
  397. var currow = grd_remfthlist.row;
  398. if(currow == 0){
  399. if(grd_remfthlist.isCell(event.target)){
  400. var curcol = grd_remfthlist.col;
  401. nodeListSort(grd_remfthlist.nodeset, grd_remfthlist.colAttribute(curcol, "ref"), gmode);
  402. if(gmode=="asc"){
  403. gmode = "desc";
  404. }else{
  405. gmode = "asc";
  406. }
  407. }
  408. model.refresh();
  409. }else{
  410. if(isDataCell()){
  411. fGetGridList();
  412. }
  413. }
  414. /*
  415. if(isDataCell()){
  416. fGetGridList();
  417. }else{
  418. var curcol = grd_remfthlist.col;
  419. nodeListSort(grd_remfthlist.nodeset, grd_remfthlist.colAttribute(curcol, "ref"), gmode);
  420. if(gmode=="asc"){
  421. gmode = "desc";
  422. }else{
  423. gmode = "asc";
  424. }
  425. model.refresh();
  426. }*/
  427. ]]>
  428. </script>
  429. <script type="javascript" ev:event="onaftersort">
  430. <![CDATA[
  431. grd_remfthlist.gridToInstance();
  432. ]]>
  433. </script>
  434. </datagrid>
  435. <caption id="caption2" class="tit_2" style="left:5px; top:10px; width:145px; height:14px; ">기타 원목활동 리스트</caption>
  436. <treeview id="trv_remfthlist" ref="/root/main/cond/clscd" expanddepth="3" itemsettype="depth" style="left:0px; top:30px; width:290px; height:710px; ">
  437. <itemset nodeset="/root/main/remfthlist/remfthlistinfo">
  438. <label ref="clsnm"/>
  439. <value ref="clscd"/>
  440. <depth ref="depth"/>
  441. </itemset>
  442. <script type="javascript" ev:event="xforms-select">
  443. <![CDATA[
  444. fSelectedTree();
  445. ]]>
  446. </script>
  447. <script type="javascript" ev:event="DOMFocusIn">
  448. <![CDATA[
  449. model.setFocus("ipt_lactrnm"); //트리선택시 수행횟수로이동
  450. model.refresh();
  451. ]]>
  452. </script>
  453. </treeview>
  454. <line id="line3" class="line_1" style="x1:0px; y1:25px; x2:290px; y2:25px; ">-</line>
  455. <group id="group9" style="left:295px; top:625px; width:885px; height:110px; ">
  456. <caption id="caption13" class="tit_2" style="left:8px; top:5px; width:157px; height:14px; font-family:돋움; vertical-align:middle; ">기타 원목활동내역 등록</caption>
  457. <caption id="caption14" class="cell_1" style="left:0px; top:25px; width:70px; height:23px; text-align:center; vertical-align:middle; ">항 목</caption>
  458. <button id="button15" class="btn5_letter3" style="left:830px; top:0px; width:53px; height:19px; ">
  459. <caption>초기화</caption>
  460. <script type="javascript" ev:event="DOMActivate">
  461. <![CDATA[
  462. fInitCtrl();
  463. ]]>
  464. </script>
  465. </button>
  466. <caption id="caption15" class="cell_1" style="left:0px; top:50px; width:70px; height:50px; text-align:center; vertical-align:middle; ">비 고</caption>
  467. <line id="line12" class="line_1" style="x1:0px; y1:20px; x2:885px; y2:20px; "/>
  468. <line id="line13" class="line_3" style="x1:0px; y1:105px; x2:880px; y2:105px; "/>
  469. <textarea id="textarea1" ref="/root/main/remfthaddlist/remfthaddlistinfo/actspec" navindex="4" imemode="hangul" maxlength="100" style="left:74px; top:50px; width:810px; height:50px; "/>
  470. <caption id="caption8" class="cell_1" style="left:182px; top:25px; width:70px; height:23px; text-align:center; vertical-align:middle; ">하위항목</caption>
  471. <output id="opt_clscd" ref="/root/main/remfthaddlist/remfthaddlistinfo/clsnm" class="output_fix" style="left:254px; top:27px; width:133px; height:19px; "/>
  472. <button id="button7" class="btn5_letter2" style="left:785px; top:0px; width:42px; height:19px; ">
  473. <caption>삭제</caption>
  474. <script type="javascript" ev:event="DOMActivate">
  475. <![CDATA[
  476. fGetDelGridList();
  477. ]]>
  478. </script>
  479. </button>
  480. <button id="button3" class="btn5_letter2" style="left:740px; top:0px; width:42px; height:19px; ">
  481. <caption>저장</caption>
  482. <script type="javascript" ev:event="DOMActivate">
  483. <![CDATA[
  484. fSaveData();
  485. ]]>
  486. </script>
  487. </button>
  488. <output id="opt_clssupcd" ref="/root/main/remfthaddlist/remfthaddlistinfo/clssupnm" class="output_fix" style="left:74px; top:27px; width:105px; height:19px; "/>
  489. <caption id="caption3" class="cell_1" style="left:390px; top:24px; width:70px; height:23px; text-align:center; vertical-align:middle; ">활동일자</caption>
  490. <input id="ipt_fthactdd" ref="/root/main/remfthaddlist/remfthaddlistinfo/fthactdd" class="input_default" disabled="true" navindex="13" inputtype="date" style="left:462px; top:27px; width:100px; height:19px; "/>
  491. <caption id="caption4" class="cell_1" style="left:565px; top:24px; width:70px; height:23px; text-align:center; vertical-align:middle; ">수행횟수</caption>
  492. <input id="ipt_lactrnm" ref="/root/main/remfthaddlist/remfthaddlistinfo/acttims" class="input_default" navindex="1" maxlength="2" format="####" appearance="input" style="left:638px; top:27px; width:30px; height:19px; text-align:right; ">
  493. <script type="javascript" ev:event="xforms-value-changed">
  494. <![CDATA[
  495. //fLactrValChg();
  496. ]]>
  497. </script>
  498. </input>
  499. <caption id="caption5" class="cell_1" style="left:671px; top:25px; width:70px; height:23px; text-align:center; vertical-align:middle; ">소요시간</caption>
  500. <input id="input1" ref="/root/main/remfthaddlist/remfthaddlistinfo/acttmminu" navindex="3" maxlength="2" format="####" style="left:819px; top:27px; width:37px; height:19px; text-align:right; "/>
  501. <caption id="caption7" class="cell_1" style="left:859px; top:25px; width:26px; height:23px; text-align:center; vertical-align:middle; ">분</caption>
  502. <caption id="caption10" class="cell_1" style="left:784px; top:25px; width:33px; height:23px; text-align:left; vertical-align:middle; ">시간</caption>
  503. <input id="input2" ref="/root/main/remfthaddlist/remfthaddlistinfo/acttmhour" navindex="2" maxlength="2" format="####" style="left:744px; top:27px; width:37px; height:19px; text-align:right; "/>
  504. </group>
  505. <line id="line1" class="line_1" style="x1:295px; y1:70px; x2:1185px; y2:70px; "/>
  506. <button id="button83" class="btn3_letter10" style="left:1034px; top:47px; width:152px; height:22px; ">
  507. <caption>기타원목활동내역조회</caption>
  508. <script type="javascript" ev:event="DOMActivate">
  509. <![CDATA[
  510. fAYA03000();
  511. ]]>
  512. </script>
  513. </button>
  514. </group>
  515. </xhtml:body>
  516. </xhtml:html>