123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SSMNE00100" position="absolute 0 0 1256 805" titletext="체류시간대장" onload="SSMNE00100_onload" scrollbars="none">
- <Layouts>
- <Layout>
- <Tab position="absolute 0 82 1256 806" id="switch1" positiontype="position" onchanged="switch1_onchanged" anchor="all" style="buttonpadding:0 0 0 0;" class="tab_Normal">
- <Tabpages>
- <Tabpage id="case1">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 0 1256 708" id="grd_stayddlist" binddataset="ds_grid_grd_stayddlist" positiontype="position" autofittype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="120"/>
- <Column size="31"/>
- <Column size="31"/>
- <Column size="31"/>
- <Column size="31"/>
- <Column size="31"/>
- <Column size="31"/>
- <Column size="31"/>
- <Column size="31"/>
- <Column size="31"/>
- <Column size="31"/>
- <Column size="31"/>
- <Column size="31"/>
- <Column size="31"/>
- <Column size="31"/>
- <Column size="31"/>
- <Column size="31"/>
- <Column size="31"/>
- <Column size="31"/>
- <Column size="31"/>
- <Column size="31"/>
- <Column size="31"/>
- <Column size="31"/>
- <Column size="31"/>
- <Column size="31"/>
- <Column size="31"/>
- <Column size="31"/>
- <Column size="31"/>
- <Column size="31"/>
- <Column size="31"/>
- <Column size="31"/>
- <Column size="31"/>
- <Column size="60"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="임상과"/>
- <Cell col="1" text="1"/>
- <Cell col="2" text="2"/>
- <Cell col="3" text="3"/>
- <Cell col="4" text="4"/>
- <Cell col="5" text="5"/>
- <Cell col="6" text="6"/>
- <Cell col="7" text="7"/>
- <Cell col="8" text="8"/>
- <Cell col="9" text="9"/>
- <Cell col="10" text="10"/>
- <Cell col="11" text="11"/>
- <Cell col="12" text="12"/>
- <Cell col="13" text="13"/>
- <Cell col="14" text="14"/>
- <Cell col="15" text="15"/>
- <Cell col="16" text="16"/>
- <Cell col="17" text="17"/>
- <Cell col="18" text="18"/>
- <Cell col="19" text="19"/>
- <Cell col="20" text="20"/>
- <Cell col="21" text="21"/>
- <Cell col="22" text="22"/>
- <Cell col="23" text="23"/>
- <Cell col="24" text="24"/>
- <Cell col="25" text="25"/>
- <Cell col="26" text="26"/>
- <Cell col="27" text="27"/>
- <Cell col="28" text="28"/>
- <Cell col="29" text="29"/>
- <Cell col="30" text="30"/>
- <Cell col="31" text="31"/>
- <Cell col="32" text="TOTAL"/>
- </Band>
- <Band id="body">
- <Cell text="bind:deptnm" tooltiptext="bind:depthngnm"/>
- <Cell col="1" text="bind:col1"/>
- <Cell col="2" text="bind:col2"/>
- <Cell col="3" text="bind:col3"/>
- <Cell col="4" text="bind:col4"/>
- <Cell col="5" text="bind:col5"/>
- <Cell col="6" text="bind:col6"/>
- <Cell col="7" text="bind:col7"/>
- <Cell col="8" text="bind:col8"/>
- <Cell col="9" text="bind:col9"/>
- <Cell col="10" text="bind:col10"/>
- <Cell col="11" text="bind:col11"/>
- <Cell col="12" text="bind:col12"/>
- <Cell col="13" text="bind:col13"/>
- <Cell col="14" text="bind:col14"/>
- <Cell col="15" text="bind:col15"/>
- <Cell col="16" text="bind:col16"/>
- <Cell col="17" text="bind:col17"/>
- <Cell col="18" text="bind:col18"/>
- <Cell col="19" text="bind:col19"/>
- <Cell col="20" text="bind:col20"/>
- <Cell col="21" text="bind:col21"/>
- <Cell col="22" text="bind:col22"/>
- <Cell col="23" text="bind:col23"/>
- <Cell col="24" text="bind:col24"/>
- <Cell col="25" text="bind:col25"/>
- <Cell col="26" text="bind:col26"/>
- <Cell col="27" text="bind:col27"/>
- <Cell col="28" text="bind:col28"/>
- <Cell col="29" text="bind:col29"/>
- <Cell col="30" text="bind:col30"/>
- <Cell col="31" text="bind:col31"/>
- <Cell col="32" text="bind:stayddsum"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case2">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 0 1256 708" id="grd_staymmlist" binddataset="ds_grid_grd_staymmlist" positiontype="position" autofittype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="130"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="임상과"/>
- <Cell col="1" text="1월"/>
- <Cell col="2" text="2월"/>
- <Cell col="3" text="3월"/>
- <Cell col="4" text="4월"/>
- <Cell col="5" text="5월"/>
- <Cell col="6" text="6월"/>
- <Cell col="7" text="7월"/>
- <Cell col="8" text="8월"/>
- <Cell col="9" text="9월"/>
- <Cell col="10" text="10월"/>
- <Cell col="11" text="11월"/>
- <Cell col="12" text="12월"/>
- <Cell col="13" text="TOTAL"/>
- </Band>
- <Band id="body">
- <Cell text="bind:deptnm" tooltiptext="bind:depthngnm"/>
- <Cell col="1" text="bind:col1"/>
- <Cell col="2" text="bind:col2"/>
- <Cell col="3" text="bind:col3"/>
- <Cell col="4" text="bind:col4"/>
- <Cell col="5" text="bind:col5"/>
- <Cell col="6" text="bind:col6"/>
- <Cell col="7" text="bind:col7"/>
- <Cell col="8" text="bind:col8"/>
- <Cell col="9" text="bind:col9"/>
- <Cell col="10" text="bind:col10"/>
- <Cell col="11" text="bind:col11"/>
- <Cell col="12" text="bind:col12"/>
- <Cell col="13" text="bind:staymmsum"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case3">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 0 1256 708" id="grd_staytminfo" binddataset="ds_grid_grd_staytminfo" positiontype="position" autofittype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="130"/>
- <Column size="103"/>
- <Column size="103"/>
- <Column size="103"/>
- <Column size="103"/>
- <Column size="102"/>
- <Column size="103"/>
- <Column size="103"/>
- <Column size="103"/>
- <Column size="103"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="임상과"/>
- <Cell col="1" text="1H 미만"/>
- <Cell col="2" text="3H미만"/>
- <Cell col="3" text="4H 미만"/>
- <Cell col="4" text="6H 미만"/>
- <Cell col="5" text="12H 미만"/>
- <Cell col="6" text="24H 미만"/>
- <Cell col="7" text="72H 미만"/>
- <Cell col="8" text="72H 이상"/>
- <Cell col="9" text="TOTAL"/>
- </Band>
- <Band id="body">
- <Cell text="bind:deptnm" tooltiptext="bind:depthngnm"/>
- <Cell col="1" text="bind:col1"/>
- <Cell col="2" text="bind:col2"/>
- <Cell col="3" text="bind:col3"/>
- <Cell col="4" text="bind:col4"/>
- <Cell col="5" text="bind:col5"/>
- <Cell col="6" text="bind:col6"/>
- <Cell col="7" text="bind:col7"/>
- <Cell col="8" text="bind:col8"/>
- <Cell col="9" text="bind:staytmsum"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Static id="caption6" text="체류시간대장" class="tit_1" position="absolute 0 3 106 23"/>
- <Static id="Static11" text="폼의 상단부터 h25" class="sta_guide" visible="false" position="absolute 313 0 533 25"/>
- <Div id="Div00" taborder="1" text="Div00" scrollbars="none" class="div_SA" position="absolute 0 25 1256 67" anchor="left top right">
- <Layouts>
- <Layout>
- <Static id="sta_Fund" text="검색조건 :" class="search_name" position="absolute 8 10 88 30" ustext="Fund"/>
- <Static id="Static08" class="sta_WF_Line" position="absolute 513 19 515 30"/>
- <Static id="sta_Fund00" text="조회기간 :" class="search_name" position="absolute 465 10 547 31" ustext="Fund"/>
- <Static id="Static11" text="h10" class="sta_guide" visible="false" position="absolute 1189 0 1244 10"/>
- <Static id="Static10" text="w 10" onclick="Static04_onclick" class="sta_guide" visible="false" position="absolute 1244 0 1254 41"/>
- <Static id="Static00" text="h10" class="sta_guide" visible="false" position="absolute 1189 30 1244 40"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="Static00" text="h10" class="sta_guide" visible="false" position="absolute 0 67 55 77"/>
- <Button id="btn_search" taborder="2" text="조회" class="btn1" position="absolute 1189 36 1245 56" onclick="btn_search_onclick" anchor="top right"/>
- <Static id="Static10" text="w24" onclick="Static04_onclick" class="sta_guide" visible="false" position="absolute 442 25 466 66"/>
- <Static id="Static01" text="h7" class="sta_guide" visible="false" position="absolute 1200 67 1255 74"/>
- <Static id="Static19" text="w8" class="sta_guide" visible="false" position="absolute 84 26 92 66"/>
- <Static id="Static03" text="w8" class="sta_guide" visible="false" position="absolute 541 26 549 66"/>
- <Radio id="rdo_srchflag1" taborder="4" columncount="5" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 91 38 242 54" onitemchanged="rdo_srchflag1_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">내원 기준</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">퇴실 기준</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Radio id="rdo_srchflag2" taborder="5" columncount="5" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 258 38 305 54" onitemchanged="rdo_srchflag2_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">일별</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Calendar id="ipt_srchfromdd" taborder="6" class="input_search" visible="false" position="absolute 548 36 648 56" mask="@@@@-@@-@@"/>
- <Calendar id="ipt_srchtodd" taborder="7" class="input_search" visible="false" position="absolute 671 36 771 56" mask="@@@@-@@-@@"/>
- <Static id="caption3" text="~" visible="false" position="absolute 655 37 670 56"/>
- <Static id="Static02" text="w8" class="sta_guide" visible="false" position="absolute 648 26 656 66"/>
- <Static id="Static04" text="w8" class="sta_guide" visible="false" position="absolute 663 26 671 66"/>
- <Static id="Static05" text="w24" onclick="Static04_onclick" class="sta_guide" visible="false" position="absolute 235 26 259 67"/>
- <Button id="btn_excel" taborder="8" text="엑셀저장" onclick="btn_excel_onclick" class="btn7" position="absolute 1180 74 1255 94" anchor="top right"/>
- <Static id="Static06" text="h3" class="sta_guide" visible="false" position="absolute 1200 94 1255 97"/>
- <Calendar id="ipt_srchdd" taborder="10" class="input_search" visible="false" position="absolute 548 36 619 56" mask="@@@@-@@-@@" dateformat="yyyy-MM" value="null" editformat="yyyy-MM"/>
- <Calendar id="ipt_srchyear" taborder="9" class="input_search" position="absolute 548 36 603 56" mask="@@@@-@@-@@" dateformat="yyyy" value="null" editformat="yyyy" visible="false"/>
- <Radio id="rdo_srchflag3" taborder="11" columncount="5" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="rdo_srchflag2_onitemchanged" position="absolute 306 38 353 54">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">월별</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Radio id="rdo_srchflag4" taborder="12" columncount="5" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="rdo_srchflag2_onitemchanged" position="absolute 354 38 449 54">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">체류시간대별</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="Static07" text="w8" class="sta_guide" visible="false" position="absolute 299 26 307 66"/>
- <Static id="Static08" text="w8" class="sta_guide" visible="false" position="absolute 347 26 355 66"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grid_grd_stayddlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptnm" type="STRING" size="255"/>
- <Column id="col1" type="BIGDECIMAL" size="255"/>
- <Column id="col2" type="BIGDECIMAL" size="255"/>
- <Column id="col3" type="BIGDECIMAL" size="255"/>
- <Column id="col4" type="BIGDECIMAL" size="255"/>
- <Column id="col5" type="BIGDECIMAL" size="255"/>
- <Column id="col6" type="BIGDECIMAL" size="255"/>
- <Column id="col7" type="BIGDECIMAL" size="255"/>
- <Column id="col8" type="BIGDECIMAL" size="255"/>
- <Column id="col9" type="BIGDECIMAL" size="255"/>
- <Column id="col10" type="BIGDECIMAL" size="255"/>
- <Column id="col11" type="BIGDECIMAL" size="255"/>
- <Column id="col12" type="BIGDECIMAL" size="255"/>
- <Column id="col13" type="BIGDECIMAL" size="255"/>
- <Column id="col14" type="BIGDECIMAL" size="255"/>
- <Column id="col15" type="BIGDECIMAL" size="255"/>
- <Column id="col16" type="BIGDECIMAL" size="255"/>
- <Column id="col17" type="BIGDECIMAL" size="255"/>
- <Column id="col18" type="BIGDECIMAL" size="255"/>
- <Column id="col19" type="BIGDECIMAL" size="255"/>
- <Column id="col20" type="BIGDECIMAL" size="255"/>
- <Column id="col21" type="BIGDECIMAL" size="255"/>
- <Column id="col22" type="BIGDECIMAL" size="255"/>
- <Column id="col23" type="BIGDECIMAL" size="255"/>
- <Column id="col24" type="BIGDECIMAL" size="255"/>
- <Column id="col25" type="BIGDECIMAL" size="255"/>
- <Column id="col26" type="BIGDECIMAL" size="255"/>
- <Column id="col27" type="BIGDECIMAL" size="255"/>
- <Column id="col28" type="BIGDECIMAL" size="255"/>
- <Column id="col29" type="BIGDECIMAL" size="255"/>
- <Column id="col30" type="BIGDECIMAL" size="255"/>
- <Column id="col31" type="BIGDECIMAL" size="255"/>
- <Column id="stayddsum" type="STRING" size="255"/>
- <Column id="deptcd" type="STRING" size="255"/>
- <Column id="depthngnm" type="STRING" size="255"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_grd_staymmlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptnm" type="STRING" size="255"/>
- <Column id="col1" type="BIGDECIMAL" size="255"/>
- <Column id="col2" type="BIGDECIMAL" size="255"/>
- <Column id="col3" type="BIGDECIMAL" size="255"/>
- <Column id="col4" type="BIGDECIMAL" size="255"/>
- <Column id="col5" type="BIGDECIMAL" size="255"/>
- <Column id="col6" type="BIGDECIMAL" size="255"/>
- <Column id="col7" type="BIGDECIMAL" size="255"/>
- <Column id="col8" type="BIGDECIMAL" size="255"/>
- <Column id="col9" type="BIGDECIMAL" size="255"/>
- <Column id="col10" type="BIGDECIMAL" size="255"/>
- <Column id="col11" type="BIGDECIMAL" size="255"/>
- <Column id="col12" type="BIGDECIMAL" size="255"/>
- <Column id="staymmsum" type="STRING" size="255"/>
- <Column id="deptcd" type="STRING" size="255"/>
- <Column id="depthngnm" type="STRING" size="255"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_grd_staytminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptnm" type="STRING" size="255"/>
- <Column id="deptcd" type="STRING" size="255"/>
- <Column id="col1" type="BIGDECIMAL" size="255"/>
- <Column id="col2" type="BIGDECIMAL" size="255"/>
- <Column id="col3" type="BIGDECIMAL" size="255"/>
- <Column id="col4" type="BIGDECIMAL" size="255"/>
- <Column id="col5" type="BIGDECIMAL" size="255"/>
- <Column id="col6" type="BIGDECIMAL" size="255"/>
- <Column id="col7" type="BIGDECIMAL" size="255"/>
- <Column id="col8" type="BIGDECIMAL" size="255"/>
- <Column id="staytmsum" type="STRING" size="255"/>
- <Column id="depthngnm" type="STRING" size="255"/>
- </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="srchdd" type="STRING" size="256"/>
- <Column id="srchyear" type="STRING" size="256"/>
- <Column id="srchfromdd" type="STRING" size="256"/>
- <Column id="srchtodd" type="STRING" size="256"/>
- <Column id="srchflag1" type="STRING" size="256"/>
- <Column id="srchflag2" type="STRING" size="256"/>
- <Column id="basedd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <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="srchdd" type="STRING" size="256"/>
- <Column id="srchyear" type="STRING" size="256"/>
- <Column id="srchfromdd" type="STRING" size="256"/>
- <Column id="srchtodd" type="STRING" size="256"/>
- <Column id="srchflag1" type="STRING" size="256"/>
- <Column id="srchflag2" type="STRING" size="256"/>
- <Column id="basedd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="rdo_srchflag1" propid="value" datasetid="ds_main_cond" columnid="srchflag1"/>
- <BindItem id="item1" compid="rdo_srchflag2" propid="value" datasetid="ds_main_cond" columnid="srchflag2"/>
- <BindItem id="item2" compid="ipt_srchyear" propid="value" datasetid="ds_main_cond" columnid="srchyear"/>
- <BindItem id="item3" compid="ipt_srchdd" propid="value" datasetid="ds_main_cond" columnid="srchdd"/>
- <BindItem id="item4" compid="ipt_srchfromdd" propid="value" datasetid="ds_main_cond" columnid="srchfromdd"/>
- <BindItem id="item5" compid="ipt_srchtodd" propid="value" datasetid="ds_main_cond" columnid="srchtodd"/>
- <BindItem id="item6" compid="rdo_srchflag3" propid="value" datasetid="ds_main_cond" columnid="srchflag2"/>
- <BindItem id="item7" compid="rdo_srchflag4" propid="value" datasetid="ds_main_cond" columnid="srchflag2"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : Himed
- * Job Name :
- * File Name : SSMNE00100_체류시간대장.xfdl
- * Creator :
- * Make Date : 2014-08-20
- *
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2014-08-20 Converting Program(TF->XP)
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // xjs Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument :
- * Description : 조회
- ****************************************************************************************/
- function lf_fGetStsData()
- {
- ds_send.clearData();
- ds_send.addRow();
-
- ds_grid_grd_stayddlist.clearData();
- ds_grid_grd_staymmlist.clearData();
- ds_grid_grd_staytminfo.clearData();
-
- if (rdo_srchflag2.value == "1") {
- ipt_srchyear.visible = false;
- ipt_srchfromdd.visible = false;
- ipt_srchtodd.visible = false;
- caption3.visible = false;
- ipt_srchdd.visible = true;
-
- ds_send.enableevent = false;
- ds_send.setColumn(0, "srchdd", ds_main_cond.getColumn(0, "srchdd"));
- ds_send.setColumn(0, "srchflag1", ds_main_cond.getColumn(0, "srchflag1"));
- ds_send.setColumn(0, "srchflag2", ds_main_cond.getColumn(0, "srchflag2"));
- ds_send.enableevent = true;
-
- lf_TRSNE00101();
-
- switch1.case1.grd_stayddlist.enableredraw = false;
- switch1.case1.grd_stayddlist.setCellProperty('Body', 32, "background", "#7cff7c");
- switch1.case1.grd_stayddlist.setCellProperty('Body', 32, "background2", "#7cff7c");
- switch1.case1.grd_stayddlist.setCellProperty('Body', 32, "font", "Dotum,9,bold");
- switch1.case1.grd_stayddlist.enableredraw = true;
- }else if(rdo_srchflag2.value == "2"){
- ipt_srchdd.visible = false;
- ipt_srchfromdd.visible = false;
- ipt_srchtodd.visible = false;
- caption3.visible = false;
- ipt_srchyear.visible = true;
- ds_send.enableevent = false;
- ds_send.setColumn(0, "srchyear", ds_main_cond.getColumn(0, "srchyear"));
- ds_send.setColumn(0, "srchflag1", ds_main_cond.getColumn(0, "srchflag1"));
- ds_send.setColumn(0, "srchflag2", ds_main_cond.getColumn(0, "srchflag2"));
- ds_send.enableevent = true;
-
- lf_TRSNE00102();
- switch1.case2.grd_staymmlist.enableredraw = false;
- switch1.case2.grd_staymmlist.setCellProperty('Body', 13, "background", "#7cff7c");
- switch1.case2.grd_staymmlist.setCellProperty('Body', 13, "background2", "#7cff7c");
- switch1.case2.grd_staymmlist.setCellProperty('Body', 13, "font", "Dotum,9,bold");
- switch1.case2.grd_staymmlist.enableredraw = true;
- }else if(rdo_srchflag2.value == "3"){
- ipt_srchdd.visible = false;
- ipt_srchyear.visible = false;
- ipt_srchfromdd.visible = true;
- ipt_srchtodd.visible = true;
- caption3.visible = true;
- ds_send.enableevent = false;
- ds_send.setColumn(0, "srchfromdd", ds_main_cond.getColumn(0, "srchfromdd"));
- ds_send.setColumn(0, "srchtodd", ds_main_cond.getColumn(0, "srchtodd"));
- ds_send.setColumn(0, "srchflag1", ds_main_cond.getColumn(0, "srchflag1"));
- ds_send.setColumn(0, "srchflag2", ds_main_cond.getColumn(0, "srchflag2"));
- ds_send.enableevent = true;
-
- lf_TRSNE00103();
- switch1.case3.grd_staytminfo.enableredraw = false;
- switch1.case3.grd_staytminfo.setCellProperty('Body', 9, "background", "#7cff7c");
- switch1.case3.grd_staytminfo.setCellProperty('Body', 9, "background2", "#7cff7c");
- switch1.case3.grd_staytminfo.setCellProperty('Body', 9, "font", "Dotum,9,bold");
- switch1.case3.grd_staytminfo.enableredraw = true;
- }
- }
- /****************************************************************************************
- * Argument :
- * Description : 조회
- ****************************************************************************************/
- function lf_TRSNE00101()
- {
- tranf_submit({
- id : "TRSNE00101"
- , service : "stsenrapp.StsErMngt"
- , method : "reqGetStayDDList"
- , inds : "req=ds_send"
- , outds : "ds_grid_grd_stayddlist=stayddlist"
- , async : false
- });
- }
- /****************************************************************************************
- * Argument :
- * Description : 조회
- ****************************************************************************************/
- function lf_TRSNE00102()
- {
- tranf_submit({
- id : "TRSNE00102"
- , service : "stsenrapp.StsErMngt"
- , method : "reqGetStayMMList"
- , inds : "req=ds_send"
- , outds : "ds_grid_grd_staymmlist=staymmlist"
- , async : false
- });
- }
- /****************************************************************************************
- * Argument :
- * Description : 조회
- ****************************************************************************************/
- function lf_TRSNE00103()
- {
- tranf_submit({
- id : "TRSNE00103"
- , service : "stsenrapp.StsErMngt"
- , method : "reqGetStayTMList"
- , inds : "req=ds_send"
- , outds : "ds_grid_grd_staytminfo=staytmlist"
- , async : false
- });
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components :
- * Components ID : SSMNE00100
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 온로드
- ****************************************************************************************/
- function SSMNE00100_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj); // 화면공통
- lf_commoduleDataSetShow(); //DataSet 조회
-
- ds_main_cond.enableevent = false;
- ds_main_cond.setColumn(0, "basedd", utlf_addDate(utlf_getCurrentDate(), -1));
- ds_main_cond.setColumn(0, "srchdd", ds_main_cond.getColumn(0, "basedd").substr(0,6));
- ds_main_cond.setColumn(0, "srchyear", ds_main_cond.getColumn(0, "basedd").substr(0,4));
- ds_main_cond.setColumn(0, "srchfromdd", ds_main_cond.getColumn(0, "basedd"));
- ds_main_cond.setColumn(0, "srchtodd", ds_main_cond.getColumn(0, "basedd"));
- ds_main_cond.setColumn(0, "srchflag1", "1");
- ds_main_cond.setColumn(0, "srchflag2", "1");
- ds_main_cond.enableevent = true;
-
- lf_fGetStsData();
- }
- /****************************************************************************************
- * Components :
- * Components ID : btn_search
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회
- ****************************************************************************************/
- function btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_fGetStsData();
- }
- /****************************************************************************************
- * Components :
- * Components ID : btn_excel
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 엑셀
- ****************************************************************************************/
- function btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- var fromdd = ds_main_cond.getColumn(0, "srchfromdd");
- var todd = ds_main_cond.getColumn(0, "srchtodd");
- var syear = ds_main_cond.getColumn(0, "srchyear");
- var smon = ds_main_cond.getColumn(0, "srchdd");
- if(rdo_srchflag2.value == "1"){
- grdf_exportExcel(switch1.case1.grd_stayddlist, "체류시간대장_일별(" + smon + ")", "체류시간대장_일별(" + smon + ")");
-
- }else if(rdo_srchflag2.value == "2"){
- grdf_exportExcel(switch1.case2.grd_staymmlist, "체류시간대장_월별(" + syear + ")", "체류시간대장_월별(" + syear + ")");
-
- }else if(rdo_srchflag2.value == "3"){
- grdf_exportExcel(switch1.case3.grd_staytminfo, "체류시간대장_체류시간대별(" + fromdd + "-" + todd + ")", "체류시간대장_체류시간대별"); // 길어서 시간 삭제
- }
- }
- /****************************************************************************************
- * Components :
- * Components ID : rdo_srchflag1
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 검색조건 변경1
- ****************************************************************************************/
- function rdo_srchflag1_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- lf_fGetStsData();
- }
- /****************************************************************************************
- * Components :
- * Components ID : rdo_srchflag2
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 검색조건 변경2
- ****************************************************************************************/
- function rdo_srchflag2_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- if(rdo_srchflag2.value == "1"){
- switch1.tabindex = 0;
- }
- if(rdo_srchflag3.value == "2"){
- switch1.tabindex = 1;
- }
- if(rdo_srchflag4.value == "3"){
- switch1.tabindex = 2;
- }
-
- // lf_fGetStsData();
- }
- /****************************************************************************************
- * Components :
- * Components ID : switch1
- * Event : onchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 탭 변경
- ****************************************************************************************/
- function switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- if (switch1.tabindex == 0) {
- rdo_srchflag2.value = 1;
- } else if (switch1.tabindex == 1) {
- rdo_srchflag3.value = 2;
- } else if (switch1.tabindex == 2) {
- rdo_srchflag4.value = 3;
- }
-
- lf_fGetStsData();
- }
- ]]></Script>
- </Form>
- </FDL>
|