SPAAA00400_수시활동등록.xrw 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  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. <send/>
  10. <main>
  11. <benfinfo>
  12. <posteam1/>
  13. <posteam2/>
  14. <voluntrnm/>
  15. <benfcd/>
  16. <benfdd/>
  17. <rem/>
  18. <voluntrid/>
  19. <cretno/>
  20. <seqno/>
  21. <status/>
  22. </benfinfo>
  23. </main>
  24. <init>
  25. <posteam1>
  26. <A0359/>
  27. </posteam1>
  28. <posteam2>
  29. <A0360/>
  30. </posteam2>
  31. <benfcd>
  32. <A0364>
  33. </A0364>
  34. </benfcd>
  35. </init>
  36. <hidden>
  37. <uid>
  38. <myselt/>
  39. <opener/>
  40. <children>
  41. <wid/>
  42. </children>
  43. </uid>
  44. </hidden>
  45. </root>
  46. </instance>
  47. <script type="javascript" ev:event="xforms-ready">
  48. <![CDATA[
  49. fInit();
  50. ]]>
  51. </script>
  52. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  53. <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post"/>
  54. </model>
  55. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  56. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  57. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  58. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  59. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  60. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  61. </xhtml:head>
  62. <script type="javascript">
  63. <![CDATA[
  64. // 초기값
  65. function fInit()
  66. {
  67. if (checkOpener()) {
  68. var benfdd = opener.javascript.getParameter("benfdd");
  69. var posteam1 = opener.javascript.getParameter("posteam1");
  70. var posteam2 = opener.javascript.getParameter("posteam2");
  71. } else {
  72. messageBox("상위화면이 변경되어 데이터를 전달할 수 ", "I004");
  73. }
  74. // 공통코드 셋팅
  75. zbcfGetCodeList(new Array("A0359", "A0360", "A0364"), new Array( "/root/init/posteam1", "/root/init/posteam2", "/root/init/benfcd") , true);
  76. //화면 오픈시 간병인명에 이름 셋팅
  77. //alert(sinursnm);
  78. model.setValue("/root/main/benfinfo/benfdd",benfdd);
  79. model.setValue("/root/main/benfinfo/posteam1",posteam1);
  80. model.setValue("/root/main/benfinfo/posteam2",posteam2);
  81. model.refresh();
  82. }
  83. //확인
  84. function fSendParam()
  85. {
  86. //alert(model.getValue("/root/main/grdlist/itemlist[" + grd_list.row + " ]/sinursnm"));
  87. //opener.javascript.setParameter("sinursnm", model.getValue("/root/main/grdlist/itemlist[" + grd_list.row + " ]/sinursnm"));
  88. opener.javascript.setParameter("flag", "Y");
  89. opener.javascript.setParameter("benfcd", model.getValue("/root/main/benfinfo/benfcd"));
  90. opener.javascript.setParameter("rem", model.getValue("/root/main/benfinfo/rem"));
  91. }
  92. ]]>
  93. </script>
  94. <xhtml:body pagewidth="465" pageheight="132" guideline="1,500;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  95. <group id="grp_btn" scroll="auto" style="left:0px; top:105px; width:449px; height:27px; ">
  96. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:448px; y2:0px; "/>
  97. <button id="btn_confirm" class="btn4_letter2" style="left:332px; top:5px; width:56px; height:22px; ">
  98. <caption>삭제</caption>
  99. <script type="javascript" ev:event="DOMActivate">
  100. <![CDATA[
  101. fSendParam();
  102. model.close();
  103. ]]>
  104. </script>
  105. </button>
  106. <button id="btn_cancel" class="btn4_letter2" style="left:391px; top:5px; width:56px; height:22px; ">
  107. <caption>취소</caption>
  108. <script type="javascript" ev:event="DOMActivate">
  109. <![CDATA[
  110. opener.javascript.setParameter("flag", "N");
  111. model.close();
  112. ]]>
  113. </script>
  114. </button>
  115. <button id="button1" class="btn4_letter2" style="left:273px; top:5px; width:56px; height:22px; ">
  116. <caption>저장</caption>
  117. <script type="javascript" ev:event="DOMActivate">
  118. <![CDATA[
  119. fSendParam();
  120. model.close();
  121. ]]>
  122. </script>
  123. </button>
  124. </group>
  125. <group id="group1" scroll="auto" style="left:0px; top:0px; width:449px; height:105px; ">
  126. <line id="line8" class="line_2" style="x1:0px; y1:22px; x2:448px; y2:22px; "/>
  127. <line id="line1" class="line_2" style="x1:0px; y1:46px; x2:448px; y2:46px; "/>
  128. <caption id="caption5" class="cell_1" style="left:0px; top:0px; width:85px; height:23px; vertical-align:middle; ">봉사일자</caption>
  129. <caption id="caption6" class="cell_1" style="left:0px; top:24px; width:85px; height:23px; vertical-align:middle; ">시작시간</caption>
  130. <caption id="caption7" class="cell_1" style="left:0px; top:48px; width:85px; height:53px; vertical-align:middle; ">비고</caption>
  131. <caption id="caption8" class="cell_1" style="left:221px; top:0px; width:85px; height:23px; vertical-align:middle; ">활동시간</caption>
  132. <line id="line15" class="line_3" style="x1:0px; y1:102px; x2:448px; y2:102px; "/>
  133. <input id="ipt_benfdd" ref="/root/main/benfinfo/benfdd" class="input_default" disabled="false" style="left:313px; top:2px; width:126px; height:19px; "/>
  134. <textarea id="tar_rem" ref="/root/main/benfinfo/rem" style="left:88px; top:48px; width:360px; height:53px; "/>
  135. <input id="input1" ref="/root/main/benfinfo/benfdd" class="input_default" disabled="false" inputtype="date" style="left:89px; top:2px; width:126px; height:19px; "/>
  136. <caption id="caption1" class="cell_1" style="left:221px; top:24px; width:85px; height:23px; vertical-align:middle; ">종료시간</caption>
  137. <input id="input3" ref="/root/main/benfinfo/benfdd" class="input_default" disabled="false" style="left:88px; top:25px; width:126px; height:19px; "/>
  138. <input id="input4" ref="/root/main/benfinfo/benfdd" class="input_default" disabled="false" style="left:313px; top:25px; width:126px; height:19px; "/>
  139. </group>
  140. </xhtml:body>
  141. </xhtml:html>