123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMLPS01100" position="absolute 0 0 1200 763" titletext="FrozenSectionReview" oninit="SMLPS01100_oninit" onload="SMLPS01100_onload">
- <Layouts>
- <Layout>
- <Button id="btn_excel" taborder="1" text="EXCEL저장" class="btn7" position="absolute 1102 66 1194 88" onclick="btn_excel_onclick" anchor="top right"/>
- <Static id="caption6" text="FrozenSectionReview" class="tit_1" position="absolute 0 0 173 25" anchor="left top"/>
- <Static id="caption4" text="보고시간" class="tit_2" position="absolute 0 84 90 101" anchor="left top"/>
- <Shape id="line1" linetype="horizontal" class="line_1" position="absolute 0 101 1194 107" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
- <Grid id="grd_repttmlist" class="datagrid2" taborder="2" binddataset="ds_grd_repttmlist" useinputpanel="false" position="absolute 0 105 1194 758" anchor="all" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="23"/>
- <Column size="370"/>
- <Column size="200"/>
- <Column size="200"/>
- <Column size="200"/>
- <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="이내건수"/>
- <Cell col="5" text="이상건수"/>
- </Band>
- <Band id="body">
- <Cell text="expr:currow+1"/>
- <Cell col="1" text="bind:reptnm"/>
- <Cell col="2" text="bind:totcnt"/>
- <Cell col="3" class="avgtm" text="bind:avgtm"/>
- <Cell col="4" class="bfcnt" text="bind:bfcnt"/>
- <Cell col="5" class="aftcnt" text="bind:aftcnt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="grp_sea" taborder="3" position="absolute 0 25 1195 60" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1105 7 1111 29" anchor="top right"/>
- <Static id="caption2" text="접수일자 :" class="search_name" position="absolute 25 9 100 26" anchor="left top"/>
- <Static id="caption5" text="~" class="search_no_b" position="absolute 216 11 228 28" anchor="left top"/>
- <Button id="btn_sea" taborder="3" text="조회" class="btn1" position="absolute 1123 7 1179 29" anchor="top right" onclick="grp_sea_btn_sea_onclick"/>
- <Calendar id="ipt_cnclfromdd" taborder="4" class="input_s_essential" position="absolute 114 8 214 27" mask="yyyy-mm-dd" anchor="left top"/>
- <Calendar id="ipt_cncltodd" taborder="5" class="input_s_essential" position="absolute 233 8 333 27" mask="yyyy-mm-dd" anchor="left top"/>
- <Static id="caption8" text="시간(분) :" class="search_name" position="absolute 904 9 979 26" anchor="top right"/>
- <Edit id="input1" taborder="6" position="absolute 993 8 1093 27" anchor="top right"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grd_repttmlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="reptnm" type="STRING"/>
- <Column id="totcnt" type="STRING"/>
- <Column id="avgtm" type="STRING"/>
- <Column id="bfcnt" type="STRING"/>
- <Column id="aftcnt" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_data_sysdtinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sysdd" type="STRING" size="256"/>
- <Column id="systm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="seaval" type="STRING" size="256"/>
- <Column id="acptfromdd" type="STRING" size="256"/>
- <Column id="acpttodd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_sea.ipt_cnclfromdd" propid="value" datasetid="ds_hidden" columnid="acptfromdd"/>
- <BindItem id="item1" compid="grp_sea.ipt_cncltodd" propid="value" datasetid="ds_hidden" columnid="acpttodd"/>
- <BindItem id="item2" compid="grp_sea.input1" propid="value" datasetid="ds_hidden" columnid="seaval"/>
- </Bind>
- <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
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- function SMLPS01100_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMLPS01100_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_repttmlist);
- fExeInitialize();
- }
- //초기화
- function fExeInitialize()
- {
- dsf_createDsRow("ds_send", [{col: "instcd", val: sysf_getUserInfo("dutplceinstcd")}]);
- var oParam = {};
- oParam.id = "TRLPZ00102";
- oParam.service = "plgycomnusemngtapp.BaseInfoCode";
- oParam.method = "reqGetSystemDateTimeInformation";
- oParam.inds = "refData=ds_send";
- oParam.outds = "ds_data_sysdtinfo=sysdtinfo";
- oParam.async = false;
- //oParam.callback = "cf_TRLPZ00102";
- tranf_submit(oParam);
-
- ds_hidden.setColumn(0, "seaval", 0);
- ds_hidden.setColumn(0, "acptfromdd", utlf_getCurrentDate());
- ds_hidden.setColumn(0, "acpttodd", utlf_getCurrentDate());
- }
- //조회
- function fGetfrozenSectionReview()
- {
- if( utlf_isNull(ds_hidden.getColumn(0, "seaval")) || ds_hidden.getColumn(0,"seaval") == 0)
- {
- sysf_messageBox("시간(분)이 입력되지 않았습니다..","I");
- return false;
- }
- dsf_createDsRow("ds_send", [{col: "instcd", val : sysf_getUserInfo("dutplceinstcd")}
- ,{col: "acptfromdd", val : ds_hidden.getColumn(0, "acptfromdd")}
- ,{col: "acpttodd", val : ds_hidden.getColumn(0, "acpttodd")}
- ,{col: "seaval", val : ds_hidden.getColumn(0, "seaval")}]);
-
- //submit("TRLPS01101");
- var oParam = {};
- oParam.id = "TRLPS01101";
- oParam.service = "plgystatsmngtapp.StatsMngtRef";
- oParam.method = "reqGetFrozenSection";
- oParam.inds = "refData=ds_send";
- oParam.outds = "ds_grd_repttmlist=repttmlist";
- oParam.async = false;
- //oParam.callback = "cf_TRLPS01101";
- tranf_submit(oParam);
- }
- //조회
- function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetfrozenSectionReview();
- }
- function grp_sea_input1_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- fGetfrozenSectionReview();
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|