247 lines
13 KiB
HTML
247 lines
13 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="ko" xmlns:th="http://www.thymeleaf.org"
|
|
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
|
|
layout:decorate="~{layout/layout}">
|
|
<th:block layout:fragment="script">
|
|
<script type="text/javascript" th:src="@{/js/counterIntelligence/activityCase.js}"></script>
|
|
<script type="text/javascript" th:src="@{/js/modal/userModal.js}"></script>
|
|
</th:block>
|
|
<div layout:fragment="content">
|
|
<main>
|
|
<div class="row justify-content-between">
|
|
<div class="col-auto mb-2">
|
|
<div class="d-inline align-middle"><i class="bi bi-square-fill"></i></div>
|
|
<h5 class="d-inline align-middle"> 담당 사건 목록</h5>
|
|
</div>
|
|
<div class="col-auto">
|
|
<p class="mb-0 mt-2">외사방첩관리 > 외사활동 > 담당 사건 목록</p>
|
|
</div>
|
|
</div>
|
|
<input type="hidden" name="_csrf_header" th:value="${_csrf.headerName}"/>
|
|
<input type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}"/>
|
|
<div class="row mx-0">
|
|
<div class="col-12 card bg-light text-center">
|
|
<div class="card-body">
|
|
<form method="get" th:action="${searchUrl}">
|
|
<input type="hidden" name="pageIndex" id="pageIndex" th:value="${searchParams.pageIndex}">
|
|
<div class="row justify-content-between py-1">
|
|
<div class="col-auto">
|
|
<select class="form-select form-select-sm" name="rowCnt" id="rowCnt">
|
|
<th:block th:each="num : ${#numbers.sequence(1,5)}">
|
|
<option th:value="${num*10}" th:text="${num*10}" th:selected="${searchParams.rowCnt eq num*10}"></option>
|
|
</th:block>
|
|
</select>
|
|
</div>
|
|
<div class="col-8">
|
|
<div class="row">
|
|
<div class="col-11">
|
|
<div class="row justify-content-end pb-1">
|
|
<!--<div class="col-2" th:if="${accessAuth eq 'ACC003'}">
|
|
<select class="form-select form-select-sm" name="wrtOrgan">
|
|
<option value="">관서 선택</option>
|
|
<th:block th:each="code:${session.commonCode.get('OG')}">
|
|
<th:block th:if="${#lists.contains(downOrganCdList, code.itemCd)}">
|
|
<option th:value="${code.itemCd}" th:text="${code.itemValue}" th:selected="${code.itemCd eq searchParams.wrtOrgan}"></option>
|
|
</th:block>
|
|
</th:block>
|
|
</select>
|
|
</div>
|
|
<div class="col-2">
|
|
<select class="form-select form-select-sm" name="workRating">
|
|
<option value="">등급</option>
|
|
<th:block th:each="code:${session.commonCode.get('CIWR')}">
|
|
<option th:value="${code.itemCd}" th:text="${code.itemValue}" th:selected="${code.itemCd eq searchParams.workRating}"></option>
|
|
</th:block>
|
|
</select>
|
|
</div>
|
|
<div class="col-2">
|
|
<select class="form-select form-select-sm" name="arrestType1">
|
|
<option value="">검거유형1</option>
|
|
<th:block th:each="code:${session.commonCode.get('AT')}">
|
|
<option th:value="${code.itemCd}" th:text="${code.itemValue}" th:selected="${code.itemCd eq searchParams.arrestType1}"></option>
|
|
</th:block>
|
|
</select>
|
|
</div>
|
|
<div class="col-2">
|
|
<select class="form-select form-select-sm" name="arrestType2">
|
|
<option value="">검거유형2</option>
|
|
<th:block th:each="code:${session.commonCode.get(arrestType1)}">
|
|
<option th:value="${code.itemCd}" th:text="${code.itemValue}" th:selected="${code.itemCd eq searchParams.arrestType2}"></option>
|
|
</th:block>
|
|
</select>
|
|
</div>-->
|
|
<div class="col-2">
|
|
<input type="text" class="form-control form-control-sm" placeholder="제목" name="title">
|
|
</div>
|
|
</div>
|
|
<div class="row justify-content-end">
|
|
<div class="col-2">
|
|
<input type="text" class="form-control form-control-sm" placeholder="작성자" name="wrtUserNm" th:value="${searchParams.wrtUserNm}">
|
|
</div>
|
|
<div class="col-4">
|
|
<div class="input-group input-daterange" id="dateSelectorDiv">
|
|
<select class="form-select form-select-sm w-30" name="dateSelector">
|
|
<option value="wrtDt" th:selected="${searchParams.dateSelector eq 'wrtDt'}">작성일</option>
|
|
<option value="workStartDate" th:selected="${searchParams.dateSelector eq 'receiptDt'}">접수일</option>
|
|
<option value="workEndDate" th:selected="${searchParams.dateSelector eq 'resultDt'}">종결일</option>
|
|
</select>
|
|
<input type="text" class="form-control form-control-sm w-35" id="startDate" name="startDate" placeholder="시작일" autocomplete="off" readonly th:value="${searchParams.startDate}">
|
|
<input type="text" class="form-control form-control-sm w-35" id="endDate" name="endDate" placeholder="종료일" autocomplete="off" readonly th:value="${searchParams.endDate}">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-1 d-grid gap-2">
|
|
<input type="submit" class="btn btn-sm btn-primary" id="searchBtn" value="검색">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
<div class="card">
|
|
<div class="card-body">
|
|
<div class="row">
|
|
<div class="col-12 overflow-auto">
|
|
<table class="table table-sm table-bordered table-hover">
|
|
<thead>
|
|
<tr class="table-secondary">
|
|
<th>순번</th>
|
|
<th>진행상태</th>
|
|
<th>접수번호</th>
|
|
<th>접수일</th>
|
|
<th>접수단서</th>
|
|
<th>혐의자</th>
|
|
<th>담당관</th>
|
|
<th>비고</th>
|
|
<th>첨부파일</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="table-group-divider">
|
|
<!--<tr class="activityCaseTr" th:each="ciWork:${activityCaseList}">
|
|
<input type="hidden" class="ciwKey" th:value="${ciWork.ciwKey}">
|
|
<td>
|
|
<th:block th:each="code:${session.commonCode.get('CIWR')}">
|
|
<th:block th:if="${code.itemCd eq ciWork.workRating}" th:text="${code.itemValue}"></th:block>
|
|
</th:block>
|
|
</td>
|
|
<td>
|
|
<th:block th:each="code:${session.commonCode.get('AT')}">
|
|
<th:block th:if="${code.itemCd eq ciWork.arrestType1}" th:text="${code.itemValue}"></th:block>
|
|
</th:block>
|
|
</td>
|
|
<td>
|
|
<th:block th:each="code:${session.commonCode.get(ciWork.arrestType1)}">
|
|
<th:block th:if="${code.itemCd eq ciWork.arrestType2}" th:text="${code.itemValue}"></th:block>
|
|
</th:block>
|
|
</td>
|
|
<td>
|
|
<th:block th:if="${ciWork.status eq 'DST002'}">[임시]</th:block>
|
|
<th:block th:text="${ciWork.title}"></th:block>
|
|
</td>
|
|
<td>
|
|
<div th:text="${ciWork.workStartDate}"></div>
|
|
<div th:text="${#strings.concat('~ ', ciWork.workEndDate)}"></div>
|
|
</td>
|
|
<th:block th:each="commonCode:${session.commonCode.get('OG')}">
|
|
<td th:if="${ciWork.wrtOrgan eq commonCode.itemCd}" th:text="${commonCode.itemValue}"></td>
|
|
</th:block>
|
|
<th:block th:each="commonCode:${session.commonCode.get('OFC')}">
|
|
<td th:if="${ciWork.wrtPart eq commonCode.itemCd}" th:text="${commonCode.itemValue}"></td>
|
|
</th:block>
|
|
<td>
|
|
<th:block th:each="code:${session.commonCode.get('JT')}">
|
|
<th:block th:if="${code.itemCd eq ciWork.wrtUserGrd}" th:text="|${code.itemValue} ${ciWork.wrtUserNm}|"></th:block>
|
|
</th:block>
|
|
</td>
|
|
<td th:text="${#temporals.format(ciWork.wrtDt, 'yyyy-MM-dd HH:mm')}"></td>
|
|
<td th:text="${ciWork.fileCnt eq null?'파일 없음':#strings.concat(ciWork.fileCnt,' 건')}"></td>
|
|
<td>
|
|
<div th:text="|1차: ${ciWork.reRatingDate1}|"></div>
|
|
<div th:text="|2차: ${ciWork.reRatingDate2}|"></div>
|
|
</td>
|
|
</tr>-->
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="row justify-content-between">
|
|
<div class="col-auto"></div>
|
|
<div class="col-auto">
|
|
<nav aria-label="Page navigation">
|
|
<ul class="pagination mb-0">
|
|
<th:block th:if="${searchParams.pageIndex>3}">
|
|
<li class="page-item" th:data-pageindex="${(searchParams.pageIndex)-3}">
|
|
<a class="page-link" href="#" aria-label="Previous">
|
|
<span aria-hidden="true">«</span>
|
|
</a>
|
|
</li>
|
|
</th:block>
|
|
<th:block th:each="num : ${#numbers.sequence(searchParams.startNum, searchParams.endNum)}">
|
|
<li class="page-item" th:data-pageindex="${num}" th:classappend="${searchParams.pageIndex eq num?'active':''}">
|
|
<a class="page-link" href="#" th:text="${num}"></a>
|
|
</li>
|
|
</th:block>
|
|
<th:block th:if="${searchParams.maxNum>searchParams.endNum+2}">
|
|
<li class="page-item" th:data-pageindex="${(searchParams.pageIndex)+3}">
|
|
<a class="page-link" href="#" aria-label="Next">
|
|
<span aria-hidden="true">»</span>
|
|
</a>
|
|
</li>
|
|
</th:block>
|
|
</ul>
|
|
</nav>
|
|
</div>
|
|
<div class="col-auto">
|
|
<input type="button" class="btn btn-success" value="등록" id="addActivityCaseBtn" th:unless="${accessAuth eq 'ACC001'}">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
|
|
<div class="modal fade" id="activityCaseEditModal" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="activityCaseModalLabel" aria-hidden="true">
|
|
<div class="modal-dialog modal-xl modal-dialog-scrollable">
|
|
<div class="modal-content" id="activityCaseEditModalContent">
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="modal fade" id="activityCaseViewModal" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="activityCaseModalLabel" aria-hidden="true">
|
|
<div class="modal-dialog modal-xl modal-dialog-scrollable">
|
|
<div class="modal-content" id="activityCaseViewModalBody">
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="modal fade" id="userModal" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="userModalLabel" aria-hidden="true">
|
|
<div class="modal-dialog modal-xl modal-dialog-scrollable">
|
|
<div class="modal-content">
|
|
<div class="modal-header bg-dark">
|
|
<h5 class="modal-title text-white" id="menuModalLabel">담당관 검색</h5>
|
|
<input type="hidden" id="modalUrl" value="/modal/userModal">
|
|
<button type="button" class="btn-close f-invert" data-bs-dismiss="modal" aria-label="Close"></button>
|
|
</div>
|
|
<div class="modal-body text-nowrap" id="subModalBody">
|
|
<div class="row">
|
|
<div class="col-12">
|
|
<form method="get" action="#" id="modalSearchForm">
|
|
<input type="hidden" name="pageIndex" id="modalPageIndex" value="1">
|
|
<input type="hidden" name="rowCnt" value="10">
|
|
<input type="hidden" name="pageName" value="activityCase">
|
|
<input type="hidden" name="ogCd" th:value="${ogCd}">
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="modal-footer bg-light">
|
|
<button type="button" class="btn btn-primary" id="getUserBtn">추가</button>
|
|
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">닫기</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</html> |