123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMRD01100" position="absolute 0 0 584 532" titletext="사망등록조회" onload="SMMRD01100_onload" ontimer="SMMRD01100_ontimer">
- <Layouts>
- <Layout>
- <Div position="absolute 0 24 574 64" id="grp_srch" class="div_SA">
- <Layouts>
- <Layout>
- <Combo id="combo18" taborder="0" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 12 10 112 29" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">dethdt</Col>
- <Col id="datacolumn">사망일자</Col>
- </Row>
- <Row>
- <Col id="codecolumn">fstrgstdt</Col>
- <Col id="datacolumn">등록일자</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Calendar id="input1" taborder="1" class="input_s_essential" position="absolute 136 10 238 29" anchor="default" onchanged="grp_srch_input1_onchanged" autoselect="true"/>
- <Static id="caption8" text="~" class="search_no_b" position="absolute 247 12 259 29" anchor="default"/>
- <Calendar id="input2" taborder="2" class="input_s_essential" position="absolute 265 10 367 29" anchor="default" onchanged="grp_srch_input2_onchanged" autoselect="true"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 487 8 493 30" anchor="default"/>
- <Button id="bnt_srch" taborder="3" text="조회" class="btn1" position="absolute 503 8 559 30" anchor="default" onclick="grp_srch_bnt_srch_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static text="사망환자 리스트" position="absolute 0 72 134 88" id="caption1" class="tit_2"/>
- <Button position="absolute 511 69 574 88" id="button1" class="btn7" text="Excel" onclick="button1_onclick"/>
- <Button position="absolute 459 502 515 524" id="btn_ok" class="btn4" text="확인" visible="false" onclick="btn_ok_onclick"/>
- <Button position="absolute 519 502 575 524" id="btn_cancel" class="btn4" text="취소" visible="false" onclick="btn_cancel_onclick"/>
- <Static id="caption6" text="사망등록 조회" class="tit_1" position="absolute 0 0 117 24"/>
- <Grid id="grd_dethreglist" taborder="1" binddataset="ds_main_dethreglist" scrollpixel="all" useinputpanel="false" cellsizingtype="col" oncelldblclick="grd_dethreglist_oncelldblclick" position="absolute 0 90 574 495">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20" band="left"/>
- <Column size="0"/>
- <Column size="57"/>
- <Column size="65"/>
- <Column size="45"/>
- <Column size="98"/>
- <Column size="68"/>
- <Column size="64"/>
- <Column size="78"/>
- <Column size="70"/>
- <Column size="120"/>
- <Column size="200"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <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="등록부서"/>
- <Cell col="9" text="등록자명"/>
- <Cell col="10" text="진료과"/>
- <Cell col="11" text="주진단"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" displaytype="none" edittype="none" text="bind:ioflag"/>
- <Cell col="2" displaytype="normal" edittype="none" style="align:left;" text="bind:pid"/>
- <Cell col="3" displaytype="normal" edittype="none" style="align:left;" text="bind:pname"/>
- <Cell col="4" displaytype="normal" edittype="none" style="align:left;" text="bind:age"/>
- <Cell col="5" displaytype="text" edittype="masknumber" text="bind:jumin"/>
- <Cell col="6" displaytype="date" edittype="none" text="bind:dethdd" calendardisplaynulltype="none"/>
- <Cell col="7" displaytype="normal" edittype="none" style="align:left;" text="bind:dethtm" mask="expr:utlf_isNull(dethtm) ? '' : '##:##'"/>
- <Cell col="8" style="align:left;padding:0 0 0 3;" text="bind:depthngnm"/>
- <Cell col="9" style="align:left;" text="bind:usernm"/>
- <Cell col="10" style="align:left;padding:0 0 0 3;" text="bind:orddeptnm"/>
- <Cell col="11" style="align:left;padding:0 0 0 3;" text="bind:diagnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_dethreglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ioflag" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="pname" type="STRING"/>
- <Column id="age" type="STRING"/>
- <Column id="jumin" type="STRING"/>
- <Column id="dethdd" type="STRING"/>
- <Column id="dethtm" type="STRING"/>
- <Column id="depthngnm" type="STRING"/>
- <Column id="usernm" type="STRING"/>
- <Column id="orddeptnm" type="STRING"/>
- <Column id="diagnm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="reqflag" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="reqflag">dethdt</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_srch.combo18" propid="value" datasetid="ds_main_cond" columnid="reqflag"/>
- <BindItem id="item1" compid="grp_srch.input1" propid="value" datasetid="ds_main_cond" columnid="fromdd"/>
- <BindItem id="item2" compid="grp_srch.input2" propid="value" datasetid="ds_main_cond" columnid="todd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2014-12-19
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2014-12-19 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs"
- include "emr_dschanalyxp::MRD01100.xjs"
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SMMRD02000
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면오픈시 폼load이후 실행
- ****************************************************************************************/
- function SMMRD01100_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
- grdf_initGrid(grd_dethreglist);
- //finitialize();
- this.setTimer(0, 100);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : grp_srch.bnt_srch
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회버튼 클릭
- ****************************************************************************************/
- function grp_srch_bnt_srch_onclick(obj:Button, e:ClickEventInfo)
- {
- fsearch();
- }
- /****************************************************************************************
- * Components : Calendar
- * Components ID : grp_srch.input1
- * Event : onchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회기간 변경시
- ****************************************************************************************/
- function grp_srch_input1_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- var ev = new ClickEventInfo;
- frmf_inputEnterKey("grp_srch.bnt_srch", "onclick", ev );
- }
- /****************************************************************************************
- * Components : Calendar
- * Components ID : grp_srch.input2
- * Event : onchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회기간 변경시
- ****************************************************************************************/
- function grp_srch_input2_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- var ev = new ClickEventInfo;
- frmf_inputEnterKey("grp_srch.bnt_srch", "onclick", ev );
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_dethreglist
- * Event : oncelldblclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회 리스트 더블클릭시
- ****************************************************************************************/
- function grd_dethreglist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- fSendDethinfo();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : bnt_ok
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 확인버튼 클릭
- ****************************************************************************************/
- function btn_ok_onclick(obj:Button, e:ClickEventInfo)
- {
- fSendDethinfo();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_cancel
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 삭제버튼 클릭
- ****************************************************************************************/
- function btn_cancel_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button1
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 엑셀버튼 클릭
- ****************************************************************************************/
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- if(ds_main_dethreglist.rowcount > 0) {
- grdf_exportExcel(grd_dethreglist,"사망환자 조회","사망환자 조회");
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
- }
- function SMMRD01100_ontimer(obj:Form, e:TimerEventInfo)
- {
- if( e.timerid == 0 ){
- this.killTimer(0);
-
- finitialize();
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|