162 lines
7.9 KiB
HTML
162 lines
7.9 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/fipTarget/partWork.js}"></script>
|
|
</th:block>
|
|
<div layout:fragment="content">
|
|
<main>
|
|
<input type="hidden" name="_csrf_header" th:value="${_csrf.headerName}"/>
|
|
<input type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}"/>
|
|
<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>
|
|
<div class="row mx-0">
|
|
<div class="col-12 card bg-light text-center">
|
|
<div class="card-body">
|
|
<div class="row justify-content-start">
|
|
<div class="col-12">
|
|
<div class="card">
|
|
<div class="card-body">
|
|
<form id="searchFm" method="get" th:action="@{/target/partWorkList}">
|
|
<input type="hidden" name="excel">
|
|
<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==num*10}"></option>
|
|
</th:block>
|
|
</select>
|
|
</div>
|
|
<input type="submit" class="btn btn-sm btn-primary col-auto d-none" id="searchBtn" value="검색">
|
|
</div>
|
|
</form>
|
|
<div class="row">
|
|
<div class="col-12">
|
|
<input type="hidden" id="selectedKey">
|
|
<input type="hidden" id="selectedVerNo">
|
|
<table class="table table-sm table-hover table-bordered">
|
|
<colgroup>
|
|
<col>
|
|
<col>
|
|
<col>
|
|
<col style="width: 7%">
|
|
<col style="width: 7%">
|
|
<col style="width: 7%">
|
|
<col style="width: 7%">
|
|
<col style="width: 7%">
|
|
<col style="width: 7%">
|
|
<col>
|
|
<col>
|
|
<col>
|
|
</colgroup>
|
|
<thead>
|
|
<tr class="table-secondary">
|
|
<th rowspan="2">외사<br>터미널명</th>
|
|
<th rowspan="2">작성자</th>
|
|
<th rowspan="2">일시</th>
|
|
<th colspan="6">종류</th>
|
|
<th rowspan="2">비고</th>
|
|
<th rowspan="2">첨부파일</th>
|
|
<th rowspan="2">최근수정일</th>
|
|
</tr>
|
|
<tr class="table-secondary">
|
|
<th>사건처리</th>
|
|
<th>범죄첩보제공</th>
|
|
<th>SRI</th>
|
|
<th>합동점검</th>
|
|
<th>회의</th>
|
|
<th>기타</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="table-group-divider">
|
|
<tr class="partWorkTr" th:each="pw:${partWorkList}">
|
|
<input type="hidden" class="pwSeq" th:value="${pw.pwSeq}">
|
|
<input type="hidden" class="piSeq" th:value="${pw.piSeq}">
|
|
<th:block th:if="${pw.saveYn eq 'N'} and ${pw.wrtUserSeq eq uesrSeq}">
|
|
<td th:text="${#strings.concat('[임시]', pw.terminalNm)}"></td>
|
|
</th:block>
|
|
<th:block th:unless="${pw.saveYn eq 'N'} and ${pw.wrtUserSeq eq uesrSeq}">
|
|
<td th:text="${pw.terminalNm}"></td>
|
|
</th:block>
|
|
<td th:text="|${pw.wrtTitle} ${pw.wrtNm}|"></td>
|
|
<td th:text="${pw.workDt}"></td>
|
|
<th:block th:each="code:${pwtList}">
|
|
<td>
|
|
<th:block th:text="${pw.workType eq code.itemCd?'O':''}"></th:block>
|
|
</td>
|
|
</th:block>
|
|
<td th:text="${pw.description}"></td>
|
|
<td th:text="${pw.fileCnt > 0?pw.fileCnt+'건':''}"></td>
|
|
<td th:text="${#temporals.format(pw.wrtDt, 'yyyy-MM-dd HH:mm')}"></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="row justify-content-between">
|
|
<div class="col-auto">
|
|
<button class="btn btn-success" id="goExcel">엑셀다운</button>
|
|
</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==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-primary" value="등록" id="addPartWork" th:unless="${accessAuth eq 'ACC001'}">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
|
|
|
|
<div class="modal fade" id="partWorkEditModal" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="userEditModalLabel" aria-hidden="true">
|
|
<div class="modal-dialog modal-lg modal-dialog-scrollable">
|
|
<div class="modal-content" id="partWorkEditModalEditModalContent">
|
|
<div class="modal-header bg-dark">
|
|
</div>
|
|
<div class="modal-body">
|
|
<div class="tab-content bg-white border border-top-0" id="configInfo">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</html> |