123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPMC01700" position="absolute 0 0 1195 800" titletext="장애인환자관리" onload="SMPMC01700_onload" onclose="SMPMC01700_onclose">
- <Layouts>
- <Layout>
- <Div position="absolute 0 13 1195 757" id="group3" scrollbars="autoboth">
- <Layouts>
- <Layout/>
- </Layouts>
- </Div>
- <Static id="caption6" text="장애인환자관리" class="tit_1" position="absolute 0 0 140 25"/>
- <Button id="button10" taborder="1" text="초기화" class="btn4" position="absolute 1126 774 1194 796" onclick="button10_onclick"/>
- <Shape id="line32" class="line_6" position="absolute 0 768 1194 774" anchor="left right bottom"/>
- <Static id="caption2" text="* 2015년 10월 1일자로 차상위2종 / 의료급여2종에 대한 장애인여부만 자격조회를 통해 조회가능합니다. 세부내용 장애인 등록증 확인 필요!!!" position="absolute 180 240 940 260" style="color:red;"/>
- <Button id="button16" taborder="2" text="장애인내역저장" class="btn5" position="absolute 1092 237 1194 259" onclick="button16_onclick" anchor="top right"/>
- <Button id="button14" taborder="3" text="행삭제" class="btn5" position="absolute 1037 237 1090 259" onclick="button14_onclick" anchor="top right"/>
- <Button id="button8" taborder="4" text="행추가" class="btn2" position="absolute 982 237 1035 259" onclick="button8_onclick" anchor="top right"/>
- <Shape id="line18" linetype="horizontal" class="line_1" position="absolute 0 259 1194 265" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
- <Static id="caption46" text="장애인환자내역 리스트" class="tit_2" position="absolute 0 243 156 260"/>
- <Grid id="grd_handcappat" taborder="5" binddataset="ds_main_handcappatlist" useinputpanel="false" position="absolute 0 264 1194 769" autoenter="select" cellsizebandtype="allband" cellsizingtype="both" oncloseup="grd_handcappat_oncloseup" anchor="all" oncellclick="grd_handcappat_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="25"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="80"/>
- <Column size="150"/>
- <Column size="60"/>
- <Column size="70"/>
- <Column size="120"/>
- <Column size="220"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="120"/>
- <Column size="60"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="구분"/>
- <Cell col="1"/>
- <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" colspan="2" text="최종수정일시" taborder="undefined"/>
- <Cell col="14" text="기초생활수급"/>
- <Cell col="15" text="순번"/>
- <Cell col="16" text="환자등록번호"/>
- <Cell col="17" text="old장애구분"/>
- <Cell col="18" text="old종료일자"/>
- </Band>
- <Band id="body">
- <Cell displaytype="combo" edittype="combo" text="bind:gubun" combodataset="ds_init_gubun" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="1" celltype="head"/>
- <Cell col="2" displaytype="date" edittype="expr:isReadonly(currow) ? 'none' : 'date'" style="align:left middle;" text="bind:fromdd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="3" displaytype="date" edittype="expr:isReadonly(currow) ? 'none' : 'date'" style="align:left middle;" text="bind:todd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="4" displaytype="combo" edittype="expr:isReadonly(currow) ? 'none' : 'combo'" style="align:center middle;" text="bind:handcapflag" combodataset="ds_init_P0307list" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="5" displaytype="combo" edittype="expr:isReadonly(currow) ? 'none' : 'combo'" style="align:center middle;" text="bind:handcapgrde" combodataset="ds_init_P0308list" combocodecol="cdid" combodatacol="cdnm" combodisplayrowcount="9"/>
- <Cell col="6" displaytype="combo" edittype="expr:isReadonly(currow) ? 'none' : 'combo'" style="align:center middle;" text="bind:rela" combodataset="ds_init_P0016list" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="7" displaytype="text" edittype="expr:isReadonly(currow) ? 'none' : 'text'" style="align:center middle;" text="bind:apppsnnm"/>
- <Cell col="8" displaytype="text" edittype="expr:isReadonly(currow) ? 'none' : 'text'" text="bind:handcapcardno"/>
- <Cell col="9" displaytype="text" edittype="expr:isReadonly(currow) ? 'none' : 'text'" text="bind:remfact"/>
- <Cell col="10" text="bind:fstrgstdt" mask="yyyy-MM-dd hh:mm:ss"/>
- <Cell col="11" text="bind:fstrgstrnm"/>
- <Cell col="12" displaytype="date" text="bind:lastupdtdt" mask="yyyy-MM-dd HH:mm:ss" calendardisplaynulltype="none"/>
- <Cell col="13" displaytype="normal" text="bind:lastupdtrnm" calendardisplaynulltype="none"/>
- <Cell col="14" displaytype="combo" edittype="expr:isReadonly(currow) ? 'none' : 'combo'" style="align:center middle;" text="bind:bslvflag" combodataset="ds_init_bslvflag" combocodecol="value" combodatacol="label"/>
- <Cell col="15" text="bind:seqno"/>
- <Cell col="16" text="bind:pid"/>
- <Cell col="17" text="bind:oldhandcapflag"/>
- <Cell col="18" text="bind:oldtodd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="import1" taborder="6" position="absolute 0 29 1195 242" url="pam_patinfomngtxp::SSPMC00100_인적사항.xfdl" anchor="left top right"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_handcappatlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" onvaluechanged="ds_main_handcappatlist_onvaluechanged" cancolumnchange="ds_main_handcappatlist_cancolumnchange">
- <ColumnInfo>
- <Column id="gubun" type="STRING" size="256" sumtext="구분"/>
- <Column id="fromdd" type="STRING" size="256" sumtext="취득일자"/>
- <Column id="todd" type="STRING" size="256" sumtext="종료일자"/>
- <Column id="handcapflag" type="STRING" size="256" sumtext="장애구분"/>
- <Column id="handcapgrde" type="STRING" size="256" sumtext="장애급수"/>
- <Column id="remfact" type="STRING" size="256" sumtext="참고사항"/>
- <Column id="handcapcardno" type="STRING" size="256" sumtext="장애인카드번호"/>
- <Column id="fstrgstdt" type="STRING" size="256" sumtext="접수일자"/>
- <Column id="fstrgstrid" type="STRING" size="256" sumtext="접수자"/>
- <Column id="fstrgstrnm" type="STRING" size="256" sumtext="접수자"/>
- <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
- <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자"/>
- <Column id="lastupdtrnm" type="STRING" size="256" sumtext="최종수정자"/>
- <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
- <Column id="apppsnnm" type="STRING" size="256" sumtext="신청자명"/>
- <Column id="rela" type="STRING" size="256" sumtext="관계"/>
- <Column id="seqno" type="STRING" size="256" sumtext="순서"/>
- <Column id="oldtodd" type="STRING" size="256" sumtext="이전종료일자"/>
- <Column id="oldhandcapflag" type="STRING" size="256" sumtext="이전장애구분"/>
- <Column id="hndc_slflag" type="STRING" size="256" sumtext=""/>
- <Column id="bslvflag" type="STRING" size="256" sumtext="기초생활수급여부"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_P0307list" 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>
- </Dataset>
- <Dataset id="ds_init_P0308list" 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>
- </Dataset>
- <Dataset id="ds_init_P0016list" 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>
- </Dataset>
- <Dataset id="ds_init_P6578list" 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>
- </Dataset>
- <Dataset id="ds_init_bslvflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="value" type="STRING" size="256"/>
- <Column id="label" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="value">Y</Col>
- <Col id="label">예</Col>
- </Row>
- <Row>
- <Col id="label">아니요</Col>
- <Col id="value">N</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_handycap" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_source" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_gubun" 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">1</Col>
- </Row>
- <Row>
- <Col id="label">급여</Col>
- <Col id="value">2</Col>
- </Row>
- <Row>
- <Col id="label">기타</Col>
- <Col id="value">3</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-05-24
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-05-24 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include 'com_commonxp::comm_main.xjs';
- include 'pam_pamcomnxp::PAM001.xjs';
- var arErrorCode = new HashArray();
- var m_opener;
- var handcapgrde;
- //=======================================================================================
- // Local methods
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument :
- * Description : 장애인화자내역 그리드에 한 행을 추가하고 숨긴 컬럼 값을 세팅한다
- ****************************************************************************************/
- function fAddRow(){
- var pid = import1.ds_main_patinfo_patinfolist.getColumn(0, 'pid');
- var hngnm = import1.ds_main_patinfo_patinfolist.getColumn(0, 'hngnm');
-
- var idx = ds_main_handcappatlist.addRow();
-
- ds_main_handcappatlist.setColumn(idx, 'pid', pid);
- ds_main_handcappatlist.setColumn(idx, 'fromdd', utlf_getCurrentDate());
- // 2015/07/15 행추가시 종료일자가 자동으로 2년이 설정되도록 수정
- ds_main_handcappatlist.setColumn(idx, 'todd',
- utlf_getDateTime(utlf_getCurrentDate().toDate().getAddDate(-1, 'D').getAddDate(2, 'Y'), 'D'));
- ds_main_handcappatlist.setColumn(idx, 'appsnnm', hngnm);
- ds_main_handcappatlist.setColumn(idx, 'rela', '1');
- ds_main_handcappatlist.setColumn(idx, 'bslvflag', 'N');
- ds_main_handcappatlist.setColumn(idx, 'apppsnnm', import1.ds_main_patinfo_patinfolist.getColumn(0, 'hngnm'));
-
- return true;
- }
- /****************************************************************************************
- * Argument :
- * Description : 장애인환자내역 리스트 submission
- ****************************************************************************************/
- function fSearch(){
- if(import1.ds_main.getColumn(0, 'popupendflag') == 'ok'){
- var pid = import1.ds_main_patinfo_patinfolist.getColumn(0, 'pid');
- dsf_createDsRow('ds_req', [
- { col: 'pid', type: 'string', size: 256, val: pid },
- { col: 'hngnm', type: 'string', size: 256, val: '' },
- { col: 'rrgstno1', type: 'string', size: 256, val: '' },
- { col: 'rrgstno2', type: 'string', size: 256, val: '' },
- { col: 'checkflag', type: 'string', size: 256, val: '' },
- { col: 'srchbyrrgstno', type: 'string', size: 256, val: '' },
- { col: 'insukind', type: 'string', size: 256, val: '' },
- { col: 'orddeptcd', type: 'string', size: 256, val: '' },
- { col: 'orddd', type: 'string', size: 256, val: '' },
- { col: 'cretno', type: 'string', size: 256, val: '' }
- ], false);
-
- ds_main_handcappatlist.clearData();
- ds_main_handcappatlist.addRow();
-
- var oParam = {};
- oParam.id = "TRPMC01701";
- oParam.service = "patinfomngtapp.HandcapPat";
- oParam.method = "reqGetHandcapPat";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_main_handcappatlist=handcappatlist";
- oParam.async = false;
- //oParam.callback = "cf_TRPMC01701";
- tranf_submit(oParam);
-
- if(utlf_isNull(ds_main_handcappatlist.getColumnInfo("gubun"))) {
- ds_main_handcappatlist.addColumn("gubun", "string");
- }
-
- }
- }
- /****************************************************************************************
- * Argument :
- * Description : 차상위2종 장애인정보는 수정불가능하도록 제어 추가
- ****************************************************************************************/
- function isReadonly(row){
- if(ds_main_handcappatlist.getColumn(row, 'gubun') == '1'){
- return true;
- }
- return false;
- }
-
- //=======================================================================================
- // Events
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument :
- * Description : onload
- ****************************************************************************************/
- function SMPMC01700_onload(obj:Form, e:LoadEventInfo){
- frmf_initForm(obj);
-
- m_opener = frmf_getoOpener();
-
- grdf_setRowTypeIcon(grd_handcappat, 1);
- appf_getCodeList([
- { dsNm: 'ds_init_P0307list', cdGrpId: 'P0307' },
- { dsNm: 'ds_init_P0308list', cdGrpId: 'P0308' },
- { dsNm: 'ds_init_P0016list', cdGrpId: 'P0016' }
- ]);
-
- //ds_init_P6578list.addRow();
- // 2015/09/14 이정택(과코드 체크하여 행추가, 행삭제, 장애인내역저장 버튼 히든 처리)
- pamfGetCodeList([
- { dsNm: 'ds_init_P6578list', cdGrpId: 'P6578', showValue: false }
- ], false);
-
- var deptcd = sysf_getUserInfo('dutplcecd');
-
- ds_init_P6578list.enableevent = false;
- ds_init_P6578list.filter('cdid == "' + deptcd + '" && cdnm == "Y"');
- var cnt = ds_init_P6578list.rowcount;
- ds_init_P6578list.filter('');
- ds_init_P6578list.enableevent = true;
-
- if(cnt > 0){
- button8.visible = true; // 행추가
- button14.visible = true; // 행삭제
- button16.visible = true; // 장애인내역저장
- }
- else{
- button8.visible = false;
- button14.visible = false;
- button16.visible = false;
- }
-
- try {
- ds_temp_source.copyData(arg_ds_source);
- import1.group5.ipt_pid.value = ds_temp_source.getColumn(0, "pid");
- } catch(e) { }
-
- //import1.fSearchPatInfo();
- }
- /****************************************************************************************
- * Argument :
- * Description : 행추가 버튼 클릭
- ****************************************************************************************/
- function button8_onclick(obj:Button, e:ClickEventInfo){
- fAddRow();
- }
- /****************************************************************************************
- * Argument :
- * Description : 장애인환자내역 그리드 콤보 닫힘 이벤트
- ****************************************************************************************/
- function grd_handcappat_oncloseup(obj:Grid, e:GridEditEventInfo)
- {
- if(obj.getCellProperty('body', e.col, 'text') == 'bind:rela'){
-
- obj.updateToDataset();
- var strValue = ds_main_handcappatlist.getColumn(e.row, 'rela');
-
- if(strValue == '1'){
- ds_main_handcappatlist.setColumn(e.row, 'apppsnnm', import1.ds_main_patinfo_patinfolist.getColumn(0, 'hngnm'));
- }
- else{
- ds_main_handcappatlist.setColumn(e.row, 'apppsnnm', '');
- }
- }
-
- if(obj.getCellProperty('body', e.col, 'text') == 'bind:handcapgrde'){
- if(e.value == "01" || e.value == "02" || e.value == "03" || e.value == "04" || e.value == "05" || e.value == "06"){
- sysf_messageBox("1~6급은 사용하지 않는 급수입니다." , "E");
- ds_main_handcappatlist.setColumn(e.row, "handcapgrde", handcapgrde);
- return;
- }
- }
- }
- function grd_handcappat_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- if(obj.getCellProperty('body', e.col, 'text') == 'bind:handcapgrde'){
- handcapgrde = ds_main_handcappatlist.getColumn(e.row, "handcapgrde");
- }
- }
- /****************************************************************************************
- * Argument :
- * Description : 행삭제 버튼 클릭
- ****************************************************************************************/
- function button14_onclick(obj:Button, e:ClickEventInfo){
- if(sysf_messageBox('선택한 장애인 내역을', 'Q001') != 6){
- return;
- }
-
- var currow = ds_main_handcappatlist.rowposition;
- // 디비에 저장되지 않은 데이타는 그냥 삭제한다.
-
- if(ds_main_handcappatlist.getRowType(currow) == Dataset.ROWTYPE_INSERT){
- ds_main_handcappatlist.deleteRow(currow);
- return;
- }
-
- // 차상위 2종 장애인의 경우 삭제 불가
- if(ds_main_handcappatlist.getColumn(currow, 'gubun') == '1'){
- sysf_messageBox('차상위2종 장애인정보는 삭제할 수 없습니다', 'E999');
- return;
- }
-
- ds_send_handycap.clearData();
-
- grdf_setStatus(grd_handcappat, 'D', [currow]);
-
- var ds_tmp = grdf_getGridUpdateData(grd_handcappat, 'D');
- grdf_setStatusColumn(ds_tmp, 'status');
-
-
-
- ds_send_handycap.copyData(ds_tmp, true);
-
- dsf_setDefaultVal(ds_send_handycap, "all");
-
- var oParam = {};
- oParam.id = "TXPMC01702";
- oParam.service = "patinfomngtapp.HandcapPat";
- oParam.method = "reqExeHandcapPat";
- oParam.inds = "req=ds_send_handycap";
- oParam.outds = "";
- oParam.async = false;
- oParam.callback = "cf_TXPMC01702";
- tranf_submit(oParam);
- if(arErrorCode.pop("TXPMC01702") < 0){
- return;
- }
-
- ds_main_handcappatlist.deleteRow(currow);
- }
- function cf_TXPMC01702(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- /****************************************************************************************
- * Argument :
- * Description : 장애인내역 저장 버튼 클릭
- ****************************************************************************************/
- function button16_onclick(obj:Button, e:ClickEventInfo){
- var ds_tmp = grdf_getGridUpdateData(grd_handcappat);
- grdf_setStatusColumn(ds_tmp, 'status');
- ds_send_handycap.copyData(ds_tmp); //.clearData();
-
- dsf_setDefaultVal(ds_send_handycap, "all");
-
- // dsf_createDsRow("ds_send_handycap", [
- // {col:"status", type:"STRING", size:256, val: ds_tmp.getColumn(0, "status")}
- // , {col:"gubun", type:"STRING", size:256, val: ds_tmp.getColumn(0, "gubun")}
- // , {col:"pid", type:"STRING", size:256, val: ds_tmp.getColumn(0, "pid")}
- // , {col:"handcapflag", type:"STRING", size:256, val: ds_tmp.getColumn(0, "handcapflag")}
- // , {col:"todd", type:"STRING", size:256, val: ds_tmp.getColumn(0, "todd")}
- // , {col:"seqno", type:"INT", size:256, val: ds_tmp.getColumn(0, "seqno")}
- // , {col:"instcd", type:"STRING", size:256, val: ds_tmp.getColumn(0, "instcd")}
- // , {col:"histstat", type:"STRING", size:256, val: ds_tmp.getColumn(0, "histstat")}
- // , {col:"fromdd", type:"STRING", size:256, val: ds_tmp.getColumn(0, "fromdd")}
- // , {col:"handcapgrde", type:"STRING", size:256, val: ds_tmp.getColumn(0, "handcapgrde")}
- // , {col:"handcapcardno", type:"STRING", size:256, val: ds_tmp.getColumn(0, "handcapcardno")}
- // , {col:"apppsnnm", type:"STRING", size:256, val: ds_tmp.getColumn(0, "apppsnnm")}
- // , {col:"rela", type:"STRING", size:256, val: ds_tmp.getColumn(0, "rela")}
- // , {col:"remfact", type:"STRING", size:256, val: ds_tmp.getColumn(0, "remfact")}
- // , {col:"oldtodd", type:"STRING", size:256, val: ds_tmp.getColumn(0, "oldtodd")}
- // , {col:"oldhandcapflag", type:"STRING", size:256, val: ds_tmp.getColumn(0, "oldhandcapflag")}
- // , {col:"bslvflag", type:"STRING", size:256, val: ds_tmp.getColumn(0, "bslvflag")}
- // ]);
- // dsf_setTypeFormat(ds_send_handycap, "seqno:INT");
-
-
- var oParam = {};
- oParam.id = "TXPMC01702";
- oParam.service = "patinfomngtapp.HandcapPat";
- oParam.method = "reqExeHandcapPat";
- oParam.inds = "req=ds_send_handycap";
- oParam.outds = "";
- oParam.async = false;
- oParam.callback = "cf_TXPMC01702";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TXPMC01702") < 0){
- return;
- }
-
- var pid = import1.ds_main_patinfo_patinfolist.getColumn(0, 'pid');
-
- dsf_createDsRow('ds_req', [
- { col: 'pid', type: 'string', size: 256, val: pid },
- { col: 'hngnm', type: 'string', size: 256, val: '' },
- { col: 'rrgstno1', type: 'string', size: 256, val: '' },
- { col: 'rrgstno2', type: 'string', size: 256, val: '' },
- { col: 'checkflag', type: 'string', size: 256, val: '' },
- { col: 'srchbyrrgstno', type: 'string', size: 256, val: '' },
- { col: 'insukind', type: 'string', size: 256, val: '' },
- { col: 'orddeptcd', type: 'string', size: 256, val: '' },
- { col: 'orddd', type: 'string', size: 256, val: '' }
- ], false);
-
- ds_main_handcappatlist.clearData();
- ds_main_handcappatlist.addRow();
-
- var oParam = {};
- oParam.id = "TRPMC01701";
- oParam.service = "patinfomngtapp.HandcapPat";
- oParam.method = "reqGetHandcapPat";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_main_handcappatlist=handcappatlist";
- oParam.async = false;
- //oParam.callback = "cf_TRPMC01701";
- tranf_submit(oParam);
-
- if(utlf_isNull(ds_main_handcappatlist.getColumnInfo("gubun"))) {
- ds_main_handcappatlist.addColumn("gubun", "string");
- }
- }
- /****************************************************************************************
- * Argument :
- * Description : 초기화 버튼 클릭
- ****************************************************************************************/
- function button10_onclick(obj:Button, e:ClickEventInfo){
- ds_main_handcappatlist.clearData();
- import1.ds_main_patinfo_patinfolist.clearData();
- import1.ds_main_patinfo_patinfolist.addRow();
-
- import1.group5.ipt_pid.setFocus();
- }
- function SMPMC01700_onclose(obj:Form, e:CloseEventInfo)
- {
- if(frmf_checkOpener()){
- if(arg_ds_source.getColumn(0, "orddd").toDate() >= ds_main_handcappatlist.getColumn(ds_main_handcappatlist.rowcount-1, "fromdd").toDate()
- && arg_ds_source.getColumn(0, "orddd").toDate() <= ds_main_handcappatlist.getColumn(ds_main_handcappatlist.rowcount-1, "todd").toDate()){
- m_opener.frmf_setParameter("SMPMC01700_handicapotptyn", "Y");
- }
- else{
- m_opener.frmf_setParameter("SMPMC01700_handicapotptyn", "N");
- }
- }
- }]]></Script>
- </Form>
- </FDL>
|