123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPABO61300" position="absolute 0 0 914 462" titletext="BMT 환자검색" oninit="SPABO61300_oninit" onload="SPABO61300_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 910 450" id="group3" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Static text="BMT 환자검색" position="absolute 0 62 165 79" id="caption1" class="tit_2"/>
- <Shape position="absolute 0 79 910 85" linetype="horizontal" id="line1" class="line_1" style="strokepen:3 solid #33bbbbff;"/>
- <Grid position="absolute 0 84 910 433" id="grd_hsctlist" binddataset="ds_main_hsctlist_item" oncelldblclick="group3_grd_hsctlist_oncelldblclick" selecttype="multirow" scrollbars="none">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="54"/>
- <Column size="59"/>
- <Column size="93"/>
- <Column size="95"/>
- <Column size="54"/>
- <Column size="54"/>
- <Column size="73"/>
- <Column size="70"/>
- <Column size="54"/>
- <Column size="73"/>
- <Column size="73"/>
- <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 colspan="9" text="BMT 환자" taborder="undefined"/>
- <Cell col="9" colspan="4" text="공여자" taborder="undefined"/>
- <Cell col="13" text="caption3"/>
- <Cell col="14" text="caption4"/>
- <Cell col="15" text="caption5"/>
- <Cell col="16" text="caption6"/>
- <Cell col="17" text="caption1"/>
- <Cell row="1" text="등록번호"/>
- <Cell row="1" col="1" text="성명"/>
- <Cell row="1" col="2" text="주민번호"/>
- <Cell row="1" col="3" text="주민번호"/>
- <Cell row="1" col="4" text="연락처"/>
- <Cell row="1" col="5" text="H.P."/>
- <Cell row="1" col="6" text="이식차수"/>
- <Cell row="1" col="7" text="검색차수"/>
- <Cell row="1" col="8" text="CIBMTR ID"/>
- <Cell row="1" col="9" text="공여자ID"/>
- <Cell row="1" col="10" text="성명"/>
- <Cell row="1" col="11" text="주민번호"/>
- <Cell row="1" col="12" text="주민번호"/>
- <Cell row="1" col="13" text="caption3"/>
- <Cell row="1" col="14" text="caption4"/>
- <Cell row="1" col="15" text="caption5"/>
- <Cell row="1" col="16" text="caption6"/>
- <Cell row="1" col="17" text="caption1"/>
- </Band>
- <Band id="body">
- <Cell text="bind:pid"/>
- <Cell col="1" text="bind:hngnm"/>
- <Cell col="2" text="bind:rrgstno1"/>
- <Cell col="3" text="bind:rrgstno2"/>
- <Cell col="4" text="bind:cntctel"/>
- <Cell col="5" text="bind:mpphontel"/>
- <Cell col="6" text="bind:trnptdg"/>
- <Cell col="7" text="bind:srchreqdg"/>
- <Cell col="8" text="bind:cibmtrid"/>
- <Cell col="9" text="bind:dnorid"/>
- <Cell col="10" text="bind:dnornm"/>
- <Cell col="11" text="bind:dnorrrgstno1"/>
- <Cell col="12" text="bind:dnorrrgstno2"/>
- <Cell col="13" text="bind:sex"/>
- <Cell col="14" text="bind:age"/>
- <Cell col="15" text="bind:diagcd1"/>
- <Cell col="16" text="bind:trnptkind"/>
- <Cell col="17" text="bind:insuaprvdd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div position="absolute 0 0 910 56" align="align:center top;" id="grp_sea" class="div_SA">
- <Layouts>
- <Layout>
- <Static text="검색조건 :" position="absolute 15 8 101 25" id="caption2" class="search_name" anchor="default"/>
- <Shape position="absolute 806 7 812 51" linetype="vertical" id="line13" class="line_4" anchor="default"/>
- <Radio position="absolute 223 6 463 51" id="radio2" class="radio_search" columncount="3" rowcount="2" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" onitemchanged="group3_grp_sea_radio2_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">등록번호</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">성명</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">주민번호</Col>
- </Row>
- <Row>
- <Col id="codecolumn">4</Col>
- <Col id="datacolumn">검색차수</Col>
- </Row>
- <Row>
- <Col id="codecolumn">5</Col>
- <Col id="datacolumn">CIBMTR ID</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Button position="absolute 832 18 888 40" id="btn_sea" class="btn1" text="조회" anchor="default" onclick="group3_grp_sea_btn_sea_onclick"/>
- <Combo position="absolute 105 8 210 27" id="cmb_srchflag" class="combo_search" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">BMT환자</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">공여자</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Edit position="absolute 571 8 671 27" id="input1" class="input_search" taborder="2" visible="false" anchor="default" onkeyup="group3_grp_sea_input1_onkeyup"/>
- <Edit position="absolute 469 8 569 27" id="ipt_srchcnts" class="input_search" taborder="1" anchor="default" onkeyup="group3_grp_sea_ipt_srchcnts_onkeyup"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="grd_hsctlist1" taborder="1" binddataset="ds_main_hsctlist_item" useinputpanel="false" selecttype="multirow" oncelldblclick="group3_grd_hsctlist_oncelldblclick" position="absolute 0 108 910 433">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="54"/>
- <Column size="59"/>
- <Column size="93"/>
- <Column size="95"/>
- <Column size="54"/>
- <Column size="54"/>
- <Column size="73"/>
- <Column size="70"/>
- <Column size="54"/>
- <Column size="73"/>
- <Column size="73"/>
- <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"/>
- </Rows>
- <Band id="head">
- <Cell text="등록번호"/>
- <Cell col="1" text="성명"/>
- <Cell col="2" text="주민번호"/>
- <Cell col="3" text="주민번호"/>
- <Cell col="4" text="연락처"/>
- <Cell col="5" text="H.P."/>
- <Cell col="6" text="이식차수"/>
- <Cell col="7" text="검색차수"/>
- <Cell col="8" text="CIBMTR ID"/>
- <Cell col="9" text="공여자ID"/>
- <Cell col="10" text="성명"/>
- <Cell col="11" text="주민번호"/>
- <Cell col="12" text="주민번호"/>
- <Cell col="13" text="caption3"/>
- <Cell col="14" text="caption4"/>
- <Cell col="15" text="caption5"/>
- <Cell col="16" text="caption6"/>
- <Cell col="17" text="caption1"/>
- </Band>
- <Band id="body">
- <Cell text="bind:pid"/>
- <Cell col="1" text="bind:hngnm"/>
- <Cell col="2" text="bind:rrgstno1"/>
- <Cell col="3" text="bind:rrgstno2"/>
- <Cell col="4" text="bind:cntctel"/>
- <Cell col="5" text="bind:mpphontel"/>
- <Cell col="6" text="bind:trnptdg"/>
- <Cell col="7" text="bind:srchreqdg"/>
- <Cell col="8" text="bind:cibmtrid"/>
- <Cell col="9" text="bind:dnorid"/>
- <Cell col="10" text="bind:dnornm"/>
- <Cell col="11" text="bind:dnorrrgstno1"/>
- <Cell col="12" text="bind:dnorrrgstno2"/>
- <Cell col="13" text="bind:sex"/>
- <Cell col="14" text="bind:age"/>
- <Cell col="15" text="bind:diagcd1"/>
- <Cell col="16" text="bind:trnptkind"/>
- <Cell col="17" text="bind:insuaprvdd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="Div00" taborder="2" position="absolute 892 94 909 109" style="background:white;"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 435 910 458" id="group1" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Button position="absolute 792 1 848 23" id="btn_cfm" class="btn4" text="확인" anchor="default" onclick="group1_btn_cfm_onclick"/>
- <Button position="absolute 851 1 907 23" id="btn_can" class="btn4" text="취소" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grd_hsctlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="rrgstno1" type="STRING"/>
- <Column id="rrgstno2" type="STRING"/>
- <Column id="cntctel" type="STRING"/>
- <Column id="mpphontel" type="STRING"/>
- <Column id="trnptdg" type="STRING"/>
- <Column id="srchreqdg" type="STRING"/>
- <Column id="cibmtrid" type="STRING"/>
- <Column id="dnorid" type="STRING"/>
- <Column id="dnornm" type="STRING"/>
- <Column id="dnorrrgstno1" type="STRING"/>
- <Column id="dnorrrgstno2" type="STRING"/>
- <Column id="sex" type="STRING"/>
- <Column id="age" type="STRING"/>
- <Column id="diagcd1" type="STRING"/>
- <Column id="trnptkind" type="STRING"/>
- <Column id="insuaprvdd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_hsctlist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="rrgstno1" type="STRING" size="256"/>
- <Column id="rrgstno2" type="STRING" size="256"/>
- <Column id="cntctel" type="STRING" size="256"/>
- <Column id="mpphontel" type="STRING" size="256"/>
- <Column id="trnptdg" type="STRING" size="256"/>
- <Column id="srchreqdg" type="STRING" size="256"/>
- <Column id="cibmtrid" type="STRING" size="256"/>
- <Column id="dnorid" type="STRING" size="256"/>
- <Column id="dnornm" type="STRING" size="256"/>
- <Column id="dnorrrgstno1" type="STRING" size="256"/>
- <Column id="dnorrrgstno2" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="diagcd1" type="STRING" size="256"/>
- <Column id="trnptkind" type="STRING" size="256"/>
- <Column id="insuaprvdd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="hngnm"/>
- <Col id="rrgstno1"/>
- <Col id="rrgstno2"/>
- <Col id="cntctel"/>
- <Col id="mpphontel"/>
- <Col id="trnptdg"/>
- <Col id="srchreqdg"/>
- <Col id="cibmtrid"/>
- <Col id="dnorid"/>
- <Col id="dnornm"/>
- <Col id="dnorrrgstno1"/>
- <Col id="dnorrrgstno2"/>
- <Col id="sex"/>
- <Col id="age"/>
- <Col id="diagcd1"/>
- <Col id="trnptkind"/>
- <Col id="insuaprvdd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_srchdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="patflag" type="STRING" size="256"/>
- <Column id="srchflag" type="STRING" size="256"/>
- <Column id="srchcnts" type="STRING" size="256"/>
- <Column id="srchcnts2" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="patflag">1</Col>
- <Col id="srchflag">2</Col>
- <Col id="srchcnts"/>
- <Col id="srchcnts2"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group3.grp_sea.cmb_srchflag" propid="value" datasetid="ds_send_srchdata" columnid="patflag"/>
- <BindItem id="item1" compid="group3.grp_sea.radio2" propid="value" datasetid="ds_send_srchdata" columnid="srchflag"/>
- <BindItem id="item2" compid="group3.grp_sea.ipt_srchcnts" propid="value" datasetid="ds_send_srchdata" columnid="srchcnts"/>
- <BindItem id="item3" compid="group3.grp_sea.input1" propid="value" datasetid="ds_send_srchdata" columnid="srchcnts2"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- function group3_grp_sea_radio2_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- group3.grp_sea.ipt_srchcnts.setFocus();
- }
- function group3_grp_sea_ipt_srchcnts_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == "13")
- {
- ds_send_srchdata.setColumn(0, "srchcnts", group3.grp_sea.ipt_srchcnts.value);
- frmf_inputEnterKey("group3.grp_sea.btn_sea", "onclick", new ClickEventInfo );
-
- }
- }
- function group3_grp_sea_input1_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == "13")
- {
- ds_send_srchdata.setColumn(0, "srchcnts2", group3.grp_sea.input1.value);
- frmf_inputEnterKey("group3.grp_sea.btn_sea", "onclick", new ClickEventInfo );
- }
- }
- function group3_grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_hsctlist_item.clearData();
- //submit("TRABO61301");
- var oParam = {};
- oParam.id = "TRABO61301";
- oParam.service = "hsctcoordinatorapp.HsctPatient";
- oParam.method = "reqGetPatientSrch";
- oParam.inds = "req=ds_send_srchdata";
- oParam.outds = "ds_main_hsctlist_item=item";
- oParam.async = false;
- tranf_submit(oParam);
- group3.grd_hsctlist.setCellProperty("body", 9, "background", "#FFE4E1"); //.colStyle(10, "data", "background-color") = "#FFE4E1";
- group3.grd_hsctlist.setCellProperty("body", 10, "background", "#FFE4E1"); //.colStyle(11, "data", "background-color") = "#FFE4E1";
- group3.grd_hsctlist.setCellProperty("body", 11, "background", "#FFE4E1"); //.colStyle(12, "data", "background-color") = "#FFE4E1";
- group3.grd_hsctlist.setCellProperty("body", 12, "background", "#FFE4E1"); //.colStyle( 9, "data", "background-color") = "#FFE4E1";
- group3.grd_hsctlist.setCellProperty("body", 9, "background2", "#FFE4E1"); //.colStyle(10, "data", "background-color") = "#FFE4E1";
- group3.grd_hsctlist.setCellProperty("body", 10, "background2", "#FFE4E1"); //.colStyle(11, "data", "background-color") = "#FFE4E1";
- group3.grd_hsctlist.setCellProperty("body", 11, "background2", "#FFE4E1"); //.colStyle(12, "data", "background-color") = "#FFE4E1";
- group3.grd_hsctlist.setCellProperty("body", 12, "background2", "#FFE4E1"); //.colStyle( 9, "data", "background-color") = "#FFE4E1";
- }
- function group3_grd_hsctlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- if ( (e.row >= 0 && e.col >= 0)) ////.fixedRows) && (group3.grd_hsctlist.isCell(event.target)))
- {
- trace("11111");
- if(ds_main_hsctlist_item.rowposition >= 0 ){
- dsf_makeValue(opener.ds_main, "popupendflag", "string", "" );
- opener.ds_main.setColumn( 0, "popupendflag", "cancel");
- dsf_copyColInfo(opener.ds_temp_bmtpatientinfo, ds_main_hsctlist_item);
- if ( frmf_checkOpener() ) {
- if(opener.ds_temp_bmtpatientinfo.rowcount == 0){
- opener.ds_temp_bmtpatientinfo.addRow();
- }
- opener.ds_temp_bmtpatientinfo.copyRow(0, ds_main_hsctlist_item, e.row); //opener.copyNode("ds_temp_bmtpatientinfo", group3.grd_hsctlist.getNode( e.row ));
- opener.ds_main.setColumn( 0, "popupendflag", "ok");
- //opener.//model.refresh();
- this.close();
- } else {
- alert("상위화면이 변경되어 데이터를 전달할 수 없습니다.");
- }
- }
- }
- }
- function group1_btn_cfm_onclick(obj:Button, e:ClickEventInfo)
- {
- opener.ds_main.setColumn(0, "popupendflag", "cancel");
- if ( frmf_checkOpener() ) {
- dsf_copyColInfo(opener.ds_temp_bmtpatientinfo, ds_main_hsctlist_item);
- if(opener.ds_temp_bmtpatientinfo.rowcount == 0){
- opener.ds_temp_bmtpatientinfo.addRow();
- }
- opener.ds_temp_bmtpatientinfo.copyRow(0, ds_main_hsctlist_item, ds_main_hsctlist_item.rowposition);
- //opener.ds_main.makeNode("/root/main/popupendflag");
- dsf_makeValue(opener.ds_main, "popupendflag", "string", "ok");
-
- this.close();
- } else {
- alert("상위화면이 변경되어 데이터를 전달할 수 없습니다.");
- }
- }
- function SPABO61300_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- //grdf_initGrid(group3.grd_hsctlist);
- grdf_initGrid(group3.grd_hsctlist1);
- }
- function SPABO61300_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_setGridSort(group3.grd_hsctlist);
- }
- ]]></Script>
- </Form>
- </FDL>
|