123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNE07300" position="absolute 0 0 1196 771" titletext="Trauma 지표관리" oninit="SMMNE07300_oninit" onload="SMMNE07300_onload" ontimer="SMMNE07300_ontimer">
- <Layouts>
- <Layout>
- <Div id="group2" taborder="0" class="div_SA" position="absolute 0 25 1194 65" anchor="left top right">
- <Layouts>
- <Layout>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1036 10 1042 32" anchor="top right"/>
- <Static id="caption2" text="조회기간 :" class="search_name" position="absolute 31 14 102 31" anchor="default"/>
- <Calendar id="input_refFrDT" taborder="1" class="input_s_essential" position="absolute 114 10 214 32" anchor="default" dateformat="yyyy-MM-dd" value="null" autoselect="true" autoskip="true"/>
- <Static id="caption5" text="~" class="search_no_b" position="absolute 222 13 233 30" anchor="default"/>
- <Calendar id="input_refToDT" taborder="2" class="input_s_essential" position="absolute 240 10 340 32" anchor="default" dateformat="yyyy-MM-dd" autoselect="true"/>
- <Button id="btn_srch" taborder="3" text="조회" class="btn1" position="absolute 1055 10 1111 32" anchor="top right" onclick="group2_btn_srch_onclick"/>
- <Button id="button1" taborder="4" text="엑셀" class="btn7" position="absolute 1120 10 1176 32" anchor="top right" onclick="group2_button1_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape id="line4" linetype="horizontal" class="line_10" position="absolute 0 90 1194 96" anchor="left top right"/>
- <Grid id="grd_erpatlist" class="datagrid2" taborder="1" binddataset="ds_grd_erpatlist" useinputpanel="false" position="absolute 0 95 1194 751" autofittype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="90"/>
- <Column size="91"/>
- <Column size="61"/>
- <Column size="130"/>
- <Column size="50"/>
- <Column size="100"/>
- <Column size="130"/>
- <Column size="130"/>
- <Column size="130"/>
- <Column size="130"/>
- <Column size="130"/>
- </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="S/A"/>
- <Cell col="5" text="Date"/>
- <Cell col="6" text="DoorTime"/>
- <Cell col="7" text="Activation"/>
- <Cell col="8" text="Visit-Time"/>
- <Cell col="9" text="Admission"/>
- <Cell col="10" text="Admission Type"/>
- </Band>
- <Band id="body">
- <Cell text="bind:pid" suppress="0"/>
- <Cell col="1" text="bind:hngnm" suppress="0"/>
- <Cell col="2" text="bind:abbrnm"/>
- <Cell col="3" text="bind:rectm" mask="expr:utlf_isNull(rectm) ? '' : '####-##-## ##:##'" maskchar=" "/>
- <Cell col="4" text="bind:sex"/>
- <Cell col="5" displaytype="expr:utlf_isNull(indd) ? 'normal' : 'date'" text="bind:indd"/>
- <Cell col="6" text="bind:doortime" mask="expr:utlf_isNull(doortime) ? '' : '####-##-## ##:##'" maskchar=" "/>
- <Cell col="7" text="bind:fcalltime" mask="expr:utlf_isNull(fcalltime) ? '' : '####-##-## ##:##'" maskchar=" "/>
- <Cell col="8" text="bind:visittime" mask="expr:utlf_isNull(visittime) ? '' : '####-##-## ##:##'" maskchar=" "/>
- <Cell col="9" text="bind:outtime" mask="expr:utlf_isNull(outtime) ? '' : '####-##-## ##:##'" maskchar=" "/>
- <Cell col="10" text="bind:admstp"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption22" text="Trauma 환자 리스트" class="tit_2" position="absolute 0 74 221 91"/>
- <Shape id="line1" linetype="horizontal" class="line_3" position="absolute 0 750 1194 756" anchor="left right bottom"/>
- <Static id="caption6" text="Trauma 지표관리" class="tit_1" position="absolute 0 0 137 25"/>
- <Static id="caption1" text="[표]" position="absolute 1171 757 1196 769" anchor="right bottom"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_erpatinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="abbrnm" type="STRING"/>
- <Column id="rectm" type="STRING"/>
- <Column id="sex" type="STRING"/>
- <Column id="indd" type="STRING"/>
- <Column id="doortime" type="STRING"/>
- <Column id="fcalltime" type="STRING"/>
- <Column id="visittime" type="STRING"/>
- <Column id="outtime" type="STRING"/>
- <Column id="admstp" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.input_refFrDT" propid="value" datasetid="ds_cond" columnid="fromdd"/>
- <BindItem id="item1" compid="group2.input_refToDT" propid="value" datasetid="ds_cond" columnid="todd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- /******************************************************************
- * Argument :
- * Description : 초기화
- ******************************************************************/
- function SMMNE07300_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMMNE07300_onload(obj:Form, e:LoadEventInfo)
- {
- var toDate = utlf_getCurrentDate();
- ds_cond.setColumn(0, "fromdd", toDate);
- ds_cond.setColumn(0, "todd", toDate);
-
- //속도개선
- this.setTimer(0, 100);
- //frmf_inputEnterKey("group2.btn_srch", "onclick", new ClickEventInfo);
- }
- /******************************************************************
- * Argument :
- * Description : 조회 button event
- ******************************************************************/
- function group2_btn_srch_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_erpatinfo.clearData();
-
- var oParam = {};
- oParam.id = "TRMNE07301";
- oParam.service = "ercareapp.ERSmsIndexMngt";
- oParam.method = "reqGetTraumaList";
- oParam.inds = "req=ds_cond";
- oParam.outds = "ds_main_erpatinfo=erpatlist";
- oParam.async = false;
- //oParam.callback = "cf_TRMNE07301";
- tranf_submit(oParam);
- }
- /******************************************************************
- * Argument :
- * Description : Excel button event
- ******************************************************************/
- function group2_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- if( ds_main_erpatinfo.rowcount > 0 ){
- grdf_exportExcel(grd_erpatlist, "Trauma 지표", "Trauma 지표", false, "", "", false);
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
- }
- function SMMNE07300_ontimer(obj:Form, e:TimerEventInfo)
- {
- if (e.timerid == 0) {
- this.killTimer(0);
- frmf_inputEnterKey("group2.btn_srch", "onclick", new ClickEventInfo);
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|