123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMNG04300" position="absolute 0 0 538 664" titletext="SET기구 처방 집계현황" oninit="SPMNG04300_oninit" onload="SPMNG04300_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 15 530 637" id="grp_biz" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Div position="absolute 0 10 530 45" align="align:center top;" id="grp_sea">
- <Layouts>
- <Layout>
- <Shape position="absolute 0 0 530 35" id="roundrect1" class="roundrect_search" type="roundrectangle"/>
- <Static text="조회일자:" position="absolute 15 10 106 27" id="cap_instcd" class="search_name"/>
- <Shape position="absolute 387 5 393 30" linetype="vertical" id="line13" class="line_4"/>
- <Button position="absolute 405 8 461 30" id="btn_search" class="btn1" taborder="2" text="조회" onclick="grp_biz_grp_sea_btn_search_onclick"/>
- <Calendar position="absolute 100 8 185 27" id="ipt_fromdd"/>
- <Calendar position="absolute 195 8 280 27" id="ipt_todd"/>
- <Static text="~" position="absolute 185 10 201 28" id="caption1"/>
- <Button position="absolute 465 8 521 30" id="button1" class="btn7" taborder="2" text="엑셀" onclick="grp_biz_grp_sea_button1_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static text="부서별 Enema/Skin Prep 현황" position="absolute 1 58 217 74" id="caption8" class="tit_2"/>
- <Shape position="absolute 0 74 530 80" linetype="horizontal" id="line1" class="line_10"/>
- <Grid position="absolute 0 79 530 620" id="grd_sumlist" binddataset="ds_main_suminfo_sumlist" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="58"/>
- <Column size="58"/>
- <Column size="58"/>
- <Column size="58"/>
- <Column size="59"/>
- <Column size="58"/>
- <Column size="60"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" text="부서명" taborder="undefined"/>
- <Cell col="1" colspan="2" text="Enema" taborder="undefined"/>
- <Cell col="3" text="Enema"/>
- <Cell col="4" colspan="3" text="Skin Prep" taborder="undefined"/>
- <Cell col="7" rowspan="2" text="총합" taborder="undefined"/>
- <Cell row="1" col="1" text="Day"/>
- <Cell row="1" col="2" text="Eve"/>
- <Cell row="1" col="3" text="합계"/>
- <Cell row="1" col="4" text="Day"/>
- <Cell row="1" col="5" text="Eve"/>
- <Cell row="1" col="6" text="합계"/>
- </Band>
- <Band id="body">
- <Cell style="align:left top;padding:5 1 0 2;" text="bind:reqdeptnm" wordwrap="char"/>
- <Cell col="1" displaytype="number" text="bind:enemadaycnt"/>
- <Cell col="2" displaytype="number" text="bind:enemaevecnt"/>
- <Cell col="3" displaytype="number" text="bind:enemacnt"/>
- <Cell col="4" displaytype="number" text="bind:skindaycnt"/>
- <Cell col="5" displaytype="number" text="bind:skinevecnt"/>
- <Cell col="6" displaytype="number" text="bind:skincnt"/>
- <Cell col="7" displaytype="number" text="bind:sumcnt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Div>
- <Static text="2012년 06월 29일 이전 자료의 경우에는 진료재료파트 멸균일지 수량과 다를수있습니다" position="absolute 0 637 470 657" id="caption2"/>
- <Static id="caption6" text="부서별 Enema/Skin Prep 현황" class="tit_1" position="absolute 0 0 216 25"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_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"/>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="deptflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="flag"/>
- <Col id="deptcd"/>
- <Col id="deptflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_suminfo_sumlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_biz.grp_sea.ipt_fromdd" propid="value" datasetid="ds_main_cond" columnid="fromdd"/>
- <BindItem id="item1" compid="grp_biz.grp_sea.ipt_todd" propid="value" datasetid="ds_main_cond" columnid="todd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2017-07-11
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-07-11 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- var arErrorCode = new HashArray();
- function SPMNG04300_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
- }
- function SPMNG04300_onload(obj:Form, e:LoadEventInfo)
- {
- fInitialize();
- }
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize() {
- if(frmf_checkOpener()) {
- grp_biz.grp_sea.ipt_fromdd.value = opener.frmf_getParameter("fromdd");
- grp_biz.grp_sea.ipt_todd.value = opener.frmf_getParameter("todd");
- } else {
- grp_biz.grp_sea.ipt_fromdd.value = utlf_getCurrentDate();
- grp_biz.grp_sea.ipt_todd.value = utlf_getCurrentDate();
- }
- fSearch();
- }
- function fSearch(){
- ds_send_reqdata.copyData(ds_main_cond);
- var oParam = {};
- oParam.id = "TRMNG04301";
- oParam.service = "csrapp.CsrMngt";
- oParam.method = "reqGetEnemaSumInfo";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_suminfo_sumlist=sumlist";
- oParam.async = false;
- tranf_submit(oParam);
- }
- function grp_biz_grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- fSearch();
- }
- function grp_biz_grp_sea_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grp_biz.grd_sumlist, "부서별Enema SkinPrep" + utlf_getCurrentDate(), "sheetname1" , true, "" , "" , true);
- }
- ]]></Script>
- </Form>
- </FDL>
|