123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPPMC03800" position="absolute 0 0 865 550" titletext="직원가족조회" onload="SPPMC03800_onload">
- <Layouts>
- <Layout>
- <Shape id="line1" linetype="horizontal" class="line_1" position="absolute 0 64 863 70" style="strokepen:3 solid #33bbbbff;"/>
- <Static id="caption6" text="가족사항" class="tit_2" position="absolute 0 48 108 64"/>
- <Grid id="datagrid1" class="datagrid2" taborder="1" binddataset="ds_main_famylist" useinputpanel="false" position="absolute 0 69 863 218" oncelldblclick="datagrid1_oncelldblclick" onkeydown="datagrid1_onkeydown" oncellclick="datagrid1_oncellclick" cellsizingtype="both">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="48"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="42"/>
- <Column size="39"/>
- <Column size="55"/>
- <Column size="89"/>
- <Column size="63"/>
- <Column size="100"/>
- <Column size="81"/>
- <Column size="75"/>
- <Column size="75"/>
- <Column size="120"/>
- <Column size="90"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="36" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="성명"/>
- <Cell col="2" colspan="2" text="주민번호" taborder="undefined"/>
- <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" expr="expr:currow + 1"/>
- <Cell col="1" style="align:center middle;" class="text_center" text="bind:name"/>
- <Cell col="2" style="align:center middle;" class="text_center" text="bind:rgstno1"/>
- <Cell col="3" style="align:center middle;" class="text_center" text="bind:rgstno2"/>
- <Cell col="4" style="align:center middle;" class="text_center" text="bind:discuncocd"/>
- <Cell col="5" style="align:center middle;" class="text_center" text="bind:famyrelnm"/>
- <Cell col="6" style="align:center middle;" class="text_center" text="bind:emplname"/>
- <Cell col="7" style="align:center middle;" class="text_center" text="bind:realemplno"/>
- <Cell col="8" style="align:center middle;" class="text_center" text="bind:preststatnm"/>
- <Cell col="9" style="align:center middle;" class="text_center" text="bind:orginstnm"/>
- <Cell col="10" style="align:center middle;" class="text_center" text="bind:orgdeptnm"/>
- <Cell col="11" displaytype="date" style="align:center middle;" text="bind:fromdd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="12" displaytype="date" style="align:center middle;" text="bind:todd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="13" style="align:center middle;" class="text_center" text="bind:dutinstnm"/>
- <Cell col="14" style="align:center middle;" class="text_center" text="bind:dutdeptnm"/>
- <Cell col="15" style="align:center middle;" class="text_center" text="bind:jobposnm"/>
- <Cell col="16" style="align:center middle;" class="text_center" text="bind:jobrespnm"/>
- <Cell col="17" displaytype="date" style="align:center middle;" class="text_center" text="bind:entcodd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="18" displaytype="date" style="align:center middle;" class="text_center" text="bind:retiredd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption4" text="감면정보예외 할인코드" class="tit_2" position="absolute 0 226 155 242"/>
- <Shape id="line3" linetype="horizontal" class="line_1" position="absolute 0 242 863 248" style="strokepen:3 solid #33bbbbff;"/>
- <Grid id="datagrid2" class="datagrid2" taborder="2" binddataset="ds_main_uncolist" useinputpanel="false" position="absolute 0 247 863 517" autofittype="col" oncelldblclick="datagrid2_oncelldblclick" onkeydown="datagrid2_onkeydown" oncellclick="datagrid2_oncellclick" cellsizingtype="both" extendsizetype="row">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="105"/>
- <Column size="111"/>
- <Column size="100"/>
- <Column size="42"/>
- <Column size="42"/>
- <Column size="42"/>
- <Column size="42"/>
- <Column size="42"/>
- <Column size="42"/>
- <Column size="100"/>
- <Column size="100"/>
- </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" rowspan="2" text="진찰료할인률" taborder="undefined"/>
- <Cell col="4" colspan="3" text="외래할인률" taborder="undefined"/>
- <Cell col="7" colspan="3" text="입원할인률" taborder="undefined"/>
- <Cell col="10" rowspan="2" text="기본건진할인률" taborder="undefined"/>
- <Cell col="11" rowspan="2" text="추가건진할인률" taborder="undefined"/>
- <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="특진료"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" style="align:left middle;" text="bind:discuncocd"/>
- <Cell col="2" displaytype="text" style="align:left top;padding:4 2 1 2;" text="bind:discunconm" wordwrap="char"/>
- <Cell col="3" style="align:left middle;" text="bind:medfeeapprate"/>
- <Cell col="4" style="align:left middle;" text="bind:outpayapprate"/>
- <Cell col="5" style="align:left middle;" text="bind:outnopyapprate"/>
- <Cell col="6" style="align:left middle;" text="bind:outspecapprate"/>
- <Cell col="7" style="align:left middle;" text="bind:inpayapprate"/>
- <Cell col="8" style="align:left middle;" text="bind:innopyapprate"/>
- <Cell col="9" style="align:left middle;" text="bind:inspecapprate"/>
- <Cell col="10" style="align:left middle;" text="bind:basehealexamapprate"/>
- <Cell col="11" style="align:left middle;" text="bind:addhealexamapprate"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="grp" taborder="3" class="div_SA2" position="absolute 0 0 863 40">
- <Layouts>
- <Layout width="863" height="32">
- <Static id="caption2" text="사번 :" class="search_name" visible="false" position="absolute 360 11 421 28" anchor="default"/>
- <Button id="button1" taborder="9" class="icon_search" visible="false" position="absolute 498 12 514 28" onclick="grp_button1_onclick" tooltiptext="직원조회" anchor="default"/>
- <Edit id="opt_emplnm" taborder="10" visible="false" position="absolute 545 10 614 29" onkeydown="grp_opt_emplnm_onkeydown" anchor="default"/>
- <MaskEdit id="ipt_emplno" taborder="11" mask="9999999999" class="input_default" visible="false" position="absolute 424 10 495 29" onkeydown="grp_ipt_emplno_onkeydown" anchor="default"/>
- <Shape id="line2" linetype="vertical" position="absolute 791 10 797 30" anchor="default"/>
- <Button id="btn_search" taborder="12" text="조회" class="btn1" position="absolute 802 9 858 31" onclick="grp_btn_search_onclick" anchor="default"/>
- <MaskEdit id="ipt_rrgstno1" taborder="13" mask="999999" visible="false" position="absolute 646 10 715 29" onkeydown="grp_ipt_rrgstno1_onkeydown" anchor="default"/>
- <Static id="caption3" text="주민번호 :" class="search_name" visible="false" position="absolute 555 11 641 28" anchor="default"/>
- <MaskEdit id="ipt_rrgstno2" taborder="14" mask="9999999" visible="false" position="absolute 718 10 787 29" onkeydown="grp_ipt_rrgstno2_onkeydown" anchor="default"/>
- <Static id="caption5" text="등록번호 :" class="search_name" position="absolute 10 11 120 28" anchor="default"/>
- <Edit id="ipt_pid" taborder="15" class="input_default" position="absolute 100 9 175 28" anchor="default"/>
- <Static id="caption7" text="기준일자 :" class="search_name" position="absolute 190 11 290 28" anchor="default"/>
- <Calendar id="input1" taborder="16" class="input_default" position="absolute 279 10 369 29" dateformat="yyyy-MM-dd" value="null" anchor="default"/>
- <Static id="caption1" text="성명 :" class="search_name" visible="false" position="absolute 479 11 540 28" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_confirm" taborder="4" text="확인" class="btn4" position="absolute 749 522 805 544" onclick="btn_confirm_onclick"/>
- <Button id="btn_cancel" taborder="5" text="취소" class="btn4" position="absolute 807 522 863 544" onclick="btn_cancel_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_famylist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cretinstcd" type="STRING" size="256" sumtext="등록기관코드"/>
- <Column id="hospnm" type="STRING" size="256" sumtext="등록기관명"/>
- <Column id="emplno" type="STRING" size="256" sumtext="사원번호 "/>
- <Column id="realemplno" type="STRING" size="256" sumtext="실제사원번호"/>
- <Column id="emplname" type="STRING" size="256" sumtext="사원명 "/>
- <Column id="rrgstno" type="STRING" size="256" sumtext="주민등록번호 "/>
- <Column id="rgstno1" type="STRING" size="256" sumtext="주민번호1 "/>
- <Column id="rgstno2" type="STRING" size="256" sumtext="주민번호2 "/>
- <Column id="fromdd" type="STRING" size="256" sumtext="시작일자"/>
- <Column id="todd" type="STRING" size="256" sumtext="종료일자"/>
- <Column id="datapublyn" type="STRING" size="256" sumtext="데이터공유여부"/>
- <Column id="empkindcd" type="STRING" size="256" sumtext="분류"/>
- <Column id="empkindnm" type="STRING" size="256" sumtext="분류명"/>
- <Column id="discuncoflag" type="STRING" size="256" sumtext="할인여부"/>
- <Column id="discuncocd" type="STRING" size="256" sumtext="할인코드"/>
- <Column id="discunconm" type="STRING" size="256" sumtext="할인코드"/>
- <Column id="famyrelcd" type="STRING" size="256" sumtext="가족관계"/>
- <Column id="famyrelnm" type="STRING" size="256" sumtext="가족관계명"/>
- <Column id="name" type="STRING" size="256" sumtext="성명 "/>
- <Column id="orginstcd" type="STRING" size="256" sumtext="원소속기관"/>
- <Column id="orginstnm" type="STRING" size="256" sumtext="원소속기관명"/>
- <Column id="orgdeptnm" type="STRING" size="256" sumtext="원소속부서명"/>
- <Column id="dutinstcd" type="STRING" size="256" sumtext="근무지기관"/>
- <Column id="dutinstnm" type="STRING" size="256" sumtext="근무지기관명"/>
- <Column id="dutdeptnm" type="STRING" size="256" sumtext="근무부서명"/>
- <Column id="preststatcd" type="STRING" size="256" sumtext="현근무상태"/>
- <Column id="preststatnm" type="STRING" size="256" sumtext="현근무상태명"/>
- <Column id="jobposnm" type="STRING" size="256" sumtext="직위명"/>
- <Column id="jobrespnm" type="STRING" size="256" sumtext="직책명"/>
- <Column id="retiredd" type="STRING" size="256" sumtext="퇴직일자"/>
- <Column id="retrduagelimyn" type="STRING" size="256" sumtext="정년퇴직구분"/>
- <Column id="entcodd" type="STRING" size="256" sumtext="입사일/입학일 "/>
- <Column id="entcoday" type="STRING" size="256" sumtext="계약일수"/>
- <Column id="cronyn" type="STRING" size="256" sumtext="CRON자동생성여부"/>
- <Column id="profacptyn" type="STRING" size="256" sumtext="증명서류접수여부 "/>
- <Column id="profacptdd" type="STRING" size="256" sumtext="증명서류접수일자"/>
- <Column id="remark" type="STRING" size="256" sumtext="참고사항"/>
- <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자ID "/>
- <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시 "/>
- <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자ID "/>
- <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시 "/>
- <Column id="aftrcptyn" type="STRING" size="256" sumtext="후수납적용여부"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_uncolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="discuncocd" type="STRING" size="256" sumtext="할인코드"/>
- <Column id="discunconm" type="STRING" size="256" sumtext="할인코드명"/>
- <Column id="medfeeapprate" type="STRING" size="256" sumtext="진찰료할인률"/>
- <Column id="outpayapprate" type="STRING" size="256" sumtext="외래할인률_급여"/>
- <Column id="outnopyapprate" type="STRING" size="256" sumtext="외래할인률_비급여"/>
- <Column id="outspecapprate" type="STRING" size="256" sumtext="외래할인률_특진료"/>
- <Column id="inpayapprate" type="STRING" size="256" sumtext="입원할인률_급여"/>
- <Column id="innopyapprate" type="STRING" size="256" sumtext="입원할인률_비급여"/>
- <Column id="inspecapprate" type="STRING" size="256" sumtext="입원할인률_특진료"/>
- <Column id="basehealexamapprate" type="STRING" size="256" sumtext="기본건진할인률"/>
- <Column id="addhealexamapprate" type="STRING" size="256" sumtext="추가건진할인률"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_R0077list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="checkcount" type="STRING" size="256" sumtext="카운트값"/>
- <Column id="emplno" type="STRING" size="256" sumtext="직원사번"/>
- <Column id="emplnm" type="STRING" size="256" sumtext="직원성명"/>
- <Column id="rrgstno" type="STRING" size="256" sumtext="주민번호"/>
- <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호1"/>
- <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호2"/>
- <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
- <Column id="orddd" type="STRING" size="256" sumtext="기준일자"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="emplno"/>
- <Col id="emplnm"/>
- <Col id="rrgstno"/>
- <Col id="rrgstno1"/>
- <Col id="rrgstno2"/>
- <Col id="checkcount"/>
- <Col id="pid"/>
- <Col id="orddd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_session" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_userpopupinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="param" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_oneselect" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp.ipt_pid" propid="value" datasetid="ds_send" columnid="pid"/>
- <BindItem id="item1" compid="grp.input1" propid="value" datasetid="ds_send" columnid="orddd"/>
- <BindItem id="item2" compid="grp.ipt_emplno" propid="value" datasetid="ds_send" columnid="emplno"/>
- <BindItem id="item3" compid="grp.opt_emplnm" propid="value" datasetid="ds_send" columnid="emplnm"/>
- <BindItem id="item4" compid="grp.ipt_rrgstno1" propid="value" datasetid="ds_send" columnid="rrgstno1"/>
- <BindItem id="item5" compid="grp.ipt_rrgstno2" propid="value" datasetid="ds_send" columnid="rrgstno2"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[include 'com_commonxp::comm_main.xjs';
- include 'pam_opatmngtxp::PMOCOM.xjs';
- function fSearch() {
- ds_send.setColumn(0, "checkcount", '1');
- var pid = utlf_trim(ds_send.getColumn(0, "pid"));
- ds_main_famylist.clearData();
- ds_main_famylist.addRow();
- ds_main_uncolist.clearData();
- ds_main_uncolist.addRow();
-
- if (!utlf_isNull(pid)) {
-
- var oParam = {};
- oParam.id = "TRPMC03802";
- oParam.service = "pamcomnapp.PamComn";
- oParam.method = "reqGetFamyList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_famylist=famylist ds_main_uncolist=uncolist";
- oParam.async = false;
-
- tranf_submit(oParam);
- ds_main_famylist.addColumn('discuncoflag', 'string');
-
- } else {
- sysf_messageBox('환자번호를 입력하세요', 'E999');
- grp.ipt_emplno.setFocus();
- return;
- }
-
- if (ds_main_famylist.rowcount > 0) {
- datagrid1.setFocus();
- }
-
- ds_send.setColumn(0, "rrgstno", '');
- }
- function SPPMC03800_onload(obj:Form, e:LoadEventInfo){
-
- // 폼 초기화
- frmf_initForm(obj);
- // PMOCOM.xjs
- fGetUserInfosSampling();
- // 공통코드
- appf_getCodeList([{ dsNm:"ds_init_R0077list", cdGrpId:"R0077"}]);
- var pid = "";
- var emplid = "";
- var emplnm = "";
- var rrgstno1 = "";
- var rrgstno2 = "";
- var rrgstno = "";
- if (frmf_checkOpener()) {
- pid = opener.frmf_getParameter("SPPMC03800_pid");
- emplid = opener.frmf_getParameter("SPPMC03800_emplid");
- emplnm = opener.frmf_getParameter("SPPMC03800_emplnm");
- rrgstno1 = opener.frmf_getParameter("SPPMC03800_rrgstno1");
- rrgstno2 = opener.frmf_getParameter("SPPMC03800_rrgstno2");
- rrgstno = rrgstno1 + rrgstno2;
- }
- // dbs227, 전달받은 파라미터가 있으면 복사해 준다
-
- try {
- if (!utlf_isNull(arg_main_result)) {
- ds_main_famylist.copyData(arg_main_result);
- ds_main_famylist.addColumn('discuncoflag', 'string');
- }
- } catch(e) { }
-
- try {
- if (!utlf_isNull(arg_main_uncolist)) {
- ds_main_uncolist.copyData(arg_main_uncolist);
- }
- } catch (e) { }
-
- if (!utlf_isNull(pid)) {
- ds_send.setColumn(0, "emplno", emplid);
- ds_send.setColumn(0, "emplnm", emplnm);
- ds_send.setColumn(0, "rrgstno1", rrgstno1);
- ds_send.setColumn(0, "rrgstno2", rrgstno2);
- ds_send.setColumn(0, "rrgstno", rrgstno);
- ds_send.setColumn(0, "pid", pid);
-
- grp.btn_search.click();
- }
-
- if (ds_main_famylist.rowcount > 0) {
- datagrid1.setFocus();
- } else {
- grp.opt_emplnm.setFocus();
- }
-
- ds_send.setColumn(0, "orddd", utlf_getCurrentDate());
- }
- function grp_ipt_emplno_onkeydown(obj:MaskEdit, e:KeyEventInfo) {
- if (e.keycode == 13) {
- obj.updateToDataset();
- grp.btn_search.click();
- }
- }
- function grp_opt_emplnm_onkeydown(obj:Edit, e:KeyEventInfo) {
- if (e.keycode == 13) {
- obj.updateToDataset();
- grp.btn_search.click();
- }
- }
- function grp_ipt_rrgstno1_onkeydown(obj:MaskEdit, e:KeyEventInfo) {
- if (e.keycode == 13) {
- obj.updateToDataset();
- grp.btn_search.click();
- }
- }
- function grp_ipt_rrgstno2_onkeydown(obj:MaskEdit, e:KeyEventInfo) {
- if (e.keycode == 13) {
- obj.updateToDataset();
- grp.btn_search.click();
- }
- }
- function grp_btn_search_onclick(obj:Button, e:ClickEventInfo) {
- fSearch();
- }
- function datagrid1_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
- if (e.row >= 0 && e.col >= 0) {
- ds_main_uncolist.rowposition = -1; // 2019.04.19 서재영 수정. e.row -> -1
- btn_confirm.click();
- }
- }
- function datagrid1_oncellclick(obj:Grid, e:GridClickEventInfo) {
- if (e.row >= 0 && e.col >= 0) {
- ds_main_uncolist.rowposition = -1; // 2019.04.19 서재영 수정. e.row -> -1
- }
- }
- function datagrid1_onkeydown(obj:Grid, e:KeyEventInfo) {
- if (e.keycode == 13) {
- obj.updateToDataset();
- btn_confirm.click();
- }
- }
- function grp_button1_onclick(obj:Button, e:ClickEventInfo) {
-
- var obj = new Object();
- obj.param = '_OneS';
- frmf_modal('SPZSU10103', 'SPZSU10103', obj, null, null, null, null, null, null, null, null, null, 'M');
-
- dsf_setCSVToDs(ds_main_oneselect, frmf_getParameter('SPZSU10103_'));
-
- ds_send.setColumn(0, 'emplno', ds_main_oneselect.getColumn(0, 'userid'));
- ds_send.setColumn(0, 'emplnm', ds_main_oneselect.getColumn(0, 'usernm'));
- }
- function datagrid2_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
- if (e.row >= 0 && e.col >= 0) {
- ds_main_famylist.rowposition = -1; // 2019.04.19 서재영 수정. e.row -> -1
- btn_confirm.click();
- }
- }
- function datagrid2_oncellclick(obj:Grid, e:GridClickEventInfo){
- if(e.row >= 0 && e.col >= 0) {
- ds_main_famylist.rowposition = -1; // 2019.04.19 서재영 수정. e.row -> -1
- }
- }
- function datagrid2_onkeydown(obj:Grid, e:KeyEventInfo) {
- if(e.keycode == 13){
- btn_confirm.click();
- }
- }
- function btn_confirm_onclick(obj:Button, e:ClickEventInfo) {
-
- if (frmf_checkOpener()) {
- var famRow = datagrid1.currentrow;
- var uncoRow = datagrid2.currentrow;
- if (famRow >= 0) {
- opener.frmf_setParameter("SPPMC03800_emplid", ds_main_famylist.getColumn(famRow, "emplno"));
- opener.frmf_setParameter("SPPMC03800_discuncoflag", ds_main_famylist.getColumn(famRow, "discuncoflag"));
- opener.frmf_setParameter("SPPMC03800_discuncocd", ds_main_famylist.getColumn(famRow, "discuncocd"));
- opener.frmf_setParameter("SPPMC03800_aftrcptyn", ds_main_famylist.getColumn(famRow, "aftrcptyn"));
- opener.frmf_setParameter("SPPMC03800_famyrelcd", ds_main_famylist.getColumn(famRow, "famyrelcd"));
- opener.frmf_setParameter("SPPMC03800_famyrelnm", ds_main_famylist.getColumn(famRow, "famyrelnm"));
- opener.frmf_setParameter("SPPMC03800_preststatnm", ds_main_famylist.getColumn(famRow, "preststatnm"));
- opener.frmf_setParameter("SPPMC03800_profacptyn", ds_main_famylist.getColumn(famRow, "profacptyn"));
- opener.frmf_setParameter("SPPMC03800_profacptdd", ds_main_famylist.getColumn(famRow, "profacptdd"));
- opener.frmf_setParameter("SPPMC03800_remark", ds_main_famylist.getColumn(famRow, "remark"));
- // 관계 본인
- if (ds_main_famylist.getColumn(famRow, "famyrelcd") == "07") {
- opener.frmf_setParameter("SPPMC03800_emplnm", ds_main_famylist.getColumn(famRow, "name"));
- } else {
- opener.frmf_setParameter("SPPMC03800_emplnm", ds_main_famylist.getColumn(famRow, "emplname"));
- }
- } else if (uncoRow >= 0) {
- opener.frmf_setParameter("SPPMC03800_discuncocd", ds_main_uncolist.getColumn(uncoRow, "discuncocd"));
- } else {
- sysf_messageBox("행이 정확히 선택되지", "E007");
- }
- } else {
- sysf_messageBox("상위화면이 변경되어 데이터를 가져올 수", "I004");
- }
- this.close();
- }
- function btn_cancel_onclick(obj:Button, e:ClickEventInfo) {
- this.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|