외사경찰현황 직책 정보 추가.

master
강석 최 2023-01-30 10:21:17 +09:00
parent 10ddf873fd
commit efa04a0618
2 changed files with 32 additions and 17 deletions

View File

@ -110,6 +110,17 @@
<input type="text" class="form-control form-control-sm dateSelector" id="titleInDate" name="titleInDate" th:value="${userInfo.titleInDate}" readonly> <input type="text" class="form-control form-control-sm dateSelector" id="titleInDate" name="titleInDate" th:value="${userInfo.titleInDate}" readonly>
</div> </div>
</div> </div>
<div class="row mb-1">
<label for="outturnCd" class="col-sm-2 col-form-label col-form-label-sm text-center">직책</label>
<div class="col-sm-4">
<select class="form-select form-select-sm" id="dutyCd" name="dutyCd">
<option value="">--선택--</option>
<th:block th:each="code:${session.commonCode.get('DT')}">
<option th:value="${code.itemCd}" th:text="${code.itemValue}" th:selected="${code.itemCd eq userInfo.dutyCd}"></option>
</th:block>
</select>
</div>
</div>
<div class="row mb-1"> <div class="row mb-1">
<label for="outturnCd" class="col-sm-2 col-form-label col-form-label-sm text-center">경과</label> <label for="outturnCd" class="col-sm-2 col-form-label col-form-label-sm text-center">경과</label>
<div class="col-sm-4"> <div class="col-sm-4">

View File

@ -118,27 +118,31 @@
</tr> </tr>
</thead> </thead>
<tbody class="table-group-divider"> <tbody class="table-group-divider">
<tr class="policeTr" th:each="list:${policeList}"> <tr class="policeTr" th:each="police:${policeList}">
<th:block> <th:block>
<input type="hidden" class="userSeq" th:value="${list.userSeq}"> <input type="hidden" class="userSeq" th:value="${police.userSeq}">
</th:block> </th:block>
<td th:text="${list.rownum}"></td> <td th:text="${police.rownum}"></td>
<td th:text="${list.organNm}"></td> <td th:text="${police.organNm}"></td>
<td th:text="${list.ofcCd}"></td> <td th:text="${police.ofcCd}"></td>
<td></td> <td>
<td th:text="${list.titleCd}"></td> <th:block th:each="code:${session.commonCode.get('DT')}">
<td th:text="${list.userNm}"></td> <th:block th:if="${code.itemCd eq police.dutyCd}" th:text="${code.itemValue}"></th:block>
<td th:text="${list.birthDate}"></td> </th:block>
<td th:text="${list.sex}"></td> </td>
<td th:text="${list.policeInDate}"></td> <td th:text="${police.titleCd}"></td>
<td th:text="${list.titleInDate}"></td> <td th:text="${police.userNm}"></td>
<td th:text="${list.ofcInDate}"></td> <td th:text="${police.birthDate}"></td>
<td th:text="${police.sex}"></td>
<td th:text="${police.policeInDate}"></td>
<td th:text="${police.titleInDate}"></td>
<td th:text="${police.ofcInDate}"></td>
<!-- <td th:text="${list.outturnCd}"></td>--> <!-- <td th:text="${list.outturnCd}"></td>-->
<td th:if="${list.outturnCd == '수사'}">O</td> <td th:if="${police.outturnCd == '수사'}">O</td>
<td th:if="${list.outturnCd != '수사'}">X</td> <td th:if="${police.outturnCd != '수사'}">X</td>
<td></td> <td></td>
<td th:text="${list.jobInCd}"></td> <td th:text="${police.jobInCd}"></td>
<td th:text="${#temporals.format(list.wrtDt, 'yyyy-MM-dd HH:mm')}"></td> <td th:text="${#temporals.format(police.wrtDt, 'yyyy-MM-dd HH:mm')}"></td>
<th:block th:if="${userStatus eq 'USC003'} and ${accessAuth eq 'ACC003'}"> <th:block th:if="${userStatus eq 'USC003'} and ${accessAuth eq 'ACC003'}">
<td class="checkBoxTd"><input type="checkbox" name="policeChk" class="policeCheckBox"></td> <td class="checkBoxTd"><input type="checkbox" name="policeChk" class="policeCheckBox"></td>
</th:block> </th:block>