123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPRPC90200" classname="SPRPC90200_인사마스타HELP" inheritanceid="" position="absolute 0 0 1000 541" titletext="인사마스타HELP" oninit="SPRPC90200_oninit" onload="SPRPC90200_onload">
- <Layouts>
- <Layout>
- <Div id="div_search" taborder="0" position="absolute 0 0 1000 35" class="div_SA2" anchor="left top right">
- <Layouts>
- <Layout>
- <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 ;"/>
- <Static id="Static00" text="조회조건 :" position="absolute 167 8 243 28" class="search_name"/>
- <Edit id="edt_refcond" taborder="1" position="absolute 248 8 383 28" imemode="hangul" onkeydown="div_search_edt_refcond_onkeydown" autoselect="true" autoskip="true"/>
- <Shape id="Shape00" position="absolute 902 8 906 28" linetype="vertical" anchor="top right"/>
- <Button id="btn_search" taborder="2" text="조회" position="absolute 922 8 978 28" class="btn1" anchor="top right" onclick="div_search_btn_search_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="Static00" text="인사정보" position="absolute 0 45 84 65" class="tit_2"/>
- <Shape id="Shape00" position="absolute 0 63 1000 67" class="line_10"/>
- <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">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="110"/>
- <Column size="148"/>
- <Column size="0"/>
- <Column size="110"/>
- <Column size="148"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="사원번호"/>
- <Cell col="2" text="성명"/>
- <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="근무기관명"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" text="bind:emplno"/>
- <Cell col="2" text="bind:emplnm"/>
- <Cell col="3" text="bind:rregno"/>
- <Cell col="4" text="bind:deptcd"/>
- <Cell col="5" displaytype="text" text="bind:instnm"/>
- <Cell col="6" displaytype="text" text="bind:deptnm"/>
- <Cell col="7" text="bind:dutdeptcd"/>
- <Cell col="8" displaytype="text" text="bind:dutplceinstnm"/>
- <Cell col="9" displaytype="text" text="bind:dutdeptnm"/>
- <Cell col="10" text="bind:teamnm"/>
- <Cell col="11" text="bind:unitnm"/>
- <Cell col="12" text="bind:grupjoblnnm"/>
- <Cell col="13" text="bind:joblnnm"/>
- <Cell col="14" displaytype="text" text="bind:jobkindnm"/>
- <Cell col="15" text="bind:jobposnm"/>
- <Cell col="16" displaytype="text" text="bind:ojobgradnm"/>
- <Cell col="17" text="bind:jobrespnm"/>
- <Cell col="18" text="bind:dutplceinstcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_confirm" taborder="2" text="확인" position="absolute 877 521 937 541" class="btn4" anchor="right bottom" onclick="btn_confirm_onclick"/>
- <Button id="btn_cancel" taborder="3" text="취소" class="btn4" position="absolute 940 521 1000 541" anchor="right bottom" onclick="btn_cancel_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="refcond" type="STRING" size="256"/>
- <Column id="name" type="STRING" size="256"/>
- <Column id="emplno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_refcond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">사번</Col>
- <Col id="value">emplno</Col>
- </Row>
- <Row>
- <Col id="label">성명</Col>
- <Col id="value">name</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_empllist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="emplno" type="STRING" size="256" sumtext="사원번호"/>
- <Column id="emplnm" type="STRING" size="256" sumtext="성명"/>
- <Column id="rregno" type="STRING" size="256" sumtext="주민번호"/>
- <Column id="deptcd" type="STRING" size="256" sumtext="부서"/>
- <Column id="deptnm" type="STRING" size="256" sumtext="부서"/>
- <Column id="dutdeptcd" type="STRING" size="256" sumtext="부서"/>
- <Column id="dutdeptnm" type="STRING" size="256" sumtext="부서"/>
- <Column id="teamnm" type="STRING" size="256" sumtext="팀"/>
- <Column id="unitnm" type="STRING" size="256" sumtext="유닛"/>
- <Column id="grupjoblnnm" type="STRING" size="256" sumtext="직군"/>
- <Column id="joblnnm" type="STRING" size="256" sumtext="직열"/>
- <Column id="jobkindnm" type="STRING" size="256" sumtext="직종"/>
- <Column id="jobposnm" type="STRING" size="256" sumtext="직위"/>
- <Column id="ojobgradnm" type="STRING" size="256" sumtext="직급"/>
- <Column id="jobrespnm" type="STRING" size="256" sumtext="직책"/>
- <Column id="dutplceinstcd" type="STRING" size="256" sumtext="근무기관"/>
- <Column id="dutplceinstnm" type="STRING" size="256" sumtext="근무기관명"/>
- <Column id="instcd" type="STRING" size="256" sumtext="소속기관"/>
- <Column id="instnm" type="STRING" size="256" sumtext="소속기관명"/>
- <Column id="dutplcedeptcd" type="STRING" size="256" sumtext="근무지부서"/>
- <Column id="dutplcedeptnm" type="STRING" size="256" sumtext="근무지부서명"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="div_search.rdo_refcond" propid="value" datasetid="ds_send" columnid="refcond"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs";
- include "mis_miscommonxp::MIS.xjs";
- function SPRPC90200_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPRPC90200_onload(obj:Form, e:LoadEventInfo)
- {
- //model.copyNode("root/main","/root/target/validation");
-
- try {
- if(arg_ds_target_defaultvalue.rowcount > 0) {
- ds_send.setColumn(0, "dutplcedeptcd", arg_ds_target_defaultvalue.getColumn(0, "dutplcedeptcd"));
- ds_send.setColumn(0, "instcd", arg_ds_target_defaultvalue.getColumn(0, "instcd"));
-
- }
- } catch (e) {}
-
- div_search.rdo_refcond.value = "name";
- div_search.edt_refcond.setFocus();
- }
- function div_search_rdo_refcond_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- if(obj.value == "name") {
- div_search.edt_refcond.imemode = "hangul";
- } else {
- div_search.edt_refcond.imemode = "none";
- }
-
- div_search.edt_refcond.setFocus();
- }
- function div_search_edt_refcond_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- obj.updateToDataset();
- div_search.btn_search.click();
- }
- }
- function div_search_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- if(div_search.rdo_refcond.value == "name") {
- ds_send.setColumn(0, "name", div_search.edt_refcond.text);
- }
- else {
- ds_send.setColumn(0, "emplno", div_search.edt_refcond.text);
- }
-
- var oParam = {};
- oParam.id = "TRRPC90201";
- oParam.service = "miscommoncdrefapp.CommonCdRef";
- oParam.method = "reqGetEmplList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_empllist=empllist";
- oParam.async = true;
- tranf_submit(oParam);
- }
- function grd_empllist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- if(e.row < 0 || e.col < 0) return;
-
- btn_confirm.click();
- }
- function btn_confirm_onclick(obj:Button, e:ClickEventInfo)
- {
- misfPopUpListReturn(grd_empllist);
- }
- function btn_cancel_onclick(obj:Button, e:ClickEventInfo)
- {
- misfPopUpListCancel();
- }
- ]]></Script>
- </Form>
- </FDL>
|