<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%>
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<c:set var="pageKorName" scope="request">단속 통계</c:set>
<span data-doctx="${pageName}">
	<jsp:include page="/WEB-INF/jsp/fims/stat/stat-main.jsp" />

	<input type="hidden" name="defaultStatDomain" value="crdn" />

	<datalist name="dayColumnDatalist">
		<option value="CRDN_YMD">단속일자</option>
	</datalist>

	<template name="searchForMenuTemplate">
		<div class="col-6">
			<label is="name-label" for="crdnSeCd" class="form-label fw-bold form-search-title text-end">단속구분</label>
			<select is="id-select" name="crdnSeCd" class="form-select">
				<option value="">전체</option>
				<c:forEach items="${FIM002List}" var="item">
					<option value="${item.code}">${item.value}</option>
				</c:forEach>
			</select>
		</div>
		<div class="col-6">
			<label is="name-label" for="carGb" class="form-label fw-bold form-search-title text-end">차량구분</label>
			<select is="id-select" name="carGb" class="form-select">
				<option value="">전체</option>
				<option value="일반">일반</option>
				<option value="중기">중기</option>
				<option value="임시">임시</option>
				<option value="외교">외교</option>
				<option value="준외">준외</option>
				<option value="영사">영사</option>
				<option value="준영">준영</option>
				<option value="국제">국제</option>
				<option value="미군">미군</option>
				<option value="기타">기타</option>
			</select>
		</div>
		<div class="col-12">
			<label>
	       		<input type="checkbox" name="schExclEnd" class="form-check-input" />
	       		서손자료 제외
			</label>
		</div>
	</template>

	<datalist name="groupLevelDatalist">
		<option value="sggCd"
			data-ref-col="SGG_CD"          data-ctgr-type="otherCode" data-dtl-ctgr="SGG_CD"
		>시군구</option>
		<option value="taskSeCd"
			data-ref-col="TASK_SE_CD"      data-ctgr-type="code"      data-dtl-ctgr="FIM054"
		>과태료</option>
		<option value="crdnTeam"
			data-ref-col="TEAM_ID"         data-ctgr-type="otherCode" data-dtl-ctgr="TEAM_ID"
		>단속조</option>
		<option value="crdnPlc"
			data-ref-col="CRDN_PLC"        data-ctgr-type=""          data-dtl-ctgr=""
		>단속장소</option>
		<option value="crdnYear"
			data-ref-col="CRDN_YMD"        data-ctgr-type="date"      data-dtl-ctgr="YYYY"
		>단속연도</option>
		<option value="crdnYearMonth"
			data-ref-col="CRDN_YMD"        data-ctgr-type="date"      data-dtl-ctgr="YYYYMM"
		>단속연월</option>
		<option value="crdnYmd"
			data-ref-col="CRDN_YMD"        data-ctgr-type="date"      data-dtl-ctgr="YYYYMMDD"
		>단속일자</option>
		<option value="crdnDayOfWeek"
			data-ref-col="CRDN_YMD"        data-ctgr-type="date"      data-dtl-ctgr="DAY_OF_WEEK"
		>단속요일</option>
		<option value="crdnHour"
			data-ref-col="CRDN_TM"         data-ctgr-type="date"      data-dtl-ctgr="HH"
		>단속시간대</option>
		<option value="crdnLine"
			data-ref-col=""                data-ctgr-type=""          data-dtl-ctgr=""
		>단속노선</option>
		<option value="vhrno"
			data-ref-col="VHRNO"           data-ctgr-type=""          data-dtl-ctgr=""
		>차량번호</option>
		<option value="crdnStdgNm"
			data-ref-col="CRDN_STDG_NM"    data-ctgr-type=""          data-dtl-ctgr=""
		>단속동</option>
		<option value="crdnRoadNm"
			data-ref-col="CRDN_ROAD_NM"    data-ctgr-type=""          data-dtl-ctgr=""
		>도로명</option>
		<option value="userId"
			data-ref-col="RGTR"            data-ctgr-type="otherCode" data-dtl-ctgr="USER_ID"
		>자료입력사용자</option>
		<option value="crdnSttsCd"
			data-ref-col="CRDN_STTS_CD"    data-ctgr-type="code"      data-dtl-ctgr="FIM010"
		>처리상태</option>
		<option value="crdnSpareaCd"
			data-ref-col="CRDN_SPAREA_CD"  data-ctgr-type="code"      data-dtl-ctgr="FIM007"
		>특별구역</option>
		<option value="vltnId"
			data-ref-col="VLTN_ID"         data-ctgr-type="otherCode" data-dtl-ctgr="VLTN_ID"
		>위반내용</option>
		<option value="ffnlgCarmdlCd"
			data-ref-col="FFNLG_CARMDL_CD" data-ctgr-type="code"      data-dtl-ctgr="FIM009"
		>차종</option>
		<option value="businessCar"
			data-ref-col=""                data-ctgr-type="method"    data-dtl-ctgr="businessYnOfCar"
		>사업용차량구분</option>
		<option value="carGb"
			data-ref-col=""                data-ctgr-type="method"    data-dtl-ctgr="carGb"
		>차량구분</option>
	</datalist>

	<datalist name="presetDatalist">
		<option value="crdnPreset1" data-stat-domain="crdn"
		>전체단속건수,부과필요건수,부과유예건수,의견수용건수,경찰서이첩건수,서손건수,면제차량건수,부과건수,서손율,의견진술접수건수,의견진술수용율
		</option>
	</datalist>

	<jsp:include page="/WEB-INF/jsp/fims/stat/stat01021-info.jsp" />

</span>
<script src="<c:url value="/resources/js/fims/stat/crdnGroupSubset.js?${ver}"/>"></script>
<script src="<c:url value="/resources/js/fims/stat/crdnPreset.js?${ver}"/>"></script>