SPZSU10100_사용자기본정보조회.xfdl 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPZSU10100" classname="SPZBC00100_코드검색팝업" inheritanceid="" position="absolute 0 0 600 454" titletext="사용자기본정보조회" onload="SPZSU10100_onload" class="frm_POP" onkeydown="SPZSU10100_onkeydown">
  5. <Layouts>
  6. <Layout>
  7. <Grid id="gd_codeList" taborder="3" useinputpanel="false" binddataset="ds_userList" cellmovingtype="none" autofittype="none" cellsizebandtype="allband" cellsizingtype="col" areaselecttype="limitband" oncelldblclick="gd_codeList_oncelldblclick" onkeydown="gd_codeList_onkeydown" anchor="all" position="absolute 12 98 588 419" positiontype="position">
  8. <Formats>
  9. <Format id="default">
  10. <Columns>
  11. <Column size="85"/>
  12. <Column size="85"/>
  13. <Column size="60"/>
  14. <Column size="60"/>
  15. <Column size="130"/>
  16. <Column size="90"/>
  17. <Column size="130"/>
  18. <Column size="95"/>
  19. <Column size="130"/>
  20. <Column size="80"/>
  21. <Column size="130"/>
  22. <Column size="80"/>
  23. <Column size="130"/>
  24. <Column size="80"/>
  25. <Column size="130"/>
  26. <Column size="80"/>
  27. <Column size="90"/>
  28. <Column size="130"/>
  29. <Column size="90"/>
  30. <Column size="70"/>
  31. <Column size="80"/>
  32. <Column size="70"/>
  33. <Column size="85"/>
  34. <Column size="85"/>
  35. <Column size="80"/>
  36. <Column size="80"/>
  37. </Columns>
  38. <Rows>
  39. <Row size="22" band="head"/>
  40. <Row size="20"/>
  41. </Rows>
  42. <Band id="head">
  43. <Cell text="적용시작일자"/>
  44. <Cell col="1" text="적용종료일자"/>
  45. <Cell col="2" text="사용자ID"/>
  46. <Cell col="3" text="사용자명"/>
  47. <Cell col="4" text="원소속기관명"/>
  48. <Cell col="5" text="원소속기관코드"/>
  49. <Cell col="6" text="원소속부서명"/>
  50. <Cell col="7" text="원소속부서코드"/>
  51. <Cell col="8" text="소속기관명"/>
  52. <Cell col="9" text="소속기관코드"/>
  53. <Cell col="10" text="소속부서명"/>
  54. <Cell col="11" text="소속부서코드"/>
  55. <Cell col="12" text="근무기관명"/>
  56. <Cell col="13" text="근무기관코드"/>
  57. <Cell col="14" text="근무부서명"/>
  58. <Cell col="15" text="근무부서코드"/>
  59. <Cell col="16" text="주민번호"/>
  60. <Cell col="17" text="이메일"/>
  61. <Cell col="18" text="휴대폰번호"/>
  62. <Cell col="19" text="입사일자"/>
  63. <Cell col="20" text="PDA번호"/>
  64. <Cell col="21" text="타사용자ID"/>
  65. <Cell col="22" text="적용시작일자"/>
  66. <Cell col="23" text="적용종료일자"/>
  67. <Cell col="24" text="최종수정자ID"/>
  68. <Cell col="25" text="최종수정일시"/>
  69. </Band>
  70. <Band id="body">
  71. <Cell displaytype="date" text="bind:userfromdd"/>
  72. <Cell col="1" displaytype="date" text="bind:usertodd"/>
  73. <Cell col="2" text="bind:userid"/>
  74. <Cell col="3" text="bind:usernm"/>
  75. <Cell col="4" text="bind:orginstnm"/>
  76. <Cell col="5" text="bind:orginstcd"/>
  77. <Cell col="6" text="bind:orgdeptnm"/>
  78. <Cell col="7" text="bind:orgdeptcd"/>
  79. <Cell col="8" text="bind:posinstnm"/>
  80. <Cell col="9" text="bind:posinstcd"/>
  81. <Cell col="10" text="bind:posdeptnm"/>
  82. <Cell col="11" text="bind:posdeptcd"/>
  83. <Cell col="12" text="bind:dutinstnm"/>
  84. <Cell col="13" text="bind:dutinstcd"/>
  85. <Cell col="14" text="bind:dutunitnm"/>
  86. <Cell col="15" text="bind:dutunitcd"/>
  87. <Cell col="16" text="bind:rrgstno"/>
  88. <Cell col="17" text="bind:email"/>
  89. <Cell col="18" text="bind:mpphonno"/>
  90. <Cell col="19" displaytype="date" text="bind:entcodd"/>
  91. <Cell col="20" text="bind:pdano"/>
  92. <Cell col="21" text="bind:anouserid"/>
  93. <Cell col="22" displaytype="date" text="bind:userfromdd"/>
  94. <Cell col="23" displaytype="date" text="bind:usertodd"/>
  95. <Cell col="24" text="bind:lastupdtrid"/>
  96. <Cell col="25" displaytype="date" text="bind:lastupdtdt"/>
  97. </Band>
  98. </Format>
  99. </Formats>
  100. </Grid>
  101. <Div id="div_search" anchor="left top right" taborder="8" style="align:center top;" class="div_SA" position="absolute 12 46 588 88">
  102. <Layouts>
  103. <Layout>
  104. <Button id="btn_sea" taborder="18" text="조회" class="btn1" position="absolute 508 10 564 30" anchor="top right" onclick="div_search_btn_sea_onclick"/>
  105. <Static id="caption2" text="검색조건" class="search_name" position="absolute 8 10 82 30" anchor="default"/>
  106. <Radio id="rd_searchCondition" taborder="19" columncount="2" rowcount="0" index="0" codecolumn="codecolumn" datacolumn="datacolumn" value="userid" position="absolute 85 10 255 30" anchor="default" onitemchanged="div_search_rd_searchCondition_onitemchanged">
  107. <Dataset id="innerdataset">
  108. <ColumnInfo>
  109. <Column id="codecolumn" size="256"/>
  110. <Column id="datacolumn" size="256"/>
  111. </ColumnInfo>
  112. <Rows>
  113. <Row>
  114. <Col id="codecolumn">userid</Col>
  115. <Col id="datacolumn">사용자ID</Col>
  116. </Row>
  117. <Row>
  118. <Col id="codecolumn">usernm</Col>
  119. <Col id="datacolumn">사용자명</Col>
  120. </Row>
  121. </Rows>
  122. </Dataset>
  123. </Radio>
  124. <Edit id="ed_searchValue" taborder="20" onkeydown="div_search_ed_searchValue_onkeydown" position="absolute 242 10 382 30" anchor="default" imemode="alpha"/>
  125. </Layout>
  126. </Layouts>
  127. </Div>
  128. <Static id="stt_titleText" text="사용자기본정보조회" onclick="caption00_onclick" class="sta_POP_title" position="absolute 12 8 159 31"/>
  129. <Button id="btn_cancel" taborder="9" text="취소" class="btn4" position="absolute 532 422 588 442" anchor="right bottom" onclick="btn_cancel_onclick"/>
  130. <Button id="btn_confirm" taborder="10" text="확인" class="btn4" position="absolute 473 422 529 442" anchor="right bottom" onclick="btn_confirm_onclick"/>
  131. <Button id="btn_close" taborder="11" class="btn_POP_cls" position="absolute 574 12 588 25" anchor="top right" onclick="btn_close_onclick"/>
  132. </Layout>
  133. </Layouts>
  134. <Objects>
  135. <Dataset id="ds_userList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  136. <ColumnInfo>
  137. <Column id="process" type="STRING" size="256"/>
  138. <Column id="userid" type="STRING" size="256"/>
  139. <Column id="usernm" type="STRING" size="256"/>
  140. <Column id="tempyn" type="STRING" size="256"/>
  141. <Column id="orginstcd" type="STRING" size="256"/>
  142. <Column id="orginstnm" type="STRING" size="256"/>
  143. <Column id="orgdeptnm" type="STRING" size="256"/>
  144. <Column id="orgdeptcd" type="STRING" size="256"/>
  145. <Column id="posinstnm" type="STRING" size="256"/>
  146. <Column id="posinstcd" type="STRING" size="256"/>
  147. <Column id="posdeptnm" type="STRING" size="256"/>
  148. <Column id="posdeptcd" type="STRING" size="256"/>
  149. <Column id="dutinstnm" type="STRING" size="256"/>
  150. <Column id="dutinstcd" type="STRING" size="256"/>
  151. <Column id="dutunitnm" type="STRING" size="256"/>
  152. <Column id="dutunitcd" type="STRING" size="256"/>
  153. <Column id="rrgstno" type="STRING" size="256"/>
  154. <Column id="email" type="STRING" size="256"/>
  155. <Column id="mpphonno" type="STRING" size="256"/>
  156. <Column id="entcodd" type="STRING" size="256"/>
  157. <Column id="pdano" type="STRING" size="256"/>
  158. <Column id="anouserid" type="STRING" size="256"/>
  159. <Column id="dutplceinstnm" type="STRING" size="256"/>
  160. <Column id="dutplceinstcd" type="STRING" size="256"/>
  161. <Column id="dutplcenm" type="STRING" size="256"/>
  162. <Column id="dutplcecd" type="STRING" size="256"/>
  163. <Column id="userfromdd" type="STRING" size="256"/>
  164. <Column id="usertodd" type="STRING" size="256"/>
  165. <Column id="jobkindnm" type="STRING" size="256"/>
  166. <Column id="jobkindcd" type="STRING" size="256"/>
  167. <Column id="jobposnm" type="STRING" size="256"/>
  168. <Column id="jobposcd" type="STRING" size="256"/>
  169. <Column id="jobrespnm" type="STRING" size="256"/>
  170. <Column id="jobrespcd" type="STRING" size="256"/>
  171. <Column id="prfshipflagnm" type="STRING" size="256"/>
  172. <Column id="prfshipflagcd" type="STRING" size="256"/>
  173. <Column id="psnworkyn" type="STRING" size="256"/>
  174. <Column id="apntflagnm" type="STRING" size="256"/>
  175. <Column id="apntflag" type="STRING" size="256"/>
  176. <Column id="licnsno" type="STRING" size="256"/>
  177. <Column id="medispclno" type="STRING" size="256"/>
  178. <Column id="specordyn" type="STRING" size="256"/>
  179. <Column id="majorfild" type="STRING" size="256"/>
  180. <Column id="lastupdtrid" type="STRING" size="256"/>
  181. <Column id="lastupdtdt" type="STRING" size="256"/>
  182. <Column id="pwd" type="STRING" size="256"/>
  183. <Column id="rem" type="STRING" size="256"/>
  184. <Column id="duploginyn" type="STRING" size="256"/>
  185. </ColumnInfo>
  186. </Dataset>
  187. </Objects>
  188. <Script type="xscript4.0"><![CDATA[/************************************************************************************************
  189. * 파 일 명 : SPZSU10100_사용자기본정보조회.xfdl
  190. * 작 성 자 : 임준호
  191. * 작 성 일 : 2014.02.10
  192. * 설 명 : 사용자기본정보 조회 팝업
  193. * return value - (sUserInfo:사용자정보)
  194. * 수 정 자 :
  195. * 수정이력 :
  196. ************************************************************************************************/
  197. include "com_commonxp::comm_main.xjs"
  198. /************************************************************************************************
  199. ******************************** Form Variable **************************************************
  200. ************************************************************************************************/
  201. /************************************************************************************************
  202. ******************************** Form Function **************************************************
  203. ************************************************************************************************/
  204. /********************************************************************************
  205. * 설 명 : 코드 정보를 서버에서 가져온다.
  206. * argument :
  207. ********************************************************************************/
  208. function lf_getUserList(){
  209. var S_IN_DS_REQ = "ds_req";
  210. if(!utlf_isNull(this.objects["ds_req"])){
  211. ds_req.clear();
  212. }
  213. var objColInfo = new Array();
  214. objColInfo.push({col: "searchcondition", val: div_search.rd_searchCondition.value});
  215. objColInfo.push({col: "searchterm", val: div_search.ed_searchValue.value});
  216. objColInfo.push({col: "userfromdd", val: plgv_sUserfromdd});
  217. objColInfo.push({col: "usertodd", val: plgv_sUsertodd});
  218. objColInfo.push({col: "dutinstcd", val: plgv_sDutinstcd});
  219. objColInfo.push({col: "dutunitcd", val: plgv_sDutunitcd});
  220. dsf_createDsRow(S_IN_DS_REQ, objColInfo);
  221. tranf_submit({
  222. id: "tr_reqGetUserInfoList"
  223. , service: "userdeptinfoapp.UserDeptInfoAdmin"
  224. , method: "reqGetUserInfoList"
  225. , inds : "req="+S_IN_DS_REQ
  226. , outds: "ds_userList=userlist"
  227. , async: true
  228. });
  229. }
  230. /********************************************************************************
  231. * 설 명 : 부모창의 return function을 호출하고 인자값을 넘겨준다.
  232. * argument :
  233. ********************************************************************************/
  234. function lf_setUserInfo(){
  235. var sUserfromdd = ds_userList.getColumn(ds_userList.rowposition, "userfromdd");
  236. var sUsertodd = ds_userList.getColumn(ds_userList.rowposition, "usertodd");
  237. var sUserid = ds_userList.getColumn(ds_userList.rowposition, "userid");
  238. var sUsernm = ds_userList.getColumn(ds_userList.rowposition, "usernm");
  239. var sOrginstnm = ds_userList.getColumn(ds_userList.rowposition, "orginstnm");
  240. var sOrginstcd = ds_userList.getColumn(ds_userList.rowposition, "orginstcd");
  241. var sOrgdeptnm = ds_userList.getColumn(ds_userList.rowposition, "orgdeptnm");
  242. var sOrgdeptcd = ds_userList.getColumn(ds_userList.rowposition, "orgdeptcd");
  243. var sPosinstnm = ds_userList.getColumn(ds_userList.rowposition, "posinstnm");
  244. var sPosinstcd = ds_userList.getColumn(ds_userList.rowposition, "posinstcd");
  245. var sPosdeptnm = ds_userList.getColumn(ds_userList.rowposition, "posdeptnm");
  246. var sPosdeptcd = ds_userList.getColumn(ds_userList.rowposition, "posdeptcd");
  247. var sDutinstnm = ds_userList.getColumn(ds_userList.rowposition, "dutinstnm");
  248. var sDutinstcd = ds_userList.getColumn(ds_userList.rowposition, "dutinstcd");
  249. var sDutunitnm = ds_userList.getColumn(ds_userList.rowposition, "dutunitnm");
  250. var sDutunitcd = ds_userList.getColumn(ds_userList.rowposition, "dutunitcd");
  251. var sRrgstno = ds_userList.getColumn(ds_userList.rowposition, "rrgstno");
  252. var sEmail = ds_userList.getColumn(ds_userList.rowposition, "email");
  253. var sMpphonno = ds_userList.getColumn(ds_userList.rowposition, "mpphonno");
  254. var sEntcodd = ds_userList.getColumn(ds_userList.rowposition, "entcodd");
  255. var sPdano = ds_userList.getColumn(ds_userList.rowposition, "pdano");
  256. var sAnouserid = ds_userList.getColumn(ds_userList.rowposition, "anouserid");
  257. var sUserInfo = utlf_transNullToEmpty(sUserfromdd)
  258. + "|" + utlf_transNullToEmpty(sUsertodd)
  259. + "|" + utlf_transNullToEmpty(sUserid)
  260. + "|" + utlf_transNullToEmpty(sUsernm)
  261. + "|" + utlf_transNullToEmpty(sOrginstnm)
  262. + "|" + utlf_transNullToEmpty(sOrginstcd)
  263. + "|" + utlf_transNullToEmpty(sOrgdeptnm)
  264. + "|" + utlf_transNullToEmpty(sOrgdeptcd)
  265. + "|" + utlf_transNullToEmpty(sPosinstnm)
  266. + "|" + utlf_transNullToEmpty(sPosinstcd)
  267. + "|" + utlf_transNullToEmpty(sPosdeptnm)
  268. + "|" + utlf_transNullToEmpty(sPosdeptcd)
  269. + "|" + utlf_transNullToEmpty(sDutinstnm)
  270. + "|" + utlf_transNullToEmpty(sDutinstcd)
  271. + "|" + utlf_transNullToEmpty(sDutunitnm)
  272. + "|" + utlf_transNullToEmpty(sDutunitcd)
  273. + "|" + utlf_transNullToEmpty(sRrgstno)
  274. + "|" + utlf_transNullToEmpty(sEmail)
  275. + "|" + utlf_transNullToEmpty(sMpphonno)
  276. + "|" + utlf_transNullToEmpty(sEntcodd)
  277. + "|" + utlf_transNullToEmpty(sPdano)
  278. + "|" + utlf_transNullToEmpty(sAnouserid);
  279. //eval("opener."+plgv_sReturnFuncNm+"('"+sUserInfo+"')");
  280. var objRetVal = new Object();
  281. objRetVal.userInfo = sUserInfo;
  282. this.close(objRetVal);
  283. }
  284. /************************************************************************************************
  285. ******************************** Form Event *****************************************************
  286. ************************************************************************************************/
  287. /********************************************************************************
  288. * 설 명 : form onload - argument로 넘어온 검색조건과 검색어를
  289. * 해당 컴포넌트에 입력하고 조회한다.
  290. * argument :
  291. ********************************************************************************/
  292. function SPZSU10100_onload(obj:Form, e:LoadEventInfo)
  293. {
  294. frmf_initForm(obj);
  295. div_search.rd_searchCondition.index = 0;
  296. div_search.ed_searchValue.value = "";
  297. if(!utlf_isNull(plgv_sSearchCondition)){
  298. div_search.rd_searchCondition.value = plgv_sSearchCondition;
  299. }
  300. if(!utlf_isNull(plgv_sSearchTerm)){
  301. div_search.ed_searchValue.value = plgv_sSearchTerm;
  302. lf_getUserList();
  303. }
  304. div_search.ed_searchValue.setFocus();
  305. setImemode(div_search.ed_searchValue, div_search.rd_searchCondition.value);
  306. }
  307. /********************************************************************************
  308. * 설 명 : 조회 - 코드목록을 조회한다.
  309. * argument :
  310. ********************************************************************************/
  311. function div_search_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  312. {
  313. lf_getUserList();
  314. }
  315. /********************************************************************************
  316. * 설 명 : 취소 - 팝업을 닫는다.
  317. * argument :
  318. ********************************************************************************/
  319. function btn_cancel_onclick(obj:Button, e:ClickEventInfo)
  320. {
  321. this.close();
  322. }
  323. /********************************************************************************
  324. * 설 명 : 선택한 그리드의 cdid와 cdnm을 부모창으로 넘겨준다.
  325. * argument :
  326. ********************************************************************************/
  327. function gd_codeList_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  328. {
  329. lf_setUserInfo();
  330. }
  331. /********************************************************************************
  332. * 설 명 : 선택한 그리드의 cdid와 cdnm을 부모창으로 넘겨준다.
  333. * argument :
  334. ********************************************************************************/
  335. function btn_confirm_onclick(obj:Button, e:ClickEventInfo)
  336. {
  337. lf_setUserInfo();
  338. }
  339. /********************************************************************************
  340. * 설 명 : edit박스에서 enter키 입력했을때 목록을 조회한다.
  341. * argument :
  342. ********************************************************************************/
  343. function div_search_ed_searchValue_onkeydown(obj:Edit, e:KeyEventInfo)
  344. {
  345. if(e.keycode == 13){
  346. lf_getUserList();
  347. }
  348. }
  349. /********************************************************************************
  350. * 설 명 : 선택한 그리드의 cdid와 cdnm을 부모창으로 넘겨준다.
  351. * argument :
  352. ********************************************************************************/
  353. function gd_codeList_onkeydown(obj:Grid, e:KeyEventInfo)
  354. {
  355. if(e.keycode == 13){
  356. lf_setUserInfo();
  357. }
  358. }
  359. function btn_close_onclick(obj:Button, e:ClickEventInfo)
  360. {
  361. this.close();
  362. }
  363. function div_search_rd_searchCondition_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  364. {
  365. div_search.ed_searchValue.value = "";
  366. div_search.ed_searchValue.setFocus();
  367. setImemode(div_search.ed_searchValue, e.postvalue);
  368. }
  369. function setImemode(objEdt:Edit, sValue){
  370. if(sValue == "userid"){
  371. objEdt.imemode = "alpha";
  372. }else if(sValue == "usernm"){
  373. objEdt.imemode = "hangul";
  374. }
  375. }
  376. function SPZSU10100_onkeydown(obj:Form, e:KeyEventInfo)
  377. {
  378. if(e.keycode == 27) this.close();
  379. }
  380. ]]></Script>
  381. </Form>
  382. </FDL>