123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPZSU10100" classname="SPZBC00100_코드검색팝업" inheritanceid="" position="absolute 0 0 600 454" titletext="사용자기본정보조회" onload="SPZSU10100_onload" class="frm_POP" onkeydown="SPZSU10100_onkeydown">
- <Layouts>
- <Layout>
- <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">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="85"/>
- <Column size="85"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="130"/>
- <Column size="90"/>
- <Column size="130"/>
- <Column size="95"/>
- <Column size="130"/>
- <Column size="80"/>
- <Column size="130"/>
- <Column size="80"/>
- <Column size="130"/>
- <Column size="80"/>
- <Column size="130"/>
- <Column size="80"/>
- <Column size="90"/>
- <Column size="130"/>
- <Column size="90"/>
- <Column size="70"/>
- <Column size="80"/>
- <Column size="70"/>
- <Column size="85"/>
- <Column size="85"/>
- <Column size="80"/>
- <Column size="80"/>
- </Columns>
- <Rows>
- <Row size="22" band="head"/>
- <Row size="20"/>
- </Rows>
- <Band id="head">
- <Cell text="적용시작일자"/>
- <Cell col="1" text="적용종료일자"/>
- <Cell col="2" text="사용자ID"/>
- <Cell col="3" text="사용자명"/>
- <Cell col="4" text="원소속기관명"/>
- <Cell col="5" text="원소속기관코드"/>
- <Cell col="6" text="원소속부서명"/>
- <Cell col="7" text="원소속부서코드"/>
- <Cell col="8" text="소속기관명"/>
- <Cell col="9" text="소속기관코드"/>
- <Cell col="10" text="소속부서명"/>
- <Cell col="11" text="소속부서코드"/>
- <Cell col="12" text="근무기관명"/>
- <Cell col="13" text="근무기관코드"/>
- <Cell col="14" text="근무부서명"/>
- <Cell col="15" text="근무부서코드"/>
- <Cell col="16" text="주민번호"/>
- <Cell col="17" text="이메일"/>
- <Cell col="18" text="휴대폰번호"/>
- <Cell col="19" text="입사일자"/>
- <Cell col="20" text="PDA번호"/>
- <Cell col="21" text="타사용자ID"/>
- <Cell col="22" text="적용시작일자"/>
- <Cell col="23" text="적용종료일자"/>
- <Cell col="24" text="최종수정자ID"/>
- <Cell col="25" text="최종수정일시"/>
- </Band>
- <Band id="body">
- <Cell displaytype="date" text="bind:userfromdd"/>
- <Cell col="1" displaytype="date" text="bind:usertodd"/>
- <Cell col="2" text="bind:userid"/>
- <Cell col="3" text="bind:usernm"/>
- <Cell col="4" text="bind:orginstnm"/>
- <Cell col="5" text="bind:orginstcd"/>
- <Cell col="6" text="bind:orgdeptnm"/>
- <Cell col="7" text="bind:orgdeptcd"/>
- <Cell col="8" text="bind:posinstnm"/>
- <Cell col="9" text="bind:posinstcd"/>
- <Cell col="10" text="bind:posdeptnm"/>
- <Cell col="11" text="bind:posdeptcd"/>
- <Cell col="12" text="bind:dutinstnm"/>
- <Cell col="13" text="bind:dutinstcd"/>
- <Cell col="14" text="bind:dutunitnm"/>
- <Cell col="15" text="bind:dutunitcd"/>
- <Cell col="16" text="bind:rrgstno"/>
- <Cell col="17" text="bind:email"/>
- <Cell col="18" text="bind:mpphonno"/>
- <Cell col="19" displaytype="date" text="bind:entcodd"/>
- <Cell col="20" text="bind:pdano"/>
- <Cell col="21" text="bind:anouserid"/>
- <Cell col="22" displaytype="date" text="bind:userfromdd"/>
- <Cell col="23" displaytype="date" text="bind:usertodd"/>
- <Cell col="24" text="bind:lastupdtrid"/>
- <Cell col="25" displaytype="date" text="bind:lastupdtdt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="div_search" anchor="left top right" taborder="8" style="align:center top;" class="div_SA" position="absolute 12 46 588 88">
- <Layouts>
- <Layout>
- <Button id="btn_sea" taborder="18" text="조회" class="btn1" position="absolute 508 10 564 30" anchor="top right" onclick="div_search_btn_sea_onclick"/>
- <Static id="caption2" text="검색조건" class="search_name" position="absolute 8 10 82 30" anchor="default"/>
- <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">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">userid</Col>
- <Col id="datacolumn">사용자ID</Col>
- </Row>
- <Row>
- <Col id="codecolumn">usernm</Col>
- <Col id="datacolumn">사용자명</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Edit id="ed_searchValue" taborder="20" onkeydown="div_search_ed_searchValue_onkeydown" position="absolute 242 10 382 30" anchor="default" imemode="alpha"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="stt_titleText" text="사용자기본정보조회" onclick="caption00_onclick" class="sta_POP_title" position="absolute 12 8 159 31"/>
- <Button id="btn_cancel" taborder="9" text="취소" class="btn4" position="absolute 532 422 588 442" anchor="right bottom" onclick="btn_cancel_onclick"/>
- <Button id="btn_confirm" taborder="10" text="확인" class="btn4" position="absolute 473 422 529 442" anchor="right bottom" onclick="btn_confirm_onclick"/>
- <Button id="btn_close" taborder="11" class="btn_POP_cls" position="absolute 574 12 588 25" anchor="top right" onclick="btn_close_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_userList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="process" type="STRING" size="256"/>
- <Column id="userid" type="STRING" size="256"/>
- <Column id="usernm" type="STRING" size="256"/>
- <Column id="tempyn" type="STRING" size="256"/>
- <Column id="orginstcd" type="STRING" size="256"/>
- <Column id="orginstnm" type="STRING" size="256"/>
- <Column id="orgdeptnm" type="STRING" size="256"/>
- <Column id="orgdeptcd" type="STRING" size="256"/>
- <Column id="posinstnm" type="STRING" size="256"/>
- <Column id="posinstcd" type="STRING" size="256"/>
- <Column id="posdeptnm" type="STRING" size="256"/>
- <Column id="posdeptcd" type="STRING" size="256"/>
- <Column id="dutinstnm" type="STRING" size="256"/>
- <Column id="dutinstcd" type="STRING" size="256"/>
- <Column id="dutunitnm" type="STRING" size="256"/>
- <Column id="dutunitcd" type="STRING" size="256"/>
- <Column id="rrgstno" type="STRING" size="256"/>
- <Column id="email" type="STRING" size="256"/>
- <Column id="mpphonno" type="STRING" size="256"/>
- <Column id="entcodd" type="STRING" size="256"/>
- <Column id="pdano" type="STRING" size="256"/>
- <Column id="anouserid" type="STRING" size="256"/>
- <Column id="dutplceinstnm" type="STRING" size="256"/>
- <Column id="dutplceinstcd" type="STRING" size="256"/>
- <Column id="dutplcenm" type="STRING" size="256"/>
- <Column id="dutplcecd" type="STRING" size="256"/>
- <Column id="userfromdd" type="STRING" size="256"/>
- <Column id="usertodd" type="STRING" size="256"/>
- <Column id="jobkindnm" type="STRING" size="256"/>
- <Column id="jobkindcd" type="STRING" size="256"/>
- <Column id="jobposnm" type="STRING" size="256"/>
- <Column id="jobposcd" type="STRING" size="256"/>
- <Column id="jobrespnm" type="STRING" size="256"/>
- <Column id="jobrespcd" type="STRING" size="256"/>
- <Column id="prfshipflagnm" type="STRING" size="256"/>
- <Column id="prfshipflagcd" type="STRING" size="256"/>
- <Column id="psnworkyn" type="STRING" size="256"/>
- <Column id="apntflagnm" type="STRING" size="256"/>
- <Column id="apntflag" type="STRING" size="256"/>
- <Column id="licnsno" type="STRING" size="256"/>
- <Column id="medispclno" type="STRING" size="256"/>
- <Column id="specordyn" type="STRING" size="256"/>
- <Column id="majorfild" type="STRING" size="256"/>
- <Column id="lastupdtrid" type="STRING" size="256"/>
- <Column id="lastupdtdt" type="STRING" size="256"/>
- <Column id="pwd" type="STRING" size="256"/>
- <Column id="rem" type="STRING" size="256"/>
- <Column id="duploginyn" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/************************************************************************************************
- * 파 일 명 : SPZSU10100_사용자기본정보조회.xfdl
- * 작 성 자 : 임준호
- * 작 성 일 : 2014.02.10
- * 설 명 : 사용자기본정보 조회 팝업
- * return value - (sUserInfo:사용자정보)
- * 수 정 자 :
- * 수정이력 :
- ************************************************************************************************/
- include "com_commonxp::comm_main.xjs"
- /************************************************************************************************
- ******************************** Form Variable **************************************************
- ************************************************************************************************/
-
-
- /************************************************************************************************
- ******************************** Form Function **************************************************
- ************************************************************************************************/
- /********************************************************************************
- * 설 명 : 코드 정보를 서버에서 가져온다.
- * argument :
- ********************************************************************************/
- function lf_getUserList(){
- var S_IN_DS_REQ = "ds_req";
-
- if(!utlf_isNull(this.objects["ds_req"])){
- ds_req.clear();
- }
-
- var objColInfo = new Array();
- objColInfo.push({col: "searchcondition", val: div_search.rd_searchCondition.value});
- objColInfo.push({col: "searchterm", val: div_search.ed_searchValue.value});
- objColInfo.push({col: "userfromdd", val: plgv_sUserfromdd});
- objColInfo.push({col: "usertodd", val: plgv_sUsertodd});
- objColInfo.push({col: "dutinstcd", val: plgv_sDutinstcd});
- objColInfo.push({col: "dutunitcd", val: plgv_sDutunitcd});
- dsf_createDsRow(S_IN_DS_REQ, objColInfo);
-
- tranf_submit({
- id: "tr_reqGetUserInfoList"
- , service: "userdeptinfoapp.UserDeptInfoAdmin"
- , method: "reqGetUserInfoList"
- , inds : "req="+S_IN_DS_REQ
- , outds: "ds_userList=userlist"
- , async: true
- });
- }
- /********************************************************************************
- * 설 명 : 부모창의 return function을 호출하고 인자값을 넘겨준다.
- * argument :
- ********************************************************************************/
- function lf_setUserInfo(){
-
- var sUserfromdd = ds_userList.getColumn(ds_userList.rowposition, "userfromdd");
- var sUsertodd = ds_userList.getColumn(ds_userList.rowposition, "usertodd");
- var sUserid = ds_userList.getColumn(ds_userList.rowposition, "userid");
- var sUsernm = ds_userList.getColumn(ds_userList.rowposition, "usernm");
- var sOrginstnm = ds_userList.getColumn(ds_userList.rowposition, "orginstnm");
- var sOrginstcd = ds_userList.getColumn(ds_userList.rowposition, "orginstcd");
- var sOrgdeptnm = ds_userList.getColumn(ds_userList.rowposition, "orgdeptnm");
- var sOrgdeptcd = ds_userList.getColumn(ds_userList.rowposition, "orgdeptcd");
- var sPosinstnm = ds_userList.getColumn(ds_userList.rowposition, "posinstnm");
- var sPosinstcd = ds_userList.getColumn(ds_userList.rowposition, "posinstcd");
- var sPosdeptnm = ds_userList.getColumn(ds_userList.rowposition, "posdeptnm");
- var sPosdeptcd = ds_userList.getColumn(ds_userList.rowposition, "posdeptcd");
- var sDutinstnm = ds_userList.getColumn(ds_userList.rowposition, "dutinstnm");
- var sDutinstcd = ds_userList.getColumn(ds_userList.rowposition, "dutinstcd");
- var sDutunitnm = ds_userList.getColumn(ds_userList.rowposition, "dutunitnm");
- var sDutunitcd = ds_userList.getColumn(ds_userList.rowposition, "dutunitcd");
- var sRrgstno = ds_userList.getColumn(ds_userList.rowposition, "rrgstno");
- var sEmail = ds_userList.getColumn(ds_userList.rowposition, "email");
- var sMpphonno = ds_userList.getColumn(ds_userList.rowposition, "mpphonno");
- var sEntcodd = ds_userList.getColumn(ds_userList.rowposition, "entcodd");
- var sPdano = ds_userList.getColumn(ds_userList.rowposition, "pdano");
- var sAnouserid = ds_userList.getColumn(ds_userList.rowposition, "anouserid");
-
-
- var sUserInfo = utlf_transNullToEmpty(sUserfromdd)
- + "|" + utlf_transNullToEmpty(sUsertodd)
- + "|" + utlf_transNullToEmpty(sUserid)
- + "|" + utlf_transNullToEmpty(sUsernm)
- + "|" + utlf_transNullToEmpty(sOrginstnm)
- + "|" + utlf_transNullToEmpty(sOrginstcd)
- + "|" + utlf_transNullToEmpty(sOrgdeptnm)
- + "|" + utlf_transNullToEmpty(sOrgdeptcd)
- + "|" + utlf_transNullToEmpty(sPosinstnm)
- + "|" + utlf_transNullToEmpty(sPosinstcd)
- + "|" + utlf_transNullToEmpty(sPosdeptnm)
- + "|" + utlf_transNullToEmpty(sPosdeptcd)
- + "|" + utlf_transNullToEmpty(sDutinstnm)
- + "|" + utlf_transNullToEmpty(sDutinstcd)
- + "|" + utlf_transNullToEmpty(sDutunitnm)
- + "|" + utlf_transNullToEmpty(sDutunitcd)
- + "|" + utlf_transNullToEmpty(sRrgstno)
- + "|" + utlf_transNullToEmpty(sEmail)
- + "|" + utlf_transNullToEmpty(sMpphonno)
- + "|" + utlf_transNullToEmpty(sEntcodd)
- + "|" + utlf_transNullToEmpty(sPdano)
- + "|" + utlf_transNullToEmpty(sAnouserid);
-
- //eval("opener."+plgv_sReturnFuncNm+"('"+sUserInfo+"')");
- var objRetVal = new Object();
- objRetVal.userInfo = sUserInfo;
-
- this.close(objRetVal);
- }
- /************************************************************************************************
- ******************************** Form Event *****************************************************
- ************************************************************************************************/
- /********************************************************************************
- * 설 명 : form onload - argument로 넘어온 검색조건과 검색어를
- * 해당 컴포넌트에 입력하고 조회한다.
- * argument :
- ********************************************************************************/
- function SPZSU10100_onload(obj:Form, e:LoadEventInfo)
- {
-
- frmf_initForm(obj);
-
- div_search.rd_searchCondition.index = 0;
- div_search.ed_searchValue.value = "";
-
- if(!utlf_isNull(plgv_sSearchCondition)){
- div_search.rd_searchCondition.value = plgv_sSearchCondition;
- }
-
- if(!utlf_isNull(plgv_sSearchTerm)){
- div_search.ed_searchValue.value = plgv_sSearchTerm;
- lf_getUserList();
- }
-
- div_search.ed_searchValue.setFocus();
- setImemode(div_search.ed_searchValue, div_search.rd_searchCondition.value);
- }
-
- /********************************************************************************
- * 설 명 : 조회 - 코드목록을 조회한다.
- * argument :
- ********************************************************************************/
- function div_search_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_getUserList();
- }
- /********************************************************************************
- * 설 명 : 취소 - 팝업을 닫는다.
- * argument :
- ********************************************************************************/
- function btn_cancel_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- /********************************************************************************
- * 설 명 : 선택한 그리드의 cdid와 cdnm을 부모창으로 넘겨준다.
- * argument :
- ********************************************************************************/
- function gd_codeList_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- lf_setUserInfo();
- }
- /********************************************************************************
- * 설 명 : 선택한 그리드의 cdid와 cdnm을 부모창으로 넘겨준다.
- * argument :
- ********************************************************************************/
- function btn_confirm_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_setUserInfo();
- }
- /********************************************************************************
- * 설 명 : edit박스에서 enter키 입력했을때 목록을 조회한다.
- * argument :
- ********************************************************************************/
- function div_search_ed_searchValue_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13){
- lf_getUserList();
- }
- }
- /********************************************************************************
- * 설 명 : 선택한 그리드의 cdid와 cdnm을 부모창으로 넘겨준다.
- * argument :
- ********************************************************************************/
- function gd_codeList_onkeydown(obj:Grid, e:KeyEventInfo)
- {
- if(e.keycode == 13){
- lf_setUserInfo();
- }
- }
- function btn_close_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- function div_search_rd_searchCondition_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- div_search.ed_searchValue.value = "";
- div_search.ed_searchValue.setFocus();
- setImemode(div_search.ed_searchValue, e.postvalue);
- }
- function setImemode(objEdt:Edit, sValue){
-
- if(sValue == "userid"){
- objEdt.imemode = "alpha";
- }else if(sValue == "usernm"){
- objEdt.imemode = "hangul";
- }
- }
- function SPZSU10100_onkeydown(obj:Form, e:KeyEventInfo)
- {
- if(e.keycode == 27) this.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|