2022-09-26 11:20 워크플로우 UI/UX 처리

This commit is contained in:
myname 2022-09-26 11:20:31 +09:00
parent 068b2731bc
commit 19581ba885
2 changed files with 47 additions and 5 deletions

View File

@ -30,6 +30,8 @@ import kcc.kccadr.accdnt.ars.service.AdjstReqStatusService;
import kcc.kccadr.accdnt.ars.service.AdjstReqStatusVO;
import kcc.kccadr.adjclsmgr.service.AdjClsMgrService;
import kcc.kccadr.adjclsmgr.service.AdjClsMgrVO;
import kcc.kccadr.advc.service.AdrHstryMgrService;
import kcc.kccadr.advc.service.AdrHstryMgrVO;
import kcc.kccadr.cmm.KccadrConstants;
import kcc.kccadr.kccadrCom.service.KccadrCommonSearchVO;
import kcc.kccadr.kccadrCom.service.KccadrCommonService;
@ -67,6 +69,10 @@ public class AdjstReqStatusController {
@Resource(name="adjstIncidentService")
private AdjstIncidentService adjstIncidentService;
//이력관리테이블
@Resource(name="adrHstryMgrService")
private AdrHstryMgrService adrHstryMgrService;
//암복호화 유틸
@Resource(name = "egovCryptoUtil")
EgovCryptoUtil egovCryptoUtil;
@ -242,6 +248,15 @@ public class AdjstReqStatusController {
model.addAttribute("reqInfo" , reqPeson);
model.addAttribute("agenInfo" , agenPerson);
model.addAttribute("resInfo" , resInfo);
//이력값
AdrHstryMgrVO adrHstryMgrVO = new AdrHstryMgrVO();
adrHstryMgrVO.setAdrSeq(adjstReqStatusVO.getAdrSeq());
model.addAttribute("list_mgr" , adrHstryMgrService.selectList(adrHstryMgrVO));
return "/web/kccadr/accdnt/ars/tab/adjstReqStatusTabDetail";
}

View File

@ -98,6 +98,29 @@
/* //step 개수에 따라 width 변동 */
})
</script>
<!-- 워크플로우용 스크립트 시작 -->
<c:forEach var="list" items="${list_mgr}" varStatus="status">
<c:if test="${fn:length(list.menuId) eq '6'}">
<script>
//<!-- 조정진행워크플로우 체크 -->
$("#"+${list.menuId}).addClass("status01");
</script>
</c:if>
</c:forEach>
<script>
//<!-- 조정진행워크플로우 현재 상태 체크 -->
$("#"+${master.statCd}).addClass("status02");
</script>
<c:if test="${master.statCd lt '101050' and master.statCd ne '101010'}">
<script>
//<!-- 조정진행워크플로우 현재 상태 체크 -->
$("#101011").addClass("status02");
</script>
</c:if>
<!-- 워크플로우용 스크립트 끝 -->
</head>
<body>
@ -228,11 +251,15 @@ resInfo--%>
</div>
<div class="work_cont">
<ul class="top_work">
<li class="status01"><p>조정신청 제출</p><img src="/kccadrPb/usr/image/workflow/nexticon1.png" alt="다음"></li>
<li class="status02"><p>신청서 보완</p><img src="/kccadrPb/usr/image/workflow/nexticon1.png" alt="다음"></li>
<li><p>조정비용납부</p><img src="/kccadrPb/usr/image/workflow/nexticon1.png" alt="다음"></li>
<li><p>사건접수</p><img src="/kccadrPb/usr/image/workflow/nexticon1.png" alt="다음"></li>
<li><p>조정부배정</p><img src="/kccadrPb/usr/image/workflow/nexticon2.png" alt="다음" style="top: 51px; right: 105px;"></li>
<!-- <li class="status01"> ==>과거 빨간색
<li class="status02"> ==>현재 파란색
<li> ==>진행전 검은색
-->
<li id="101010"><p>조정신청 제출</p><img src="/kccadrPb/usr/image/workflow/nexticon1.png" alt="다음"></li>
<li id="101011" class="status01"><p>신청서 보완</p><img src="/kccadrPb/usr/image/workflow/nexticon1.png" alt="다음"></li>
<li id="104050"><p>조정비용납부</p><img src="/kccadrPb/usr/image/workflow/nexticon1.png" alt="다음"></li>
<li id="101050"><p>사건접수</p><img src="/kccadrPb/usr/image/workflow/nexticon1.png" alt="다음"></li>
<li id="202050"><p>조정부배정</p><img src="/kccadrPb/usr/image/workflow/nexticon2.png" alt="다음" style="top: 51px; right: 105px;"></li>
</ul>
<ul class="work_2">
<li><p>기일확정</p><img src="/kccadrPb/usr/image/workflow/nexticon3.png" alt="다음" class="nexticon_3"></li>