SPRPC90200_인사마스타HELP.xfdl 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPRPC90200" classname="SPRPC90200_인사마스타HELP" inheritanceid="" position="absolute 0 0 1000 541" titletext="인사마스타HELP" oninit="SPRPC90200_oninit" onload="SPRPC90200_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="div_search" taborder="0" position="absolute 0 0 1000 35" class="div_SA2" anchor="left top right">
  8. <Layouts>
  9. <Layout>
  10. <Radio id="rdo_refcond" taborder="0" columncount="-1" rowcount="-1" position="absolute 17 8 117 28" onitemchanged="div_search_rdo_refcond_onitemchanged" innerdataset="@ds_init_refcond" codecolumn="value" datacolumn="label" style="itempadding:0 3 0 0;border:1 solid black ;"/>
  11. <Static id="Static00" text="조회조건 :" position="absolute 167 8 243 28" class="search_name"/>
  12. <Edit id="edt_refcond" taborder="1" position="absolute 248 8 383 28" imemode="hangul" onkeydown="div_search_edt_refcond_onkeydown" autoselect="true" autoskip="true"/>
  13. <Shape id="Shape00" position="absolute 902 8 906 28" linetype="vertical" anchor="top right"/>
  14. <Button id="btn_search" taborder="2" text="조회" position="absolute 922 8 978 28" class="btn1" anchor="top right" onclick="div_search_btn_search_onclick"/>
  15. </Layout>
  16. </Layouts>
  17. </Div>
  18. <Static id="Static00" text="인사정보" position="absolute 0 45 84 65" class="tit_2"/>
  19. <Shape id="Shape00" position="absolute 0 63 1000 67" class="line_10"/>
  20. <Grid id="grd_empllist" taborder="1" useinputpanel="false" position="absolute 0 67 1000 515" anchor="all" binddataset="ds_empllist" autofittype="col" oncelldblclick="grd_empllist_oncelldblclick">
  21. <Formats>
  22. <Format id="default">
  23. <Columns>
  24. <Column size="24"/>
  25. <Column size="60"/>
  26. <Column size="60"/>
  27. <Column size="0"/>
  28. <Column size="0"/>
  29. <Column size="110"/>
  30. <Column size="148"/>
  31. <Column size="0"/>
  32. <Column size="110"/>
  33. <Column size="148"/>
  34. <Column size="0"/>
  35. <Column size="0"/>
  36. <Column size="0"/>
  37. <Column size="0"/>
  38. <Column size="100"/>
  39. <Column size="80"/>
  40. <Column size="80"/>
  41. <Column size="80"/>
  42. <Column size="0"/>
  43. </Columns>
  44. <Rows>
  45. <Row size="24" band="head"/>
  46. <Row size="24"/>
  47. </Rows>
  48. <Band id="head">
  49. <Cell/>
  50. <Cell col="1" text="사원번호"/>
  51. <Cell col="2" text="성명"/>
  52. <Cell col="3" text="주민번호"/>
  53. <Cell col="4" text="소속부서"/>
  54. <Cell col="5" text="소속기관"/>
  55. <Cell col="6" text="소속부서"/>
  56. <Cell col="7" text="근무부서"/>
  57. <Cell col="8" text="근무기관"/>
  58. <Cell col="9" text="근무부서"/>
  59. <Cell col="10" text="팀"/>
  60. <Cell col="11" text="유닛"/>
  61. <Cell col="12" text="직군"/>
  62. <Cell col="13" text="직열"/>
  63. <Cell col="14" text="직종"/>
  64. <Cell col="15" text="직위"/>
  65. <Cell col="16" text="직급"/>
  66. <Cell col="17" text="직책"/>
  67. <Cell col="18" text="근무기관명"/>
  68. </Band>
  69. <Band id="body">
  70. <Cell celltype="head" text="expr:currow + 1"/>
  71. <Cell col="1" text="bind:emplno"/>
  72. <Cell col="2" text="bind:emplnm"/>
  73. <Cell col="3" text="bind:rregno"/>
  74. <Cell col="4" text="bind:deptcd"/>
  75. <Cell col="5" displaytype="text" text="bind:instnm"/>
  76. <Cell col="6" displaytype="text" text="bind:deptnm"/>
  77. <Cell col="7" text="bind:dutdeptcd"/>
  78. <Cell col="8" displaytype="text" text="bind:dutplceinstnm"/>
  79. <Cell col="9" displaytype="text" text="bind:dutdeptnm"/>
  80. <Cell col="10" text="bind:teamnm"/>
  81. <Cell col="11" text="bind:unitnm"/>
  82. <Cell col="12" text="bind:grupjoblnnm"/>
  83. <Cell col="13" text="bind:joblnnm"/>
  84. <Cell col="14" displaytype="text" text="bind:jobkindnm"/>
  85. <Cell col="15" text="bind:jobposnm"/>
  86. <Cell col="16" displaytype="text" text="bind:ojobgradnm"/>
  87. <Cell col="17" text="bind:jobrespnm"/>
  88. <Cell col="18" text="bind:dutplceinstcd"/>
  89. </Band>
  90. </Format>
  91. </Formats>
  92. </Grid>
  93. <Button id="btn_confirm" taborder="2" text="확인" position="absolute 877 521 937 541" class="btn4" anchor="right bottom" onclick="btn_confirm_onclick"/>
  94. <Button id="btn_cancel" taborder="3" text="취소" class="btn4" position="absolute 940 521 1000 541" anchor="right bottom" onclick="btn_cancel_onclick"/>
  95. </Layout>
  96. </Layouts>
  97. <Objects>
  98. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  99. <ColumnInfo>
  100. <Column id="refcond" type="STRING" size="256"/>
  101. <Column id="name" type="STRING" size="256"/>
  102. <Column id="emplno" type="STRING" size="256"/>
  103. </ColumnInfo>
  104. <Rows>
  105. <Row/>
  106. </Rows>
  107. </Dataset>
  108. <Dataset id="ds_init_refcond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  109. <ColumnInfo>
  110. <Column id="label" type="STRING" size="256"/>
  111. <Column id="value" type="STRING" size="256"/>
  112. </ColumnInfo>
  113. <Rows>
  114. <Row>
  115. <Col id="label">사번</Col>
  116. <Col id="value">emplno</Col>
  117. </Row>
  118. <Row>
  119. <Col id="label">성명</Col>
  120. <Col id="value">name</Col>
  121. </Row>
  122. </Rows>
  123. </Dataset>
  124. <Dataset id="ds_empllist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  125. <ColumnInfo>
  126. <Column id="emplno" type="STRING" size="256" sumtext="사원번호"/>
  127. <Column id="emplnm" type="STRING" size="256" sumtext="성명"/>
  128. <Column id="rregno" type="STRING" size="256" sumtext="주민번호"/>
  129. <Column id="deptcd" type="STRING" size="256" sumtext="부서"/>
  130. <Column id="deptnm" type="STRING" size="256" sumtext="부서"/>
  131. <Column id="dutdeptcd" type="STRING" size="256" sumtext="부서"/>
  132. <Column id="dutdeptnm" type="STRING" size="256" sumtext="부서"/>
  133. <Column id="teamnm" type="STRING" size="256" sumtext="팀"/>
  134. <Column id="unitnm" type="STRING" size="256" sumtext="유닛"/>
  135. <Column id="grupjoblnnm" type="STRING" size="256" sumtext="직군"/>
  136. <Column id="joblnnm" type="STRING" size="256" sumtext="직열"/>
  137. <Column id="jobkindnm" type="STRING" size="256" sumtext="직종"/>
  138. <Column id="jobposnm" type="STRING" size="256" sumtext="직위"/>
  139. <Column id="ojobgradnm" type="STRING" size="256" sumtext="직급"/>
  140. <Column id="jobrespnm" type="STRING" size="256" sumtext="직책"/>
  141. <Column id="dutplceinstcd" type="STRING" size="256" sumtext="근무기관"/>
  142. <Column id="dutplceinstnm" type="STRING" size="256" sumtext="근무기관명"/>
  143. <Column id="instcd" type="STRING" size="256" sumtext="소속기관"/>
  144. <Column id="instnm" type="STRING" size="256" sumtext="소속기관명"/>
  145. <Column id="dutplcedeptcd" type="STRING" size="256" sumtext="근무지부서"/>
  146. <Column id="dutplcedeptnm" type="STRING" size="256" sumtext="근무지부서명"/>
  147. </ColumnInfo>
  148. </Dataset>
  149. </Objects>
  150. <Bind>
  151. <BindItem id="item0" compid="div_search.rdo_refcond" propid="value" datasetid="ds_send" columnid="refcond"/>
  152. </Bind>
  153. <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs";
  154. include "mis_miscommonxp::MIS.xjs";
  155. function SPRPC90200_oninit(obj:Form, e:InitEventInfo)
  156. {
  157. frmf_initForm(obj);
  158. }
  159. function SPRPC90200_onload(obj:Form, e:LoadEventInfo)
  160. {
  161. //model.copyNode("root/main","/root/target/validation");
  162. try {
  163. if(arg_ds_target_defaultvalue.rowcount > 0) {
  164. ds_send.setColumn(0, "dutplcedeptcd", arg_ds_target_defaultvalue.getColumn(0, "dutplcedeptcd"));
  165. ds_send.setColumn(0, "instcd", arg_ds_target_defaultvalue.getColumn(0, "instcd"));
  166. }
  167. } catch (e) {}
  168. div_search.rdo_refcond.value = "name";
  169. div_search.edt_refcond.setFocus();
  170. }
  171. function div_search_rdo_refcond_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  172. {
  173. if(obj.value == "name") {
  174. div_search.edt_refcond.imemode = "hangul";
  175. } else {
  176. div_search.edt_refcond.imemode = "none";
  177. }
  178. div_search.edt_refcond.setFocus();
  179. }
  180. function div_search_edt_refcond_onkeydown(obj:Edit, e:KeyEventInfo)
  181. {
  182. if(e.keycode == 13) {
  183. obj.updateToDataset();
  184. div_search.btn_search.click();
  185. }
  186. }
  187. function div_search_btn_search_onclick(obj:Button, e:ClickEventInfo)
  188. {
  189. if(div_search.rdo_refcond.value == "name") {
  190. ds_send.setColumn(0, "name", div_search.edt_refcond.text);
  191. }
  192. else {
  193. ds_send.setColumn(0, "emplno", div_search.edt_refcond.text);
  194. }
  195. var oParam = {};
  196. oParam.id = "TRRPC90201";
  197. oParam.service = "miscommoncdrefapp.CommonCdRef";
  198. oParam.method = "reqGetEmplList";
  199. oParam.inds = "req=ds_send";
  200. oParam.outds = "ds_empllist=empllist";
  201. oParam.async = true;
  202. tranf_submit(oParam);
  203. }
  204. function grd_empllist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  205. {
  206. if(e.row < 0 || e.col < 0) return;
  207. btn_confirm.click();
  208. }
  209. function btn_confirm_onclick(obj:Button, e:ClickEventInfo)
  210. {
  211. misfPopUpListReturn(grd_empllist);
  212. }
  213. function btn_cancel_onclick(obj:Button, e:ClickEventInfo)
  214. {
  215. misfPopUpListCancel();
  216. }
  217. ]]></Script>
  218. </Form>
  219. </FDL>