123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNN02700" position="absolute 0 0 636 842" titletext="분만 현황 통계" oninit="SMMNN02700_oninit" onload="SMMNN02700_onload">
- <Layouts>
- <Layout>
- <Static id="cpt_title" text="분만 현황 통계" class="tit_1" position="absolute 0 0 145 25"/>
- <Div id="grp_sea" taborder="1" class="div_SA" position="absolute 0 25 635 65">
- <Layouts>
- <Layout>
- <Button id="button2" taborder="9" text="조회" class="btn1" position="absolute 513 9 569 31" anchor="default" onclick="grp_sea_button2_onclick"/>
- <Shape id="line1" linetype="vertical" class="line_4" position="absolute 502 8 508 33" anchor="default"/>
- <Calendar id="ipt_searchy_bk" taborder="10" class="input_essential" position="absolute 104 11 170 30" mask="yyyy" anchor="default" visible="false"/>
- <Button id="button1" taborder="11" text="엑셀" class="btn7" position="absolute 570 9 626 31" anchor="default" onclick="grp_sea_button1_onclick"/>
- <Static id="caption25" text="조회년도 :" class="search_name" position="absolute 10 13 96 30" anchor="default"/>
- <Spin id="ipt_searchy" taborder="12" position="absolute 104 11 172 31" class="input_essential"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape id="line4" class="line_10" position="absolute 0 88 635 94"/>
- <Grid id="grd_nbabystslist" taborder="2" binddataset="ds_main_nbabystsinfo_nbabystslist" useinputpanel="false" position="absolute 0 93 635 840">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="75"/>
- <Column size="80"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="36"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="35"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="대분류"/>
- <Cell col="1" text="소분류"/>
- <Cell col="2" text="1월"/>
- <Cell col="3" text="2월"/>
- <Cell col="4" text="3월"/>
- <Cell col="5" text="4월"/>
- <Cell col="6" text="5월"/>
- <Cell col="7" text="6월"/>
- <Cell col="8" text="7월"/>
- <Cell col="9" text="8월"/>
- <Cell col="10" text="9월"/>
- <Cell col="11" text="10월"/>
- <Cell col="12" text="11월"/>
- <Cell col="13" text="12월"/>
- <Cell col="14" text="계"/>
- </Band>
- <Band id="body">
- <Cell text="bind:lgtitle" suppress="1" suppressalign="middle,over"/>
- <Cell col="1" text="bind:smtitle"/>
- <Cell col="2" text="bind:month01"/>
- <Cell col="3" text="bind:month02"/>
- <Cell col="4" text="bind:month03"/>
- <Cell col="5" text="bind:month04" mask="yyyy-mm-dd hh:nn"/>
- <Cell col="6" text="bind:month05"/>
- <Cell col="7" text="bind:month06"/>
- <Cell col="8" text="bind:month07"/>
- <Cell col="9" text="bind:month08"/>
- <Cell col="10" text="bind:month09"/>
- <Cell col="11" text="bind:month10"/>
- <Cell col="12" text="bind:month11"/>
- <Cell col="13" text="bind:month12"/>
- <Cell col="14" text="bind:monthsum"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption1" text="분만 현황" class="tit_2" position="absolute 0 72 143 94"/>
- </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="searchy" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_nbabystsinfo_nbabystslist" 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"/>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_sea.ipt_searchy" propid="value" datasetid="ds_main_cond" columnid="searchy"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2017-02-15
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-02-15 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "emr_carecomxp::CareCom.xjs";
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : N/A
- * Description : 조회실행
- ****************************************************************************************/
- function fSearch() {
- ds_send_reqdata.copyData(ds_main_cond);
- var oParam = {};
- oParam.id = "TRMNN02700";
- oParam.service = "partrtnnbabyapp.PartrtnPatMngt";
- oParam.method = "reqGetNbabyStsList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_nbabystsinfo_nbabystslist=nbabystslist";
- oParam.async = false;
- //oParam.callback = "cf_TRMNN02700";
- tranf_submit(oParam);
-
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SMMNN02700_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
- }
- function SMMNN02700_onload(obj:Form, e:LoadEventInfo)
- {
- var fromdd = utlf_getCurrentDate();
- ds_main_cond.setColumn(0,"searchy",fromdd.substring(0, 4));
-
- // grd_nbabystslist.mergeCells = "bycol";
- // grd_nbabystslist.mergeCol(0) = true;
- // grd_nbabystslist.mergeCol(1) = false;
- // grd_nbabystslist.mergeCol(2) = false;
- // grd_nbabystslist.mergeCol(3) = false;
- // grd_nbabystslist.mergeCol(4) = false;
- // grd_nbabystslist.mergeCol(5) = false;
- // grd_nbabystslist.mergeCol(6) = false;
- // grd_nbabystslist.mergeCol(7) = false;
- // grd_nbabystslist.mergeCol(8) = false;
- // grd_nbabystslist.mergeCol(9) = false;
- // grd_nbabystslist.mergeCol(10) = false;
- // grd_nbabystslist.mergeCol(11) = false;
- // grd_nbabystslist.mergeCol(12) = false;
- // grd_nbabystslist.mergeCol(13) = false;
- // grd_nbabystslist.mergeCol(14) = false;
- fSearch();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 조회
- ****************************************************************************************/
- function grp_sea_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- fSearch();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 엑셀저장
- ****************************************************************************************/
- function grp_sea_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- if( ds_main_nbabystsinfo_nbabystslist.rowcount > 0 ){
- grdf_exportExcel(grd_nbabystslist, "SheetName", "SheetName", false, "", "user", false);
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|