123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMLBP00510" position="absolute 0 0 1237 783" titletext="환자별수혈내역조회" oninit="SMLBP00510_oninit" onload="SMLBP00510_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 1195 13" id="group1"/>
- <Div position="absolute 0 24 1206 750" id="group3" scrollbars="autoboth" anchor="all">
- <Layouts>
- <Layout>
- <Static text="수혈반환목록 목록" position="absolute 3 75 148 90" id="caption1" class="tit_2" anchor="left top"/>
- <Shape position="absolute -1 92 1193 98" linetype="horizontal" id="line1" class="line_1" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
- <Button position="absolute 1138 68 1194 89" id="btn_excel" class="btn7" text="엑셀" anchor="top right" onclick="group3_btn_excel_onclick"/>
- <Div position="absolute 0 1 1195 61" id="grp_ref" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Shape position="absolute 627 8 633 52" linetype="vertical" id="line2" class="line_4" anchor="left top"/>
- <Static text="등록번호 :" position="absolute 395 21 470 38" id="caption4" class="search_name" anchor="left top"/>
- <Static text="실시일자 :" position="absolute 20 22 97 39" id="caption11" class="search_name" anchor="left top"/>
- <Calendar position="absolute 109 21 209 40" id="input7" class="input_s_essential" anchor="left top"/>
- <Calendar position="absolute 230 21 330 40" id="input8" class="input_s_essential" anchor="left top" onkeyup="group3_grp_ref_input8_onkeyup"/>
- <Static text="~" position="absolute 215 25 230 42" align="align:center middle;" id="caption12" class="search_no_b" anchor="left top"/>
- <Button position="absolute 655 20 711 42" id="btn_ref" class="btn1" text="조회" anchor="left top" onclick="group3_grp_ref_btn_ref_onclick"/>
- <Edit position="absolute 487 19 587 38" id="ipt_pid" class="input_s_essential" anchor="left top" onkeyup="group3_grp_ref_ipt_pid_onkeyup"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid position="absolute 0 96 1193 708" id="grd_tnslist" class="datagrid2" binddataset="ds_grd_tnslist" anchor="all" autosizemergetype="nomerge" autosizingtype="none" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30"/>
- <Column size="129"/>
- <Column size="151"/>
- <Column size="149"/>
- <Column size="123"/>
- <Column size="198"/>
- <Column size="124"/>
- <Column size="144"/>
- <Column size="142"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="혈액번호"/>
- <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="출고일"/>
- </Band>
- <Band id="body">
- <Cell expr="expr:currow + 1"/>
- <Cell col="1" text="bind:blodno"/>
- <Cell col="2" text="bind:pid"/>
- <Cell col="3" text="bind:patnm"/>
- <Cell col="4" text="bind:btype"/>
- <Cell col="5" text="bind:blodcomnm"/>
- <Cell col="6" text="bind:blodcomcd"/>
- <Cell col="7" text="bind:execdt"/>
- <Cell col="8" text="bind:lastupdtdt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_reset" taborder="1" text="초기화" class="btn4" position="absolute 1125 2 1193 24" anchor="top right" onclick="btn_reset_onclick"/>
- <Static id="caption6" text="수혈 반환내역조회" class="tit_1" position="absolute 0 0 141 25" anchor="left top"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grd_tnslist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="blodno" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="patnm" type="STRING"/>
- <Column id="btype" type="STRING"/>
- <Column id="blodcomnm" type="STRING"/>
- <Column id="blodcomcd" type="STRING"/>
- <Column id="execdt" type="STRING"/>
- <Column id="lastupdtdt" type="STRING"/>
- </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="pid" type="STRING" size="256"/>
- <Column id="hopefromdd" type="STRING" size="256"/>
- <Column id="hopetodd" type="STRING" size="256"/>
- <Column id="tnsflag" type="STRING" size="256"/>
- <Column id="tnsstat" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_ref" 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="hopefromdd" type="STRING" size="256"/>
- <Column id="hopetodd" type="STRING" size="256"/>
- <Column id="tnsflag" type="STRING" size="256"/>
- <Column id="tnsstat" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="tnsflag">0</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group3.grp_ref.input7" propid="value" datasetid="ds_hidden_ref" columnid="hopefromdd"/>
- <BindItem id="item1" compid="group3.grp_ref.input8" propid="value" datasetid="ds_hidden_ref" columnid="hopetodd"/>
- <BindItem id="item2" compid="group3.grp_ref.ipt_pid" propid="value" datasetid="ds_hidden_ref" columnid="pid"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-05-01
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-05-01 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "lis_commonxp::LLZ001.xjs";
- function SMLBP00510_oninit(obj:Form, e:InitEventInfo)
- {
- //폼 초기화 함수
- frmf_initForm(obj);
- }
- function SMLBP00510_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(group3.grd_tnslist);
- group3.grp_ref.input7.value = utlf_getCurrentDate();
- group3.grp_ref.input8.value = utlf_getCurrentDate();
- }
- //조회
- function fGetTnsReqList()
- {
-
- ds_send.setColumn(0, "pid", group3.grp_ref.ipt_pid.value);
-
- ds_send.setColumn(0, "hopefromdd", ds_hidden_ref.getColumn(0, "hopefromdd"));
-
- ds_send.setColumn(0, "hopetodd", ds_hidden_ref.getColumn(0, "hopetodd"));
- ds_send.setColumn(0, "tnsflag", ds_hidden_ref.getColumn(0, "tnsflag"));
- var oParam = {};
- oParam.id = "TRLBP00502";
- oParam.service = "refprintmngtapp.BloodBankRefPrintMngt";
- oParam.method = "reqGetTnsRetList";
- oParam.inds = "cond=ds_send";
- oParam.outds = "ds_grd_tnslist=getTnsReqList";
- oParam.async = false;
- //oParam.callback = "cf_TRLBP00502";
- tranf_submit(oParam);
-
- }
- function group3_grp_ref_input8_onkeyup(obj:Calendar, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- fGetTnsReqList();
- }
- }
- function group3_grp_ref_btn_ref_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetTnsReqList();
- }
- function group3_grp_ref_ipt_pid_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- fGetTnsReqList();
- }
- }
- //초기화
- function btn_reset_onclick(obj:Button, e:ClickEventInfo)
- {
- this.reload();
- }
- //엑셀저장
- function group3_btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(group3.grd_tnslist, lf_lisGetTitle(this), "see");
- }
- ]]></Script>
- </Form>
- </FDL>
|