123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMLBP02500" position="absolute 0 0 1196 763" titletext="헌혈자검사결과조회(BISS)" oninit="SMLBP02500_oninit" onload="SMLBP02500_onload">
- <Layouts>
- <Layout>
- <Button id="button5" taborder="1" text="초기화" class="btn4" position="absolute 1127 19 1195 41" onclick="button5_onclick" anchor="top right"/>
- <Shape id="line15" linetype="horizontal" class="line_6" position="absolute 0 46 1194 52" style="strokepen:3 solid #9ebed4ff;" anchor="left top right"/>
- <Button id="button2" taborder="2" text="저장" class="btn4" visible="false" position="absolute 1068 19 1124 41" anchor="top right"/>
- <Static id="caption6" text="헌혈자 검사결과 조회(BISS)" class="tit_1" position="absolute 0 0 199 25"/>
- <Div id="group2" taborder="3" position="absolute 0 50 1195 85" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Static id="caption2" text="시행일자 :" class="search_name" position="absolute 27 9 101 26"/>
- <Button id="button1" taborder="1" text="조회" class="btn1" position="absolute 1123 7 1179 29" onclick="group2_button1_onclick" anchor="top right"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1105 7 1111 29" anchor="top right"/>
- <Calendar id="input26" taborder="2" class="input_s_essential" position="absolute 110 8 220 27"/>
- <Radio id="radio1" taborder="3" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 1007 10 1102 30" anchor="top right">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">의뢰</Col>
- </Row>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">완료</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption1" text="헌혈자 검사결과 조회(BISS)" class="tit_2" position="absolute 1 95 198 112"/>
- <Shape id="line1" linetype="horizontal" class="line_1" position="absolute 0 111 1194 117" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
- <Button id="btn_excel" taborder="4" text="CSV저장" class="btn2" position="absolute 1130 89 1194 108" onclick="btn_excel_onclick" anchor="top right"/>
- <Grid id="grd_rsltbiss" taborder="5" binddataset="ds_grd_rsltbiss" useinputpanel="false" position="absolute 0 115 1194 761" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="80"/>
- <Column size="120"/>
- <Column size="70"/>
- <Column size="100"/>
- <Column size="130"/>
- <Column size="90"/>
- <Column size="65"/>
- <Column size="60"/>
- <Column size="70"/>
- <Column size="159"/>
- <Column size="90"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="0"/>
- <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="헌혈일자"/>
- <Cell col="3" text="증서번호"/>
- <Cell col="4" text="주민번호"/>
- <Cell col="5" text="이름"/>
- <Cell col="6" text="혈액형코드"/>
- <Cell col="7" text="직업코드"/>
- <Cell col="8" text="우편번호"/>
- <Cell col="9" text="주소"/>
- <Cell col="10" text="집전화"/>
- <Cell col="11" text="휴대전화"/>
- <Cell col="12" text="제제코드"/>
- <Cell col="13" text="제제종류명"/>
- <Cell col="14" text="입력자"/>
- <Cell col="15" text="NAT검사의뢰유무"/>
- <Cell col="16" text="결과(HIV)"/>
- <Cell col="17" text="결과(HCV)"/>
- <Cell col="18" text="결과(HBV)"/>
- <Cell col="19" text="결과(STS)"/>
- <Cell col="20" text="결과(ALT)"/>
- <Cell col="21" text="결과(ABS)"/>
- <Cell col="22" text="결과(SUB)"/>
- <Cell col="23" text="NAT(HIV)"/>
- <Cell col="24" text="NAT(HCV)"/>
- <Cell col="25" text="NAT(HBV)"/>
- <Cell col="26" text="결과(MAL)"/>
- <Cell col="27" text="HTLV의뢰"/>
- <Cell col="28" text="결과(HTLV)"/>
- </Band>
- <Band id="body">
- <Cell text="bind:hospcd"/>
- <Cell col="1" text="bind:hospnm"/>
- <Cell col="2" displaytype="date" edittype="date" text="bind:dondt" mask="yyyy-MM-dd"/>
- <Cell col="3" text="bind:natno" mask="99-99-999999"/>
- <Cell col="4" text="bind:dnorrrgstno"/>
- <Cell col="5" text="bind:dnornm"/>
- <Cell col="6" text="bind:btype"/>
- <Cell col="7" text="bind:jobcd" mask="yyyy-mm-dd hh:nn"/>
- <Cell col="8" text="bind:homezipcd" mask="yyyy-mm-dd"/>
- <Cell col="9" text="bind:homeaddr" mask="yyyy-mm-dd"/>
- <Cell col="10" text="bind:hometel" mask="yyyy-mm-dd"/>
- <Cell col="11" text="bind:mpphonno"/>
- <Cell col="12" displaytype="text" edittype="text" text="bind:blodbarcd"/>
- <Cell col="13" displaytype="text" edittype="text" text="bind:blodbarnm"/>
- <Cell col="14" displaytype="text" edittype="text" text="bind:inptid"/>
- <Cell col="15" displaytype="text" edittype="text" text="bind:natreqyn"/>
- <Cell col="16" text="bind:hiv"/>
- <Cell col="17" text="bind:hcv"/>
- <Cell col="18" text="bind:hbv"/>
- <Cell col="19" text="bind:sts"/>
- <Cell col="20" text="bind:alt"/>
- <Cell col="21" text="bind:abs"/>
- <Cell col="22" text="bind:sub"/>
- <Cell col="23" text="bind:nhiv"/>
- <Cell col="24" text="bind:nhcv"/>
- <Cell col="25" text="bind:nhbv"/>
- <Cell col="26" text="bind:mal"/>
- <Cell col="27" displaytype="text" edittype="text" text="bind:htlvreqyn"/>
- <Cell col="28" text="bind:htlv"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="button3" taborder="6" text="엑셀저장" class="btn7" position="absolute 1055 89 1128 108" onclick="button3_onclick" anchor="top right"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grd_rsltbiss" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hospcd" type="STRING"/>
- <Column id="hospnm" type="STRING"/>
- <Column id="dondt" type="STRING"/>
- <Column id="natno" type="STRING"/>
- <Column id="dnorrrgstno" type="STRING"/>
- <Column id="dnornm" type="STRING"/>
- <Column id="btype" type="STRING"/>
- <Column id="jobcd" type="STRING"/>
- <Column id="homezipcd" type="STRING"/>
- <Column id="homeaddr" type="STRING"/>
- <Column id="hometel" type="STRING"/>
- <Column id="mpphonno" type="STRING"/>
- <Column id="blodbarcd" type="STRING"/>
- <Column id="blodbarnm" type="STRING"/>
- <Column id="inptid" type="STRING"/>
- <Column id="natreqyn" type="STRING"/>
- <Column id="hiv" type="STRING"/>
- <Column id="hcv" type="STRING"/>
- <Column id="hbv" type="STRING"/>
- <Column id="sts" type="STRING"/>
- <Column id="alt" type="STRING"/>
- <Column id="abs" type="STRING"/>
- <Column id="sub" type="STRING"/>
- <Column id="nhiv" type="STRING"/>
- <Column id="nhcv" type="STRING"/>
- <Column id="nhbv" type="STRING"/>
- <Column id="mal" type="STRING"/>
- <Column id="htlvreqyn" type="STRING"/>
- <Column id="htlv" type="STRING"/>
- </ColumnInfo>
- </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="refsdd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="codeflag" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="reqyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="reqyn">Y</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.input26" propid="value" datasetid="ds_hidden_ref" columnid="refsdd"/>
- <BindItem id="item1" compid="group2.radio1" propid="value" datasetid="ds_send" columnid="reqyn"/>
- </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";
- function SMLBP02500_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMLBP02500_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_rsltbiss);
- fSetInit();
- }
- // 초기화
- function fSetInit()
- {
- ds_hidden_ref.setColumn(0, "refsdd", utlf_getCurrentDate());
- }
- //조회버튼
- function group2_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetDnorRslt();
- }
- // 조회
- function fGetDnorRslt()
- {
- //model.setValue("/root/send/prcpdd", model.getValue("/root/hidden/ref/refsdd"));
- ds_send.setColumn(0, "prcpdd", ds_hidden_ref.getColumn(0, "refsdd"));
-
- var oParam = {};
- oParam.id = "TRLBP02501";
- oParam.service = "refprintmngtapp.BloodBankRefPrintMngt";
- oParam.method = "reqGetDnorRsltBISS";
- oParam.inds = "cond=ds_send";
- oParam.outds = "ds_grd_rsltbiss=getDnorRsltBISS";
- oParam.async = false;
- //oParam.callback = "cf_TRLBP02501";
- tranf_submit(oParam);
- }
- //초기화버튼
- function button5_onclick(obj:Button, e:ClickEventInfo)
- {
- this.reload();
- }
- //엑셀저장버튼
- function button3_onclick(obj:Button, e:ClickEventInfo)
- {
- fExeExcel(grd_rsltbiss);
- }
- // 엑셀 저장
- function fExeExcel(pGridId)
- {
- var dd = ds_hidden_ref.getColumn(0, "refsdd");
- grdf_exportExcel(pGridId, "BISS파일전송_"+dd, "see");
- }
- //CSV 저장
- function btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- fExeCSV(grd_rsltbiss);
- }
- // CSV 저장
- function fExeCSV(pGridId)
- {
- var dd = ds_hidden_ref.getColumn(0, "refsdd");
- grdf_exportExcel(pGridId, "BISS파일전송_"+dd, "see");
- } ]]></Script>
- </Form>
- </FDL>
|