123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMMO18300" position="absolute 0 0 240 130" onload="SMMMO04500_onload" titletext="원무키선택" oninit="SMMMO04500_oninit">
- <Layouts>
- <Layout>
- <Button position="absolute 98 100 154 122" id="button1" class="btn4" text="확인" onclick="button1_onclick"/>
- <Button position="absolute 156 100 212 122" id="button2" class="btn4" text="취소" onclick="button2_onclick"/>
- <Static text="원무 접수정보 선택" position="absolute 0 2 220 15" id="caption2" class="tit_2"/>
- <Grid position="absolute 0 20 220 95" id="grd_patinfo" binddataset="ds_grd_patinfo" oncellclick="grd_patinfo_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="61"/>
- <Column size="79"/>
- <Column size="60"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="입원구분"/>
- <Cell col="1" text="입원일"/>
- <Cell col="2" text="입원시간"/>
- </Band>
- <Band id="body">
- <Cell displaytype="combo" edittype="combo" text="bind:ioflag" combodataset="ds_grd_patinfo_ioflag" combocodecol="value" combodatacol="label"/>
- <Cell col="1" text="bind:orddd" mask="####-##-##"/>
- <Cell col="2" text="bind:intm" mask="##:##"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grd_patinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ioflag" type="STRING"/>
- <Column id="orddd" type="STRING"/>
- <Column id="intm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_patinfo_ioflag" 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">O</Col>
- </Row>
- <Row>
- <Col id="label">입원</Col>
- <Col id="value">I</Col>
- </Row>
- <Row>
- <Col id="label">DSC</Col>
- <Col id="value">D</Col>
- </Row>
- <Row>
- <Col id="label">응급</Col>
- <Col id="value">E</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2014-08-29
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2014-08-29 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- function SMMMO04500_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMMMO04500_onload(obj:Form, e:LoadEventInfo)
- {
- opener.frmf_setParameter("SPMMO18300_cretno" , "0");
- dsf_copyDs(ds_grd_patinfo,arg_ds_pamkeyinfo,"replace");
- }
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- var currow = ds_grd_patinfo.rowposition;
- var cretno = ds_grd_patinfo.getColumn(currow, "cretno");
- opener.frmf_setParameter("SPMMO18300_cretno" , cretno);
- close();
-
- }
- function button2_onclick(obj:Button, e:ClickEventInfo)
- {
- opener.frmf_setParameter("SPMMO18300_cretno" , "0");
- close();
- }
- function grd_patinfo_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- var currow = ds_grd_patinfo.rowposition;
- var cretno = ds_grd_patinfo.getColumn(currow, "cretno");
- opener.frmf_setParameter("SPMMO18300_cretno" , cretno);
- close();
- }
- ]]></Script>
- </Form>
- </FDL>
|