You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
334 lines
17 KiB
XML
334 lines
17 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<html xmlns="http://www.w3.org/1999/xhtml"
|
|
xmlns:ev="http://www.w3.org/2001/xml-events"
|
|
xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms">
|
|
<head>
|
|
<w2:type>DEFAULT</w2:type>
|
|
<w2:buildDate/>
|
|
<xf:model>
|
|
<xf:instance>
|
|
<data xmlns="" />
|
|
</xf:instance>
|
|
<w2:dataCollection baseNode="map">
|
|
<w2:dataMap baseNode="map" id="statMap" style="">
|
|
<w2:keyInfo>
|
|
<w2:key dataType="text" id="fareOfficeId" name="요금소코드"></w2:key>
|
|
<w2:key id="workerId" name="징수원" dataType="text"></w2:key><w2:key dataType="text" id="workStDate" name="근무시작일자"></w2:key>
|
|
<w2:key dataType="text" id="workEdDate" name="근무종료일자"></w2:key>
|
|
|
|
</w2:keyInfo>
|
|
</w2:dataMap>
|
|
<w2:dataList baseNode="list" repeatNode="map" id="statList" saveRemovedData="true">
|
|
<w2:columnInfo>
|
|
<w2:column id="kbn" name="구분" dataType="text"></w2:column>
|
|
<w2:column id="booth01" name="1차" dataType="number"></w2:column>
|
|
<w2:column id="booth02" name="2차" dataType="number"></w2:column>
|
|
<w2:column id="booth03" name="3차" dataType="number"></w2:column>
|
|
<w2:column id="booth04" name="4차" dataType="number"></w2:column>
|
|
<w2:column id="booth05" name="5차" dataType="number"></w2:column>
|
|
<w2:column id="booth06" name="6차" dataType="number"></w2:column>
|
|
<w2:column id="booth07" name="7차" dataType="text"></w2:column>
|
|
<w2:column id="booth08" name="8차" dataType="number"></w2:column>
|
|
<w2:column id="booth09" name="9차" dataType="number"></w2:column>
|
|
<w2:column id="booth10" name="10차" dataType="number"></w2:column>
|
|
<w2:column id="boothTotal" name="소계" dataType="number"></w2:column></w2:columnInfo>
|
|
</w2:dataList>
|
|
</w2:dataCollection>
|
|
<w2:workflowCollection></w2:workflowCollection>
|
|
<xf:submission id="sbm_statList" ref='data:json,{"id":"statMap","key":"param"}' target="data:json,statList" action="/cfs/income/findIncomeWorkerWorkBoothStatList.do" method="post"
|
|
mediatype="application/json" encoding="UTF-8" instance="" replace="" errorHandler="" customHandler="" mode="asynchronous"
|
|
processMsg="조회중입니다." ev:submit="" ev:submitdone="" ev:submiterror="" abortTrigger="">
|
|
</xf:submission>
|
|
</xf:model>
|
|
<script type="text/javascript" lazy="false"><![CDATA[
|
|
|
|
scwin.onpageload = function() {
|
|
//요금소(cfs01)
|
|
var sbxOptions = [{ code : "cfs01", compID : "sbx_fareOfficeId", option : sbx_fareOfficeId.getText() }];
|
|
com.setCfsCommonCode( sbxOptions );
|
|
|
|
//징수원 - 요금소 선택시 활성화
|
|
//sbx_workerId.setDisabled( "true" );
|
|
|
|
//통행일자
|
|
var ymd = com.getToday();
|
|
ica_inStDate.setValue( ymd );
|
|
ica_inEdDate.setValue( ymd );
|
|
};
|
|
|
|
scwin.onpageunload = function() {
|
|
|
|
};
|
|
|
|
scwin.btn_search_onclick = function(e) {
|
|
//alert("조회");
|
|
|
|
if (com.validateGroup(grp_search) === false) {
|
|
return false;
|
|
|
|
}else{
|
|
if(ica_inEdDate.getValue() < ica_inStDate.getValue()){
|
|
com.alert("시작 일자가 종료 일자보다 큽니다. 날짜 형식을 확인해 주세요.");
|
|
return;
|
|
}
|
|
com.executeSubmission(sbm_statList);
|
|
}
|
|
};
|
|
|
|
scwin.btn_print_onclick = function(e) {
|
|
if (statList.getRowCount() == 0) {
|
|
com.alert("인쇄할 정보가 없습니다.");
|
|
return;
|
|
}
|
|
//alert("인쇄");
|
|
|
|
var totalCnt = grd_statList.getTotalRow();
|
|
if (totalCnt > 0) {
|
|
alert("레포트를 인쇄합니다. ("+totalCnt+"건)");
|
|
|
|
var form_tag = document.getElementById("IC014M01");
|
|
|
|
form_tag.fareOfficeId.value = statMap.get("fareOfficeId");
|
|
form_tag.workerId.value = statMap.get("workerId");
|
|
form_tag.workStDate.value = statMap.get("workStDate");
|
|
form_tag.workEdDate.value = statMap.get("workEdDate");
|
|
|
|
form_tag.crfName.value = "IC014M01";
|
|
|
|
var url = "/ClipReport4/reportView.jsp";
|
|
|
|
form_tag.action=url;
|
|
form_tag.method ="post";
|
|
form_tag.target="clipform";
|
|
form_tag.submit();
|
|
|
|
} else {
|
|
alert("인쇄할 정보가 없습니다.");
|
|
}
|
|
};
|
|
|
|
scwin.btn_excel_down_onclick = function(e) {
|
|
if (statList.getRowCount() == 0) {
|
|
com.alert("엑셀다운로드할 정보가 없습니다.");
|
|
return;
|
|
}
|
|
//alert("엑셀다운로드");
|
|
|
|
var info = {};
|
|
var options = {};
|
|
options.fileName = "징수원 시간대별 차로별 근무현황_"+com.getCurDtime()+".xlsx";
|
|
options.sheetName = "징수원 시간대별 차로별 근무현황";
|
|
options.showProcess = "true"; //다운로드 시 프로세스 창을 보여줄지 여부 (true:보임)
|
|
options.showConfirm = "true"; //다운로드 확인창을 띄울지 여부 (false:미확인)
|
|
options.useFooter = "true"; //다운로드시 Footer를 출력 할지 여부 (true:포함)
|
|
options.useSubTotal = "false"; //다운로드시 SubTotal을 출력 할지 여부 (false:미포함)
|
|
options.useStyle = "true";
|
|
options.type = "1";
|
|
options.printSet = {
|
|
fitToPage : "true" //엑셀 프린터 출력시 쪽맞춤 사용 유무 (false:미사용)
|
|
, landScape : "true" //엑셀 프린터 출력시 가로 방향 출력 유무 (false:세로)
|
|
, pageSize : "A4" //엑셀 프린터 출력시 인쇄용지 설정 (A4:A4용지)
|
|
};
|
|
options.autoSizeColumn = "false"; //너비자동맞춤 설정 유무 (false:미적용)
|
|
|
|
grd_statList.advancedExcelDownload( options , info );
|
|
//com.fncMakeExcelProvider("incomeService", "findIncomeWorkerWorkBoothStatList", "cfs.income.vo.IncomeParamsVO", statMap, grd_statList, options, info);
|
|
};
|
|
|
|
scwin.sbx_fareOfficeId_onchange = function() {
|
|
//징수원 재조회
|
|
scwin.fncWorkerChange();
|
|
};
|
|
|
|
scwin.ica_inStDate_onchange = function() {
|
|
//징수원 재조회
|
|
scwin.fncWorkerChange();
|
|
};
|
|
|
|
scwin.ica_inEdDate_onchange = function() {
|
|
//징수원 재조회
|
|
scwin.fncWorkerChange();
|
|
};
|
|
|
|
scwin.fncWorkerChange = function() {
|
|
//통행일자
|
|
var vInStDate = ica_inStDate.getValue();
|
|
var vInEdDate = ica_inEdDate.getValue();
|
|
|
|
//요금소 선택시 차로 정보 갱신
|
|
var vFareOfficeId = sbx_fareOfficeId.getValue();
|
|
if (vFareOfficeId == '') {
|
|
sbx_workerId.removeAll( "false" );
|
|
//sbx_workerId.setDisabled( "true" );
|
|
} else {
|
|
//sbx_workerId.setDisabled( "false" );
|
|
sbx_workerId.setSelectedIndex( 0 );
|
|
|
|
//해당기간에 근무한 징수원 목록 (workerId)
|
|
var sbxOptions = [{ code : "worker_work_info", compID : "sbx_workerId", fareOfficeId : vFareOfficeId, inStDate : vInStDate, inEdDate : vInEdDate }];
|
|
com.setCfsWorkerWorkCode( sbxOptions );
|
|
}
|
|
};
|
|
]]></script>
|
|
</head>
|
|
<body ev:onpageload="scwin.onpageload" ev:onpageunload="scwin.onpageunload">
|
|
<xf:group class="contentWrap" id="" style="">
|
|
<form id="IC014M01" method="post" action ="/ClipReport4/reportView.jsp">
|
|
<input type ="hidden" name="crfName"></input>
|
|
<input type ="hidden" name="fareOfficeId"></input>
|
|
<input type ="hidden" name="workerId"></input>
|
|
<input type ="hidden" name="workStDate"></input>
|
|
<input type ="hidden" name="workEdDate"></input>
|
|
</form>
|
|
<w2:wframe id="" initScript="scwin.wfTitleFavInit();" src="/cm/common/wf_titleFav.xml" style=""></w2:wframe>
|
|
<xf:group class="tbl_search" id="grp_search" style="">
|
|
<xf:group adaptive="layout" adaptiveThreshold="700" class="w2tb tbl_sc" id="" style="" tagname="table">
|
|
<w2:attributes>
|
|
<w2:summary></w2:summary>
|
|
</w2:attributes>
|
|
<xf:group tagname="colgroup">
|
|
<xf:group style="width:70px;" tagname="col"></xf:group>
|
|
<xf:group style="width:130px;" tagname="col"></xf:group>
|
|
<xf:group style="width:70px;" tagname="col"></xf:group>
|
|
<xf:group style="width:130px;" tagname="col"></xf:group>
|
|
<xf:group style="width:70px;" tagname="col"></xf:group>
|
|
<xf:group style="width:230px;" tagname="col"></xf:group>
|
|
<xf:group style="width:*;" tagname="col"></xf:group>
|
|
</xf:group>
|
|
<xf:group adaptive="" adaptiveThreshold="" style="" tagname="tr">
|
|
<xf:group class="w2tb_th" style="" tagname="th">요금소</xf:group>
|
|
<xf:group class="w2tb_td" style="" tagname="td">
|
|
<xf:select1 allOption="" appearance="minimal" chooseOption="true" direction="auto" disabled="false"
|
|
disabledClass="w2selectbox_disabled" displayMode="label" id="sbx_fareOfficeId" ref="data:statMap.fareOfficeId"
|
|
style="width: 120px;" submenuSize="auto" chooseOptionLabel="-전체-" ev:onchange="scwin.sbx_fareOfficeId_onchange"
|
|
mandatory="">
|
|
<xf:choices></xf:choices>
|
|
</xf:select1></xf:group>
|
|
<xf:group class="w2tb_th" style="" tagname="th">징수원</xf:group>
|
|
<xf:group class="w2tb_td" style="" tagname="td">
|
|
<xf:select1 allOption="" appearance="minimal" chooseOption="" direction="auto" disabled="false"
|
|
disabledClass="w2selectbox_disabled" displayMode="label" id="sbx_workerId" ref="data:statMap.workerId"
|
|
style="width: 120px;" submenuSize="auto" chooseOptionLabel="" visibleRowNum="10" mandatory="true">
|
|
<xf:choices></xf:choices>
|
|
</xf:select1></xf:group>
|
|
<xf:group class="w2tb_th" style="" tagname="th">근무기간</xf:group>
|
|
<xf:group class="w2tb_td" style="" tagname="td"><w2:inputCalendar calendarValueType="yearMonthDate" class="" dateValidCheck="" focusOnDateSelect="false"
|
|
footerDiv="false" id="ica_inStDate" ref="data:statMap.workStDate" renderDiv="true" renderType="component" style="" weekStartsOn="0" mandatory="true" ev:onchange="scwin.ica_inStDate_onchange" validCheck="true">
|
|
</w2:inputCalendar><w2:span id="spa_span1" label="~" style=""></w2:span><w2:inputCalendar calendarValueType="yearMonthDate" class="" dateValidCheck="" focusOnDateSelect="false"
|
|
footerDiv="false" id="ica_inEdDate" ref="data:statMap.workEdDate" renderDiv="true" renderType="component" style="" weekStartsOn="0" mandatory="true" ev:onchange="scwin.ica_inEdDate_onchange" validCheck="true">
|
|
</w2:inputCalendar></xf:group>
|
|
<xf:group class="w2tb_td" style="" tagname="td">
|
|
<xf:group class="fr" id="">
|
|
<xf:trigger class="btn_sh" ev:onclick="scwin.btn_search_onclick" id="btn_search" style="" type="button">
|
|
<xf:label><![CDATA[조회]]></xf:label>
|
|
</xf:trigger>
|
|
</xf:group>
|
|
</xf:group>
|
|
</xf:group>
|
|
</xf:group>
|
|
</xf:group>
|
|
<xf:group class="defaultbox" id="" style="">
|
|
<w2:textbox class="df_tt" id="" label="징수원 시간대별 차로별 근무현황" style="" tagname="h2"></w2:textbox>
|
|
<xf:group class="fr" id="" style="">
|
|
<xf:trigger class="btn_act print" id="btn_print" style="" type="button" ev:onclick="scwin.btn_print_onclick">
|
|
<xf:label><![CDATA[인쇄]]></xf:label>
|
|
</xf:trigger>
|
|
<xf:trigger class="btn_act exceldown" ev:onclick="scwin.btn_excel_down_onclick" id="btn_excel_down" style=""
|
|
type="button">
|
|
<xf:label><![CDATA[엑셀다운로드]]></xf:label>
|
|
</xf:trigger>
|
|
</xf:group>
|
|
</xf:group>
|
|
<w2:gridView autoFit="allColumn" autoFitMinWidth="600" class="cm_grid" dataList="data:statList" fixedColumnWithHidden="true"
|
|
focusMode="row" id="grd_statList" ignoreCellClick="false" ignoreToggleOnDisabled="false" scrollByColumn="false"
|
|
scrollByColumnAdaptive="false" style="height: 76px;" summaryAuto="false" useShiftKey="true" visibleRowNum="all" readOnly="true">
|
|
<w2:caption style="" id="caption3" value="this is a grid caption."></w2:caption>
|
|
<w2:header style="" id="header4">
|
|
<w2:row style="" id="row11">
|
|
<w2:column removeBorderStyle="false" width="100" inputType="text" style="height:20px;" id="column71" value="구분"
|
|
blockSelect="false" displayMode="label" colSpan="" rowSpan="2">
|
|
</w2:column>
|
|
<w2:column removeBorderStyle="false" width="700" inputType="text" style="height:20px;" id="column70" value="차로"
|
|
blockSelect="false" displayMode="label" colSpan="10" rowSpan="">
|
|
</w2:column>
|
|
<w2:column removeBorderStyle="false" width="100" inputType="text" style="height:40px;" id="column60" value="계"
|
|
blockSelect="false" displayMode="label" colSpan="" rowSpan="2">
|
|
</w2:column>
|
|
</w2:row>
|
|
<w2:row style="" id="row8">
|
|
<w2:column width="70" id="column15" value="1차" style=""></w2:column>
|
|
<w2:column width="70" id="column16" value="2차" style=""></w2:column>
|
|
<w2:column width="70" id="column17" value="3차" style=""></w2:column>
|
|
<w2:column width="70" id="column18" value="4차" style=""></w2:column>
|
|
<w2:column width="70" id="column19" value="5차" style=""></w2:column>
|
|
<w2:column width="70" id="column20" value="6차" style=""></w2:column>
|
|
<w2:column width="70" id="column21" value="7차" style=""></w2:column>
|
|
<w2:column width="70" id="column22" value="8차" style=""></w2:column>
|
|
<w2:column width="70" id="column23" value="9차" style=""></w2:column>
|
|
<w2:column width="70" id="column12" value="10차" style=""></w2:column>
|
|
</w2:row>
|
|
</w2:header>
|
|
<w2:gBody style="" id="gBody4">
|
|
<w2:row style="" id="row9">
|
|
<w2:column dataType="date" width="100" id="kbn" customFormatter="com.fmtWorkTimeKbnNm"></w2:column>
|
|
<w2:column width="70" id="booth01" dataType="number" displayFormat="#,##0" textAlign="right"></w2:column>
|
|
<w2:column width="70" id="booth02" dataType="number" displayFormat="#,##0" textAlign="right"></w2:column>
|
|
<w2:column width="70" id="booth03" dataType="number" displayFormat="#,##0" textAlign="right"></w2:column>
|
|
<w2:column width="70" id="booth04" dataType="number" displayFormat="#,##0" textAlign="right"></w2:column>
|
|
<w2:column width="70" id="booth05" dataType="number" displayFormat="#,##0" textAlign="right"></w2:column>
|
|
<w2:column width="70" id="booth06" dataType="number" displayFormat="#,##0" textAlign="right"></w2:column>
|
|
<w2:column width="70" id="booth07" dataType="number" displayFormat="#,##0" textAlign="right"></w2:column>
|
|
<w2:column width="70" id="booth08" dataType="number" displayFormat="#,##0" textAlign="right"></w2:column>
|
|
<w2:column width="70" id="booth09" dataType="number" displayFormat="#,##0" textAlign="right"></w2:column>
|
|
<w2:column textAlign="right" dataType="number" width="70" displayFormat="#,##0" id="booth10"></w2:column>
|
|
<w2:column textAlign="right" dataType="number" width="100" displayFormat="#,##0" id="boothTotal"
|
|
inputType="expression"
|
|
expression="SUM('booth01','booth02','booth03','booth04','booth05','booth06','booth07','booth08','booth09','booth10')"
|
|
excelExpression="">
|
|
</w2:column>
|
|
</w2:row>
|
|
</w2:gBody>
|
|
<w2:footer style="" id="footer2">
|
|
<w2:row style="" id="row10">
|
|
<w2:column width="100" id="column25" value="계" style=""></w2:column>
|
|
<w2:column width="70" id="column51" expression="SUM('booth01')" dataType="number" displayFormat="#,##0"
|
|
textAlign="right" inputType="expression" style="">
|
|
</w2:column>
|
|
<w2:column width="70" id="column52" expression="SUM('booth02')" dataType="number" displayFormat="#,##0"
|
|
textAlign="right" inputType="expression" style="">
|
|
</w2:column>
|
|
<w2:column width="70" id="column53" expression="SUM('booth03')" dataType="number" displayFormat="#,##0"
|
|
textAlign="right" inputType="expression" style="">
|
|
</w2:column>
|
|
<w2:column width="70" id="column54" expression="SUM('booth04')" dataType="number" displayFormat="#,##0"
|
|
textAlign="right" inputType="expression" style="">
|
|
</w2:column>
|
|
<w2:column width="70" id="column55" expression="SUM('booth05')" dataType="number" displayFormat="#,##0"
|
|
textAlign="right" inputType="expression" style="">
|
|
</w2:column>
|
|
<w2:column width="70" id="column56" expression="SUM('booth06')" dataType="number" displayFormat="#,##0"
|
|
textAlign="right" inputType="expression" style="">
|
|
</w2:column>
|
|
<w2:column width="70" id="column57" expression="SUM('booth07')" dataType="number" displayFormat="#,##0"
|
|
textAlign="right" inputType="expression" style="">
|
|
</w2:column>
|
|
<w2:column width="70" id="column58" expression="SUM('booth08')" dataType="number" displayFormat="#,##0"
|
|
textAlign="right" inputType="expression" style="">
|
|
</w2:column>
|
|
<w2:column width="70" id="column59" expression="SUM('booth09')" dataType="number" displayFormat="#,##0"
|
|
textAlign="right" inputType="expression" style="">
|
|
</w2:column>
|
|
<w2:column expression="SUM('booth10')" textAlign="right" dataType="number" width="70" displayFormat="#,##0"
|
|
inputType="expression" id="column36" style="">
|
|
</w2:column>
|
|
<w2:column
|
|
expression="SUM('booth01')+SUM('booth02')+SUM('booth03')+SUM('booth04')+SUM('booth05')+SUM('booth06')+SUM('booth07')+SUM('booth08')+SUM('booth09')+SUM('booth10')"
|
|
textAlign="right" dataType="number" width="100" displayFormat="#,##0" inputType="expression" id="column26" style="">
|
|
</w2:column>
|
|
</w2:row>
|
|
</w2:footer>
|
|
</w2:gridView>
|
|
</xf:group>
|
|
</body>
|
|
</html>
|