123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNE03400" position="absolute 0 0 720 655" titletext="과별상세환자리스트" oninit="SMMNE03400_oninit" onload="SMMNE03400_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="과별상세환자리스트" class="tit_1" position="absolute 0 0 160 25"/>
- <Button id="btn_print" taborder="1" text="출력" class="btn6" position="absolute 0 28 56 50" onclick="btn_print_onclick"/>
- <Button id="button1" taborder="2" text="엑셀" class="btn1" position="absolute 642 28 698 50" onclick="button1_onclick"/>
- <Grid id="grd_nursMngt" class="datagrid2" taborder="3" binddataset="ds_grd_nursMngt" useinputpanel="false" position="absolute 0 55 698 640" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="70"/>
- <Column size="75"/>
- <Column size="37"/>
- <Column size="37"/>
- <Column size="110"/>
- <Column size="48"/>
- <Column size="110"/>
- <Column size="110"/>
- <Column size="65"/>
- <Column size="85"/>
- <Column size="0"/>
- </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="나이"/>
- <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" text="expr:currow + 1"/>
- <Cell col="1" text="bind:pid"/>
- <Cell col="2" text="bind:patnm"/>
- <Cell col="3" text="bind:sex"/>
- <Cell col="4" text="bind:age"/>
- <Cell col="5" text="bind:rrgstno"/>
- <Cell col="6" text="bind:orddept"/>
- <Cell col="7" displaytype="date" text="bind:chosdt" mask="yyyy-MM-dd HH:mm"/>
- <Cell col="8" displaytype="date" text="bind:outrmdt" mask="yyyy-MM-dd HH:mm"/>
- <Cell col="9" text="bind:staytm"/>
- <Cell col="10" text="bind:outcure"/>
- <Cell col="11" text="bind:deptnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line1" class="line_1" position="absolute 0 52 698 58" style="strokepen:3 solid #33bbbbff;"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grd_nursMngt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING"/>
- <Column id="patnm" type="STRING"/>
- <Column id="sex" type="STRING"/>
- <Column id="age" type="STRING"/>
- <Column id="rrgstno" type="STRING"/>
- <Column id="orddept" type="STRING"/>
- <Column id="chosdt" type="STRING"/>
- <Column id="outrmdt" type="STRING"/>
- <Column id="staytm" type="STRING"/>
- <Column id="outcure" type="STRING"/>
- <Column id="deptnm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <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
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs"
- var srchdate = '';
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /******************************************************************
- * Argument :
- * Description : oninit 메서드
- ******************************************************************/
- function SMMNE03400_oninit(obj:Form, e:InitEventInfo){
-
- }
- /******************************************************************
- * Argument :
- * Description : onload 메서드
- ******************************************************************/
- function SMMNE03400_onload(obj:Form, e:LoadEventInfo){
- // 화면공통
- frmf_initForm(obj);
-
- ds_grd_nursMngt.copyData(arg_ds_patlist);
- srchdate= arg_srchdate;
- trace('srchdate: ' + srchdate);
- }
- /******************************************************************
- * Argument :
- * Description : 엑셀 버튼 클릭
- ******************************************************************/
- function button1_onclick(obj:Button, e:ClickEventInfo){
- grdf_exportExcel(grd_nursMngt, "과상세환자리스트", "Sheet1", true, "", "user", true);
- }
- /******************************************************************
- * Argument :
- * Description : 출력 버튼 클릭
- ******************************************************************/
- function btn_print_onclick(obj:Button, e:ClickEventInfo){
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "root/main/list/patlist", ds_grd_nursMngt); // 데이터셋
- rptf_setValueToDOM(objDOM, 'root/main/list/srcdate', srchdate);
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
-
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
-
- rptf_exeReportPreview30(["RPMNE03400"],[objParam], option);
- }
- ]]></Script>
- </Form>
- </FDL>
|