123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPPAS00760" position="absolute 0 0 530 269" titletext="보증인조회" onload="SPPAS00760_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 25 525 60" id="grp" class="div_SA">
- <Layouts>
- <Layout>
- <Button position="absolute 460 7 516 29" id="btn_search" class="btn1" text="조회" anchor="default" onclick="grp_btn_search_onclick"/>
- <Shape position="absolute 447 5 453 27" linetype="vertical" id="line1" class="line_4" visible="true" anchor="default"/>
- <Static text="보증인명 :" position="absolute 10 10 101 27" id="caption4" class="search_name" anchor="default"/>
- <Edit position="absolute 100 8 205 27" id="input1" anchor="default" onkeydown="grp_input1_onkeydown" autoselect="true" autoskip="true"/>
- </Layout>
- </Layouts>
- </Div>
- <Static text="환자정보" position="absolute 0 66 117 82" id="caption2" class="tit_2"/>
- <Static text="환자번호" position="absolute 0 87 70 107" id="caption1" class="cell_1"/>
- <Shape position="absolute 0 82 520 88" linetype="horizontal" id="line2" class="line_1" style="strokepen:3 solid #33bbbbff;"/>
- <Static text="주민번호" position="absolute 0 110 70 130" id="caption3" class="cell_1"/>
- <Static text="우편번호" position="absolute 0 133 70 153" id="caption5" class="cell_1"/>
- <Shape position="absolute 0 106 520 112" linetype="horizontal" id="line3" class="line_2"/>
- <Shape position="absolute 0 129 520 135" linetype="horizontal" id="line4" class="line_2"/>
- <Shape position="absolute 0 152 520 158" linetype="horizontal" id="line5" class="line_2"/>
- <Static text="연락처" position="absolute 180 87 280 107" id="caption6" class="cell_1"/>
- <Static text="휴대폰번호" position="absolute 180 110 280 130" id="caption7" class="cell_1"/>
- <Static text="주소" position="absolute 180 133 280 153" id="caption8" class="cell_1"/>
- <Edit readonly="true" position="absolute 75 87 175 106" id="output1"/>
- <Edit readonly="true" position="absolute 75 110 175 129" id="output2"/>
- <Edit readonly="true" position="absolute 75 133 175 152" id="output3"/>
- <Edit readonly="true" position="absolute 285 87 385 106" id="output4"/>
- <Edit readonly="true" position="absolute 285 110 385 129" id="output5"/>
- <Edit readonly="true" position="absolute 285 133 520 152" id="output6"/>
- <Edit readonly="true" position="absolute 285 192 385 211" id="output7"/>
- <Edit readonly="true" position="absolute 285 215 385 234" id="output8"/>
- <Edit readonly="true" position="absolute 285 239 520 258" id="output9"/>
- <Static text="보증인명" position="absolute 0 192 70 212" id="caption9" class="cell_1"/>
- <Static text="보증인정보" position="absolute 0 171 108 188" id="caption10" class="tit_2"/>
- <Static text="주민번호" position="absolute 0 215 70 235" id="caption11" class="cell_1"/>
- <Static text="우편번호" position="absolute 0 239 70 259" id="caption12" class="cell_1"/>
- <Static text="연락처" position="absolute 180 192 280 212" id="caption13" class="cell_1"/>
- <Shape position="absolute 0 187 520 193" linetype="horizontal" id="line6" class="line_1" style="strokepen:3 solid #33bbbbff;"/>
- <Static text="휴대폰번호" position="absolute 180 215 280 235" id="caption14" class="cell_1"/>
- <Shape position="absolute 0 211 520 217" linetype="horizontal" id="line7" class="line_2" style="strokepen:1 solid #dedcdcff;"/>
- <Static text="주소" position="absolute 180 239 280 259" id="caption15" class="cell_1"/>
- <Shape position="absolute 0 234 520 240" linetype="horizontal" id="line8" class="line_2"/>
- <Edit readonly="true" position="absolute 75 192 175 211" id="output10"/>
- <Shape position="absolute 0 258 520 264" linetype="horizontal" id="line9" class="line_2"/>
- <Edit readonly="true" position="absolute 75 215 175 234" id="output11"/>
- <Edit readonly="true" position="absolute 75 239 175 258" id="output12"/>
- <Grid position="absolute 95 82 445 202" id="grd_patinfolist" visible="false" binddataset="ds_list_patinfolist" oncelldblclick="grd_patinfolist_oncelldblclick" autoenter="select" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="80"/>
- <Column size="70"/>
- <Column size="98"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="환자번호"/>
- <Cell col="1" text="환자명"/>
- <Cell col="2" text="주민번호"/>
- <Cell col="3" text="입원일자"/>
- </Band>
- <Band id="body">
- <Cell text="bind:pid"/>
- <Cell col="1" text="bind:hngnm"/>
- <Cell col="2" text="bind:rrgstno"/>
- <Cell col="3" displaytype="date" text="bind:indd" calendardisplaynulltype="nulltext"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption60" text="보증인조회" class="tit_1" position="absolute 0 0 140 25"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_list_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="rrgstno" type="STRING" size="256" sumtext="주민번호"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_grntorpatinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
- <Column id="zipcd" type="STRING" size="256" sumtext="우편번호"/>
- <Column id="rrgstno" type="STRING" size="256" sumtext="주민번호"/>
- <Column id="hometel" type="STRING" size="256" sumtext="연락처"/>
- <Column id="mpphontel" type="STRING" size="256" sumtext="휴대폰번호"/>
- <Column id="zipaddr" type="STRING" size="256" sumtext="주소"/>
- <Column id="grntornm" type="STRING" size="256" sumtext="보증인명"/>
- <Column id="grntorzipcd" type="STRING" size="256" sumtext="우편번호"/>
- <Column id="grntorrrgstno" type="STRING" size="256" sumtext="주민번호"/>
- <Column id="grntorhometel" type="STRING" size="256" sumtext="연락처"/>
- <Column id="grntormpphontel" type="STRING" size="256" sumtext="휴대폰번호"/>
- <Column id="grntorzipcdaddr" type="STRING" size="256" sumtext="주소"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="rrgstno"/>
- <Col id="zipcd"/>
- <Col id="hometel"/>
- <Col id="mpphontel"/>
- <Col id="zipaddr"/>
- <Col id="grntornm"/>
- <Col id="grntorrrgstno"/>
- <Col id="grntorzipcd"/>
- <Col id="grntorhometel"/>
- <Col id="grntormpphontel"/>
- <Col id="grntorzipcdaddr"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="rrgstno" type="STRING" size="256" sumtext="주민번호"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp.input1" propid="value" datasetid="ds_send" columnid="hngnm"/>
- <BindItem id="item1" compid="output1" propid="value" datasetid="ds_grntorpatinfo" columnid="pid"/>
- <BindItem id="item2" compid="output4" propid="value" datasetid="ds_grntorpatinfo" columnid="hometel"/>
- <BindItem id="item3" compid="output2" propid="value" datasetid="ds_grntorpatinfo" columnid="rrgstno"/>
- <BindItem id="item4" compid="output5" propid="value" datasetid="ds_grntorpatinfo" columnid="mpphontel"/>
- <BindItem id="item5" compid="output3" propid="value" datasetid="ds_grntorpatinfo" columnid="zipcd"/>
- <BindItem id="item6" compid="output6" propid="value" datasetid="ds_grntorpatinfo" columnid="zipaddr"/>
- <BindItem id="item7" compid="output10" propid="value" datasetid="ds_grntorpatinfo" columnid="grntornm"/>
- <BindItem id="item8" compid="output7" propid="value" datasetid="ds_grntorpatinfo" columnid="grntorhometel"/>
- <BindItem id="item9" compid="output11" propid="value" datasetid="ds_grntorpatinfo" columnid="grntorrrgstno"/>
- <BindItem id="item10" compid="output8" propid="value" datasetid="ds_grntorpatinfo" columnid="grntormpphontel"/>
- <BindItem id="item11" compid="output12" propid="value" datasetid="ds_grntorpatinfo" columnid="grntorzipcd"/>
- <BindItem id="item12" compid="output9" propid="value" datasetid="ds_grntorpatinfo" columnid="grntorzipcdaddr"/>
- </Bind>
- <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';
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Local methods
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument :
- * Description :
- ****************************************************************************************/
-
-
- //=======================================================================================
- // callback
- //---------------------------------------------------------------------------------------
- function callback(sSvcId, nErrorCode, sErrorMsg){
- arErrorCode.push(sSvcId, nErrorCode);
- }
- //=======================================================================================
- // Events
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument :
- * Description : onload
- ****************************************************************************************/
- function SPPAS00760_onload(obj:Form, e:LoadEventInfo){
- frmf_initForm(obj);
- }
- /****************************************************************************************
- * Argument :
- * Description : 보증인명 키보드 입력 이벤트
- ****************************************************************************************/
- function grp_input1_onkeydown(obj:Edit, e:KeyEventInfo){
- if(e.keycode == 13){
- obj.updateToDataset();
- grp.btn_search.click();
- }
- }
- /****************************************************************************************
- * Argument :
- * Description : 조회 버튼 클릭 이벤트
- ****************************************************************************************/
- function grp_btn_search_onclick(obj:Button, e:ClickEventInfo){
- grd_patinfolist.visible = true;
-
- ds_list_patinfolist.clearData();
- ds_list_patinfolist.addRow();
-
- var oParam = {};
- oParam.id = "TRPAS00830";
- oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
- oParam.method = "reqGetGrntorSearch";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_list_patinfolist=patinfolist";
- oParam.async = false;
- //oParam.callback = "cf_TRPAS00830";
- tranf_submit(oParam);
- }
- /****************************************************************************************
- * Argument :
- * Description : 환자 그리드 셀 더블 클릭 이벤트
- ****************************************************************************************/
- function grd_patinfolist_oncelldblclick(obj:Grid, e:GridClickEventInfo){
- var row = grd_patinfolist.currentrow;
-
- ds_send.setColumn(0, 'pid', ds_list_patinfolist.getColumn(row, 'pid'));
-
- ds_grntorpatinfo.clearData();
- ds_grntorpatinfo.addRow();
-
- var oParam = {};
- oParam.id = "TRPAS00840";
- oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
- oParam.method = "reqGetGrntorPatInfo";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_grntorpatinfo=grntorpatinfo";
- oParam.async = false;
- oParam.callback = "callback";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TRPAS00840") > -1){
- grd_patinfolist.visible = false;
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|