123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMLBP03000" position="absolute 0 0 1256 805" titletext="혈액은행 Critical 결과보고" onload="SMLBP03000_onload">
- <Layouts>
- <Layout>
- <Div id="group3" position="absolute 0 25 1256 67" anchor="left top right" positiontype="position" class="div_SA">
- <Layouts>
- <Layout>
- <Button id="button1" class="btn1" position="absolute 1188 10 1244 30" anchor="top right" positiontype="position" text="조회" onclick="group3_button1_onclick"/>
- <Shape id="line13" class="line_4" position="absolute 1121 10 1121 30" anchor="default" positiontype="position" linetype="vertical"/>
- <Static id="caption5" class="search_name" position="absolute 8 10 82 30" anchor="default" positiontype="position" text="조회일자"/>
- <Static id="caption1115" class="search_name" position="absolute 540 10 614 30" anchor="default" positiontype="position" text="등록번호"/>
- <Edit id="ipt_pid" class="input_s_button" position="absolute 614 10 734 30" anchor="default" positiontype="position" onkeydown="group3_ipt_pid_onkeydown"/>
- <Static id="caption2" class="search_name" position="absolute 322 10 396 30" anchor="default" positiontype="position" text="조회구분"/>
- <Combo id="cmb_gbn" position="absolute 396 10 516 30" anchor="default" positiontype="position" innerdataset="@ds_cond_gbn" codecolumn="value" datacolumn="label" index="0" value="-" text="전체"/>
- <Calendar id="ipt_fromdd" taborder="1" dateformat="yyyy-MM-dd" class="input_essential" position="absolute 82 10 182 30"/>
- <Static id="caption3" text="~" position="absolute 185 10 200 30"/>
- <Calendar id="ipt_todd" taborder="2" dateformat="yyyy-MM-dd" class="input_essential" position="absolute 198 10 298 30"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="혈액은행 Critical 결과보고 조회" class="tit_1" position="absolute 0 0 231 25"/>
- <Static id="caption1" text="이상결과 리스트" class="tit_2" position="absolute 0 77 131 97"/>
- <Grid id="grd_blodcmtlist" taborder="2" useinputpanel="false" position="absolute 0 97 1256 805" style="align:center middle;" anchor="all" autofittype="col" binddataset="ds_grid_grd_blodcmtlist" autosizingtype="row" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30"/>
- <Column size="140"/>
- <Column size="106"/>
- <Column size="100"/>
- <Column size="60"/>
- <Column size="100"/>
- <Column size="518"/>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="22" band="head"/>
- <Row size="20"/>
- </Rows>
- <Band id="head">
- <Cell text="No."/>
- <Cell col="1" text="연락일시"/>
- <Cell col="2" text="환자명"/>
- <Cell col="3" text="등록번호"/>
- <Cell col="4" text="S/A"/>
- <Cell col="5" text="진료과/병실"/>
- <Cell col="6" text="내용"/>
- <Cell col="7" text="연락자"/>
- <Cell col="8" text="주치의"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow+1"/>
- <Cell col="1" text="bind:rgstdt" mask="expr:rgstdt==null?'':'####-##-## ##:##:##'"/>
- <Cell col="2" text="bind:hngnm"/>
- <Cell col="3" text="bind:pid"/>
- <Cell col="4" text="bind:sexage"/>
- <Cell col="5" text="bind:wardroom"/>
- <Cell col="6" style="align:left middle;" text="bind:patcmt" wordwrap="word"/>
- <Cell col="7" text="bind:rgstrnm"/>
- <Cell col="8" text="bind:orddrnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="button5" taborder="3" text="초기화" onclick="button5_onclick" class="btn4" position="absolute 1187 1 1256 21" anchor="top right"/>
- <Button id="button13" taborder="4" text="EXCEL저장" onclick="button13_onclick" class="btn7" position="absolute 1055 1 1147 23" style="align:right middle;"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_cond_gbn" 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">-</Col>
- </Row>
- <Row>
- <Col id="label">Critical Value</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">Comment</Col>
- <Col id="value">2</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_grid_grd_blodcmtlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <column id="rgstdt" type="STRING" size="256"/>
- <column id="hngnm" type="STRING" size="256"/>
- <column id="pid" type="STRING" size="256"/>
- <column id="sexage" type="STRING" size="256"/>
- <column id="patcmt" type="STRING" size="256"/>
- <column id="rgstrnm" type="STRING" size="256"/>
- <column id="wardroom" type="STRING" size="256"/>
- <column id="orddrnm" type="STRING" size="256"/>
- </ColumnInfo>
- </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 SMLBP03000_onload(obj:Form, e:LoadEventInfo)
- {
- //폼 초기화 함수
- frmf_initForm(obj);
- lf_setInit();
- }
- function lf_setInit() {
-
- group3.ipt_fromdd.value = utlf_getCurrentDate();
- group3.ipt_todd.value = utlf_getCurrentDate();
- grdf_setGridSort(grd_blodcmtlist);
- }
- function lf_getBlodcmtlist() {
-
- var fromdd = group3.ipt_fromdd.value;
- var todd = group3.ipt_todd.value;
- var pid = group3.ipt_pid.value;
- var gbn = group3.cmb_gbn.value;
- var sInDsName = dsf_createDsRow("ds_temp_search"
- , [{col: "fromdd", val:fromdd }
- , {col: "todd", val:todd }
- , {col: "pid", val:pid }
- , {col: "gbn", val:gbn }
- ]);
- var oParam = {};
- oParam.id = "TRLBP03001";
- oParam.service = "refprintmngtapp.BloodBankRefPrintMngt";
- oParam.method = "reqGetBlodCmtList";
- oParam.inds = "cond="+sInDsName;
- oParam.outds = "ds_grid_grd_blodcmtlist=blodcmtlist";
- oParam.async = false;
- oParam.callback = "cbf_SMLBP03000";
- tranf_submit(oParam);
- }
- // callback 함수
- function cbf_SMLBP03000(strSvcID, nErrorCode, strErrorMag) {
-
- if(nErrorCode != 0) {
- sysf_messageBox("ID: "+ strSvcID + " Error: " + strErrorMag, "E009", "");
- }else{
- switch(strSvcID) {
- case "TRLBP03001":
-
- break;
- default:
- break;
- }
- }
- }
- function group3_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_getBlodcmtlist();
- }
- function group3_ipt_pid_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- fSetInputNodeCurPidObj(group3.ipt_pid, 9); //등록번호 9자리로 변경
- lf_getBlodcmtlist();
- }
- }
- function button5_onclick(obj:Button, e:ClickEventInfo)
- {
- this.reload();
- }
- function button13_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_blodcmtlist, "혈액은행 Critical 결과보고 조회");
- }
- ]]></Script>
- </Form>
- </FDL>
|