외사업무포털 수정 검거유형 수정

master
Hyung Geun 2023-01-30 16:51:49 +09:00
parent b2adc7ba5e
commit 315db4b5cf
7 changed files with 18 additions and 18 deletions

View File

@ -43,13 +43,13 @@
<th:block th:if="${code.itemCd eq ciWork.workRating}" th:text="${code.itemValue}"></th:block> <th:block th:if="${code.itemCd eq ciWork.workRating}" th:text="${code.itemValue}"></th:block>
</th:block> </th:block>
</label> </label>
<label class="col-sm-1 col-form-label col-form-label-sm text-center fw-bold">검거유형1</label> <label class="col-sm-1 col-form-label col-form-label-sm text-center fw-bold">범죄테마</label>
<label class="col-sm-2 col-form-label col-form-label-sm text-start"> <label class="col-sm-2 col-form-label col-form-label-sm text-start">
<th:block th:each="code:${session.commonCode.get('AT')}"> <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 th:if="${code.itemCd eq ciWork.arrestType1}" th:text="${code.itemValue}"></th:block>
</th:block> </th:block>
</label> </label>
<label class="col-sm-1 col-form-label col-form-label-sm text-center fw-bold">검거유형2</label> <label class="col-sm-1 col-form-label col-form-label-sm text-center fw-bold">위반유형</label>
<label class="col-sm-2 col-form-label col-form-label-sm text-start"> <label class="col-sm-2 col-form-label col-form-label-sm text-start">
<th:block th:each="code:${session.commonCode.get(ciWork.arrestType1)}"> <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 th:if="${code.itemCd eq ciWork.arrestType2}" th:text="${code.itemValue}"></th:block>

View File

@ -34,8 +34,8 @@
<img src="/img/ft_logo.png" alt="사이버외사정보시스템로고" class="h-75"> <img src="/img/ft_logo.png" alt="사이버외사정보시스템로고" class="h-75">
</div> </div>
<div class="col-auto"> <div class="col-auto">
<p id="footerSiteName">사이버외사정보시스템</p> <p id="footerSiteName">외사업무포털</p>
<span id="footerSiteNameEng">FOREIGN AFFAIRS INTELLIGENCE CYBER SYSTEM</span> <span id="footerSiteNameEng">FOREIGN AFFAIRS INTELLIGENCE MANAGEMENT SYSTEM</span>
</div> </div>
<div class="col-auto ms-3 mt-1"> <div class="col-auto ms-3 mt-1">
<p class="mb-1">21995 인천광역시 연수구 해돋이로 130 해양경찰청</p> <p class="mb-1">21995 인천광역시 연수구 해돋이로 130 해양경찰청</p>

View File

@ -98,7 +98,7 @@
<div class="row mb-1"> <div class="row mb-1">
<label for="clearEtc" class="col-sm-1 border-end border-secondary col-form-label col-form-label-sm text-center fw-bold">비고</label> <label for="clearEtc" class="col-sm-1 border-end border-secondary col-form-label col-form-label-sm text-center fw-bold">비고</label>
<div class="col-sm-10 border-end border-secondary col-form-label col-form-label-sm text-start"> <div class="col-sm-10 border-end border-secondary col-form-label col-form-label-sm text-start">
<input type="text" class="form-control border-0" id="clearEtc" name="clearEtc" th:value="${result.clearEtc}" readonly> <input type="text" class="form-control border-0" id="clearEtc" name="clearEtc" th:value= "${result.clearEtc}" readonly>
</div> </div>
</div> </div>
</div> </div>
@ -110,7 +110,7 @@
</div> </div>
</div> </div>
<div class="row mb-1"> <div class="row mb-1">
<label for="usePrice" class="col-sm-1 border-end border-secondary col-form-label col-form-label-sm text-center fw-bold">집행예산</label> <label for="usePrice" class="col-sm-1 border-end border-secondary col-fo rm-label col-form-label-sm text-center fw-bold">집행예산</label>
<div class="col-sm-2"> <div class="col-sm-2">
<input type="text" class="form-control border-0" id="usePrice" name="usePrice" th:value="${#numbers.formatInteger(result.usePrice, 1, 'COMMA')+'원'}" readonly> <input type="text" class="form-control border-0" id="usePrice" name="usePrice" th:value="${#numbers.formatInteger(result.usePrice, 1, 'COMMA')+'원'}" readonly>
</div> </div>

View File

@ -72,7 +72,7 @@
</div> </div>
<div class="col-2"> <div class="col-2">
<select class="form-select form-select-sm" name="arrestCd" id="searchArrestCd"> <select class="form-select form-select-sm" name="arrestCd" id="searchArrestCd">
<option value="">검거유형1 선택</option> <option value="">범죄테마 선택</option>
<th:block th:each="commonCode:${session.commonCode.get('AT')}"> <th:block th:each="commonCode:${session.commonCode.get('AT')}">
<option th:value="${commonCode.itemCd}" th:text="${commonCode.itemValue}" <option th:value="${commonCode.itemCd}" th:text="${commonCode.itemValue}"
th:selected="${searchParams.arrestCd != null and commonCode.itemCd eq searchParams.arrestCd}"></option> th:selected="${searchParams.arrestCd != null and commonCode.itemCd eq searchParams.arrestCd}"></option>
@ -81,7 +81,7 @@
</div> </div>
<div class="col-2"> <div class="col-2">
<select class="form-select form-select-sm" name="arrestCd2" id="searchArrestCd2"> <select class="form-select form-select-sm" name="arrestCd2" id="searchArrestCd2">
<option value="">검거유형2 선택</option> <option value="">위반유형 선택</option>
<th:block th:each="num : ${#numbers.sequence(1,#lists.size(session.commonCode.get('AT')))}"> <th:block th:each="num : ${#numbers.sequence(1,#lists.size(session.commonCode.get('AT')))}">
<th:block th:if="${'AT'+num == searchParams.arrestCd}" th:each="commonCode:${session.commonCode.get('AT'+num)}"> <th:block th:if="${'AT'+num == searchParams.arrestCd}" th:each="commonCode:${session.commonCode.get('AT'+num)}">
<option th:value="${commonCode.itemCd}" th:text="${commonCode.itemValue}" th:selected="${searchParams.arrestCd2 eq commonCode.itemCd}"></option> <option th:value="${commonCode.itemCd}" th:text="${commonCode.itemValue}" th:selected="${searchParams.arrestCd2 eq commonCode.itemCd}"></option>
@ -120,8 +120,8 @@
<!--<th>문서번호</th>--> <!--<th>문서번호</th>-->
<th>순번</th> <th>순번</th>
<th>관서</th> <th>관서</th>
<th>검거유형1</th> <th>범죄테마</th>
<th>검거유형2</th> <th>위반유형</th>
<th>제목</th> <th>제목</th>
<th>작성자</th> <th>작성자</th>
<th>작성일</th> <th>작성일</th>

View File

@ -53,20 +53,20 @@
</div> </div>
</div> </div>
<div class="row mb-1" id="arrestTypeDiv"> <div class="row mb-1" id="arrestTypeDiv">
<label class="col-sm-1 col-form-label col-form-label-sm text-center">검거유형1</label> <label class="col-sm-1 col-form-label col-form-label-sm text-center">범죄테마</label>
<div class="col-sm-2"> <div class="col-sm-2">
<select class="form-select form-select-sm" name="arrestCd" id="arrestCd"> <select class="form-select form-select-sm" name="arrestCd" id="arrestCd">
<option value="">검거유형1 선택-</option> <option value="">범죄테마 선택-</option>
<th:block th:each="commonCode:${session.commonCode.get('CTH')}"> <th:block th:each="commonCode:${session.commonCode.get('CTH')}">
<option th:value="${commonCode.itemCd}" th:text="${commonCode.itemValue}" <option th:value="${commonCode.itemCd}" th:text="${commonCode.itemValue}"
th:selected="${boardInvestigation.arrestType != null and commonCode.itemCd eq boardInvestigation.arrestType.arrestCd}"></option> th:selected="${boardInvestigation.arrestType != null and commonCode.itemCd eq boardInvestigation.arrestType.arrestCd}"></option>
</th:block> </th:block>
</select> </select>
</div> </div>
<label class="col-sm-1 col-form-label col-form-label-sm text-center">검거유형2</label> <label class="col-sm-1 col-form-label col-form-label-sm text-center">위반유형</label>
<div class="col-sm-2"> <div class="col-sm-2">
<select class="form-select form-select-sm" name="arrestCd2" id="arrestCd2"> <select class="form-select form-select-sm" name="arrestCd2" id="arrestCd2">
<option value="">검거유형2 선택-</option> <option value="">위반유형 선택-</option>
<th:block th:each="num : ${#numbers.sequence(1,#lists.size(session.commonCode.get('AT')))}"> <th:block th:each="num : ${#numbers.sequence(1,#lists.size(session.commonCode.get('AT')))}">
<th:block th:if="${boardInvestigation.arrestType ne null && 'AT'+num == boardInvestigation.arrestType.arrestCd}" th:each="commonCode:${session.commonCode.get('AT'+num)}"> <th:block th:if="${boardInvestigation.arrestType ne null && 'AT'+num == boardInvestigation.arrestType.arrestCd}" th:each="commonCode:${session.commonCode.get('AT'+num)}">
<option th:value="${commonCode.itemCd}" th:text="${commonCode.itemValue}" th:selected="${boardInvestigation.arrestType.arrestCd2 eq commonCode.itemCd}"></option> <option th:value="${commonCode.itemCd}" th:text="${commonCode.itemValue}" th:selected="${boardInvestigation.arrestType.arrestCd2 eq commonCode.itemCd}"></option>

View File

@ -27,13 +27,13 @@
<div class="tab-content bg-white border border-top-0 p-2"> <div class="tab-content bg-white border border-top-0 p-2">
<div class="tab-pane fade p-2 show active" id="boardTabPanel" role="tabpanel" tabindex="0"> <div class="tab-pane fade p-2 show active" id="boardTabPanel" role="tabpanel" tabindex="0">
<div class="row mb-1"> <div class="row mb-1">
<label class="col-sm-1 col-form-label col-form-label-sm text-center">검거유형1</label> <label class="col-sm-1 col-form-label col-form-label-sm text-center">범죄테마</label>
<label class="col-sm-2 col-form-label col-form-label-sm text-start"> <label class="col-sm-2 col-form-label col-form-label-sm text-start">
<th:block th:each="code:${session.commonCode.get('AT')}"> <th:block th:each="code:${session.commonCode.get('AT')}">
<th:block th:if="${code.itemCd eq boardInvestigation.arrestType.arrestCd}" th:text="${code.itemValue}"></th:block> <th:block th:if="${code.itemCd eq boardInvestigation.arrestType.arrestCd}" th:text="${code.itemValue}"></th:block>
</th:block> </th:block>
</label> </label>
<label class="col-sm-1 col-form-label col-form-label-sm text-center">검거유형2</label> <label class="col-sm-1 col-form-label col-form-label-sm text-center">위반유형</label>
<label class="col-sm-2 col-form-label col-form-label-sm text-start"> <label class="col-sm-2 col-form-label col-form-label-sm text-start">
<th:block th:each="code:${session.commonCode.get(boardInvestigation.arrestType.arrestCd)}"> <th:block th:each="code:${session.commonCode.get(boardInvestigation.arrestType.arrestCd)}">
<th:block th:if="${code.itemCd eq boardInvestigation.arrestType.arrestCd2}" th:text="${code.itemValue}"></th:block> <th:block th:if="${code.itemCd eq boardInvestigation.arrestType.arrestCd2}" th:text="${code.itemValue}"></th:block>

View File

@ -18,8 +18,8 @@
<p th:if="${loginError}" class="error text-warning login-Fail">로그인에 실패하였습니다.</p> <p th:if="${loginError}" class="error text-warning login-Fail">로그인에 실패하였습니다.</p>
<!-- 로그인 시 아이디의 name 애트리뷰트 값은 username --> <!-- 로그인 시 아이디의 name 애트리뷰트 값은 username -->
<!-- 파라미터명을 변경하고 싶을 경우 config class formlogin()에서 .usernameParameter("") 명시 --> <!-- 파라미터명을 변경하고 싶을 경우 config class formlogin()에서 .usernameParameter("") 명시 -->
<h1>사이버외사정보시스템</h1> <h1>외사업무포털</h1>
<h2>FOREIGN AFFAIRS INTELLIGENCE CYBER SYSTEM</h2> <h2>FOREIGN AFFAIRS INTELLIGENCE MANAGEMENT SYSTEM</h2>
<ul> <ul>
<li> <li>
<div><img src="img/logo_big.png" alt="해양경찰청"></div> <div><img src="img/logo_big.png" alt="해양경찰청"></div>