SMRPD12300_해외연수기간별조회.xfdl 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMRPD12300" position="absolute 0 0 1201 799" titletext="근태 집계 조회" oninit="SMRPD12300_oninit" onload="SMRPD12300_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="해외연수기간별조회" class="tit_1" position="absolute 0 0 304 25"/>
  8. <Shape id="line4" class="line_6" position="absolute 0 43 1195 49" anchor="left top right"/>
  9. <Div id="group4" anchor="left top right" taborder="1" class="div_SA2" position="absolute 0 47 1195 87">
  10. <Layouts>
  11. <Layout>
  12. <Static id="caption1" text="기간 :" class="search_name" position="absolute 30 12 116 29"/>
  13. <Calendar id="ipt_dutym" taborder="1" class="input_search" position="absolute 95 10 200 29" mask="yyyy-mm-dd" autoskip="true" autoselect="true"/>
  14. <Static id="caption3" text="~" position="absolute 206 14 221 26"/>
  15. <Calendar id="input1" taborder="2" class="input_search" position="absolute 220 10 325 29" mask="yyyy-mm-dd" autoskip="true" autoselect="true"/>
  16. <Button id="btn_search" taborder="3" text="조회" class="btn1" position="absolute 1125 9 1181 31" onclick="group4_btn_search_onclick" anchor="top right"/>
  17. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1107 8 1113 30" anchor="top right"/>
  18. </Layout>
  19. </Layouts>
  20. </Div>
  21. <Button id="btn_excsave" taborder="2" text="엑셀저장" class="btn7" position="absolute 1115 101 1195 120" onclick="btn_excsave_onclick" anchor="top right"/>
  22. <Static id="caption278" text="해외연수내역" class="tit_2" position="absolute 0 104 162 126"/>
  23. <Shape id="line207" class="line_10" position="absolute 0 120 1195 126" anchor="left top right"/>
  24. <Grid id="grd_dutsumlist" taborder="3" binddataset="ds_main_list_dutsumlist" useinputpanel="false" position="absolute 0 125 1195 792" autoenter="select" autofittype="col" cellsizingtype="col" anchor="all">
  25. <Formats>
  26. <Format id="default">
  27. <Columns>
  28. <Column size="24"/>
  29. <Column size="122"/>
  30. <Column size="67"/>
  31. <Column size="85"/>
  32. <Column size="85"/>
  33. <Column size="90"/>
  34. <Column size="100"/>
  35. <Column size="332"/>
  36. <Column size="162"/>
  37. <Column size="110"/>
  38. </Columns>
  39. <Rows>
  40. <Row size="24" band="head"/>
  41. <Row size="24"/>
  42. </Rows>
  43. <Band id="head">
  44. <Cell/>
  45. <Cell col="1" text="교육종류"/>
  46. <Cell col="2" text="사번"/>
  47. <Cell col="3" text="성명"/>
  48. <Cell col="4" text="기간(from-to)"/>
  49. <Cell col="5" text="기간(from-to)"/>
  50. <Cell col="6" text="국가"/>
  51. <Cell col="7" text="교육목적"/>
  52. <Cell col="8" text="교육기관"/>
  53. <Cell col="9" text="지급액"/>
  54. </Band>
  55. <Band id="body">
  56. <Cell celltype="head" expr="currow+1"/>
  57. <Cell col="1" style="align:left middle;padding:0 0 0 5;" text="bind:stdkind"/>
  58. <Cell col="2" style="align:left middle;padding:0 0 0 5;" text="bind:emplno"/>
  59. <Cell col="3" style="align:left middle;padding:0 0 0 5;" text="bind:emplnm"/>
  60. <Cell col="4" displaytype="date" text="bind:giganfrom" calendardisplaynulltype="nulltext"/>
  61. <Cell col="5" displaytype="date" text="bind:giganto" calendardisplaynulltype="nulltext"/>
  62. <Cell col="6" style="align:left middle;padding:0 0 0 5;" text="bind:nationcd"/>
  63. <Cell col="7" style="align:left middle;padding:0 0 0 5;" text="bind:stdobject"/>
  64. <Cell col="8" text="bind:gigwancd"/>
  65. <Cell col="9" displaytype="number" text="bind:jigeubamt"/>
  66. </Band>
  67. </Format>
  68. </Formats>
  69. </Grid>
  70. </Layout>
  71. </Layouts>
  72. <Objects>
  73. <Dataset id="ds_send_retrparams" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  74. <ColumnInfo>
  75. <Column id="fromdd" type="STRING" size="256"/>
  76. <Column id="todd" type="STRING" size="256"/>
  77. </ColumnInfo>
  78. <Rows>
  79. <Row>
  80. <Col id="fromdd"/>
  81. <Col id="todd"/>
  82. </Row>
  83. </Rows>
  84. </Dataset>
  85. <Dataset id="ds_main_list_dutsumlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  86. <ColumnInfo>
  87. <Column id="giganfrom" type="STRING" size="256" sumtext="시작일자"/>
  88. <Column id="giganto" type="STRING" size="256" sumtext="종료일자"/>
  89. <Column id="stdkind" type="STRING" size="256" sumtext="교육종류"/>
  90. <Column id="nationcd" type="STRING" size="256" sumtext="국가"/>
  91. <Column id="stdobject" type="STRING" size="256" sumtext="교육목적"/>
  92. <Column id="gigwancd" type="STRING" size="256" sumtext="교육기관"/>
  93. <Column id="jigeubamt" type="STRING" size="256" sumtext="지급액"/>
  94. <Column id="emplno" type="STRING" size="256" sumtext="사번"/>
  95. <Column id="emplnm" type="STRING" size="256" sumtext="성명"/>
  96. </ColumnInfo>
  97. </Dataset>
  98. </Objects>
  99. <Bind>
  100. <BindItem id="item0" compid="group4.ipt_dutym" propid="value" datasetid="ds_send_retrparams" columnid="fromdd"/>
  101. <BindItem id="item1" compid="group4.input1" propid="value" datasetid="ds_send_retrparams" columnid="todd"/>
  102. </Bind>
  103. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  104. * System Name :
  105. * Job Name :
  106. * Creator :
  107. * Make Date : 2017-06-19
  108. * Description :
  109. *---------------------------------------------------------------------------------------
  110. * Modify Date Modifier Modify Description
  111. *---------------------------------------------------------------------------------------
  112. * 2017-06-19 Live Converter TF->XP
  113. *
  114. *---------------------------------------------------------------------------------------
  115. ****************************************************************************************/
  116. include "com_commonxp::comm_main.xjs";
  117. include "mis_miscommonxp::MIS.xjs";
  118. include "mis_humtrafactmngtxp::RPB001.xjs";
  119. function SMRPD12300_oninit(obj:Form, e:InitEventInfo)
  120. {
  121. frmf_initForm(obj);
  122. }
  123. function SMRPD12300_onload(obj:Form, e:LoadEventInfo)
  124. {
  125. grdf_initGrid(grd_dutsumlist);
  126. fInitialize();
  127. }
  128. function fInitialize()
  129. {
  130. ds_main_list_dutsumlist.clearData();
  131. ds_send_retrparams.setColumn(0, "fromdd", String(utlf_getCurrentDate()).substr(0, 6) + "01");
  132. ds_send_retrparams.setColumn(0, "todd", utlf_getCurrentDate());
  133. group4.ipt_dutym.setFocus();
  134. }
  135. function group4_btn_search_onclick(obj:Button, e:ClickEventInfo)
  136. {
  137. var oParam = {};
  138. oParam.id = "TRRPD12301";
  139. oParam.service = "dligclaznsmngtapp.DutScheMngt";
  140. oParam.method = "reqGetYonsuEduList";
  141. oParam.inds = "req=ds_send_retrparams";
  142. oParam.outds = "ds_main_list_dutsumlist=dutsumlist";
  143. oParam.async = false;
  144. //oParam.callback = "cf_TRRPD12301";
  145. tranf_submit(oParam);
  146. }
  147. function btn_excsave_onclick(obj:Button, e:ClickEventInfo)
  148. {
  149. misfSaveExcel(grd_dutsumlist);
  150. }
  151. ]]></Script>
  152. </Form>
  153. </FDL>