123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNE07000" position="absolute 0 0 1196 774" titletext="응급의료센터 중증환자 지표관리" oninit="SMMNE07000_oninit" onload="SMMNE07000_onload" scrollbars="none" ontimer="SMMNE07000_ontimer">
- <Layouts>
- <Layout>
- <Div id="group2" taborder="1" 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 9 1042 31" anchor="top right"/>
- <Static id="caption2" text="조회기간 :" class="search_name" position="absolute 15 13 86 30" anchor="default"/>
- <Calendar id="input_refFrDT" taborder="1" dateformat="yyyy-MM-dd" class="input_s_essential" position="absolute 90 9 190 31" anchor="default" autoselect="true" autoskip="true"/>
- <Static id="caption5" text="~" class="search_no_b" position="absolute 198 12 209 29" anchor="default"/>
- <Calendar id="input_refToDT" taborder="2" dateformat="yyyy-MM-dd" class="input_s_essential" position="absolute 216 9 316 31" anchor="default" autoselect="true"/>
- <Button id="btn_srch" taborder="3" text="조회" class="btn1" position="absolute 1055 9 1111 31" anchor="top right" onclick="group2_btn_srch_onclick"/>
- <Static id="caption1" text="중증분류 :" class="search_name" position="absolute 350 13 421 30" anchor="default"/>
- <Radio id="radio1" taborder="4" columncount="4" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 425 11 756 31" anchor="default" onitemchanged="group2_radio1_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn"/>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">Trauma</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">New Brain</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">New Heart</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Button id="button1" taborder="5" text="엑셀" class="btn7" position="absolute 1120 9 1176 31" 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="2" binddataset="ds_main_erpatinfo" useinputpanel="false" position="absolute 0 95 1194 751" anchor="all" cellsizebandtype="allband" cellsizingtype="col" oncellclick="grd_erpatlist_oncellclick" oncloseup="grd_erpatlist_oncloseup" onlbuttonup="grd_erpatlist_onlbuttonup" autoenter="key">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="72" band="left"/>
- <Column size="55" band="left"/>
- <Column size="44" band="left"/>
- <Column size="100" band="left"/>
- <Column size="83" band="left"/>
- <Column size="114" band="left"/>
- <Column size="95" band="left"/>
- <Column size="60" band="left"/>
- <Column size="63" band="left"/>
- <Column size="110"/>
- <Column size="84"/>
- <Column size="101"/>
- <Column size="101"/>
- <Column size="91"/>
- <Column size="100"/>
- <Column size="110"/>
- <Column size="73"/>
- <Column size="200"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="등록번호"/>
- <Cell col="1" text="환자명"/>
- <Cell col="2" text="S/A"/>
- <Cell col="3" text="CallType"/>
- <Cell col="4" text="호출Dr"/>
- <Cell col="5" text="CallTime(최초)"/>
- <Cell col="6" text="CallTime(최종)"/>
- <Cell col="7" text="호출횟수"/>
- <Cell col="8" text="호출과"/>
- <Cell col="9" text="VisitTime"/>
- <Cell col="10" text="Call ~Visit"/>
- <Cell col="11" text="DoorTime"/>
- <Cell col="12" text="OutTime"/>
- <Cell col="13" text="입원병실호수"/>
- <Cell col="14" text="응급실 퇴실유형"/>
- <Cell col="15" text="입원장발부시간"/>
- <Cell col="16" text="입원과"/>
- <Cell col="17" text="진단명"/>
- </Band>
- <Band id="body">
- <Cell text="bind:pid"/>
- <Cell col="1" text="bind:hngnm"/>
- <Cell col="2" text="bind:sex"/>
- <Cell col="3" text="bind:calltype"/>
- <Cell col="4" text="bind:calldr"/>
- <Cell col="5" text="bind:fcalltime" mask="expr:utlf_isNull(fcalltime) ? '' : '####/##/## ##:##'" maskchar=" "/>
- <Cell col="6" text="bind:lcalltime" mask="expr:utlf_isNull(lcalltime) ? '' : '####/##/## ##:##'" maskchar=" "/>
- <Cell col="7" text="bind:callcnt"/>
- <Cell col="8" text="bind:calldept"/>
- <Cell col="9" text="bind:visittime" mask="expr:utlf_isNull(visittime) ? '' : '####/##/## ##:##'" maskchar=" "/>
- <Cell col="10" text="bind:callvisit"/>
- <Cell col="11" text="bind:doortime" mask="expr:utlf_isNull(doortime) ? '' : '####/##/## ##:##'" maskchar=" "/>
- <Cell col="12" text="bind:outtime" mask="expr:utlf_isNull(outtime) ? '' : '####/##/## ##:##'" maskchar=" "/>
- <Cell col="13" text="bind:inroomcd"/>
- <Cell col="14" displaytype="combo" edittype="combo" text="bind:eroutrmkind"/>
- <Cell col="15" text="bind:indocuisstime" mask="expr:utlf_isNull(indocuisstime) ? '' : '####/##/## ##:##'" maskchar=" "/>
- <Cell col="16" text="bind:indept"/>
- <Cell col="17" text="bind:diagnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption22" text="응급의료센터 중증환자 리스트" class="tit_2" position="absolute 0 74 201 91"/>
- <Shape id="line1" linetype="horizontal" class="line_3" position="absolute 0 750 1194 756" anchor="left right bottom"/>
- <Static id="caption6" text="응급의료센터 중증환자 지표관리" class="tit_1" position="absolute 0 0 226 25"/>
- <Static id="caption3" 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" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="calltype" type="STRING" size="256"/>
- <Column id="calldr" type="STRING" size="256"/>
- <Column id="fcalltime" type="STRING" size="256"/>
- <Column id="lcalltime" type="STRING" size="256"/>
- <Column id="callcnt" type="STRING" size="256"/>
- <Column id="calldept" type="STRING" size="256"/>
- <Column id="visittime" type="STRING" size="256"/>
- <Column id="callvisit" type="STRING" size="256"/>
- <Column id="doortime" type="STRING" size="256"/>
- <Column id="outtime" type="STRING" size="256"/>
- <Column id="inroomcd" type="STRING" size="256"/>
- <Column id="eroutrmkind" type="STRING" size="256"/>
- <Column id="indocuisstime" type="STRING" size="256"/>
- <Column id="indept" type="STRING" size="256"/>
- <Column id="diagnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="hngnm"/>
- <Col id="sex"/>
- <Col id="calltype"/>
- <Col id="calldr"/>
- <Col id="fcalltime"/>
- <Col id="lcalltime"/>
- <Col id="callcnt"/>
- <Col id="calldept"/>
- <Col id="visittime"/>
- <Col id="callvisit"/>
- <Col id="doortime"/>
- <Col id="outtime"/>
- <Col id="inroomcd"/>
- <Col id="eroutrmkind"/>
- <Col id="indocuisstime"/>
- <Col id="indept"/>
- <Col id="diagnm"/>
- </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="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="grtype" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_M0555" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.input_refFrDT" propid="value" datasetid="ds_send" columnid="fromdd"/>
- <BindItem id="item1" compid="group2.input_refToDT" propid="value" datasetid="ds_send" columnid="todd"/>
- <BindItem id="item2" compid="group2.radio1" propid="value" datasetid="ds_send" columnid="grtype"/>
- </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 SMMNE07000_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMMNE07000_onload(obj:Form, e:LoadEventInfo)
- {
- var toDate = utlf_getCurrentDate();
- ds_send.setColumn(0, "fromdd", toDate);
- ds_send.setColumn(0, "todd", toDate);
- ds_send.setColumn(0, "grtype", "");
-
- appf_getCodeList( [{dsNm: "ds_init_M0555", cdGrpId: "M0555"}], true );
-
- //속도개선
- 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 = "TRMNE07001";
- oParam.service = "ercareapp.ERSmsIndexMngt";
- oParam.method = "reqGetIndexMngtList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_erpatinfo=erpatlist";
- oParam.async = false;
- //oParam.callback = "cf_TRMNE07001";
- tranf_submit(oParam);
- }
- /******************************************************************
- * Argument :
- * Description : 중증분류 combo event
- ******************************************************************/
- function group2_radio1_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- frmf_inputEnterKey("group2.btn_srch", "onclick", new ClickEventInfo);
- }
- /******************************************************************
- * Argument :
- * Description : Excel button event
- ******************************************************************/
- function group2_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- if( ds_main_erpatinfo.rowcount > 0 ){
- grdf_exportExcel(grd_erpatlist, "응급의료센터중증환자지표", "응급의료센터중증환자지표", false, "", "", false);
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
- }
- function SMMNE07000_ontimer(obj:Form, e:TimerEventInfo)
- {
- if (e.timerid == 0) {
- this.killTimer(0);
- frmf_inputEnterKey("group2.btn_srch", "onclick", new ClickEventInfo);
- }
- }
- var lastrow1 = -1;
- var lastcol1 = -1;
- var bDrop1 = false;
- function grd_erpatlist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- lastrow1 = -1;
- lastcol1 = -1;
- }
- function grd_erpatlist_oncloseup(obj:Grid, e:GridEditEventInfo)
- {
- var dsGridBind = eval(obj.binddataset);
- var preVal = utlf_transNullToEmpty(dsGridBind.getColumn(e.row, e.col));
- var posVal = utlf_transNullToEmpty(e.value);
-
- if( bDrop1 == true && (!utlf_isNull(posVal) || preVal != posVal) ){
- obj.showEditor(false);
- }
-
- bDrop1 = false;
- lastrow1 = e.row;
- lastcol1 = e.col;
- }
- function grd_erpatlist_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- grdf_setSelectedCell(obj, e);
-
- var dsGridBind = eval(obj.binddataset);
-
- // Combo DropDown Click 처리
- obj.autoenter = "key";
-
- if( e.fromreferenceobject.name == "dropbutton" ){
- bDrop1 = true;
- }
- if( e.row > -1 && obj.getCellProperty("body", e.col, "edittype") == "combo" ){
- // Combo 선택시 활성화 및 combodatacol 변경
- if( grdf_getSelectedCols(obj).length == 0 && grdf_getSelectedRows(obj).length == 0 && obj.getEditText() == undefined ){
- obj.showEditor(true);
- }else{
- if(!obj.isDropdownCombo() && (lastrow1 != e.row || lastcol1 != e.col)) {
- obj.setCellPos(e.col);
- dsGridBind.rowposition = e.row;
- obj.showEditor(true);
- if(bDrop1) {
- obj.dropdownCombo();
- }
- }
- }
- }else{
- obj.autoenter = "key";
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|