SPAAA02200_확인서출력.xfdl 10.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPAAA02200" position="absolute 0 0 426 164" titletext="확인서출력" onload="SPAAA02200_onload">
  5. <Layouts>
  6. <Layout>
  7. <Shape id="static1" type="roundrectangle" class="roundrect_example" position="absolute 0 -1 423 34" anchor="top right" visible="false"/>
  8. <Div position="absolute 0 131 425 161" id="grp_btn" scrollbars="autoboth">
  9. <Layouts>
  10. <Layout>
  11. <Shape position="absolute 0 0 423 6" linetype="horizontal" id="line32" class="line_6" anchor="default"/>
  12. <Button position="absolute 308 5 364 27" id="btn_confirm" class="btn4" taborder="3" text="출력" anchor="default" onclick="grp_btn_btn_confirm_onclick"/>
  13. <Button position="absolute 367 5 423 27" id="btn_cancel" class="btn4" taborder="4" text="취소" anchor="default" onclick="grp_btn_btn_cancel_onclick"/>
  14. </Layout>
  15. </Layouts>
  16. </Div>
  17. <Div position="absolute 0 34 425 134" id="group1" scrollbars="autoboth">
  18. <Layouts>
  19. <Layout>
  20. <Shape id="line8" class="line_2" position="absolute 0 23 423 29"/>
  21. <Shape id="line00" class="line_2" position="absolute 0 59 423 65"/>
  22. <Static text="담당자" position="absolute 0 63 85 98" align="align:center middle;" id="caption7" class="cell_1"/>
  23. <TextArea position="absolute 88 63 423 98" id="tar_rem" taborder="2" wordwrap="char"/>
  24. <TextArea position="absolute 88 27 423 62" id="textarea1" taborder="1" wordwrap="char"/>
  25. <Static text="내용" position="absolute 0 27 85 62" align="align:center middle;" id="caption1" class="cell_1"/>
  26. <Static text="서류번호" position="absolute 0 2 85 26" align="align:center middle;" id="caption3" class="cell_1"/>
  27. <Edit position="absolute 88 2 423 26" id="input1" taborder="0"/>
  28. </Layout>
  29. </Layouts>
  30. </Div>
  31. <Static text="~" position="absolute 224 8 239 23" id="caption2" visible="false"/>
  32. <Calendar position="absolute 243 7 333 26" id="ipt_todd" class="input_search" visible="false" dateformat="yyyy-MM-dd" value="null"/>
  33. <Calendar position="absolute 128 7 218 26" id="ipt_fromdd" class="input_search" visible="false" dateformat="yyyy-MM-dd"/>
  34. <Static text="이력조회기간 :" position="absolute 8 9 121 26" id="cap_fromtodd" class="search_name" visible="false"/>
  35. </Layout>
  36. </Layouts>
  37. <Objects>
  38. <Dataset id="ds_send_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  39. <Dataset id="ds_main_aaa" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  40. <ColumnInfo>
  41. <Column id="issrem" type="STRING" size="256"/>
  42. <Column id="isscnts" type="STRING" size="256"/>
  43. <Column id="status" type="STRING" size="256"/>
  44. <Column id="actstatflag" type="STRING" size="256"/>
  45. <Column id="joinorgseqno" type="STRING" size="256"/>
  46. <Column id="voluntrfromdd" type="STRING" size="256"/>
  47. <Column id="voluntrtodd" type="STRING" size="256"/>
  48. <Column id="no" type="STRING" size="256"/>
  49. </ColumnInfo>
  50. <Rows>
  51. <Row>
  52. <Col id="issrem"/>
  53. <Col id="isscnts"/>
  54. <Col id="status"/>
  55. <Col id="actstatflag"/>
  56. <Col id="joinorgseqno"/>
  57. <Col id="voluntrfromdd"/>
  58. <Col id="voluntrtodd"/>
  59. <Col id="no"/>
  60. </Row>
  61. </Rows>
  62. </Dataset>
  63. <Dataset id="ds_main_returnsts_statusinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  64. <ColumnInfo>
  65. <Column id="restatus" type="STRING" size="256"/>
  66. <Column id="voluntrid" type="STRING" size="256"/>
  67. <Column id="actstatflag" type="STRING" size="256"/>
  68. </ColumnInfo>
  69. <Rows>
  70. <Row>
  71. <Col id="restatus"/>
  72. <Col id="voluntrid"/>
  73. <Col id="actstatflag"/>
  74. </Row>
  75. </Rows>
  76. </Dataset>
  77. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  78. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  79. </Objects>
  80. <Bind>
  81. <BindItem id="item0" compid="group1.tar_rem" propid="value" datasetid="ds_main_aaa" columnid="issrem"/>
  82. <BindItem id="item1" compid="group1.textarea1" propid="value" datasetid="ds_main_aaa" columnid="isscnts"/>
  83. <BindItem id="item2" compid="group1.input1" propid="value" datasetid="ds_main_aaa" columnid="no"/>
  84. <BindItem id="item3" compid="ipt_todd" propid="value" datasetid="ds_main_aaa" columnid="voluntrtodd"/>
  85. <BindItem id="item4" compid="ipt_fromdd" propid="value" datasetid="ds_main_aaa" columnid="voluntrfromdd"/>
  86. </Bind>
  87. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  88. * System Name :
  89. * Job Name :
  90. * Creator :
  91. * Make Date : 2016-09-30
  92. * Description :
  93. *---------------------------------------------------------------------------------------
  94. * Modify Date Modifier Modify Description
  95. *---------------------------------------------------------------------------------------
  96. * 2016-09-30 Live Converter TF->XP
  97. *
  98. *---------------------------------------------------------------------------------------
  99. ****************************************************************************************/
  100. //=======================================================================================
  101. // Lib Include
  102. //---------------------------------------------------------------------------------------
  103. include "com_commonxp::comm_main.xjs";
  104. //=======================================================================================
  105. // Global Form Variable
  106. //---------------------------------------------------------------------------------------
  107. var arErrorCode = new HashArray();
  108. var sParamMsg = "";
  109. //=======================================================================================
  110. // Function
  111. //---------------------------------------------------------------------------------------
  112. /****************************************************************************************
  113. * Argument : N/A
  114. * Description : 초기값
  115. ****************************************************************************************/
  116. function fInit()
  117. {
  118. if(frmf_checkOpener()){
  119. sParamMsg = opener.javascript.frmf_getParameter("SMAAA01700_Param");
  120. //alert("여기는 타냐!");
  121. }
  122. if(sParamMsg == "Y"){//교직원봉사자신청화면에서 Open한경우-kys-20091005
  123. ipt_fromdd.visible = true;
  124. ipt_todd.visible = true;
  125. caption2.visible = true;
  126. cap_fromtodd.visible = true;
  127. static1.visible = true;
  128. dsf_makeValue( ds_main_aaa, "voluntrfromdd", "string", "20080101");//디폴트 20080101
  129. }
  130. }
  131. /****************************************************************************************
  132. * Argument : N/A
  133. * Description : 확인
  134. ****************************************************************************************/
  135. function fSendParam()
  136. {
  137. dsf_makeValue( opener.ds_main_aaa_report, "issrem", "string", ds_main_aaa.getColumn(0, "issrem"));
  138. dsf_makeValue( opener.ds_main_aaa_report, "isscnts", "string", ds_main_aaa.getColumn(0, "isscnts"));
  139. dsf_makeValue( opener.ds_main_aaa_report, "no", "string", ds_main_aaa.getColumn(0, "no"));
  140. dsf_makeValue( opener.ds_main_aaa_report, "status", "string", "i");
  141. //20091005-kys-이력조회기간추가(교직원봉사자신청화면에서 Open한경우)
  142. if(sParamMsg == "Y"){
  143. if(utlf_isNull(ds_main_aaa.getColumn(0, "voluntrfromdd")) || utlf_isNull(ds_main_aaa.getColumn(0, "voluntrtodd"))) {
  144. sysf_messageBox("조회기간은", "I003", "");
  145. return;
  146. }
  147. dsf_makeValue( opener.ds_send_reqdata, "voluntrfromdd", "string", ds_main_aaa.getColumn(0, "voluntrfromdd"));
  148. dsf_makeValue( opener.ds_send_reqdata, "voluntrtodd", "string", ds_main_aaa.getColumn(0, "voluntrtodd"));
  149. }
  150. this.close();
  151. }
  152. //=======================================================================================
  153. // Event
  154. //---------------------------------------------------------------------------------------
  155. /****************************************************************************************
  156. * Components : Form
  157. * Description : 화면 처음 초기화시 폼초기화
  158. ****************************************************************************************/
  159. function SPAAA02200_onload(obj:Form, e:LoadEventInfo)
  160. {
  161. frmf_initForm(obj); // 폼 초기화
  162. fInit();
  163. }
  164. /****************************************************************************************
  165. * Components : Button
  166. * Description : 출력
  167. ****************************************************************************************/
  168. function grp_btn_btn_confirm_onclick(obj:Button, e:ClickEventInfo)
  169. {
  170. fSendParam();
  171. }
  172. /****************************************************************************************
  173. * Components : Button
  174. * Description : 취소
  175. ****************************************************************************************/
  176. function grp_btn_btn_cancel_onclick(obj:Button, e:ClickEventInfo)
  177. {
  178. opener.ds_main_aaa_report.setColumn(0,"status","");
  179. this.close();
  180. }
  181. ]]></Script>
  182. </Form>
  183. </FDL>