123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPRPB02208" position="absolute 0 0 401 362" titletext="가족사항 조회" onload="SPRPB02208_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 400 333" id="group3" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 400 5" id="group2" anchor="default"/>
- <Static text="가족사항 리스트" position="absolute 0 0 183 18" id="caption1" class="tit_2" anchor="default"/>
- <Shape position="absolute 0 16 400 22" id="line1" class="line_10" anchor="default"/>
- <Grid position="absolute 0 21 400 330" id="grd_famylist" binddataset="ds_main_famylist" anchor="default" oncelldblclick="group3_grd_famylist_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="91"/>
- <Column size="99"/>
- <Column size="85"/>
- <Column size="84"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" taborder="undefined"/>
- <Cell col="1" rowspan="2" text="성명" taborder="undefined"/>
- <Cell col="2" rowspan="2" text="관계" taborder="undefined"/>
- <Cell col="3" colspan="2" text="주민번호" taborder="undefined"/>
- <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="caption1"/>
- <Cell col="20" text="성명전"/>
- <Cell col="21" text="가족관계전"/>
- <Cell col="22" text="주민번호전"/>
- <Cell col="23"/>
- <Cell col="24"/>
- <Cell col="25"/>
- <Cell col="26"/>
- <Cell col="27"/>
- <Cell col="28"/>
- <Cell col="29"/>
- <Cell col="30"/>
- <Cell col="31"/>
- <Cell col="32"/>
- <Cell col="33"/>
- <Cell col="34"/>
- <Cell col="35"/>
- <Cell col="36"/>
- <Cell row="1" col="3" text="앞자리"/>
- <Cell row="1" col="4" text="뒷자리"/>
- <Cell row="1" col="5" text="학력"/>
- <Cell row="1" col="6" text="직업"/>
- <Cell row="1" col="7" text="회사명"/>
- <Cell row="1" col="8" text="직책"/>
- <Cell row="1" col="9" text="진료비감면여부"/>
- <Cell row="1" col="10" text="동거여부"/>
- <Cell row="1" col="11" text="결혼여부"/>
- <Cell row="1" col="12" text="사망여부"/>
- <Cell row="1" col="13" text="장애 여부"/>
- <Cell row="1" col="14" text="삭제"/>
- <Cell row="1" col="15" text="비고"/>
- <Cell row="1" col="16" text="주민번호후"/>
- <Cell row="1" col="17" text="사번"/>
- <Cell row="1" col="18" text="주민번호"/>
- <Cell row="1" col="19" text="caption1"/>
- <Cell row="1" col="20" text="성명전"/>
- <Cell row="1" col="21" text="가족관계전"/>
- <Cell row="1" col="22" text="주민번호전"/>
- <Cell row="1" col="23"/>
- <Cell row="1" col="24"/>
- <Cell row="1" col="25"/>
- <Cell row="1" col="26"/>
- <Cell row="1" col="27"/>
- <Cell row="1" col="28"/>
- <Cell row="1" col="29"/>
- <Cell row="1" col="30"/>
- <Cell row="1" col="31"/>
- <Cell row="1" col="32"/>
- <Cell row="1" col="33"/>
- <Cell row="1" col="34"/>
- <Cell row="1" col="35"/>
- <Cell row="1" col="36"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" autosizerow="default"/>
- <Cell col="1" text="bind:nameaftupdt"/>
- <Cell col="2" displaytype="combo" edittype="combo" text="bind:famyrelaftupdt" id="famyrelaftupdt" enable="false"/>
- <Cell col="3" text="bind:rregno1aftupdt" mask="999999" enable="false"/>
- <Cell col="4" text="bind:rregno2aftupdt" mask="9999999" enable="false"/>
- <Cell col="5" displaytype="combo" edittype="combo" text="bind:scholcdaftupdt" id="scholcdaftupdt" enable="false"/>
- <Cell col="6" displaytype="combo" edittype="combo" text="bind:jobcdaftupdt" id="jobcdaftupdt"/>
- <Cell col="7" text="bind:cmpynmaftupdt"/>
- <Cell col="8" text="bind:jobrespaftupdt"/>
- <Cell col="9" text="bind:ordamtreductynaftupdt"/>
- <Cell col="10" text="bind:lvnsmhoseynaftupdt"/>
- <Cell col="11" text="bind:maryynaftupdt"/>
- <Cell col="12" text="bind:dethynaftupdt"/>
- <Cell col="13" text="bind:handcapynaftupdt"/>
- <Cell col="14" text="bind:delynaftupdt"/>
- <Cell col="15" text="bind:cmtaftupdt"/>
- <Cell col="16" text="bind:rregnoaftupdt"/>
- <Cell col="17" text="bind:emplno"/>
- <Cell col="18" text="bind:rregno"/>
- <Cell col="19" text="bind:sudangynaftupdt"/>
- <Cell col="20" text="bind:namebfupdt"/>
- <Cell col="21" text="bind:famyrelbfupdt"/>
- <Cell col="22" text="bind:rregnobfupdt"/>
- <Cell col="23" text="bind:rregno1bfupdt"/>
- <Cell col="24" text="bind:rregno2bfupdt"/>
- <Cell col="25" text="bind:scholcdbfupdt"/>
- <Cell col="26" text="bind:jobcdbfupdt"/>
- <Cell col="27" text="bind:cmpynmbfupdt"/>
- <Cell col="28" text="bind:jobrespbfupdt"/>
- <Cell col="29" text="bind:ordamtreductynbfupdt"/>
- <Cell col="30" text="bind:lvnsmhoseynbfupdt"/>
- <Cell col="31" text="bind:maryynbfupdt"/>
- <Cell col="32" text="bind:dethynbfupdt"/>
- <Cell col="33" text="bind:cmtbfupdt"/>
- <Cell col="34" text="bind:delynbfupdt"/>
- <Cell col="35" text="bind:handcapynbfupdt"/>
- <Cell col="36" text="bind:sudangynbfupdt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 332 400 359" id="group1" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Button position="absolute 284 3 340 25" id="btn_confirm" class="btn4" text="확인" anchor="default" onclick="group1_btn_confirm_onclick"/>
- <Button position="absolute 344 3 400 25" id="btn_cancel" class="btn4" text="취소" anchor="default" onclick="group1_btn_cancel_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Edit position="absolute 185 0 240 19" id="ipt_emplno" visible="false"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_famylist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="emplno" type="STRING" size="256" sumtext="사원번호"/>
- <Column id="mastseqno" type="STRING" size="256" sumtext="인사마스터일련번호"/>
- <Column id="nameaftupdt" type="STRING" size="256" sumtext="성명"/>
- <Column id="famyrelaftupdt" type="STRING" size="256" sumtext="가족과의관계"/>
- <Column id="famyrelnmaftupdt" type="STRING" size="256" sumtext="가족과의관계명"/>
- <Column id="rregno" type="STRING" size="256" sumtext="주민등록번호"/>
- <Column id="rregnoaftupdt" type="STRING" size="256" sumtext="주민등록번호"/>
- <Column id="rregno1aftupdt" type="STRING" size="256" sumtext="주민등록번호1"/>
- <Column id="rregno2aftupdt" type="STRING" size="256" sumtext="주민등록번호2"/>
- <Column id="scholcdaftupdt" type="STRING" size="256" sumtext="학력"/>
- <Column id="jobcdaftupdt" type="STRING" size="256" sumtext="직업"/>
- <Column id="cmpynmaftupdt" type="STRING" size="256" sumtext="회사"/>
- <Column id="jobrespaftupdt" type="STRING" size="256" sumtext="직책"/>
- <Column id="ordamtreductynaftupdt" type="STRING" size="256" sumtext="진료비감면여부"/>
- <Column id="lvnsmhoseynaftupdt" type="STRING" size="256" sumtext="동거여부"/>
- <Column id="maryynaftupdt" type="STRING" size="256" sumtext="결혼여부"/>
- <Column id="sudangynaftupdt" type="STRING" size="256" sumtext="수당여부"/>
- <Column id="dethynaftupdt" type="STRING" size="256" sumtext="사망여부"/>
- <Column id="cmtaftupdt" type="STRING" size="256" sumtext="비고"/>
- <Column id="delynaftupdt" type="STRING" size="256" sumtext="삭제여부"/>
- <Column id="handcapynaftupdt" type="STRING" size="256" sumtext="장애여부"/>
- <Column id="namebfupdt" type="STRING" size="256" sumtext="성명변경전"/>
- <Column id="famyrelbfupdt" type="STRING" size="256" sumtext="가족과의관계변경전"/>
- <Column id="famyrelnmbfupdt" type="STRING" size="256" sumtext="가족과의관계명변경전"/>
- <Column id="rregnobfupdt" type="STRING" size="256" sumtext="주민등록번호변경전"/>
- <Column id="rregno1bfupdt" type="STRING" size="256" sumtext="주민등록번호1변경전"/>
- <Column id="rregno2bfupdt" type="STRING" size="256" sumtext="주민등록번호2변경전"/>
- <Column id="scholcdbfupdt" type="STRING" size="256" sumtext="학력변경전"/>
- <Column id="jobcdbfupdt" type="STRING" size="256" sumtext="직업변경전"/>
- <Column id="cmpynmbfupdt" type="STRING" size="256" sumtext="회사변경전"/>
- <Column id="jobrespbfupdt" type="STRING" size="256" sumtext="직책변경전"/>
- <Column id="ordamtreductynbfupdt" type="STRING" size="256" sumtext="진료비감면여부변경전"/>
- <Column id="lvnsmhoseynbfupdt" type="STRING" size="256" sumtext="동거여부변경전"/>
- <Column id="maryynbfupdt" type="STRING" size="256" sumtext="결혼여부변경전"/>
- <Column id="sudangynbfupdt" type="STRING" size="256" sumtext="수당여부"/>
- <Column id="dethynbfupdt" type="STRING" size="256" sumtext="사망여부변경전"/>
- <Column id="cmtbfupdt" type="STRING" size="256" sumtext="비고변경전"/>
- <Column id="delynbfupdt" type="STRING" size="256" sumtext="삭제여부변경전"/>
- <Column id="handcapynbfupdt" type="STRING" size="256" sumtext="장애여부변경전"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="depthngnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="deptcd"/>
- <Col id="depthngnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_userinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="emplnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_target" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="emplno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="emplno"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_famylist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="ipt_emplno" propid="value" datasetid="ds_send" columnid="emplno"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2017-06-19
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-06-19 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "mis_miscommonxp::MIS.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : N/A
- * Description :
- ****************************************************************************************/
-
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SPRPB02208_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- //grdf_initGrid(grd_XXX);
- //grdf_setGridSort(grd_XXX);
- grdf_setRowTypeIcon(group3.grd_famylist, 0);
-
- misfGridInit(group3.grd_famylist);
-
- misfComboComCdList('R0077', group3.grd_famylist,"","famyrelaftupdt");
- misfComboComCdList('R0135', group3.grd_famylist,"","scholcdaftupdt");
- misfComboComCdList('R0076', group3.grd_famylist,"","jobcdaftupdt");
- ipt_emplno.value = opener.ipt_emplno.value;
- if(!utlf_isNull(ipt_emplno.value)) {
- // submit("TRRPB02208");
- var oParam = {};
- oParam.id = "TRRPB02208";
- oParam.service = "humtrafactmngtapp.PsnWorkMastMngt";
- oParam.method = "reqGetFamyList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_temp_famylist=famylist";
- oParam.async = false;
- oParam.callback = "cf_TRRPB02208";
- tranf_submit(oParam);
- }
- }
- function cf_TRRPB02208(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- ds_main_famylist.clearData();
- ds_main_famylist.updatecontrol = false;
- for(var i = 0 ; i < ds_temp_famylist.rowcount ; i++) {
- var nRow = ds_main_famylist.addRow();
- ds_main_famylist.setColumn(nRow,"emplno",ds_temp_famylist.getColumn(i,"emplno"));
- ds_main_famylist.setColumn(nRow,"mastseqno",ds_temp_famylist.getColumn(i,"seqno"));
- ds_main_famylist.setColumn(nRow,"nameaftupdt",ds_temp_famylist.getColumn(i,"name"));
- ds_main_famylist.setColumn(nRow,"famyrelaftupdt",ds_temp_famylist.getColumn(i,"famyrel"));
- ds_main_famylist.setColumn(nRow,"famyrelnmaftupdt",ds_temp_famylist.getColumn(i,"famyrelnm"));
- ds_main_famylist.setColumn(nRow,"rregno",ds_temp_famylist.getColumn(i,"rregno"));
- ds_main_famylist.setColumn(nRow,"rregnoaftupdt",ds_temp_famylist.getColumn(i,"rregno"));
- ds_main_famylist.setColumn(nRow,"rregno1aftupdt",ds_temp_famylist.getColumn(i,"rregno1"));
- ds_main_famylist.setColumn(nRow,"rregno2aftupdt",ds_temp_famylist.getColumn(i,"rregno2"));
- ds_main_famylist.setColumn(nRow,"scholcdaftupdt",ds_temp_famylist.getColumn(i,"scholcd"));
- ds_main_famylist.setColumn(nRow,"jobcdaftupdt",ds_temp_famylist.getColumn(i,"jobcd"));
- ds_main_famylist.setColumn(nRow,"cmpynmaftupdt",ds_temp_famylist.getColumn(i,"cmpynm"));
- ds_main_famylist.setColumn(nRow,"jobrespaftupdt",ds_temp_famylist.getColumn(i,"jobresp"));
- ds_main_famylist.setColumn(nRow,"ordamtreductynaftupdt",ds_temp_famylist.getColumn(i,"ordamtreductyn"));
- ds_main_famylist.setColumn(nRow,"lvnsmhoseynaftupdt",ds_temp_famylist.getColumn(i,"lvnsmhoseyn"));
- ds_main_famylist.setColumn(nRow,"maryynaftupdt",ds_temp_famylist.getColumn(i,"maryyn"));
- ds_main_famylist.setColumn(nRow,"sudangynaftupdt",ds_temp_famylist.getColumn(i,"sudangyn"));
- ds_main_famylist.setColumn(nRow,"dethynaftupdt",ds_temp_famylist.getColumn(i,"dethyn"));
- ds_main_famylist.setColumn(nRow,"cmtaftupdt",ds_temp_famylist.getColumn(i,"cmt"));
- ds_main_famylist.setColumn(nRow,"delynaftupdt",ds_temp_famylist.getColumn(i,"delyn"));
- ds_main_famylist.setColumn(nRow,"handcapynaftupdt",ds_temp_famylist.getColumn(i,"handcapyn"));
- ds_main_famylist.setColumn(nRow,"namebfupdt",ds_temp_famylist.getColumn(i,"name"));
- ds_main_famylist.setColumn(nRow,"famyrelbfupdt",ds_temp_famylist.getColumn(i,"famyrel"));
- ds_main_famylist.setColumn(nRow,"famyrelnmbfupdt",ds_temp_famylist.getColumn(i,"famyrelnm"));
- ds_main_famylist.setColumn(nRow,"rregnobfupdt",ds_temp_famylist.getColumn(i,"rregno"));
- ds_main_famylist.setColumn(nRow,"rregno1bfupdt",ds_temp_famylist.getColumn(i,"rregno1"));
- ds_main_famylist.setColumn(nRow,"rregno2bfupdt",ds_temp_famylist.getColumn(i,"rregno2"));
- ds_main_famylist.setColumn(nRow,"scholcdbfupdt",ds_temp_famylist.getColumn(i,"scholcd"));
- ds_main_famylist.setColumn(nRow,"jobcdbfupdt",ds_temp_famylist.getColumn(i,"jobcd"));
- ds_main_famylist.setColumn(nRow,"cmpynmbfupdt",ds_temp_famylist.getColumn(i,"cmpynm"));
- ds_main_famylist.setColumn(nRow,"jobrespbfupdt",ds_temp_famylist.getColumn(i,"jobresp"));
- ds_main_famylist.setColumn(nRow,"ordamtreductynbfupdt",ds_temp_famylist.getColumn(i,"ordamtreductyn"));
- ds_main_famylist.setColumn(nRow,"lvnsmhoseynbfupdt",ds_temp_famylist.getColumn(i,"lvnsmhoseyn"));
- ds_main_famylist.setColumn(nRow,"maryynbfupdt",ds_temp_famylist.getColumn(i,"maryyn"));
- ds_main_famylist.setColumn(nRow,"sudangynbfupdt",ds_temp_famylist.getColumn(i,"sudangyn"));
- ds_main_famylist.setColumn(nRow,"dethynbfupdt",ds_temp_famylist.getColumn(i,"dethyn"));
- ds_main_famylist.setColumn(nRow,"cmtbfupdt",ds_temp_famylist.getColumn(i,"cmt"));
- ds_main_famylist.setColumn(nRow,"delynbfupdt",ds_temp_famylist.getColumn(i,"delyn"));
- ds_main_famylist.setColumn(nRow,"handcapynbfupdt",ds_temp_famylist.getColumn(i,"handcapyn"));
- }
- ds_main_famylist.updatecontrol = true;
- }
- /****************************************************************************************
- * Components : Button
- * Description : 확인
- ****************************************************************************************/
- function group1_btn_confirm_onclick(obj:Button, e:ClickEventInfo)
- {
- misfPopUpListReturn(group3.grd_famylist);
- }
- /****************************************************************************************
- * Components : Button
- * Description : 닫기
- ****************************************************************************************/
- function group1_btn_cancel_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- /****************************************************************************************
- * Components : Grid
- * Description : 선택
- ****************************************************************************************/
- function group3_grd_famylist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- if(e.row > -1) group1.btn_confirm.click();
- }
- ]]></Script>
- </Form>
- </FDL>
|