123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPABO61900" position="absolute 0 0 1075 362" titletext="HLA 검사결과조회" oninit="SPABO61900_oninit" onload="SPABO61900_onload">
- <Layouts>
- <Layout>
- <Div id="group2" taborder="0" position="absolute 0 0 1070 35" anchor="left top right">
- <Layouts>
- <Layout>
- <Shape id="roundrect1" type="roundrectangle" position="absolute 0 0 1070 35" anchor="left top right"/>
- <Static id="caption2" text="등록번호 :" class="search_name" position="absolute 15 9 101 26"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 981 6 987 28" anchor="top right"/>
- <Button id="btn_sea" taborder="2" text="조회" class="btn1" position="absolute 1000 6 1056 28" anchor="top right" onclick="group2_btn_sea_onclick"/>
- <Edit id="ipt_ptno" taborder="3" class="input_s_essential" position="absolute 105 8 200 27"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption1" text="HLA 검사결과" class="tit_2" position="absolute 0 45 165 66"/>
- <Shape id="line1" class="line_10" position="absolute 0 61 1070 67" anchor="left top right"/>
- <Grid id="grd_hlaresult" taborder="1" binddataset="ds_main_hlaresult_item" useinputpanel="false" position="absolute 0 66 1070 336" anchor="all" cellsizingtype="col" oncelldblclick="grd_hlaresult_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="50"/>
- <Column size="110"/>
- <Column size="50"/>
- <Column size="0"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="환자명"/>
- <Cell col="1" text="공여자명"/>
- <Cell col="2" text="DnorNo"/>
- <Cell col="3" text="일자"/>
- <Cell col="4" colspan="2" text="A" taborder="undefined"/>
- <Cell col="6" colspan="2" text="B" taborder="undefined"/>
- <Cell col="8" colspan="2" text="CW" taborder="undefined"/>
- <Cell col="10" colspan="2" text="DRB1" taborder="undefined"/>
- <Cell col="12" colspan="2" text="DP" taborder="undefined"/>
- <Cell col="14" colspan="2" text="DQ" taborder="undefined"/>
- </Band>
- <Band id="body">
- <Cell edittype="none" text="bind:patnm"/>
- <Cell col="1" edittype="none" style="align:left;" text="bind:dnorinfo"/>
- <Cell col="2" edittype="none" style="align:left;" text="bind:dnorno"/>
- <Cell col="3" displaytype="none" edittype="none" text="bind:resultdd"/>
- <Cell col="4" edittype="none" style="align:left top;padding:4 2 2 2;" text="bind:a1" wordwrap="word"/>
- <Cell col="5" edittype="none" style="align:left top;padding:4 2 2 2;" text="bind:a2" wordwrap="word"/>
- <Cell col="6" edittype="none" style="align:left top;padding:4 2 2 2;" text="bind:b1" wordwrap="word"/>
- <Cell col="7" edittype="none" style="align:left top;padding:4 2 2 2;" text="bind:b2" wordwrap="word"/>
- <Cell col="8" edittype="none" style="align:left top;padding:4 2 2 2;" text="bind:cw1" wordwrap="word"/>
- <Cell col="9" edittype="none" style="align:left top;padding:4 2 2 2;" text="bind:cw2" wordwrap="word"/>
- <Cell col="10" edittype="none" style="align:left top;padding:4 2 2 2;" text="bind:drb11" wordwrap="word"/>
- <Cell col="11" edittype="none" style="align:left top;padding:4 2 2 2;" text="bind:drb12" wordwrap="word"/>
- <Cell col="12" edittype="none" style="align:left top;padding:4 2 2 2;" text="bind:dp1" wordwrap="word"/>
- <Cell col="13" edittype="none" style="align:left top;padding:4 2 2 2;" text="bind:dp2" wordwrap="word"/>
- <Cell col="14" edittype="none" style="align:left top;padding:4 2 2 2;" text="bind:dq1" wordwrap="word"/>
- <Cell col="15" edittype="none" style="align:left top;padding:4 2 2 2;" text="bind:dq2" wordwrap="word"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_cfm" taborder="2" text="확인" class="btn4" position="absolute 956 337 1012 359" anchor="right bottom" onclick="btn_cfm_onclick"/>
- <Button id="btn_can" taborder="3" text="취소" class="btn4" position="absolute 1013 337 1069 359" anchor="right bottom" onclick="btn_can_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send_srchdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_hlaresult_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="resultdd" type="STRING" size="256" sumtext="일자"/>
- <Column id="dnorno" type="STRING" size="256" sumtext="공여자id"/>
- <Column id="a1" type="STRING" size="256" sumtext="A1"/>
- <Column id="a2" type="STRING" size="256" sumtext="A2"/>
- <Column id="b1" type="STRING" size="256" sumtext="B1"/>
- <Column id="b2" type="STRING" size="256" sumtext="B2"/>
- <Column id="cw1" type="STRING" size="256" sumtext="CW1"/>
- <Column id="cw2" type="STRING" size="256" sumtext="CW2"/>
- <Column id="drb11" type="STRING" size="256" sumtext="DRB11"/>
- <Column id="drb12" type="STRING" size="256" sumtext="DRB12"/>
- <Column id="dq1" type="STRING" size="256" sumtext="DQ1"/>
- <Column id="dq2" type="STRING" size="256" sumtext="DQ2"/>
- <Column id="dp1" type="STRING" size="256" sumtext="DP1"/>
- <Column id="dp2" type="STRING" size="256" sumtext="DP2"/>
- <Column id="patnm" type="STRING" size="256" sumtext="환자"/>
- <Column id="dnorinfo" type="STRING" size="256" sumtext="공여자명"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.ipt_ptno" propid="value" datasetid="ds_send_srchdata" columnid="pid"/>
- </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";
- include "ast_hsctxp::bmtcommon.xjs";
- function SPABO61900_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPABO61900_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_hlaresult);
-
- if ( frmf_checkOpener())
- {
- var param = opener.frmf_getParameter("opener_parameter_id");
-
- if(!utlf_isNull(param))
- {
- condarray = param.split("▦");
- ds_send_srchdata.setColumn(0, "pid", condarray[0]);
- ds_temp.setColumn(0, "selectrow", condarray[1]);
-
- group2_btn_sea_onclick();
- }
- }
- }
- function group2_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- var oParam = {};
- oParam.id = "TRABO61901";
- oParam.service = "hsctcoordinatorapp.DonorSearch";
- oParam.method = "reqGetHlaResult";
- oParam.inds = "req=ds_send_srchdata";
- oParam.outds = "ds_main_hlaresult_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TRABO61901";
- tranf_submit(oParam);
- }
- function grd_hlaresult_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- if (frmf_checkOpener())
- {
- opener.ds_main.setColumn(0, "popupendflag", "cancel");
- var sselectrow = ds_temp.getColumn(0, "selectrow");
- opener.ds_main_trnptsrchinfo_srchdetlinfo.setColumn(sselectrow, "a1", ds_main_hlaresult_item.getColumn(e.row, "a1"));
- opener.ds_main_trnptsrchinfo_srchdetlinfo.setColumn(sselectrow, "a2", ds_main_hlaresult_item.getColumn(e.row, "a2"));
- opener.ds_main_trnptsrchinfo_srchdetlinfo.setColumn(sselectrow, "b1", ds_main_hlaresult_item.getColumn(e.row, "b1"));
- opener.ds_main_trnptsrchinfo_srchdetlinfo.setColumn(sselectrow, "b2", ds_main_hlaresult_item.getColumn(e.row, "b2"));
- opener.ds_main_trnptsrchinfo_srchdetlinfo.setColumn(sselectrow, "cw1", ds_main_hlaresult_item.getColumn(e.row, "cw1"));
- opener.ds_main_trnptsrchinfo_srchdetlinfo.setColumn(sselectrow, "cw2", ds_main_hlaresult_item.getColumn(e.row, "cw2"));
- opener.ds_main_trnptsrchinfo_srchdetlinfo.setColumn(sselectrow, "drb11", ds_main_hlaresult_item.getColumn(e.row, "drb11"));
- opener.ds_main_trnptsrchinfo_srchdetlinfo.setColumn(sselectrow, "drb12", ds_main_hlaresult_item.getColumn(e.row, "drb12"));
-
- if(!utlf_isNull(ds_main_hlaresult_item.getColumn(ds_main_hlaresult_item.rowposition, "dnorno")))
- {
- opener.ds_main_hsctinfo_dnorinfo.setColumn(0, "dnorid", ds_main_hlaresult_item.getColumn(e.row, "dnorno"));
- }
-
- opener.ds_main.setColumn(0, "popupendflag", "ok");
- this.close();
- }
- else
- {
- alert("상위화면이 변경되어 데이터를 전달할 수 없습니다.");
- }
- }
- function btn_cfm_onclick(obj:Button, e:ClickEventInfo)
- {
- if (frmf_checkOpener())
- {
- opener.ds_main.setColumn(0, "popupendflag", "cancel");
-
- var sselectrow = ds_temp.getColumn(0, "selectrow");
- opener.ds_main_trnptsrchinfo_srchdetlinfo.setColumn(sselectrow, "a1", ds_main_hlaresult_item.getColumn(ds_main_hlaresult_item.rowposition, "a1"));
- opener.ds_main_trnptsrchinfo_srchdetlinfo.setColumn(sselectrow, "a2", ds_main_hlaresult_item.getColumn(ds_main_hlaresult_item.rowposition, "a2"));
- opener.ds_main_trnptsrchinfo_srchdetlinfo.setColumn(sselectrow, "b1", ds_main_hlaresult_item.getColumn(ds_main_hlaresult_item.rowposition, "b1"));
- opener.ds_main_trnptsrchinfo_srchdetlinfo.setColumn(sselectrow, "b2", ds_main_hlaresult_item.getColumn(ds_main_hlaresult_item.rowposition, "b2"));
- opener.ds_main_trnptsrchinfo_srchdetlinfo.setColumn(sselectrow, "cw1", ds_main_hlaresult_item.getColumn(ds_main_hlaresult_item.rowposition, "cw1"));
- opener.ds_main_trnptsrchinfo_srchdetlinfo.setColumn(sselectrow, "cw2", ds_main_hlaresult_item.getColumn(ds_main_hlaresult_item.rowposition, "cw2"));
- opener.ds_main_trnptsrchinfo_srchdetlinfo.setColumn(sselectrow, "drb11", ds_main_hlaresult_item.getColumn(ds_main_hlaresult_item.rowposition, "drb11"));
- opener.ds_main_trnptsrchinfo_srchdetlinfo.setColumn(sselectrow, "drb12", ds_main_hlaresult_item.getColumn(ds_main_hlaresult_item.rowposition, "drb12"));
- opener.ds_main_trnptsrchinfo_srchdetlinfo.setColumn(sselectrow, "dnorno", ds_main_hlaresult_item.getColumn(ds_main_hlaresult_item.rowposition, "dnorno"));
-
- opener.ds_main.setColumn(0, "popupendflag", "ok")
-
- this.close();
- }
- else
- {
- alert("상위화면이 변경되어 데이터를 전달할 수 없습니다.");
- }
- }
- function btn_can_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|