일괄결제 작업중.
parent
184c87e581
commit
dc091550bc
|
|
@ -36,6 +36,7 @@ public class AffairController { // 첩보수집활동 > 외사경찰 견문관
|
||||||
switch (accessAuth){
|
switch (accessAuth){
|
||||||
case "ACC001": // 조회
|
case "ACC001": // 조회
|
||||||
case "ACC002": // 작성
|
case "ACC002": // 작성
|
||||||
|
affairBoard.setWrtUserSeq(loginUser.getUserSeq());
|
||||||
break;
|
break;
|
||||||
case "ACC003": // 관리 // 자신 외 하위 기관에서 작성한 문서 열람가능
|
case "ACC003": // 관리 // 자신 외 하위 기관에서 작성한 문서 열람가능
|
||||||
affairBoard.setDownOrganCdList(loginUser.getDownOrganCdList());
|
affairBoard.setDownOrganCdList(loginUser.getDownOrganCdList());
|
||||||
|
|
@ -45,6 +46,7 @@ public class AffairController { // 첩보수집활동 > 외사경찰 견문관
|
||||||
//결재권한 확인
|
//결재권한 확인
|
||||||
String apprvAuth = authMgtService.selectApprovalConfigList(loginUser.getUserSeq(), "/affair/affairMgt").get(0).getApprovalAuth();
|
String apprvAuth = authMgtService.selectApprovalConfigList(loginUser.getUserSeq(), "/affair/affairMgt").get(0).getApprovalAuth();
|
||||||
affairBoard.setRatingOrgan(loginUser.getOgCd());
|
affairBoard.setRatingOrgan(loginUser.getOgCd());
|
||||||
|
|
||||||
mav.addObject("accessAuth", accessAuth);
|
mav.addObject("accessAuth", accessAuth);
|
||||||
mav.addObject("apprvAuth", apprvAuth);
|
mav.addObject("apprvAuth", apprvAuth);
|
||||||
affairBoard.setQueryInfo();
|
affairBoard.setQueryInfo();
|
||||||
|
|
@ -101,6 +103,7 @@ public class AffairController { // 첩보수집활동 > 외사경찰 견문관
|
||||||
affairBoard.setContentCnt(affairService.selectAffairBoardListCnt(affairBoard));
|
affairBoard.setContentCnt(affairService.selectAffairBoardListCnt(affairBoard));
|
||||||
affairBoard.setPaginationInfo();
|
affairBoard.setPaginationInfo();
|
||||||
mav.addObject("searchParams", affairBoard);
|
mav.addObject("searchParams", affairBoard);
|
||||||
|
mav.addObject("ratingCodeList", codeMgtService.selectCodeMgtList("AAR"));
|
||||||
return mav;
|
return mav;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -60,6 +60,10 @@ public class AffairBoard extends BaseModel {
|
||||||
@Column(name = "view_status")
|
@Column(name = "view_status")
|
||||||
private String viewStatus;
|
private String viewStatus;
|
||||||
|
|
||||||
|
@Transient
|
||||||
|
private String organUp;
|
||||||
|
@Transient
|
||||||
|
private String affairRate;
|
||||||
@Transient
|
@Transient
|
||||||
private String affairStatus;
|
private String affairStatus;
|
||||||
@Transient
|
@Transient
|
||||||
|
|
|
||||||
|
|
@ -67,7 +67,9 @@
|
||||||
a.wrt_user_seq,
|
a.wrt_user_seq,
|
||||||
a.wrt_dt,
|
a.wrt_dt,
|
||||||
b.fileCnt,
|
b.fileCnt,
|
||||||
c.affair_status
|
c.affair_status,
|
||||||
|
c.affair_rate,
|
||||||
|
c.organ_up
|
||||||
from affair_board a
|
from affair_board a
|
||||||
left outer join (select affair_key,
|
left outer join (select affair_key,
|
||||||
count(file_seq) as fileCnt
|
count(file_seq) as fileCnt
|
||||||
|
|
|
||||||
|
|
@ -89,6 +89,12 @@
|
||||||
<th>작성일시</th>
|
<th>작성일시</th>
|
||||||
<th>첨부파일</th>
|
<th>첨부파일</th>
|
||||||
<th>상태</th>
|
<th>상태</th>
|
||||||
|
<th:block th:if="${page ne 'main'}">
|
||||||
|
<th>평가</th>
|
||||||
|
<th:block th:if="${page eq 'commit'}">
|
||||||
|
<th>상보</th>
|
||||||
|
</th:block>
|
||||||
|
</th:block>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|
@ -111,12 +117,46 @@
|
||||||
<td th:if="${affair.affairStatus eq 'DST004'}">계장결재</td>
|
<td th:if="${affair.affairStatus eq 'DST004'}">계장결재</td>
|
||||||
<td th:if="${affair.affairStatus eq 'DST005'}">부장반려</td>
|
<td th:if="${affair.affairStatus eq 'DST005'}">부장반려</td>
|
||||||
<td th:if="${affair.affairStatus eq 'DST006'}">부장결재</td>
|
<td th:if="${affair.affairStatus eq 'DST006'}">부장결재</td>
|
||||||
|
<th:block th:if="${page eq 'stay'}">
|
||||||
|
<th:block th:if="${apprvAuth eq 'APC004' or apprvAuth eq 'APC003'}">
|
||||||
|
<td>
|
||||||
|
<input type="radio" th:id="|apprvChkbox${affair.affairKey}DST004|" th:name="|apprvChkbox${affair.affairKey}|" value="DST004">
|
||||||
|
<label th:for="|apprvChkbox${affair.affairKey}DST004|">결재</label>
|
||||||
|
<input type="radio" th:id="|apprvChkbox${affair.affairKey}DST003|" th:name="|apprvChkbox${affair.affairKey}|" value="DST003">
|
||||||
|
<label th:for="|apprvChkbox${affair.affairKey}DST003|">반려</label>
|
||||||
|
</td>
|
||||||
|
</th:block>
|
||||||
|
<th:block th:if="${apprvAuth eq 'APC002' or apprvAuth eq 'APC001'}">
|
||||||
|
<td>
|
||||||
|
<select class="form-select form-select-sm">
|
||||||
|
<option>선택</option>
|
||||||
|
<th:block th:each="ratingCode:${ratingCodeList}">
|
||||||
|
<option th:value="${ratingCode.itemCd}" th:text="${ratingCode.itemValue}"></option>
|
||||||
|
</th:block>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
</th:block>
|
||||||
|
</th:block>
|
||||||
|
<th:block th:if="${page eq 'commit'}">
|
||||||
|
<th:block th:if="${affair.affairStatus eq 'DST006'}">
|
||||||
|
<th:block th:each="ratingCode:${session.commonCode.get('AAR')}">
|
||||||
|
<td th:if="${ratingCode.itemCd eq affair.affairRate}" th:text="${ratingCode.itemValue}"></td>
|
||||||
|
</th:block>
|
||||||
|
<td th:text="${affair.organUp eq 'T'?'O':'X'}"></td>
|
||||||
|
</th:block>
|
||||||
|
<th:block th:unless="${affair.affairStatus eq 'DST006'}">
|
||||||
|
<td></td>
|
||||||
|
<td></td>
|
||||||
|
</th:block>
|
||||||
|
</th:block>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<div class="row justify-content-between">
|
<div class="row justify-content-between">
|
||||||
<div class="col-auto"></div>
|
<div class="col-auto">
|
||||||
|
<input type="button" class="btn btn-success" value="등록" id="addAffairBtn" th:unless="${accessAuth eq 'ACC001'}">
|
||||||
|
</div>
|
||||||
<div class="col-auto">
|
<div class="col-auto">
|
||||||
<nav aria-label="Page navigation">
|
<nav aria-label="Page navigation">
|
||||||
<ul class="pagination">
|
<ul class="pagination">
|
||||||
|
|
@ -143,7 +183,7 @@
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-auto">
|
<div class="col-auto">
|
||||||
<input type="button" class="btn btn-success" value="등록" id="addAffairBtn" th:unless="${accessAuth eq 'ACC001'}">
|
<input type="button" class="btn btn-warning" value="결재" id="addAffairBtn" th:if="${page eq 'stay' and apprvAuth ne null}">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue