123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMLBP02800" position="absolute 0 0 1256 805" titletext="Untitle" oninit="model1_oninit">
- <Layouts>
- <Layout>
- <Static id="caption6" text="헌혈자조회" class="tit_1" position="absolute 0 3 98 23"/>
- <Div id="group2" taborder="2" style="align:center top;" position="absolute 0 25 1256 67" anchor="left top right">
- <Layouts>
- <Layout>
- <Shape id="roundrect1" type="roundrectangle" class="roundrect_search" position="absolute 0 2 1256 37" anchor="left top right"/>
- <Static id="caption2" text="실시일자" class="search_name" position="absolute 8 10 82 30" anchor="default"/>
- <Button id="button1" taborder="2" text="조회" onclick="button1_onclick" class="btn1" position="absolute 1120 10 1176 30" anchor="top right"/>
- <Combo id="combo2" taborder="5" class="combo_search" position="absolute 632 10 719 30" anchor="default" innerdataset="@ds_cond_searchgbn" codecolumn="value" datacolumn="label" index="0" value="1" text="등록번호"/>
- <Static id="caption5" text="검색구분" class="search_name" position="absolute 558 10 632 30" anchor="default"/>
- <Edit id="iptSearch" taborder="6" class="input_s_button" position="absolute 722 10 847 30" anchor="default" onkeydown="group2_iptSearch_onkeydown"/>
- <Radio id="radio1" taborder="7" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 396 10 534 30" anchor="default" value="1" index="0">
- <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>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="caption4" text="조회구분" class="search_name" position="absolute 322 10 396 30" anchor="default"/>
- <Calendar id="ipt_startdd" taborder="8" dateformat="yyyy-MM-dd" class="input_search" position="absolute 86 10 186 30"/>
- <Static id="caption8" text="~" position="absolute 186 10 202 30" style="align:center;"/>
- <Calendar id="ipt_enddd" taborder="9" dateformat="yyyy-MM-dd" class="input_search" position="absolute 202 10 302 30"/>
- <Button id="button5" taborder="10" text="초기화" onclick="button5_onclick" class="btn4" position="absolute 1179 10 1248 30" anchor="right bottom"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption1" text="헌혈자조회리스트" class="tit_2" position="absolute 0 77 131 97"/>
- <Grid id="grd_transfusiontext" taborder="3" useinputpanel="false" position="absolute 0 97 1256 805" anchor="all" binddataset="ds_grid_grd_transfusiontext">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30"/>
- <Column size="125"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="110"/>
- <Column size="80"/>
- <Column size="95"/>
- <Column size="75"/>
- <Column size="45"/>
- <Column size="115"/>
- <Column size="280"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="120"/>
- <Column size="125"/>
- </Columns>
- <Rows>
- <Row size="22" band="head"/>
- <Row size="22" band="head"/>
- <Row size="20"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" text="No."/>
- <Cell col="1" rowspan="2" text="등록일시"/>
- <Cell col="2" rowspan="2" text="등록번호"/>
- <Cell col="3" rowspan="2" text="성명"/>
- <Cell col="4" rowspan="2" text="공여자"/>
- <Cell col="5" rowspan="2" text="진료과/병실"/>
- <Cell col="6" rowspan="2" text="혈액제제종류"/>
- <Cell col="7" rowspan="2" text=" 헌혈증서번호 혈액번호"/>
- <Cell col="8" rowspan="2" text="헌혈일"/>
- <Cell col="9" rowspan="2" text="직업"/>
- <Cell col="10" rowspan="2" text="주민등록번호"/>
- <Cell col="11" rowspan="2" text="주소"/>
- <Cell col="12" rowspan="2" text="용량"/>
- <Cell col="13" rowspan="2" text="혈액형"/>
- <Cell col="14" colspan="14" text="검사결과"/>
- <Cell col="28" rowspan="2" text="폐기사유"/>
- <Cell col="29" rowspan="2" text="폐기일시"/>
- <Cell row="1" col="14" text="AST"/>
- <Cell row="1" col="15" text="ALT"/>
- <Cell row="1" col="16" text="WBC"/>
- <Cell row="1" col="17" text="RBC"/>
- <Cell row="1" col="18" text="Hb"/>
- <Cell row="1" col="19" text="PLT"/>
- <Cell row="1" col="20" text="Malaria"/>
- <Cell row="1" col="21" text="HBs Ag"/>
- <Cell row="1" col="22" text="HBs Ab"/>
- <Cell row="1" col="23" text="Anti-HCV"/>
- <Cell row="1" col="24" text="HIV Ag/Ab"/>
- <Cell row="1" col="25" text="NAT HCV"/>
- <Cell row="1" col="26" text="NAT HIV"/>
- <Cell row="1" col="27" text="HTLV"/>
- </Band>
- <Band id="body">
- <Cell expr="expr:currow+1"/>
- <Cell col="1" style="align:center middle;" text="bind:execdt" mask="expr:execdt==null?'':'####-##-## ##:##:##'"/>
- <Cell col="2" style="align:center middle;" text="bind:tnsrpid"/>
- <Cell col="3" style="align:center middle;" text="bind:tnsrpatnm"/>
- <Cell col="4" style="align:center middle;" text="bind:dnornm"/>
- <Cell col="5" style="align:center middle;" text="bind:deptroom"/>
- <Cell col="6" style="align:center middle;" text="bind:blodbarcd"/>
- <Cell col="7" style="align:center middle;" text="bind:brgstno"/>
- <Cell col="8" style="align:center middle;" text="bind:execdd" mask="expr:execdd==null?'':'####-##-##'"/>
- <Cell col="9" style="align:center middle;" text="bind:jobnm"/>
- <Cell col="10" style="align:center middle;" text="bind:rrgstno"/>
- <Cell col="11" style="align:left middle;" text="bind:addr"/>
- <Cell col="12" style="align:center middle;" text="bind:donvol"/>
- <Cell col="13" style="align:center middle;" text="bind:btype"/>
- <Cell col="14" style="align:center middle;" text="bind:rslt1"/>
- <Cell col="15" style="align:center middle;" text="bind:rslt2"/>
- <Cell col="16" style="align:center middle;" text="bind:rslt3"/>
- <Cell col="17" style="align:center middle;" text="bind:rslt4"/>
- <Cell col="18" style="align:center middle;" text="bind:rslt5"/>
- <Cell col="19" style="align:center middle;" text="bind:rslt6"/>
- <Cell col="20" style="align:center middle;" text="bind:rslt7"/>
- <Cell col="21" style="align:center middle;" text="bind:rslt8"/>
- <Cell col="22" style="align:center middle;" text="bind:rslt9"/>
- <Cell col="23" style="align:center middle;" text="bind:rslt10"/>
- <Cell col="24" style="align:center middle;" text="bind:rslt11"/>
- <Cell col="25" style="align:center middle;" text="bind:rslt12"/>
- <Cell col="26" style="align:center middle;" text="bind:rslt13"/>
- <Cell col="27" style="align:center middle;" text="bind:rslt14"/>
- <Cell col="28" style="align:center middle;" text="bind:resndesc"/>
- <Cell col="29" style="align:center middle;" text="bind:rtndd" mask="expr:rtndd==null?'':'####-##-## ##:##:##'"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grid_grd_transfusiontext" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" onrowposchanged="ds_grid_grd_rslt_onrowposchanged">
- <ColumnInfo>
- <column id="execdt" type="STRING" size="256"/>
- <column id="tnsrpid" type="STRING" size="256"/>
- <column id="tnsrpatnm" type="STRING" size="256"/>
- <column id="dnornm" type="STRING" size="256"/>
- <column id="deptroom" type="STRING" size="256"/>
- <column id="blodbarcd" type="STRING" size="256"/>
- <column id="brgstno" type="STRING" size="256"/>
- <column id="execdd" type="STRING" size="256"/>
- <column id="jobnm" type="STRING" size="256"/>
- <column id="rrgstno" type="STRING" size="256"/>
- <column id="addr" type="STRING" size="256"/>
- <column id="donvol" type="STRING" size="256"/>
- <column id="btype" type="STRING" size="256"/>
- <column id="rslt1" type="STRING" size="256"/>
- <column id="rslt2" type="STRING" size="256"/>
- <column id="rslt3" type="STRING" size="256"/>
- <column id="rslt4" type="STRING" size="256"/>
- <column id="rslt5" type="STRING" size="256"/>
- <column id="rslt6" type="STRING" size="256"/>
- <column id="rslt7" type="STRING" size="256"/>
- <column id="rslt8" type="STRING" size="256"/>
- <column id="rslt9" type="STRING" size="256"/>
- <column id="rslt10" type="STRING" size="256"/>
- <column id="rslt11" type="STRING" size="256"/>
- <column id="rslt12" type="STRING" size="256"/>
- <column id="rslt13" type="STRING" size="256"/>
- <column id="rslt14" type="STRING" size="256"/>
- <column id="resndesc" type="STRING" size="256"/>
- <column id="rtndd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cond_searchgbn" 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>
- </Rows>
- </Dataset>
- </Objects>
- <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::LZZ001.xjs";
- include "lis_commonxp::LLZ001.xjs";
- function lf_setInit() {
-
- var Today = utlf_getCurrentDate();
- var BfDay = utlf_addDate(Today, -30);
- group2.ipt_startdd.value = BfDay;
- group2.ipt_enddd.value = Today;
- }
- function lf_getBlodDonationList() {
-
- var startdd = group2.ipt_startdd.value;
- var enddd = group2.ipt_enddd.value;
- var searchgbn = group2.combo2.value;
- var searchtext = group2.iptSearch.value;
- var donagbn = group2.radio1.value;
- var sInDsName = dsf_createDsRow("ds_temp_search"
- , [{col: "startdd", val:startdd }
- , {col: "enddd", val:enddd }
- , {col: "searchgbn", val:searchgbn }
- , {col: "searchtext", val:searchtext }
- , {col: "donagbn", val:donagbn }
- ]);
-
- var oParam = {};
- oParam.id = "TRLBP02801";
- oParam.service = "refprintmngtapp.BloodBankRefPrintMngt";
- oParam.method = "reqGetBlodDonationList";
- oParam.inds = "cond="+sInDsName;
- oParam.outds = "ds_grid_grd_transfusiontext=getBlodDonationList";
- oParam.async = false;
- oParam.callback = "cbf_SMLBP02800";
- tranf_submit(oParam);
- }
- // callback 함수
- function cbf_SMLBP02800(strSvcID, nErrorCode, strErrorMag) {
-
- if(nErrorCode != 0) {
- sysf_messageBox("ID: "+ strSvcID + " Error: " + strErrorMag, "E009", "");
- }else{
- switch(strSvcID) {
- case "TRLBP02801":
-
- break;
- default:
- break;
- }
- }
- }
- function model1_oninit(obj:Form, e:InitEventInfo)
- {
- //폼 초기화 함수
- frmf_initForm(obj);
- lf_setInit();
- }
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_getBlodDonationList();
-
- }
- function group2_iptSearch_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- if(group2.combo2.value == "1") {
- fSetInputNodeCurPidObj(group2.iptSearch, 9); //등록번호 9자리로 변경
- }
- lf_getBlodDonationList();
- }
- }
- function button5_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_setInit();
- }
- ]]></Script>
- </Form>
- </FDL>
|