sri 리스트 순서변경

master
DESKTOP-QGC5RJO\DBNT 2023-01-30 11:41:16 +09:00
parent 9ac57dd743
commit 1ce9d2dd07
1 changed files with 20 additions and 19 deletions

View File

@ -80,35 +80,25 @@
<table class="table table-sm table-bordered table-hover"> <table class="table table-sm table-bordered table-hover">
<thead> <thead>
<tr class="table-secondary"> <tr class="table-secondary">
<th></th> <th>순번</th>
<th th:if="${searchParams.status ne 'receive'}">상태</th>
<th>분류</th>
<th>제출기한</th>
<th>제목</th> <th>제목</th>
<th>관서</th> <th>관서</th>
<th>부서</th> <th>부서</th>
<th>분류</th>
<th>제출기한</th>
<th th:if="${searchParams.status ne 'receive'}">상태</th>
<th>작성자</th> <th>작성자</th>
<th>작성일시</th> <th>작성일</th>
</tr> </tr>
</thead> </thead>
<tbody class="table-group-divider"> <tbody class="table-group-divider">
<tr class="faSriTr" th:each="sri:${SriList}"> <tr class="faSriTr" th:each="sri,cnt:${SriList}">
<th:block> <th:block>
<input type="hidden" class="faSriKey" th:value="${sri.faSriKey}"> <input type="hidden" class="faSriKey" th:value="${sri.faSriKey}">
</th:block> </th:block>
<th:block th:unless="${sri.status eq 'DST008'}"> <th:block th:unless="${sri.status eq 'DST008'}">
<td class="sriChk"><input type="checkbox" name="sriChk" class="trChkBox"></td> <!-- <td class="sriChk"><input type="checkbox" name="sriChk" class="trChkBox"></td>-->
<td th:if="${sri.status ne 'receive'}"> <td th:text="${cnt.count}"></td>
<th:block th:each="commonCode:${session.commonCode.get('DST')}">
<th:text th:if="${commonCode.itemCd eq sri.status}" th:text="${commonCode.itemValue}"></th:text>
</th:block>
</td>
<td>
<th:block th:each="commonCode:${session.commonCode.get('SRI')}">
<th:text th:if="${commonCode.itemCd eq sri.faSriType}" th:text="${commonCode.itemValue}"></th:text>
</th:block>
</td>
<td th:text="${sri.faSriEdate}"></td>
<td th:text="${sri.title}"></td> <td th:text="${sri.title}"></td>
<th:block th:each="commonCode:${session.commonCode.get('OG')}"> <th:block th:each="commonCode:${session.commonCode.get('OG')}">
<td th:if="${sri.wrtOrgan eq commonCode.itemCd}" th:text="${commonCode.itemValue}"></td> <td th:if="${sri.wrtOrgan eq commonCode.itemCd}" th:text="${commonCode.itemValue}"></td>
@ -116,6 +106,17 @@
<th:block th:each="commonCode:${session.commonCode.get('OFC')}"> <th:block th:each="commonCode:${session.commonCode.get('OFC')}">
<td th:if="${sri.wrtPart eq commonCode.itemCd}" th:text="${commonCode.itemValue}"></td> <td th:if="${sri.wrtPart eq commonCode.itemCd}" th:text="${commonCode.itemValue}"></td>
</th:block> </th:block>
<td>
<th:block th:each="commonCode:${session.commonCode.get('SRI')}">
<th:text th:if="${commonCode.itemCd eq sri.faSriType}" th:text="${commonCode.itemValue}"></th:text>
</th:block>
</td>
<td th:text="${sri.faSriEdate}"></td>
<td th:if="${sri.status ne 'receive'}">
<th:block th:each="commonCode:${session.commonCode.get('DST')}">
<th:text th:if="${commonCode.itemCd eq sri.status}" th:text="${commonCode.itemValue}"></th:text>
</th:block>
</td>
<td th:text="${sri.wrtUserNm}"></td> <td th:text="${sri.wrtUserNm}"></td>
<td th:text="${#temporals.format(sri.wrtDt, 'yyyy-MM-dd HH:mm')}"></td> <td th:text="${#temporals.format(sri.wrtDt, 'yyyy-MM-dd HH:mm')}"></td>
</th:block> </th:block>
@ -126,7 +127,7 @@
</div> </div>
<div class="row justify-content-between"> <div class="row justify-content-between">
<div class="col-auto"> <div class="col-auto">
<button type="button" class="btn btn-danger" id="sriDeleteBtn">삭제</button> <!-- <button type="button" class="btn btn-danger" id="sriDeleteBtn">삭제</button>-->
</div> </div>
<div class="col-auto"> <div class="col-auto">
<nav aria-label="Page navigation"> <nav aria-label="Page navigation">