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.
228 lines
11 KiB
XML
228 lines
11 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="paramMap" style="">
|
|
<w2:keyInfo>
|
|
<w2:key dataType="text" id="kbn" name="구분"></w2:key>
|
|
<w2:key dataType="date" id="passDate" name="통행일자"></w2:key>
|
|
</w2:keyInfo>
|
|
</w2:dataMap>
|
|
<w2:dataList baseNode="list" repeatNode="map" id="statList" saveRemovedData="true">
|
|
<w2:columnInfo>
|
|
<w2:column id="passDate" name="통행일자" dataType="date"></w2:column>
|
|
|
|
<w2:column id="weekNm" name="요일" dataType="text"></w2:column>
|
|
<w2:column id="cardCount" name="건수" dataType="number"></w2:column>
|
|
<w2:column id="cardAmount" name="금액" dataType="number"></w2:column>
|
|
</w2:columnInfo>
|
|
</w2:dataList>
|
|
</w2:dataCollection>
|
|
<w2:workflowCollection></w2:workflowCollection>
|
|
<xf:submission id="sbm_statList" ref='data:json,{"id":"paramMap","key":"param"}' target="data:json,statList" action="/cfs/income/findIncomeCardUseStatList.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() {
|
|
//통행일자
|
|
ica_passDate.setValue( com.getToday('yyyyMM') );
|
|
};
|
|
|
|
scwin.onpageunload = function() {
|
|
|
|
};
|
|
|
|
scwin.btn_search_onclick = function(e) {
|
|
//alert("조회");
|
|
|
|
if (com.validateGroup(grp_search) === false) {
|
|
return;
|
|
} else {
|
|
com.executeSubmission(sbm_statList);
|
|
}
|
|
};
|
|
|
|
scwin.btn_print_onclick = function(e) {
|
|
|
|
var form_tag = document.getElementById("IC017M01");
|
|
|
|
form_tag.kbn.value = paramMap.get("kbn");
|
|
form_tag.passDate.value = paramMap.get("passDate");
|
|
|
|
form_tag.crfName.value = "IC017M01";
|
|
|
|
var url = "/ClipReport4/reportView.jsp";
|
|
|
|
form_tag.action=url;
|
|
form_tag.method ="post";
|
|
form_tag.target="clipform";
|
|
form_tag.submit();
|
|
|
|
};
|
|
|
|
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.printSet = {
|
|
fitToPage : "true" //엑셀 프린터 출력시 쪽맞춤 사용 유무 (false:미사용)
|
|
, landScape : "true" //엑셀 프린터 출력시 가로 방향 출력 유무 (false:세로)
|
|
, pageSize : "A4" //엑셀 프린터 출력시 인쇄용지 설정 (A4:A4용지)
|
|
};
|
|
options.autoSizeColumn = "false"; //너비자동맞춤 설정 유무 (false:미적용)
|
|
options.useStyle = "true"; //화면의 그리드 스타일을 엑셀파일로 내려받음
|
|
options.useFooterData = "true"; //footer 값을 서식없이 그대로 올린다.
|
|
//options.rowNumVisible = "true";
|
|
options.type = "1";
|
|
|
|
com.gridDataDownLoad(grd_statList, options, info);
|
|
};
|
|
|
|
scwin.fmtPassDateDay = function(data, formattedData, rowIndex, colIndex) {
|
|
var passDate = statList.getCellData( rowIndex , "passDate" );
|
|
return com.getDateDay(passDate)+"요일";
|
|
};
|
|
]]></script>
|
|
</head>
|
|
<body ev:onpageload="scwin.onpageload" ev:onpageunload="scwin.onpageunload">
|
|
<xf:group class="contentWrap" id="" style="">
|
|
|
|
<form id="IC017M01" method="post" action ="/ClipReport4/reportView.jsp">
|
|
<input type ="hidden" name="crfName"></input>
|
|
<input type ="hidden" name="kbn"></input>
|
|
<input type ="hidden" name="passDate"></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:180px;" 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 appearance="full" cols="" ev:onchange="scwin.rad_kbn_onchange" id="rad_kbn" ref="data:paramMap.kbn"
|
|
renderType="table" rows="1" selectedIndex="0" style="">
|
|
<xf:choices>
|
|
<xf:item>
|
|
<xf:label><![CDATA[전체]]></xf:label>
|
|
<xf:value><![CDATA[]]></xf:value>
|
|
</xf:item>
|
|
<xf:item>
|
|
<xf:label><![CDATA[선불]]></xf:label>
|
|
<xf:value><![CDATA[1]]></xf:value>
|
|
</xf:item>
|
|
<xf:item>
|
|
<xf:label><![CDATA[후불]]></xf:label>
|
|
<xf:value><![CDATA[2]]></xf:value>
|
|
</xf:item>
|
|
</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="yearMonth" class="" dateValidCheck="" focusOnDateSelect="false"
|
|
footerDiv="false" id="ica_passDate" ref="data:paramMap.passDate" renderDiv="true" renderType="component" style="" weekStartsOn="0" mandatory="true" 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 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: 80px;" summaryAuto="false" useShiftKey="true" visibleRowNum="all" readOnly="true">
|
|
<w2:caption style="" id="caption2" value="this is a grid caption."></w2:caption>
|
|
<w2:header style="" id="header2">
|
|
<w2:row style="" id="row3">
|
|
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="column18" value="통행일자"
|
|
blockSelect="false" displayMode="label">
|
|
</w2:column>
|
|
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="column15" value="요일"
|
|
blockSelect="false" displayMode="label">
|
|
</w2:column>
|
|
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="column12" value="건수"
|
|
blockSelect="false" displayMode="label">
|
|
</w2:column>
|
|
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="column9" value="금액"
|
|
blockSelect="false" displayMode="label">
|
|
</w2:column>
|
|
</w2:row>
|
|
</w2:header>
|
|
<w2:gBody style="" id="gBody2">
|
|
<w2:row style="" id="row4">
|
|
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="passDate" value="" blockSelect="false"
|
|
displayMode="label" dataType="date" customFormatter="">
|
|
</w2:column>
|
|
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="weekNm" value="" blockSelect="false"
|
|
displayMode="label" dataType="text" customFormatter="scwin.fmtPassDateDay" displayFormat="">
|
|
</w2:column>
|
|
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="cardCount" value=""
|
|
blockSelect="false" displayMode="label" dataType="number" displayFormat="#,##0" textAlign="right">
|
|
</w2:column>
|
|
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="cardAmount" value=""
|
|
blockSelect="false" displayMode="label" dataType="number" displayFormat="#,##0" textAlign="right">
|
|
</w2:column>
|
|
</w2:row>
|
|
</w2:gBody>
|
|
<w2:footer style="" id="footer1">
|
|
<w2:row style="" id="row5">
|
|
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="column20" value="합계" blockSelect="false"
|
|
displayMode="label">
|
|
</w2:column>
|
|
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="column17" value="" blockSelect="false"
|
|
displayMode="label">
|
|
</w2:column>
|
|
<w2:column removeBorderStyle="false" width="70" inputType="expression" style="" id="column14" value=""
|
|
blockSelect="false" displayMode="label" dataType="number" textAlign="right" displayFormat="#,##0" expression="SUM('cardCount')">
|
|
</w2:column>
|
|
<w2:column removeBorderStyle="false" width="70" inputType="expression" style="" id="column11" value=""
|
|
blockSelect="false" displayMode="label" dataType="number" textAlign="right" displayFormat="#,##0" expression="SUM('cardAmount')">
|
|
</w2:column>
|
|
</w2:row>
|
|
</w2:footer>
|
|
</w2:gridView>
|
|
</xf:group>
|
|
</body>
|
|
</html>
|